From 6278281fab5e1a9623c32ace62a050561e1c0a21 Mon Sep 17 00:00:00 2001 From: Nitin Kumar Date: Tue, 4 Jan 2022 23:15:20 +0530 Subject: [PATCH] chore: switch `new syntax` issue template to forms (#15480) * chore: switch `new syntax` issue template to forms * chore: fix template * chore: use checkboxes * chore: fix typo --- .github/ISSUE_TEMPLATE/NEW_SYNTAX.md | 45 -------------------- .github/ISSUE_TEMPLATE/new-syntax.yml | 60 +++++++++++++++++++++++++++ 2 files changed, 60 insertions(+), 45 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/NEW_SYNTAX.md create mode 100644 .github/ISSUE_TEMPLATE/new-syntax.yml diff --git a/.github/ISSUE_TEMPLATE/NEW_SYNTAX.md b/.github/ISSUE_TEMPLATE/NEW_SYNTAX.md deleted file mode 100644 index f3ac551f6ba..00000000000 --- a/.github/ISSUE_TEMPLATE/NEW_SYNTAX.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -name: "\U0001F4DD Request new syntax support" -about: Request new stage 4 syntax be supported. -title: '' -labels: - - core - - new syntax -assignees: '' - ---- - - - -**What is the name of the syntax to implement?** - - - -**Please provide the TC39 URL for the syntax proposal:** - - - -**Please provide some example code for the new syntax:** - -```js -// example code here -``` - -## Implementation Checklist - -Please check off all items that have already been completed. Be sure to paste the pull request URLs next to each item so we can verify the work as done. - -- [ ] Ecma262 update: -- [ ] ESTree update: -- [ ] Acorn update: -- [ ] `eslint-visitor-keys` update: -- [ ] `espree` update: -- [ ] `eslint-scope` update: -- [ ] `eslint` update: - -**Are you willing to submit a pull request to implement this syntax?** - - diff --git a/.github/ISSUE_TEMPLATE/new-syntax.yml b/.github/ISSUE_TEMPLATE/new-syntax.yml new file mode 100644 index 00000000000..467ff0f2b95 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/new-syntax.yml @@ -0,0 +1,60 @@ +name: "\U0001F4DD Request for new syntax support" +description: "Request new stage 4 syntax be supported." +labels: + - core + - new syntax +body: +- type: markdown + attributes: + value: By opening an issue, you agree to abide by the [Open JS Foundation Code of Conduct](https://eslint.org/conduct). +- type: input + attributes: + label: Syntax name + description: What is the name of the syntax to implement? + placeholder: e.g. "class fields" + validations: + required: true +- type: textarea + attributes: + label: Syntax proposal URL + description: Please provide the TC39 URL for the syntax proposal. + placeholder: e.g. https://github.com/tc39/proposal-top-level-await + validations: + required: true +- type: textarea + attributes: + label: Example code + description: Please provide some example code for the new syntax. + render: js + validations: + required: true +- type: checkboxes + attributes: + label: Implementation Checklist + description: | + Please check off all items that have already been completed. Be sure to paste the pull request URLs next to each item so we can verify the work as done. + options: + - label: "Ecma262 update: " + required: false + - label: "ESTree update: " + required: false + - label: "Acorn update: " + required: false + - label: "`eslint-visitor-keys` update: " + required: false + - label: "`espree` update: " + required: false + - label: "`eslint-scope` update: " + required: false + - label: "`eslint` update: " + required: false +- type: checkboxes + attributes: + label: Participation + options: + - label: I am willing to submit a pull request for this change. + required: false +- type: textarea + attributes: + label: Additional comments + description: Is there anything else that's important for the team to know?