Skip to content

Commit 6c77528

Browse files
authored
ci: update GitHub templates (#575)
1 parent 1886680 commit 6c77528

File tree

2 files changed

+18
-7
lines changed

2 files changed

+18
-7
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@ name: Bug Report
22
description: File a bug report
33
labels: [bug]
44
body:
5+
- type: dropdown
6+
id: read_troubleshooting
7+
attributes:
8+
label: Have you read the Troubleshooting section?
9+
description: Please confirm you have read our Troubleshooting section before reporting a new bug
10+
options:
11+
- 'Yes'
12+
- 'No'
13+
validations:
14+
required: true
15+
516
- type: input
617
id: plugin_version
718
attributes:
@@ -32,8 +43,8 @@ body:
3243
- type: input
3344
id: npm_yarn_version
3445
attributes:
35-
label: npm/yarn version
36-
description: Tell us whether you use npm or yarn as your package manager, and what version.
46+
label: package manager and version
47+
description: Tell us package manager you are using, and what version.
3748
placeholder: npm 6.14.13
3849
validations:
3950
required: true
@@ -60,7 +71,7 @@ body:
6071
id: steps_to_reproduce
6172
attributes:
6273
label: Steps to reproduce
63-
description: Give us a ordered list of the steps to reproduce the problem.
74+
description: Give us an ordered list of the steps to reproduce the problem.
6475
placeholder: |
6576
1. Go to ...
6677
2. Do ....
@@ -81,7 +92,7 @@ body:
8192
id: eslint_config
8293
attributes:
8394
label: ESLint configuration
84-
description: Copy/paste your ESLint configuration into this field.
95+
description: Copy/paste your ESLint configuration relevant for this plugin into this field.
8596
placeholder: 'Tip: you can find your ESLint configuration in the `.eslintrc` file.'
8697
validations:
8798
required: true
@@ -90,7 +101,7 @@ body:
90101
id: rule_affected
91102
attributes:
92103
label: Rule(s) affected
93-
description: Tell us what `eslint-pluging-testing-library` rule(s) are affected by this bug.
104+
description: Tell us what `eslint-plugin-testing-library` rule(s) are affected by this bug.
94105
placeholder: 'Tip: check your `.eslintrc` for rules.'
95106
validations:
96107
required: true

.github/pull_request_template.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
## Checks
22

33
- [ ] I have read the [contributing guidelines](https://github.com/testing-library/eslint-plugin-testing-library/blob/main/CONTRIBUTING.md).
4-
- [ ] If some rule is added/updated/removed, I've regenerated the rules list.
5-
- [ ] If some rule meta info is changed, I've regenerated the plugin shared configs.
4+
- [ ] If some rule is added/updated/removed, I've regenerated the rules list (`npm run generate:rules-list`)
5+
- [ ] If some rule meta info is changed, I've regenerated the plugin shared configs (`npm run generate:configs`)
66

77
## Changes
88

0 commit comments

Comments
 (0)