From 51ff7601589bdcf7da71ae4f4668f3f7bfd433a4 Mon Sep 17 00:00:00 2001 From: "Nicholas C. Zakas" Date: Tue, 11 Apr 2023 12:15:56 -0700 Subject: [PATCH 1/3] chore: Add request for minimal repro to bug report --- .github/ISSUE_TEMPLATE/bug-report.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 18c13535638..11a62fe4fb1 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -68,6 +68,14 @@ body: Please copy-paste the actual ESLint output. You can use Markdown in this field. validations: required: true +- type: input + id: bug-reproduction + attributes: + label: Link to Minimal Reproducible Example + description: 'Link to a [playground](https://eslint.org/play), [StackBlitz](https://stackblitz.com), or GitHub repo with 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 auto-closed.' + placeholder: 'https://stackblitz.com/abcd1234' + validations: + required: true - type: checkboxes attributes: label: Participation From 8547cd15191e4bf027806f7c83e95392f82eebb6 Mon Sep 17 00:00:00 2001 From: "Nicholas C. Zakas" Date: Tue, 11 Apr 2023 12:19:07 -0700 Subject: [PATCH 2/3] Update .github/ISSUE_TEMPLATE/bug-report.yml --- .github/ISSUE_TEMPLATE/bug-report.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 11a62fe4fb1..256e7ec1cbf 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -69,7 +69,6 @@ body: validations: required: true - type: input - id: bug-reproduction attributes: label: Link to Minimal Reproducible Example description: 'Link to a [playground](https://eslint.org/play), [StackBlitz](https://stackblitz.com), or GitHub repo with 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 auto-closed.' From 2c3d1e7c2bbae7b2ff2db56576b2f19712e0632c Mon Sep 17 00:00:00 2001 From: "Nicholas C. Zakas" Date: Tue, 11 Apr 2023 12:21:42 -0700 Subject: [PATCH 3/3] Update .github/ISSUE_TEMPLATE/bug-report.yml --- .github/ISSUE_TEMPLATE/bug-report.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 256e7ec1cbf..101bbcd2c9d 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -69,12 +69,12 @@ body: validations: required: true - type: input - attributes: - label: Link to Minimal Reproducible Example - description: 'Link to a [playground](https://eslint.org/play), [StackBlitz](https://stackblitz.com), or GitHub repo with 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 auto-closed.' - placeholder: 'https://stackblitz.com/abcd1234' - validations: - required: true + attributes: + label: Link to Minimal Reproducible Example + description: 'Link to a [playground](https://eslint.org/play), [StackBlitz](https://stackblitz.com), or GitHub repo with 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 auto-closed.' + placeholder: 'https://stackblitz.com/abcd1234' + validations: + required: true - type: checkboxes attributes: label: Participation