From 39678a3bcad1b3f326fa240efdb54706a1c59509 Mon Sep 17 00:00:00 2001 From: Devon Carew Date: Fri, 2 May 2025 17:27:33 -0700 Subject: [PATCH 1/2] update the issue templates for package:lints --- .github/ISSUE_TEMPLATE/lints.md | 8 ++++++++ .github/ISSUE_TEMPLATE/lints_propoposal.md | 18 ------------------ pkgs/lints/README.md | 2 +- 3 files changed, 9 insertions(+), 19 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/lints_propoposal.md diff --git a/.github/ISSUE_TEMPLATE/lints.md b/.github/ISSUE_TEMPLATE/lints.md index 7bf237806..9b84319cc 100644 --- a/.github/ISSUE_TEMPLATE/lints.md +++ b/.github/ISSUE_TEMPLATE/lints.md @@ -3,3 +3,11 @@ name: "package:lints" about: "Create a bug or file a feature request against package:lints." labels: "package:lints" --- + +**Note** this issue tracker is used to: + +- suggest adding an _existing_ lint to the core or recommended lint sets, or +- file a bug or enhancement against `package:lints` + +To instead propose an entirely new lint, see instead +https://github.com/dart-lang/sdk; thanks! diff --git a/.github/ISSUE_TEMPLATE/lints_propoposal.md b/.github/ISSUE_TEMPLATE/lints_propoposal.md deleted file mode 100644 index 9f1b277db..000000000 --- a/.github/ISSUE_TEMPLATE/lints_propoposal.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -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 5a127dd35..049b9d1e3 100644 --- a/pkgs/lints/README.md +++ b/pkgs/lints/README.md @@ -110,6 +110,6 @@ for a list of rules that make up the core and recommended rule sets. [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/core/issues +[issue]: https://github.com/dart-lang/core/issues/new?template=lints.md [sdk repo]: https://github.com/dart-lang/sdk [`package:flutter_lints`]: https://pub.dev/packages/flutter_lints From 16e4bd2bb92094ff679df224e65c275bd8e74ffc Mon Sep 17 00:00:00 2001 From: Devon Carew Date: Fri, 2 May 2025 17:29:04 -0700 Subject: [PATCH 2/2] update template --- .github/ISSUE_TEMPLATE/lints.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/lints.md b/.github/ISSUE_TEMPLATE/lints.md index 9b84319cc..92e3ce7e6 100644 --- a/.github/ISSUE_TEMPLATE/lints.md +++ b/.github/ISSUE_TEMPLATE/lints.md @@ -9,5 +9,5 @@ labels: "package:lints" - suggest adding an _existing_ lint to the core or recommended lint sets, or - file a bug or enhancement against `package:lints` -To instead propose an entirely new lint, see instead -https://github.com/dart-lang/sdk; thanks! +To propose an entirely new lint, see instead https://github.com/dart-lang/sdk; +thanks!