Skip to content

Commit 2ac228b

Browse files
authored
update lint issue templates (#849)
1 parent 513fa2f commit 2ac228b

File tree

2 files changed

+23
-5
lines changed

2 files changed

+23
-5
lines changed
+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
name: Add an existing lint to the `core` or `recommended` rule set
3+
about: Propose adding an existing lint rule to the `core` or `recommended` rule set.
4+
labels: ["package:lints", "lints-proposal"]
5+
---
6+
7+
Note that this should be used to suggest adding an existing lint to the
8+
package:lints lint sets (core, recommended, and package:flutter_lints). For a
9+
suggestion for a new lint, please file an issue at
10+
https://github.com/dart-lang/sdk.
11+
12+
**Describe the rule you'd like to see added and to what rule set**
13+
14+
Include as much detail as you can.
15+
16+
**Additional context**
17+
18+
Add any other considerations or context here.

pkgs/lints/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ we know to write Dart code. The process we use is:
9292
9393
1. Anyone can file an [issue] to discuss a potential change to a lint set
9494
(i.e., adding or removing a lint from one or both sets; if you're proposing
95-
an entirely new lint, the place to suggest that is at the [linter repo]).
95+
an entirely new lint, the place to suggest that is at the [sdk repo]).
9696
Feedback is welcome from any Dart user.
9797
9898
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:
102102
103103
## Lint set contents
104104
105-
See [rules.md](https://github.com/dart-lang/lints/blob/main/rules.md) for a list
106-
of rules that make up the core and recommended rule sets.
105+
See [rules.md](https://github.com/dart-lang/core/blob/main/pkgs/lints/rules.md)
106+
for a list of rules that make up the core and recommended rule sets.
107107
108108
[dart create]: https://dart.dev/tools/dart-create
109109
[scoring]: https://pub.dev/help/scoring
110110
[customizing static analysis]: https://dart.dev/tools/analysis
111111
[rules]: https://dart.dev/tools/linter-rules
112112
[pub.dev]: https://pub.dev
113-
[issue]: https://github.com/dart-lang/lints/issues
114-
[linter repo]: https://github.com/dart-lang/linter
113+
[issue]: https://github.com/dart-lang/core/issues
114+
[sdk repo]: https://github.com/dart-lang/sdk
115115
[`package:flutter_lints`]: https://pub.dev/packages/flutter_lints

0 commit comments

Comments
 (0)