Skip to content

Commit 0a9b2f9

Browse files
committed
Update configs and examples in issue templates
1 parent 01951ad commit 0a9b2f9

File tree

4 files changed

+48
-45
lines changed

4 files changed

+48
-45
lines changed

.github/ISSUE_TEMPLATE/bug-report.yml

+21-20
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ body:
77
attributes:
88
label: Current behaviour
99
description: Here you can summarise what is going on.
10-
placeholder: e.g. ESLint marked an unused variable starting with `_` as unused, even though I added this pattern to my `.eslintrc`.
10+
placeholder: e.g. ESLint marked an unused variable starting with `_` as unused, even though I added this pattern to my `eslint.config.js`.
1111
validations:
1212
required: true
1313
- type: textarea
@@ -25,7 +25,7 @@ body:
2525
description: Providing a set of concise steps that deterministically reproduce the behaviour helps us investigate what is going on.
2626
placeholder: |
2727
For example:
28-
1. I extended the `@code-pushup/eslint` in my `.eslintrc`.
28+
1. I imported `@code-pushup/eslint/javascript` in my `eslint.config.js`.
2929
2. I added explicit options to the `no-unused-vars` rule.
3030
3. When I opened the `index.ts` file, ESLint highlighted the `no-unused-vars` rule despite the variable `_unused` matching the pattern I explicitly set.
3131
validations:
@@ -35,23 +35,24 @@ body:
3535
attributes:
3636
label: Has this worked for you before?
3737
description: Provide the last working version.
38-
placeholder: e.g. 0.5.0
38+
placeholder: e.g. 0.12.0
3939
- type: dropdown
4040
id: config
4141
attributes:
4242
label: Which configuration is this related to?
4343
options:
44-
- default
45-
- TypeScript
46-
- Node.js
47-
- Angular
48-
- NgRx
49-
- Jest
50-
- Vitest
51-
- 'React Testing Library'
52-
- Cypress
53-
- Playwright
54-
- Storybook
44+
- javascript
45+
- typeScript
46+
- node
47+
- angular
48+
- ngrx
49+
- graphql
50+
- jest
51+
- vitest
52+
- cypress
53+
- playwright
54+
- storybook
55+
- react-testing-library
5556
validations:
5657
required: true
5758
- type: textarea
@@ -61,34 +62,34 @@ body:
6162
description: What config version are you running? Include peer dependencies if applicable.
6263
placeholder: |
6364
For example:
64-
`@code-pushup/eslint-config` version 0.5.0
65+
`@code-pushup/eslint-config` version 0.12.0
6566
6667
Peer dependencies:
67-
- `@typescript-eslint/eslint-plugin` version 7.3.1
68-
- `@typescript-eslint/parser` version 7.3.1
68+
- `typescript-eslint` version 8.13.0
69+
- `eslint-plugin-sonarjs` version 1.0.4
6970
validations:
7071
required: true
7172
- type: input
7273
id: eslint-version
7374
attributes:
7475
label: ESLint version
7576
description: What ESLint version are you running? (check with `npm list eslint`)
76-
placeholder: e.g. 8.57.0
77+
placeholder: e.g. 9.14.0
7778
validations:
7879
required: false
7980
- type: input
8081
id: ts-version
8182
attributes:
8283
label: TypeScript version
8384
description: What TypeScript version are you running? (check with `npx tsc -v`)
84-
placeholder: e.g. 5.4.0
85+
placeholder: e.g. 5.6.3
8586
validations:
8687
required: false
8788
- type: input
8889
id: node-version
8990
attributes:
9091
label: Node version
9192
description: What Node version are you running? (check with `node -v`)
92-
placeholder: e.g. 20.0.0
93+
placeholder: e.g. 22.12.0
9394
validations:
9495
required: false

.github/ISSUE_TEMPLATE/change-request.yml

+13-12
Original file line numberDiff line numberDiff line change
@@ -39,24 +39,25 @@ body:
3939
attributes:
4040
label: Which configuration is this related to?
4141
options:
42-
- default
43-
- TypeScript
44-
- Node.js
45-
- Angular
46-
- NgRx
47-
- Jest
48-
- Vitest
49-
- 'React Testing Library'
50-
- Cypress
51-
- Playwright
52-
- Storybook
42+
- javascript
43+
- typeScript
44+
- node
45+
- angular
46+
- ngrx
47+
- graphql
48+
- jest
49+
- vitest
50+
- cypress
51+
- playwright
52+
- storybook
53+
- react-testing-library
5354
validations:
5455
required: true
5556
- type: input
5657
id: eslint-version
5758
attributes:
5859
label: ESLint version
5960
description: What ESLint version are you running? (check in your `package.json`)
60-
placeholder: e.g. 8.57.0
61+
placeholder: e.g. 9.14.0
6162
validations:
6263
required: false

.github/ISSUE_TEMPLATE/feature-request.yml

+13-12
Original file line numberDiff line numberDiff line change
@@ -39,24 +39,25 @@ body:
3939
attributes:
4040
label: Which configuration is this related to?
4141
options:
42-
- default
43-
- TypeScript
44-
- Node.js
45-
- Angular
46-
- NgRx
47-
- Jest
48-
- Vitest
49-
- 'React Testing Library'
50-
- Cypress
51-
- Playwright
52-
- Storybook
42+
- javascript
43+
- typeScript
44+
- node
45+
- angular
46+
- ngrx
47+
- graphql
48+
- jest
49+
- vitest
50+
- cypress
51+
- playwright
52+
- storybook
53+
- react-testing-library
5354
validations:
5455
required: true
5556
- type: input
5657
id: eslint-version
5758
attributes:
5859
label: ESLint version
5960
description: What ESLint version are you running? (check in your `package.json`)
60-
placeholder: e.g. 8.57.0
61+
placeholder: e.g. 9.14.0
6162
validations:
6263
required: false

.github/ISSUE_TEMPLATE/new-config-request.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ body:
1717
description: What should the new configuration contain? Listing a set of criteria helps us determine whether the scope of the request was fully addressed.
1818
placeholder: |
1919
For example:
20-
- [ ] A new configuration `react` extends recommended config from `eslint-plugin-react` with additional rules …
20+
- [ ] A new configuration `vue` extends recommended config from `eslint-plugin-vue` with additional rules …
2121
validations:
2222
required: true

0 commit comments

Comments
 (0)