Skip to content

Commit

Permalink
Docs: Update issue templates (#11163)
Browse files Browse the repository at this point in the history
This updates the issue templates to add the appropriate labels to new issues depending on which template was used.

This uses a recently-shipped GitHub feature: https://blog.github.com/changelog/2018-12-05-issue-template-automation-improvements/
  • Loading branch information
not-an-aardvark committed Dec 6, 2018
1 parent 958987a commit 60dfb6c
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/ISSUE_TEMPLATE/BUG_REPORT.md
@@ -1,6 +1,9 @@
---
name: "\U0001F41E Bug report"
about: Report an issue with ESLint or rules bundled with ESLint
title: ''
labels: bug, evaluating
assignees: ''

---

Expand Down Expand Up @@ -56,5 +59,3 @@ about: Report an issue with ESLint or rules bundled with ESLint


**Are you willing to submit a pull request to fix this bug?**


4 changes: 3 additions & 1 deletion .github/ISSUE_TEMPLATE/CHANGE.md
@@ -1,6 +1,9 @@
---
name: "\U0001F4DD Non-rule change request"
about: Request a change that is not a bug fix, rule change, or new rule
title: ''
labels: core, enhancement, evaluating
assignees: ''

---

Expand All @@ -27,4 +30,3 @@ about: Request a change that is not a bug fix, rule change, or new rule


**Are you willing to submit a pull request to implement this change?**

4 changes: 3 additions & 1 deletion .github/ISSUE_TEMPLATE/NEW_RULE.md
@@ -1,6 +1,9 @@
---
name: "\U0001F680 New rule proposal"
about: Propose a new rule to be added to ESLint
title: ''
labels: rule, feature, evaluating
assignees: ''

---

Expand Down Expand Up @@ -37,4 +40,3 @@ about: Propose a new rule to be added to ESLint


**Are you willing to submit a pull request to implement this rule?**

3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/QUESTION.md
@@ -1,6 +1,9 @@
---
name: "⛔ Question"
about: Please go to https://gitter.im/eslint/eslint
title: ''
labels: ''
assignees: ''

---

Expand Down
5 changes: 4 additions & 1 deletion .github/ISSUE_TEMPLATE/RULE_CHANGE.md
@@ -1,6 +1,9 @@
---
name: "\U0001F4DD Rule change request"
about: Request a change to an existing rule
title: ''
labels: enhancement, evaluating, rule
assignees: ''

---

Expand Down Expand Up @@ -34,4 +37,4 @@ about: Request a change to an existing rule

**What will the rule do after it's changed?**

**Are you willing to submit a pull request to implement this change?**
**Are you willing to submit a pull request to implement this change?**
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/SECURITY.md
@@ -1,6 +1,9 @@
---
name: "⛔ Security issue"
about: Please file security issues at https://hackerone.com/eslint
title: ''
labels: ''
assignees: ''

---

Expand Down

0 comments on commit 60dfb6c

Please sign in to comment.