Skip to content

chore: create request rule change form #434

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jul 23, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
77 changes: 77 additions & 0 deletions .github/ISSUE_TEMPLATE/request_rule_change.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
name: Request a rule change
description: Request a rule change for the eslint-plugin-testing-library.
labels: [enhancement]
body:
- type: input
id: what_rule_do_you_want_to_change
attributes:
label: What rule do you want to change?
description: Enter the name of the rule you want to change.
placeholder: prefer-find-by
validations:
required: true

- type: dropdown
id: rule_change_more_fewer_warnings
attributes:
label: Does this change cause the rule to produce more or fewer warnings?
options:
- 'More warnings'
- 'Fewer warnings'
validations:
required: true

- type: textarea
id: change_implementation
attributes:
label: How will the change be implemented?
description: Describe how the new rule will be implemented.
validations:
required: true

- type: textarea
id: example_code
attributes:
label: Example code
description: Please provide some example code that this change will affect.
placeholder: Example of code that will be affected.
validations:
required: true

- type: textarea
id: current_rule_affects_code
attributes:
label: How does the current rule affect the code?
description: Explain how the current rule affects the example code.
placeholder: The current rule affects the example code like this...
validations:
required: true

- type: textarea
id: new_rule_affects_code
attributes:
label: How will the new rule affect the code?
description: Explain how the new rule will affect the example code.
placeholder: The new rule will affect the example code like this...
validations:
required: true

- type: textarea
id: anything_else
attributes:
label: Anything else?
description: If there's anything else we need to know, tell us about it here.
placeholder: By the way, you also need to know about...
validations:
required: false

- type: dropdown
id: want_to_submit_pr_to_change_rule
attributes:
label: Do you want to submit a pull request to change the rule?
options:
- 'Yes'
- 'Yes, but need help'
- 'No'
validations:
required: true