Stanalysis
This package provides an opinionated Dart linter rule set that help to keep a codebase maintainable. The rules provided by this package listed in lib/analysis_options.yaml.
Take a look at Linter for Dart to get acquainted with all the rules available for Dart.
Usage
To use the lints, add a dev dependency in your pubspec.yaml
:
dev_dependencies:
stanalysis:
git: https://github.com/Pavel-Sulimau/stanalysis.git
Then, add an include in analysis_options.yaml
:
include: package:stanalysis/analysis_options.yaml