pro_lints 5.0.0
pro_lints: ^5.0.0 copied to clipboard
Common Lints package.
Dart lint rules #
This package, package:pro_lints, contains pedantic recommended lint settings.
Enabling the lints #
For existing apps or packages, you can enable these lints via:
-
In a terminal, located at the root of your package, run this command:
dart pub add --dev pro_lints -
Create or edit
analysis_options.yamlfile, located at the root of your package, and add the following:include: package:pro_lints/common.yaml
Customizing the predefined lint sets #
For details on customizing static analysis above and beyond the predefined lint sets, see customizing static analysis.