flint 1.0.7 flint: ^1.0.7 copied to clipboard
Forus Labs' different 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.0.6
Then, add a configuration to your analysis_options.yaml
. The following will always include the latest version of said set.
include: package:flint/dart/dev/analysis_options.yaml
A specific configuration version can be used via:
include: package:flint/dart/dev/analysis_options.1.0.6.yaml
Configurations #
Configuration | Description |
---|---|
package:flint/dart/dev/analysis_options.yaml |
master branch of a Dart project |
package:flint/dart/stable/analysis_options.yaml |
staging and stable branch of a Dart project |
package:flint/flutter/dev/analysis_options.yaml |
master branch of a Flutter project |
package:flint/flutter/stable/analysis_options.yaml |
staging and stable branch of a Flutter project |