Skip to content

Commit

Permalink
deploy: bd49571
Browse files Browse the repository at this point in the history
  • Loading branch information
srawlins committed Jul 25, 2023
1 parent 47c3c2f commit b0fd4f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lints/machine/rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -2610,7 +2610,7 @@
"state": "stable",
"incompatible": [],
"sets": [],
"fixStatus": "noFix",
"fixStatus": "hasFix",
"details": "Top-level members and static members in an executable library should be used\ndirectly inside this library. An executable library is a library that contains\na `main` top-level function or that contains a top-level function annotated with\n`@pragma('vm:entry-point')`). Executable libraries are not usually imported\nand it's better to avoid defining unused members.\n\nThis rule assumes that an executable library isn't imported by other files\nexcept to execute its `main` function.\n\n**BAD:**\n\n```dart\nmain() {}\nvoid f() {}\n```\n\n**GOOD:**\n\n```dart\nmain() {\n f();\n}\nvoid f() {}\n```\n\n",
"sinceDartSdk": "2.19.0"
},
Expand Down

0 comments on commit b0fd4f1

Please sign in to comment.