From a1333a62eb03c3c1aa04aa234eb8568295f6697d Mon Sep 17 00:00:00 2001 From: Ross Rosales <52366381+ROSSROSALES@users.noreply.github.com> Date: Thu, 3 Nov 2022 16:11:51 -0500 Subject: [PATCH] [meta] add issue template Allows for a standard way for Issues to be asked. This helps contributors with finding a solution to problem --- .github/ISSUE_TEMPLATE/bug_report.yml | 81 +++++++++++++++++++++++++++ CHANGELOG.md | 2 + 2 files changed, 83 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000000..525667a699 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,81 @@ +name: Bug Report +description: File a bug report +title: "[Bug]: " +labels: ["bug", "triage"] +assignees: [] +body: + - type: checkboxes + attributes: + label: Is there an existing issue for this? + description: Please search to see if an issue already exists for the bug you encountered. + options: + - label: I have searched the existing issues and my issue is unique + required: true + - label: My issue appears in the command-line and not only in the text editor + required: true + - type: textarea + id: Code + attributes: + label: Description Overview + description: A clear and concise description of bug w/ examples + placeholder: | + Brief description here + + Show example of your code (as text format), add images/videos/gifs to help explain example + and/or Link of repo to where issue is occurring + + What is happening? / What is the error? + + What command(s) did you run to reproduce issue? + value: | + + + + + + + + + + + + + validations: + required: true + - type: textarea + id: expected_behavior + attributes: + label: Expected Behavior + description: A clear and concise description of what you expected to happen. + placeholder: | + Brief description here + + Show example of code (as text format), add images/videos/gifs to help explain expected behavior + value: | + + + + + validations: + required: true + - type: input + id: eslint-plugin-react-version + attributes: + label: `eslint-plugin-react` version + placeholder: v7.31.11 + validations: + required: true + - type: input + id: eslint-version + attributes: + label: `eslint` version + placeholder: v8.28.0 + validations: + required: true + - type: input + id: node-version + attributes: + label: `node` version + placeholder: v8.19.2 + validations: + required: true diff --git a/CHANGELOG.md b/CHANGELOG.md index fdc1bebd8a..4e1b2ae752 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,11 +22,13 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange ### Changed * [Docs] [`jsx-no-leaked-render`]: Remove mentions of empty strings for React 18 ([#3468][] @karlhorky) * [Docs] update `eslint-doc-generator` to v1.0.0 ([#3499][] @bmish) +* [meta] add issue template ([#3483][] @ROSSROSALES) [#3499]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3499 [#3494]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3494 [#3493]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3493 [#3488]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3488 +[#3483]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3483 [#3474]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3474 [#3471]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3471 [#3468]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3468