Skip to content

Commit

Permalink
docs: add ts and prettier templates
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed May 29, 2024
1 parent adbcc65 commit 82f1e5f
Show file tree
Hide file tree
Showing 3 changed files with 126 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/DISCUSSION_TEMPLATE/eslint-suggestion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ body:
attributes:
label: Search Terms Used
description: >-
Please list the search terms you used to search the issues and PRs
before submitting this issue.
Please list the search terms you used to search the discussions, issues,
and PRs before submitting this issue.
validations:
required: true
- type: input
Expand Down
69 changes: 69 additions & 0 deletions .github/DISCUSSION_TEMPLATE/prettier-suggestion.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
body:
- type: markdown
attributes:
value: |-
Thank you for helping to improve `@epic-web/config`!
Please fill out the details below.
Keep in mind you can always extend the built-in configuration with your own config.
- type: textarea
attributes:
label: Search Terms Used
description: >-
Please list the search terms you used to search the discussions, issues,
and PRs before submitting this issue.
validations:
required: true
- type: input
attributes:
label: Config Docs
description: >-
Link to the documentation for the config option you're suggesting
changing
placeholder: https://prettier.io/docs/en/options#jsx-quotes
validations:
required: true
- type: textarea
attributes:
label: Suggested Change
description: >-
Write out the suggested change in configuration. If the config is
already present, explain why it should be removed or changed. If it's
not present, explain why it should be added. And provide the final
configuration for the option.
validations:
required: true
- type: textarea
attributes:
label: Code format before the change
description: >-
Show me examples of what code looks like before this change.
validations:
required: true
- type: textarea
attributes:
label: Code format after the change
description: >-
Show me examples of what code looks like after this change.
validations:
required: true
- type: textarea
attributes:
label: Issues without the change
description: >-
Convince me why life is better with this change.
validations:
required: true
- type: textarea
attributes:
label: Severity of inaction
description: Convince me why not doing anything is bad.
validations:
required: true
- type: textarea
attributes:
label: Additional Context
description: Any other context that could be helpful.
validations:
required: false
55 changes: 55 additions & 0 deletions .github/DISCUSSION_TEMPLATE/typescript-suggestion.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
body:
- type: markdown
attributes:
value: |-
Thank you for helping to improve `@epic-web/config`!
Please fill out the details below.
Keep in mind you can always extend the built-in configuration with your own config.
- type: textarea
attributes:
label: Search Terms Used
description: >-
Please list the search terms you used to search the discussions, issues,
and PRs before submitting this issue.
validations:
required: true
- type: input
attributes:
label: Config Docs
description: >-
Link to the documentation for the config option you're suggesting
changing
placeholder: https://www.typescriptlang.org/tsconfig/#noImplicitThis
validations:
required: true
- type: textarea
attributes:
label: Suggested Change
description: >-
Write out the suggested change in configuration. If the config is
already present, explain why it should be removed or changed. If it's
not present, explain why it should be added. And provide the final
configuration for the option.
validations:
required: true
- type: textarea
attributes:
label: Issues without the change
description: >-
Convince me why life is better with this change.
validations:
required: true
- type: textarea
attributes:
label: Severity of inaction
description: Convince me why not doing anything is bad.
validations:
required: true
- type: textarea
attributes:
label: Additional Context
description: Any other context that could be helpful.
validations:
required: false

0 comments on commit 82f1e5f

Please sign in to comment.