strict
2.1.0, released 3 years ago by an unverified publisher
A heavily opinionated analysis_options for Dart and Flutter projects with strict lint rules.
What it does
Provides a pre-configured analysis_options.yaml file containing strict and justified lint rules for Dart and Flutter projects. It tracks Dart SDK updates and includes documented justifications for rule preferences.
AI-written summary of version 2.1.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want a stricter set of lint rules than standard packages provide
- You prefer having documented justifications for linter overrides
Skip it when
- Your project requires lenient linting rules or specific rule exclusions not provided
- You prefer writing your own custom analysis_options from scratch
Strengths
- Regularly updated to match Dart SDK changes and new linter rules
- Includes comments and explanations for chosen lint rules
Weaknesses
- Heavily opinionated rules may cause friction on certain team workflows or legacy codebases
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Add to dev_dependencies in pubspec.yaml and include package:strict/analysis_options.yaml in analysis_options.yaml.
dev_dependencies:
strict: ^2.1.0
# in analysis_options.yaml:
include: package:strict/analysis_options.yamlAlternatives
Packages that do the same job and could replace strict.
- flutter_lints
Official Flutter team lint rules which are typically much less strict and more universally accepted.
83Compare - lints
Official Dart team lint rules providing a standard baseline for packages and apps.
86Compare