Skip to content
pubscout

tidy

3.14.0, released 4 days ago by practicalflutter.com

A completionist set of lint rules aligned with Dart SDK versions.

WASM-ready
$ flutter pub add tidy
Source repository

What it does

Provides a comprehensive set of Dart analysis options with most rules enabled. It follows Dart SDK versions to maintain parity with rules available in the stable channel.

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

Use it when

  • You want a completionist set of lint rules for your Dart or Flutter project
  • You want your analysis options to stay aligned with Dart SDK versions

Skip it when

  • You prefer minimal or very relaxed lint rules
  • Your project's Flutter version does not ship a compatible stable Dart version for the latest rules

Strengths

  • Comprehensive coverage of Dart linter rules
  • Maintains parity with stable channel Dart SDK linter rules

Weaknesses

  • Requires managing version alignment with the Dart SDK
  • May require project customization and disabling rules to fit specific codebases

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
0

Add tidy to dev_dependencies and include package:tidy/analysis_options.yaml in your analysis_options.yaml file.

include: package:tidy/analysis_options.yaml

Alternatives

Packages that do the same job and could replace tidy.

  • lints

    Official lint rules from the Dart team for standard idiomatic style.

  • flutter_lints

    Official recommended lint rules specifically tailored for Flutter applications.