Conversation
There was a problem hiding this comment.
Pull Request Overview
Adds a new GitHub Issue Form to standardize how contributors request new rules by collecting the rule’s markdown content and applicable languages.
- Introduces a new issue template at .github/ISSUE_TEMPLATE/new-rule.yml
- Includes a required description textarea and a multi-select languages dropdown
- Adds an optional “Other” textarea for unlisted languages
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| description: Please specify the language(s) you are requesting. Only specify this if the language is not listed above. | ||
| placeholder: Add the language(s) here... | ||
| validations: | ||
| required: false |
There was a problem hiding this comment.
Make the 'Other' textarea conditionally visible and required only when 'other (please specify)' is selected in the language dropdown. Add an if guard to the 'other' field and set validations.required to true so submissions can't omit the value when 'Other' is chosen.
| description: Please specify the language(s) you are requesting. Only specify this if the language is not listed above. | |
| placeholder: Add the language(s) here... | |
| validations: | |
| required: false | |
| description: Please specify the language(s) you are requesting ONLY IF you selected "other (please specify)" above. Otherwise, leave this blank. | |
| placeholder: Add the language(s) here... | |
| validations: | |
| required: true |
This pull request introduces a new GitHub issue template to streamline the process for requesting new rules. The template guides users to provide detailed markdown content for the rule and specify relevant programming languages.
New issue template for rule requests:
.github/ISSUE_TEMPLATE/new-rule.ymlto collect new rule requests, including a description field for rule contents and a dropdown for selecting applicable languages.