Skip to content
This repository was archived by the owner on Jul 16, 2023. It is now read-only.

Commit 088bf05

Browse files
authored
chore: update issue templates (#1176)
1 parent 02610c1 commit 088bf05

File tree

7 files changed

+153
-72
lines changed

7 files changed

+153
-72
lines changed

.github/ISSUE_TEMPLATE/change.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: "Request a change (not rule-related)"
2+
description: "Request a change that is not a bug fix, rule change, or new rule"
3+
title: "[Change request] (fill in)"
4+
labels:
5+
- "type: enhancement"
6+
body:
7+
- type: input
8+
attributes:
9+
label: DCM version
10+
description: |
11+
What version of DCM are you currently using?
12+
placeholder: |
13+
e.g. v8.0.0
14+
validations:
15+
required: true
16+
- type: textarea
17+
attributes:
18+
label: What problem do you want to solve?
19+
description: |
20+
Please explain your use case in as much detail as possible.
21+
placeholder: |
22+
DCM currently...
23+
validations:
24+
required: true
25+
- type: textarea
26+
attributes:
27+
label: What do you think is the correct solution?
28+
description: |
29+
Please explain how you'd like to change DCM to address the problem.
30+
placeholder: |
31+
I'd like DCM to...
32+
validations:
33+
required: true
34+
- type: checkboxes
35+
attributes:
36+
label: Participation
37+
options:
38+
- label: I am willing to submit a pull request for this change.
39+
required: false
40+
- type: textarea
41+
attributes:
42+
label: Additional comments
43+
description: Is there anything else that's important for the team to know?

.github/ISSUE_TEMPLATE/new-rule-proposal.md

Lines changed: 0 additions & 31 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/new-rule.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: "New rule proposal"
2+
description: "Propose a new rule."
3+
title: "[New rule] (fill in)"
4+
assignees: incendial
5+
labels:
6+
- area-rules
7+
- "type: enhancement"
8+
body:
9+
- type: markdown
10+
attributes:
11+
value: Thank you for your lint idea!
12+
- type: textarea
13+
attributes:
14+
label: Rule details
15+
description: What should the new rule do?
16+
validations:
17+
required: true
18+
- type: dropdown
19+
attributes:
20+
label: What type of rule is this?
21+
options:
22+
- Warns about a potential problem
23+
- Suggests an alternate way of doing something
24+
- Enforces a formatting/stylistic preference
25+
validations:
26+
required: true
27+
- type: textarea
28+
attributes:
29+
label: Example code
30+
description: Please provide some example Dart code that this rule will warn about. This field will render as Dart.
31+
render: dart
32+
validations:
33+
required: true
34+
- type: checkboxes
35+
attributes:
36+
label: Participation
37+
options:
38+
- label: I am willing to submit a pull request to implement this rule.
39+
required: false
40+
- type: textarea
41+
attributes:
42+
label: Additional comments
43+
description: Is there anything else that's important for the team to know?

.github/ISSUE_TEMPLATE/question.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/question.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: "Ask a Question, Discuss"
2+
description: "Get help using DCM."
3+
title: "[Question] (fill in)"
4+
assignees: incendial
5+
labels:
6+
- "type: question"
7+
body:
8+
- type: textarea

.github/ISSUE_TEMPLATE/rule-change-proposal.md

Lines changed: 0 additions & 28 deletions
This file was deleted.
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: "Request a rule change"
2+
description: "Request a change to an existing rule."
3+
title: "[Rule change] (fill in)"
4+
assignees: incendial
5+
labels:
6+
- area-rules
7+
- "type: enhancement"
8+
body:
9+
- type: input
10+
attributes:
11+
label: What rule do you want to change?
12+
validations:
13+
required: true
14+
- type: dropdown
15+
attributes:
16+
label: What change to do you want to make?
17+
options:
18+
- Generate more warnings
19+
- Generate fewer warnings
20+
- Implement autofix
21+
- Implement suggestions
22+
validations:
23+
required: true
24+
- type: dropdown
25+
attributes:
26+
label: How do you think the change should be implemented?
27+
options:
28+
- A new option
29+
- A new default behavior
30+
- Other
31+
validations:
32+
required: true
33+
- type: textarea
34+
attributes:
35+
label: Example code
36+
description: Please provide some example code that this change will affect. This field will render as Dart.
37+
render: dart
38+
validations:
39+
required: true
40+
- type: textarea
41+
attributes:
42+
label: What does the rule currently do for this code?
43+
validations:
44+
required: true
45+
- type: textarea
46+
attributes:
47+
label: What will the rule do after it's changed?
48+
validations:
49+
required: true
50+
- type: checkboxes
51+
attributes:
52+
label: Participation
53+
options:
54+
- label: I am willing to submit a pull request to implement this change.
55+
required: false
56+
- type: textarea
57+
attributes:
58+
label: Additional comments
59+
description: Is there anything else that's important for the team to know?

0 commit comments

Comments
 (0)