flint 1.2.0 flint: ^1.2.0 copied to clipboard
Forus Labs' sets of dartanalyzer lints that we use internally in our Dart & Flutter projects.
Flint - Because Pedantic wasn't strict enough #
Forus Labs' dartanalyzer
configurations that are used internally in our Dart & Flutter projects.
Please view the stable brunch for a production version.
Using the Lints #
To use the lints, add the following dependency in your pubspec.yaml
.
dev_dependencies:
flint: ^1.2.0
Then, add a configuration to your analysis_options.yaml
. The following will always include the latest version of said set.
include: package:flint/analysis_options.dart.dev.yaml
Configurations #
Configuration | Description |
---|---|
package:flint/analysis_options..dart.dev.yaml |
master branch of a Dart project |
package:flint/analysis_options.dart.stable.yaml |
staging and stable branch of a Dart project |
package:flint/analysis_options.flutter.dev.yaml |
master branch of a Flutter project |
package:flint/analysis_options.flutter.stable.yaml |
staging and stable branch of a Flutter project |