Skip to content

Commit 881d5c4

Browse files
authored
Create bug_report.yml
1 parent 0631f8c commit 881d5c4

File tree

1 file changed

+84
-0
lines changed

1 file changed

+84
-0
lines changed

Diff for: .github/ISSUE_TEMPLATE/bug_report.yml

+84
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
name: Bug report
2+
description: Create a report to help us improve.
3+
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for taking the time to fill out this bug report!
9+
- type: checkboxes
10+
id: sanity-checks
11+
attributes:
12+
label: Before You File a Bug Report Please Confirm You Have Done The Following...
13+
description: If any of these required steps are not taken, we may not be able to review your issue. Help us to help you!
14+
options:
15+
- label: I'm using [eslint-plugin-vue](https://github.com/vuejs/eslint-plugin-vue).
16+
- label: I'm sure the problem is a parser problem. (If you are not sure, search for the issue in [eslint-plugin-vue](https://github.com/vuejs/eslint-plugin-vue) repo and open the issue in [eslint-plugin-vue](https://github.com/vuejs/eslint-plugin-vue) repo if there is no solution.
17+
required: true
18+
- label: I have tried restarting my IDE and the issue persists.
19+
required: true
20+
- label: I have updated to the latest version of the packages.
21+
required: true
22+
- type: input
23+
id: eslint-version
24+
attributes:
25+
label: What version of ESLint are you using?
26+
placeholder: 0.0.0
27+
validations:
28+
required: true
29+
- type: textarea
30+
id: eslint-plugin-vue-version
31+
attributes:
32+
label: What version of `eslint-plugin-vue` and ` vue-eslint-parser` are you using?
33+
value: |
34+
35+
36+
validations:
37+
required: true
38+
- type: textarea
39+
attributes:
40+
label: What did you do?
41+
description: |
42+
Please include a *minimal* reproduction case.
43+
value: |
44+
<details>
45+
<summary>Configuration</summary>
46+
47+
```
48+
<!-- Paste your configuration here -->
49+
```
50+
</details>
51+
52+
```vue
53+
<!-- Paste your code here -->
54+
```
55+
validations:
56+
required: true
57+
- type: textarea
58+
attributes:
59+
label: What did you expect to happen?
60+
description: |
61+
You can use Markdown in this field.
62+
validations:
63+
required: true
64+
- type: textarea
65+
attributes:
66+
label: What actually happened?
67+
description: |
68+
Please copy-paste the actual ESLint output. You can use Markdown in this field.
69+
validations:
70+
required: true
71+
- type: textarea
72+
id: bug-reproduction
73+
attributes:
74+
label: Link to Minimal Reproducible Example
75+
description: |
76+
Create a minimal reproduction of the problem. **A minimal reproduction is required** so that others can help debug your issue. **If a report has no reproduction, it will be closed.**
77+
[Why Reproductions are Required](https://antfu.me/posts/why-reproductions-are-required)
78+
placeholder: |
79+
https://github.com/[your]/[repo]
80+
validations:
81+
required: true
82+
- type: textarea
83+
attributes:
84+
label: Additional comments

0 commit comments

Comments
 (0)