Skip to content

Commit 7219cfb

Browse files
authored
chore: add RFC-NEW-RULE form issue template (#40)
* chore: add RFC-NEW-RULE form issue template * fix: typo after review
1 parent 94eb77f commit 7219cfb

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: RFC for a new rule on eslint-plugin ⭐
2+
description: File a RFC for a new rule for the plugin, and debate on it with the community. After the RFC is accepted, you can open a PR to add the rule.
3+
title: "[RFC]: plugin:rule-name"
4+
labels: ["📏 eslint-plugin", "⭐ enhancement"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
# 🌟 New Rule Proposal for eslint-plugin
10+
Thank you for taking the time to propose a new rule for the plugin.
11+
- type: textarea
12+
id: why
13+
attributes:
14+
label: "Why?"
15+
description: Please provide a detailed explanation about why this rule should be added.
16+
placeholder: "e.g., This rule helps in ensuring code quality by..."
17+
validations:
18+
required: true
19+
- type: input
20+
id: rule-url
21+
attributes:
22+
label: "Rule Documentation 📜"
23+
description: If there's documentation for this rule, please provide the link.
24+
placeholder: "e.g., [eslint.org/docs/latest/rules/no-console](https://eslint.org/docs/latest/rules/no-console)"
25+
validations:
26+
required: false
27+
- type: dropdown
28+
id: eslint-config
29+
attributes:
30+
label: "Config Selection 🛠"
31+
description: "Please select the config where this rule should be added:"
32+
options:
33+
- "`recommended`"
34+
- "`tests`"
35+
- "`a11y`"
36+
validations:
37+
required: true
38+
- type: textarea
39+
id: optional
40+
attributes:
41+
label: "(Optional) Additional Details 📝"
42+
description: "Please provide any additional details that you think might be helpful."
43+
placeholder: "e.g., This rule is similar to the `no-console` rule, but it also..."

0 commit comments

Comments
 (0)