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

chore: update issue templates #1176

Merged
merged 1 commit into from
Jan 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/ISSUE_TEMPLATE/change.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: "Request a change (not rule-related)"
description: "Request a change that is not a bug fix, rule change, or new rule"
title: "[Change request] (fill in)"
labels:
- "type: enhancement"
body:
- type: input
attributes:
label: DCM version
description: |
What version of DCM are you currently using?
placeholder: |
e.g. v8.0.0
validations:
required: true
- type: textarea
attributes:
label: What problem do you want to solve?
description: |
Please explain your use case in as much detail as possible.
placeholder: |
DCM currently...
validations:
required: true
- type: textarea
attributes:
label: What do you think is the correct solution?
description: |
Please explain how you'd like to change DCM to address the problem.
placeholder: |
I'd like DCM to...
validations:
required: true
- type: checkboxes
attributes:
label: Participation
options:
- label: I am willing to submit a pull request for this change.
required: false
- type: textarea
attributes:
label: Additional comments
description: Is there anything else that's important for the team to know?
31 changes: 0 additions & 31 deletions .github/ISSUE_TEMPLATE/new-rule-proposal.md

This file was deleted.

43 changes: 43 additions & 0 deletions .github/ISSUE_TEMPLATE/new-rule.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: "New rule proposal"
description: "Propose a new rule."
title: "[New rule] (fill in)"
assignees: incendial
labels:
- area-rules
- "type: enhancement"
body:
- type: markdown
attributes:
value: Thank you for your lint idea!
- type: textarea
attributes:
label: Rule details
description: What should the new rule do?
validations:
required: true
- type: dropdown
attributes:
label: What type of rule is this?
options:
- Warns about a potential problem
- Suggests an alternate way of doing something
- Enforces a formatting/stylistic preference
validations:
required: true
- type: textarea
attributes:
label: Example code
description: Please provide some example Dart code that this rule will warn about. This field will render as Dart.
render: dart
validations:
required: true
- type: checkboxes
attributes:
label: Participation
options:
- label: I am willing to submit a pull request to implement this rule.
required: false
- type: textarea
attributes:
label: Additional comments
description: Is there anything else that's important for the team to know?
13 changes: 0 additions & 13 deletions .github/ISSUE_TEMPLATE/question.md

This file was deleted.

8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/question.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: "Ask a Question, Discuss"
description: "Get help using DCM."
title: "[Question] (fill in)"
assignees: incendial
labels:
- "type: question"
body:
- type: textarea
28 changes: 0 additions & 28 deletions .github/ISSUE_TEMPLATE/rule-change-proposal.md

This file was deleted.

59 changes: 59 additions & 0 deletions .github/ISSUE_TEMPLATE/rule-change.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: "Request a rule change"
description: "Request a change to an existing rule."
title: "[Rule change] (fill in)"
assignees: incendial
labels:
- area-rules
- "type: enhancement"
body:
- type: input
attributes:
label: What rule do you want to change?
validations:
required: true
- type: dropdown
attributes:
label: What change to do you want to make?
options:
- Generate more warnings
- Generate fewer warnings
- Implement autofix
- Implement suggestions
validations:
required: true
- type: dropdown
attributes:
label: How do you think the change should be implemented?
options:
- A new option
- A new default behavior
- Other
validations:
required: true
- type: textarea
attributes:
label: Example code
description: Please provide some example code that this change will affect. This field will render as Dart.
render: dart
validations:
required: true
- type: textarea
attributes:
label: What does the rule currently do for this code?
validations:
required: true
- type: textarea
attributes:
label: What will the rule do after it's changed?
validations:
required: true
- type: checkboxes
attributes:
label: Participation
options:
- label: I am willing to submit a pull request to implement this change.
required: false
- type: textarea
attributes:
label: Additional comments
description: Is there anything else that's important for the team to know?