You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
0 commit comments