463b751717
This adds a new lint to recommend removing the type name from secondary constructors. It also adds a new fix that can automate the removal. Change-Id: Ib6bc46b4455c360732553eadea3451d7dfb874a6 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/497120 Commit-Queue: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Keerti Parthasarathy <keertip@google.com>
Examples
Some example analysis options files.
- all.yaml - auto-generated options enabling all lints.
For more on lint rule sets see the analyzer docs on customizing static analysis.
Official Dart lint rules are maintained in
package:lints.
Flutter team rules are maintained in
package:flutter_lints.