Skip to content
pubscout

total_lints

3.14.0, released 6 days ago by ainkin.com

A very strict set of lints for Dart and Flutter apps.

WASM-ready
$ flutter pub add total_lints
Source repository

What it does

Enables almost all available linter rules by default, deliberately rejecting only a few. Provides separate rule sets optimized for applications and reusable packages.

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

Use it when

  • You want strict code style and error checking without maintaining a large custom linter configuration
  • You want a robust baseline for either runnable apps or reusable packages

Skip it when

  • You prefer default or loose linter configurations
  • You do not want to deal with strict rules flagged by newer Dart versions

Strengths

  • Saves time by enabling all beneficial linter rules by default
  • Distinguishes between rules suitable for runnable apps versus reusable packages
  • Regularly updated with new Dart lints

Weaknesses

  • Can introduce a high volume of linter warnings on existing projects when first integrated

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
0

Add the package under dev_dependencies in pubspec.yaml and include the appropriate configuration file in analysis_options.yaml.

include: package:total_lints/app.yaml

Alternatives

Packages that do the same job and could replace total_lints.

  • flutter_lints

    If you prefer the official, less aggressive set of recommended lints maintained by the Flutter team.

  • lints

    If you want the official Dart core and recommended lints instead of an exhaustive set.