Skip to content

Commit a1333a6

Browse files
ROSSROSALESljharb
authored andcommitted
[meta] add issue template
Allows for a standard way for Issues to be asked. This helps contributors with finding a solution to problem
1 parent 0a2f6b7 commit a1333a6

File tree

2 files changed

+83
-0
lines changed

2 files changed

+83
-0
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
name: Bug Report
2+
description: File a bug report
3+
title: "[Bug]: "
4+
labels: ["bug", "triage"]
5+
assignees: []
6+
body:
7+
- type: checkboxes
8+
attributes:
9+
label: Is there an existing issue for this?
10+
description: Please search to see if an issue already exists for the bug you encountered.
11+
options:
12+
- label: I have searched the existing issues and my issue is unique
13+
required: true
14+
- label: My issue appears in the command-line and not only in the text editor
15+
required: true
16+
- type: textarea
17+
id: Code
18+
attributes:
19+
label: Description Overview
20+
description: A clear and concise description of bug w/ examples
21+
placeholder: |
22+
Brief description here
23+
24+
Show example of your code (as text format), add images/videos/gifs to help explain example
25+
and/or Link of repo to where issue is occurring
26+
27+
What is happening? / What is the error?
28+
29+
What command(s) did you run to reproduce issue?
30+
value: |
31+
<!--Brief description-->
32+
33+
34+
<!--Show example of your code (as text format), add images/videos/gifs to help explain example-->
35+
<!--and/or Link of repo to where issue is occurring-->
36+
37+
38+
<!--What is happening? / What is the error?-->
39+
40+
41+
<!--What command(s) did you run to reproduce issue?-->
42+
43+
validations:
44+
required: true
45+
- type: textarea
46+
id: expected_behavior
47+
attributes:
48+
label: Expected Behavior
49+
description: A clear and concise description of what you expected to happen.
50+
placeholder: |
51+
Brief description here
52+
53+
Show example of code (as text format), add images/videos/gifs to help explain expected behavior
54+
value: |
55+
<!--Brief description-->
56+
57+
58+
<!--Show example of code (as text format), add images/videos/gifs to help explain expected behavior-->
59+
validations:
60+
required: true
61+
- type: input
62+
id: eslint-plugin-react-version
63+
attributes:
64+
label: `eslint-plugin-react` version
65+
placeholder: v7.31.11
66+
validations:
67+
required: true
68+
- type: input
69+
id: eslint-version
70+
attributes:
71+
label: `eslint` version
72+
placeholder: v8.28.0
73+
validations:
74+
required: true
75+
- type: input
76+
id: node-version
77+
attributes:
78+
label: `node` version
79+
placeholder: v8.19.2
80+
validations:
81+
required: true

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,13 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange
2222
### Changed
2323
* [Docs] [`jsx-no-leaked-render`]: Remove mentions of empty strings for React 18 ([#3468][] @karlhorky)
2424
* [Docs] update `eslint-doc-generator` to v1.0.0 ([#3499][] @bmish)
25+
* [meta] add issue template ([#3483][] @ROSSROSALES)
2526

2627
[#3499]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3499
2728
[#3494]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3494
2829
[#3493]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3493
2930
[#3488]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3488
31+
[#3483]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3483
3032
[#3474]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3474
3133
[#3471]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3471
3234
[#3468]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3468

0 commit comments

Comments
 (0)