Skip to content

[meta] rationalize/align/document different lint rule sets #57873

@pq

Description

@pq

Rationalization

The Dart ecosystem has a number of "default" rulesets.

Needless to say, this is VERY confusing. Ideally we could converge on one set of defaults with variants well documented.

Alignment

Concretely, I'd propose we converge on package:pedantic where possible. Specifically, I'd suggest defaults should be:

Documentation

Having aligned as best we can, we'll want to document. Some thoughts for where:

  • analyzer package README (shows in pub) PR
  • linter
    • README
    • generated rule docs
  • dart-lang "Customize Static Analysis" doc

/cc @bwilkerson @davidmorgan @kevmoo @mit-mit @stereotype441 @devoncarew @kwalrath

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-metaCross-cutting, high-level issues (for tracking many other implementation issues, ...).devexp-linterIssues with the analyzer's support for the linter packagelegacy-area-analyzerUse area-devexp instead.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions