Skip to content

Create new-rule.yml#38

Merged
santosomar merged 2 commits intomainfrom
feature/new-rule-issue-template
Oct 17, 2025
Merged

Create new-rule.yml#38
santosomar merged 2 commits intomainfrom
feature/new-rule-issue-template

Conversation

@santosomar
Copy link
Copy Markdown
Contributor

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:

  • Added .github/ISSUE_TEMPLATE/new-rule.yml to collect new rule requests, including a description field for rule contents and a dropdown for selecting applicable languages.

@santosomar santosomar self-assigned this Oct 17, 2025
Copilot AI review requested due to automatic review settings October 17, 2025 03:48
@santosomar santosomar added the enhancement New feature or request label Oct 17, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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>
Copilot AI review requested due to automatic review settings October 17, 2025 03:50
@santosomar santosomar merged commit 7438d94 into main Oct 17, 2025
3 checks passed
@santosomar santosomar deleted the feature/new-rule-issue-template branch October 17, 2025 03:51
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment on lines +64 to +67
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
Copy link

Copilot AI Oct 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Suggested change
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

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants