Skip to content

Commit ca73d05

Browse files
chore: create request rule change form (#434)
* chore: create request rule change form * Update .github/ISSUE_TEMPLATE/request_rule_change.yml * Update .github/ISSUE_TEMPLATE/request_rule_change.yml * Remove placeholder as it equals the description * Use existing rule as placeholder Co-authored-by: Mario Beltrán Alarcón <[email protected]> Co-authored-by: Mario Beltrán Alarcón <[email protected]>
1 parent 36a7f97 commit ca73d05

File tree

1 file changed

+77
-0
lines changed

1 file changed

+77
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
name: Request a rule change
2+
description: Request a rule change for the eslint-plugin-testing-library.
3+
labels: [enhancement]
4+
body:
5+
- type: input
6+
id: what_rule_do_you_want_to_change
7+
attributes:
8+
label: What rule do you want to change?
9+
description: Enter the name of the rule you want to change.
10+
placeholder: prefer-find-by
11+
validations:
12+
required: true
13+
14+
- type: dropdown
15+
id: rule_change_more_fewer_warnings
16+
attributes:
17+
label: Does this change cause the rule to produce more or fewer warnings?
18+
options:
19+
- 'More warnings'
20+
- 'Fewer warnings'
21+
validations:
22+
required: true
23+
24+
- type: textarea
25+
id: change_implementation
26+
attributes:
27+
label: How will the change be implemented?
28+
description: Describe how the new rule will be implemented.
29+
validations:
30+
required: true
31+
32+
- type: textarea
33+
id: example_code
34+
attributes:
35+
label: Example code
36+
description: Please provide some example code that this change will affect.
37+
placeholder: Example of code that will be affected.
38+
validations:
39+
required: true
40+
41+
- type: textarea
42+
id: current_rule_affects_code
43+
attributes:
44+
label: How does the current rule affect the code?
45+
description: Explain how the current rule affects the example code.
46+
placeholder: The current rule affects the example code like this...
47+
validations:
48+
required: true
49+
50+
- type: textarea
51+
id: new_rule_affects_code
52+
attributes:
53+
label: How will the new rule affect the code?
54+
description: Explain how the new rule will affect the example code.
55+
placeholder: The new rule will affect the example code like this...
56+
validations:
57+
required: true
58+
59+
- type: textarea
60+
id: anything_else
61+
attributes:
62+
label: Anything else?
63+
description: If there's anything else we need to know, tell us about it here.
64+
placeholder: By the way, you also need to know about...
65+
validations:
66+
required: false
67+
68+
- type: dropdown
69+
id: want_to_submit_pr_to_change_rule
70+
attributes:
71+
label: Do you want to submit a pull request to change the rule?
72+
options:
73+
- 'Yes'
74+
- 'Yes, but need help'
75+
- 'No'
76+
validations:
77+
required: true

0 commit comments

Comments
 (0)