-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
I'd really like to standardize all of my dart-lang and flutter org contributions to use this as a single analysis package, however that's difficult as Flutter apps often like to base their analysis on package:flutter_lints, which includes some helpful Flutter-specific lints. This results in a mix not only between repositories, but sometimes within the same repository.
Primary options:
-
Base
package:dart_flutter_team_lintsonpackage:flutter_lints.- I'm not the biggest fan, mostly because it includes the
avoid_printlint, but that can always be disabled :) - Technically will enable more lints even for Dart packages, potentially reducing analysis server performance, but should fail early.
- I'm not the biggest fan, mostly because it includes the
-
Create a new superset of
package:dart_flutter_team_lints, perhaps atlib/flutter_analysis_options.yamlthat adds its own set of Flutter specific lints on top.
A few projects that could benefit: