This is a set of lints used by the Dart and Flutter teams to analyze their packages and repositories; it's built on top of package:lints/recommended.yaml
.
This package is not meant to be a recommendation for analysis settings for the wider ecosystem. For our community recommendations, see package:lints
and package:flutter_lints
.
For documentation about customizing static analysis for your project, see https://dart.dev/tools/analysis.
To use the lints, add the package as a dev dependency in your pubspec.yaml
file:
dart pub add dev:dart_flutter_team_lints
then, add an analysis_options.yaml
file to your project:
include: package:dart_flutter_team_lints/analysis_options.yaml