From 60dfb6c623dfe829e5350dabe507e7850c1beacf Mon Sep 17 00:00:00 2001 From: Teddy Katz Date: Thu, 6 Dec 2018 16:29:53 -0500 Subject: [PATCH] Docs: Update issue templates (#11163) 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/ --- .github/ISSUE_TEMPLATE/BUG_REPORT.md | 5 +++-- .github/ISSUE_TEMPLATE/CHANGE.md | 4 +++- .github/ISSUE_TEMPLATE/NEW_RULE.md | 4 +++- .github/ISSUE_TEMPLATE/QUESTION.md | 3 +++ .github/ISSUE_TEMPLATE/RULE_CHANGE.md | 5 ++++- .github/ISSUE_TEMPLATE/SECURITY.md | 3 +++ 6 files changed, 19 insertions(+), 5 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/BUG_REPORT.md b/.github/ISSUE_TEMPLATE/BUG_REPORT.md index a614d6b2f5c..1e9a73641c7 100644 --- a/.github/ISSUE_TEMPLATE/BUG_REPORT.md +++ b/.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: '' --- @@ -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?** - - diff --git a/.github/ISSUE_TEMPLATE/CHANGE.md b/.github/ISSUE_TEMPLATE/CHANGE.md index 3fe2fe241a7..35cb70243aa 100644 --- a/.github/ISSUE_TEMPLATE/CHANGE.md +++ b/.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: '' --- @@ -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?** - diff --git a/.github/ISSUE_TEMPLATE/NEW_RULE.md b/.github/ISSUE_TEMPLATE/NEW_RULE.md index 247302d7b28..0fa62b1cf3e 100644 --- a/.github/ISSUE_TEMPLATE/NEW_RULE.md +++ b/.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: '' --- @@ -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?** - diff --git a/.github/ISSUE_TEMPLATE/QUESTION.md b/.github/ISSUE_TEMPLATE/QUESTION.md index ba96b41044c..375e2170ac9 100644 --- a/.github/ISSUE_TEMPLATE/QUESTION.md +++ b/.github/ISSUE_TEMPLATE/QUESTION.md @@ -1,6 +1,9 @@ --- name: "⛔ Question" about: Please go to https://gitter.im/eslint/eslint +title: '' +labels: '' +assignees: '' --- diff --git a/.github/ISSUE_TEMPLATE/RULE_CHANGE.md b/.github/ISSUE_TEMPLATE/RULE_CHANGE.md index 9ecb2d002b5..88e250f967d 100644 --- a/.github/ISSUE_TEMPLATE/RULE_CHANGE.md +++ b/.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: '' --- @@ -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?** \ No newline at end of file +**Are you willing to submit a pull request to implement this change?** diff --git a/.github/ISSUE_TEMPLATE/SECURITY.md b/.github/ISSUE_TEMPLATE/SECURITY.md index 8cc33ec6eca..c04f525365a 100644 --- a/.github/ISSUE_TEMPLATE/SECURITY.md +++ b/.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: '' ---