Flutter/Dart lints configuration based on software engineering industry standards (ISO/IEC, NIST) and best practices.
Add dependency in your pubspec.yaml:
dev_dependencies:
solid_lints: <INSERT LATEST VERSION>And then include solid_lints into your project top-level analysis_options.yaml:
include: package:solid_lints/analysis_options.yamlAlso you can use a specialized rule set designed for Dart tests.
Add an analysis_options.yaml file under the test/ directory, and include the ruleset:
include: package:solid_lints/analysis_options_test.yamlThen you can see suggestions in your IDE or you can run checks manually:
dart analyze;To indicate that your project is using Solid Lints, you can use the following badge:
[](https://pub.dev/packages/solid_lints)