Implementation of Flutter lints which warns the user about common mistake. Some lints have associated quick fix.
This lint uses the [custom_lint] package.
- Add this package as dev_dependency in your
pubspec.yaml
:
dev_dependencies:
flutter_linter:
git:
url: https://github.com/pixelshot91/flutter_linter.git
- Add this linter in your
analysis_options.yaml
:
analyzer:
plugins:
- custom_lint
For more information, you can look at the official custom_lint readme