tidy 3.6.0-1 copy "tidy: ^3.6.0-1" to clipboard
tidy: ^3.6.0-1 copied to clipboard

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

example/README.md

$ dart pub add -d tidy
# or flutter pub add -d tidy
  • Include the rules in analysis_options.yaml at the root of your project:
include: package:tidy/analysis_options.yaml  # or specify a version: analysis_options.1.0.0.yaml

# You probably do want some customization.
analyzer:
  exclude:
    - lib/src/**/*.g.dart

# Override to taste as your project evolves.
# https://dart.dev/guides/language/analysis-options#disabling-individual-rules
linter:
  rules:
    public_member_api_docs: true
    prefer_final_locals: true
    require_trailing_commas: true
    unnecessary_final: false
    use_key_in_widget_constructors: true
6
likes
150
pub points
8%
popularity

Publisher

verified publisherpracticalflutter.com

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

Repository (GitHub)
View/report issues

Topics

#lints

License

MIT (license)

More

Packages that depend on tidy