Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create ISSUE_TEMPLATE #53

Merged
merged 4 commits into from Jun 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
84 changes: 84 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
@@ -0,0 +1,84 @@
name: Bug report
description: Create a report to help us improve.

body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: checkboxes
id: sanity-checks
attributes:
label: Before You File a Bug Report Please Confirm You Have Done The Following...
description: If any of these required steps are not taken, we may not be able to review your issue. Help us to help you!
options:
- label: |
I'm using [eslint-plugin-astro](https://github.com/ota-meshi/eslint-plugin-astro).
(`*.astro` file linting does not work with the parser alone. You should also use eslint-plugin-astro with it.)
required: true
- label: I'm sure the problem is a parser problem. (If you are not sure, search for the issue in [eslint-plugin-astro](https://github.com/ota-meshi/eslint-plugin-astro) repo and open the issue in [eslint-plugin-astro](https://github.com/ota-meshi/eslint-plugin-astro) repo if there is no solution.
required: true
- label: I have tried restarting my IDE and the issue persists.
required: true
- label: I have updated to the latest version of the packages.
required: true
- type: input
id: eslint-version
attributes:
label: What version of ESLint are you using?
placeholder: 0.0.0
validations:
required: true
- type: input
id: eslint-plugin-astro-version
attributes:
label: What version of `eslint-plugin-astro` are you using?
placeholder: 0.0.0
validations:
required: true
- type: textarea
attributes:
label: What did you do?
description: |
Please include a *minimal* reproduction case.
value: |
<details>
<summary>Configuration</summary>

```
<!-- Paste your configuration here -->
```
</details>

```astro
<!-- Paste your code here -->
```
validations:
required: true
- type: textarea
attributes:
label: What did you expect to happen?
description: |
You can use Markdown in this field.
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.
validations:
required: true
- type: textarea
id: bug-reproduction
attributes:
label: Link to Minimal Reproducible Example
description: |
Create a minimal reproduction of the problem. **A minimal reproduction is required** so that others can help debug your issue. If a report is vague (e.g. just a generic error message) and has no reproduction, it may be closed.
placeholder: |
https://github.com/[your]/[repo]
validations:
required: true
- type: textarea
attributes:
label: Additional comments
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
@@ -0,0 +1,13 @@
name: Feature request
description: Suggest a new feature.
labels: [enhancement]

body:
- type: textarea
attributes:
label: Description
description: |
A clear and concise description of the new feature.
Also give a few code examples.
validations:
required: true
7 changes: 7 additions & 0 deletions .github/ISSUE_TEMPLATE/other.md
@@ -0,0 +1,7 @@
---
name: Other
about: An issue that doesn't fit into the other categories.
title: ""
labels: ""
assignees: ""
---