Stricter Dart analyzer lint settings
open sourceBSD-3-Clausefree
extra_pedantic is a Dart package of stricter analyzer lint settings, an alternative to the official lints package. Add it as a dev dependency and include its analysis_options.yaml, and it turns on a large set of the Dart linter's rules; its README lists every rule with whether it's enabled and why some are left off as too pedantic.
Problems it solves
- make the Dart analyzer much stricter about my code without picking every lint rule myself
- enforce the same strict lint rules across all my Flutter projects
- catch more bugs in my Dart code with stricter static analysis than the default lints
Features
- one include line in analysis_options.yaml
- a table of every lint rule, enabled or disabled, with the reason
Alternatives
The same job
These do what extra_pedantic does.
- lints (Dart) The Dart team's official core and recommended lint sets
- flutter_lints Recommended lints for Flutter apps, packages and plugins
- Lint Hard Every non-clashing Dart lint plus strict type checks, as a drop-in lints package
- lint (Dart) Stricter, hand-picked lint rules for Dart and Flutter projects
- Very Good Analysis Strict lint rules for Dart and Flutter from Very Good Ventures
- golangci-lint Fast linters runner for Go
