Skip to content

Commit

Permalink
Chore: Cleanup issue templates (#15039)
Browse files Browse the repository at this point in the history
  • Loading branch information
nzakas committed Sep 14, 2021
1 parent 660f075 commit f87e199
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 13 deletions.
17 changes: 11 additions & 6 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Expand Up @@ -7,7 +7,7 @@ labels:
body:
- type: markdown
attributes:
value: ESLint adheres to the [Open JS Foundation Code of Conduct](https://eslint.org/conduct). By opening an issue, you agree to abide by the code of conduct.
value: By opening an issue, you agree to abide by the [Open JS Foundation Code of Conduct](https://eslint.org/conduct).
- type: textarea
attributes:
label: Environment
Expand Down Expand Up @@ -43,11 +43,14 @@ body:
value: |
<details>
<summary>Configuration</summary>
<!-- Paste your configuration below: -->
```js
```
<!-- Paste your configuration here -->
```
</details>
```js
<!-- Paste your code here -->
```
render: markdown
validations:
required: true
Expand All @@ -56,15 +59,13 @@ body:
label: What did you expect to happen?
description: |
You can use Markdown in this field.
render: markdown
validations:
required: true
- type: textarea
attributes:
label: What actually happened?
description: |
Please copy-paste the actual ESLint output. You can use Markdown in this field.
render: markdown
validations:
required: true
- type: checkboxes
Expand All @@ -73,3 +74,7 @@ body:
options:
- label: I am willing to submit a pull request for this issue.
required: false
- type: textarea
attributes:
label: Additional comments
description: Is there anything else that's important for the team to know?
6 changes: 5 additions & 1 deletion .github/ISSUE_TEMPLATE/change.yml
Expand Up @@ -8,7 +8,7 @@ labels:
body:
- type: markdown
attributes:
value: ESLint adheres to the [Open JS Foundation Code of Conduct](https://eslint.org/conduct). By opening an issue, you agree to abide by the code of conduct.
value: By opening an issue, you agree to abide by the [Open JS Foundation Code of Conduct](https://eslint.org/conduct).
- type: input
attributes:
label: ESLint version
Expand Down Expand Up @@ -42,3 +42,7 @@ body:
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?
6 changes: 5 additions & 1 deletion .github/ISSUE_TEMPLATE/new-rule.yml
Expand Up @@ -7,7 +7,7 @@ labels:
body:
- type: markdown
attributes:
value: ESLint adheres to the [Open JS Foundation Code of Conduct](https://eslint.org/conduct). By opening an issue, you agree to abide by the code of conduct.
value: By opening an issue, you agree to abide by the [Open JS Foundation Code of Conduct](https://eslint.org/conduct).
- type: input
attributes:
label: Rule details
Expand Down Expand Up @@ -48,3 +48,7 @@ body:
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?
15 changes: 10 additions & 5 deletions .github/ISSUE_TEMPLATE/rule-change.yml
Expand Up @@ -7,19 +7,20 @@ labels:
body:
- type: markdown
attributes:
value: ESLint adheres to the [Open JS Foundation Code of Conduct](https://eslint.org/conduct). By opening an issue, you agree to abide by the code of conduct.
value: By opening an issue, you agree to abide by the [Open JS Foundation Code of Conduct](https://eslint.org/conduct).
- type: input
attributes:
label: What rule do you want to change?
validations:
required: true
- type: dropdown
attributes:
label: Does this change cause the rule to produce more or fewer warnings?
label: What change to do you want to make?
options:
- More warnings
- Fewer warnings
- No change to warnings
- Generate more warnings
- Generate fewer warnings
- Implement autofix
- Implement suggestions
validations:
required: true
- type: dropdown
Expand Down Expand Up @@ -54,3 +55,7 @@ body:
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?

0 comments on commit f87e199

Please sign in to comment.