Skip to content
pubscout

solid_lints

2.0.0, released 6 weeks ago by solid.software

Solid Lints provides a comprehensive set of Dart and Flutter lint rules based on industry standards.

WASM-ready
$ flutter pub add solid_lints
Source repository

What it does

It configures the analyzer with a curated set of lint rules to enforce code quality and best practices. The package includes rules for production code and a separate set for test code.

AI-written summary of version 2.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want stricter static analysis for a Dart or Flutter project
  • You need a single source of truth for lint rules across teams
  • You want to enforce industry‑standard coding guidelines

Skip it when

  • You already use another linter configuration that covers all required rules
  • You prefer minimal linting and want to avoid the additional rule set

Strengths

  • Broad rule set covering many common issues
  • Regular updates with new rules and bug fixes
  • Clear documentation and easy integration

Weaknesses

  • May introduce new lint errors on upgrade
  • Requires updating analysis_options.yaml and plugin version

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
7

Add to dev_dependencies, include analysis_options.yaml and plugin entry in analysis_options.yaml

```yaml
dev_dependencies:
  solid_lints: ^2.0.0

analysis_options:
  include: package:solid_lints/analysis_options.yaml
  plugins:
    solid_lints: ^2.0.0
```

Alternatives

Packages that do the same job and could replace solid_lints.

Works with

Packages commonly used together with solid_lints: ones it builds on, ones built on it, and its own family.