Skip to content

Commit 5a05362

Browse files
authored
chore: add issue template to propose new rules (typescript-eslint#3925)
1 parent 08d303a commit 5a05362

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Rule proposal
2+
description: "Propose a new rule for the '@typescript-eslint/eslint-plugin' package"
3+
title: "Rule proposal: "
4+
labels:
5+
- "enhancement: new base rule extension"
6+
- "package: eslint-plugin"
7+
- triage
8+
body:
9+
- type: markdown
10+
attributes:
11+
value: |
12+
Before opening a new issue:
13+
- Look for existing [open or closed rule proposals](https://github.com/typescript-eslint/typescript-eslint/issues?q=label%3A%22enhancement%3A+new+base+rule+extension%22)
14+
- Look for [existing rules](https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin)
15+
- Ensure that the rule you want to propose is related to types. If not, consider looking into [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn)
16+
- type: textarea
17+
validations:
18+
required: true
19+
attributes:
20+
label: Description
21+
description: Explain here why this rule would be beneficial
22+
- type: textarea
23+
validations:
24+
required: true
25+
attributes:
26+
label: Fail
27+
description: Specify an example of code that should be detected
28+
value: |
29+
```ts
30+
var replace = 'me';
31+
```
32+
- type: textarea
33+
validations:
34+
required: true
35+
attributes:
36+
label: Pass
37+
description: Specify an example of code that would be accepted in its place
38+
value: |
39+
```ts
40+
const replace = 'me';
41+
```

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy