0 purchases
solid lints
Solid Lints #
Flutter/Dart lints configuration based on software engineering industry standards (ISO/IEC, NIST) and best practices.
Documentation #
For more detailed information and guidelines on using Solid Lints, please refer to the documentation:
https://lints.solid.software
Usage #
Add dependency in your pubspec.yaml:
dev_dependencies:
solid_lints: <INSERT LATEST VERSION>
copied to clipboard
And then include solid_lints into your project top-level analysis_options.yaml:
include: package:solid_lints/analysis_options.yaml
copied to clipboard
Also 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.yaml
copied to clipboard
Then you can see suggestions in your IDE or you can run checks manually:
dart analyze;
dart run custom_lint;
copied to clipboard
Badge #
To indicate that your project is using Solid Lints, you can use the following badge:
[![style: solid](https://img.shields.io/badge/style-solid-orange)](https://pub.dev/packages/solid_lints)
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.