From 0fb38c7d108e07b495dd5f508ccebb52a493d06a Mon Sep 17 00:00:00 2001 From: Armano Date: Fri, 9 Nov 2018 02:36:31 +0100 Subject: [PATCH 1/3] Chore: Add new issue templates https://blog.github.com/2018-05-02-issue-template-improvements/ --- .github/ISSUE_TEMPLATE.md | 39 ------------------------- .github/ISSUE_TEMPLATE/bug_report.md | 22 ++++++++++++++ .github/ISSUE_TEMPLATE/rule-proposal.md | 22 ++++++++++++++ 3 files changed, 44 insertions(+), 39 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/rule-proposal.md diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index 9a3407f13..000000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,39 +0,0 @@ - - -**Tell us about your environment** - -* **ESLint Version:** -* **eslint-plugin-vue Version:** -* **Node Version:** - -**Please show your full configuration:** - - -``` - - - - -``` - -**What did you do? Please include the actual source code causing the issue.** - - -```vue - - - - - -``` - -**What did you expect to happen?** - -**What actually happened? Please include the actual, raw output from ESLint.** diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 000000000..6f87fc5e4 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,22 @@ +--- +name: Bug report +about: Create a report to help us improve + +--- + +**Tell us about your environment** +* **ESLint Version:** +* **eslint-plugin-vue Version:** +* **Node Version:** + +**Please show your full configuration:** +```json + +``` +**What did you do? Please include the actual source code causing the issue.** +```vue + +``` +**What did you expect to happen?** + +**What actually happened? Please include the actual, raw output from ESLint.** diff --git a/.github/ISSUE_TEMPLATE/rule-proposal.md b/.github/ISSUE_TEMPLATE/rule-proposal.md new file mode 100644 index 000000000..81b3e08de --- /dev/null +++ b/.github/ISSUE_TEMPLATE/rule-proposal.md @@ -0,0 +1,22 @@ +--- +name: Rule Proposal +about: Suggest an idea for this project + +--- + +**Please describe what the rule should do:** +A clear and concise description of what rule should do. + +**What category of rule is this? (place an "X" next to just one item)** +- [ ] Enforces code style +- [ ] Warns about a potential error +- [ ] Suggests an alternate way of doing something +- [ ] Other (please specify:) + +**Provide 2-3 code examples that this rule will warn about:** +```vue + +``` + +**Additional context** +Add any other context or screenshots about the feature request here. From 0b9a044f5350005045c33cae084b8e13eed16746 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Sajn=C3=B3g?= Date: Sat, 10 Nov 2018 23:14:40 +0100 Subject: [PATCH 2/3] Update bug_report.md --- .github/ISSUE_TEMPLATE/bug_report.md | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 6f87fc5e4..1dd689274 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -4,19 +4,31 @@ about: Create a report to help us improve --- + + **Tell us about your environment** -* **ESLint Version:** -* **eslint-plugin-vue Version:** -* **Node Version:** +* **ESLint version:** +* **eslint-plugin-vue version:** +* **Node version:** -**Please show your full configuration:** +**Please show your full configuration:** + ```json ``` -**What did you do? Please include the actual source code causing the issue.** + +**What did you do?** + ```vue ``` + **What did you expect to happen?** -**What actually happened? Please include the actual, raw output from ESLint.** + +**What actually happened?** + From b6e553a64cce44a4e828daae70857d6f18ca39b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Sajn=C3=B3g?= Date: Sat, 10 Nov 2018 23:20:51 +0100 Subject: [PATCH 3/3] Update rule-proposal.md --- .github/ISSUE_TEMPLATE/rule-proposal.md | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/rule-proposal.md b/.github/ISSUE_TEMPLATE/rule-proposal.md index 81b3e08de..7130c789f 100644 --- a/.github/ISSUE_TEMPLATE/rule-proposal.md +++ b/.github/ISSUE_TEMPLATE/rule-proposal.md @@ -1,22 +1,29 @@ --- name: Rule Proposal -about: Suggest an idea for this project +about: Suggest an idea for a new rule --- + + **Please describe what the rule should do:** -A clear and concise description of what rule should do. + -**What category of rule is this? (place an "X" next to just one item)** +**What category should the rule belong to?** + - [ ] Enforces code style - [ ] Warns about a potential error - [ ] Suggests an alternate way of doing something - [ ] Other (please specify:) -**Provide 2-3 code examples that this rule will warn about:** +**Provide 2-3 code examples that this rule should warn about:** ```vue ``` **Additional context** -Add any other context or screenshots about the feature request here. +