diff --git a/.github/ISSUE_TEMPLATE/lints_propoposal.md b/.github/ISSUE_TEMPLATE/lints_propoposal.md new file mode 100644 index 00000000..9f1b277d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/lints_propoposal.md @@ -0,0 +1,18 @@ +--- +name: Add an existing lint to the `core` or `recommended` rule set +about: Propose adding an existing lint rule to the `core` or `recommended` rule set. +labels: ["package:lints", "lints-proposal"] +--- + +Note that this should be used to suggest adding an existing lint to the +package:lints lint sets (core, recommended, and package:flutter_lints). For a +suggestion for a new lint, please file an issue at +https://github.com/dart-lang/sdk. + +**Describe the rule you'd like to see added and to what rule set** + +Include as much detail as you can. + +**Additional context** + +Add any other considerations or context here. diff --git a/pkgs/lints/README.md b/pkgs/lints/README.md index a1d2ffb9..f04a8e1b 100644 --- a/pkgs/lints/README.md +++ b/pkgs/lints/README.md @@ -92,7 +92,7 @@ we know to write Dart code. The process we use is: 1. Anyone can file an [issue] to discuss a potential change to a lint set (i.e., adding or removing a lint from one or both sets; if you're proposing - an entirely new lint, the place to suggest that is at the [linter repo]). + an entirely new lint, the place to suggest that is at the [sdk repo]). Feedback is welcome from any Dart user. 2. Periodically, a group of Dart and Flutter team members meet to review the @@ -102,14 +102,14 @@ we know to write Dart code. The process we use is: ## Lint set contents -See [rules.md](https://github.com/dart-lang/lints/blob/main/rules.md) for a list -of rules that make up the core and recommended rule sets. +See [rules.md](https://github.com/dart-lang/core/blob/main/pkgs/lints/rules.md) +for a list of rules that make up the core and recommended rule sets. [dart create]: https://dart.dev/tools/dart-create [scoring]: https://pub.dev/help/scoring [customizing static analysis]: https://dart.dev/tools/analysis [rules]: https://dart.dev/tools/linter-rules [pub.dev]: https://pub.dev -[issue]: https://github.com/dart-lang/lints/issues -[linter repo]: https://github.com/dart-lang/linter +[issue]: https://github.com/dart-lang/core/issues +[sdk repo]: https://github.com/dart-lang/sdk [`package:flutter_lints`]: https://pub.dev/packages/flutter_lints