Skip to content

update lint issue templates #849

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/lints_propoposal.md
Original file line number Diff line number Diff line change
@@ -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.
10 changes: 5 additions & 5 deletions pkgs/lints/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Loading