Skip to content

Commit

Permalink
chore: switch new syntax issue template to forms (#15480)
Browse files Browse the repository at this point in the history
* chore: switch `new syntax` issue template to forms

* chore: fix template

* chore: use checkboxes

* chore: fix typo
  • Loading branch information
snitin315 committed Jan 4, 2022
1 parent 648fe1a commit 6278281
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 45 deletions.
45 changes: 0 additions & 45 deletions .github/ISSUE_TEMPLATE/NEW_SYNTAX.md

This file was deleted.

60 changes: 60 additions & 0 deletions .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: <!-- paste PR URL for this syntax here -->"
required: false
- label: "ESTree update: <!-- paste PR URL for this ESTree update here -->"
required: false
- label: "Acorn update: <!-- paste PR URL for this syntax here -->"
required: false
- label: "`eslint-visitor-keys` update: <!-- paste PR URL for this syntax here -->"
required: false
- label: "`espree` update: <!-- paste PR URL for this syntax here -->"
required: false
- label: "`eslint-scope` update: <!-- paste PR URL for this syntax here -->"
required: false
- label: "`eslint` update: <!-- paste PR URL for this syntax here -->"
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?

0 comments on commit 6278281

Please sign in to comment.