Skip to content

Commit d9d027d

Browse files
authored
Fix spacing in issue templates (#56189)
1 parent b76b4c2 commit d9d027d

File tree

4 files changed

+11
-22
lines changed

4 files changed

+11
-22
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ body:
1313
1414
List them here so people in the future can find this one more easily.
1515
placeholder: |
16-
List of keywords you searched for before creating this issue.
17-
Write them down here so that others can find this bug more easily and help provide feedback.
16+
List of keywords you searched for before creating this issue. Write them down here so that others can find this bug more easily and help provide feedback.
1817
1918
e.g. "function inference any", "jsx attribute spread", "move to file duplicate imports", "discriminated union inference", "ts2822"
2019
validations:
@@ -52,7 +51,6 @@ body:
5251
5352
This should have the same code as the code snippet below, and use whichever settings are relevant to your report.
5453
55-
5654
As a last resort, you can link to a repo, but these will be slower for us to investigate.
5755
placeholder: 'Playground link with relevant code: https://www.typescriptlang.org/play?#code/PTAEFkE9QYwewCYFNQHM5IM6gBZIE5JA'
5856
validations:
@@ -63,6 +61,7 @@ body:
6361
label: 💻 Code
6462
description: |
6563
Please post the relevant code sample here as well.
64+
6665
This code and the Playground code should be the same, do not use separate examples.
6766
6867
We can quickly address your report if:
@@ -72,6 +71,7 @@ body:
7271
- The incorrectness of the behavior is readily apparent from reading the sample.
7372
7473
Reports are slower to investigate if:
74+
7575
- We have to pare too much extraneous code.
7676
- We have to clone a large repo and validate that the problem isn't elsewhere.
7777
- The sample is confusing or doesn't clearly demonstrate what's wrong.

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ body:
1515
1616
The "Common Feature Requests" section of the FAQ lists many popular requests: https://github.com/Microsoft/TypeScript/wiki/FAQ#common-feature-requests
1717
placeholder: |
18-
List of keywords you searched for before creating this issue.
19-
Write them down here so that others can find this suggestion more easily and help provide feedback.
18+
List of keywords you searched for before creating this issue. Write them down here so that others can find this suggestion more easily and help provide feedback.
2019
2120
e.g. "isArray readonly", "regex string types", "json const assertion import"
2221
validations:
@@ -26,9 +25,7 @@ body:
2625
attributes:
2726
label: '✅ Viability Checklist'
2827
description: |
29-
Suggestions that don't meet all these criteria are very, very unlikely to be accepted.
30-
We always recommend reviewing the TypeScript design goals before investing time writing
31-
a proposal for ideas outside the scope of the project.
28+
Suggestions that don't meet all these criteria are very, very unlikely to be accepted. We always recommend reviewing the TypeScript design goals before investing time writing a proposal for ideas outside the scope of the project.
3229
3330
My suggestion meets the following guidelines.
3431
options:
@@ -54,8 +51,7 @@ body:
5451
attributes:
5552
label: '📃 Motivating Example'
5653
description: |
57-
If you were announcing this feature in a blog post, what's a short
58-
explanation that shows a developer why this feature improves the language?
54+
If you were announcing this feature in a blog post, what's a short explanation that shows a developer why this feature improves the language?
5955
validations:
6056
required: true
6157
- type: textarea

.github/ISSUE_TEMPLATE/lib_change.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,13 @@ body:
1212
* Array methods - see https://github.com/microsoft/TypeScript/issues/36554
1313
* `parseInt`, `parseFloat`, `isFinite`, `isNaN`, etc. - see https://github.com/microsoft/TypeScript/issues/4002
1414
15-
16-
The DOM lib is maintained elsewhere and you can skip a step by filing issues/PRs for the DOM at that repo.
17-
See https://github.com/microsoft/TypeScript-DOM-lib-generator
15+
The DOM lib is maintained elsewhere and you can skip a step by filing issues/PRs for the DOM at that repo. See https://github.com/microsoft/TypeScript-DOM-lib-generator
1816
- type: markdown
1917
attributes:
2018
value: |
21-
If you're missing common new methods like `Array.includes`, you may have a misconfigured project.
22-
Try setting `lib: "es2020"` and checking whether the type you want is present.
23-
You can diagnose further by running `tsc` with `--listFilesOnly` or `--showConfig`.
19+
If you're missing common new methods like `Array.includes`, you may have a misconfigured project. Try setting `lib: "es2020"` and checking whether the type you want is present. You can diagnose further by running `tsc` with `--listFilesOnly` or `--showConfig`.
2420
25-
Conversely, if you are seeing built-in methods you expect to *not* see, check your 'lib' setting or review your dependencies for lib/reference directives that might be polluting
26-
your global scope. This is common when using the 'node' type library. See https://github.com/microsoft/TypeScript/issues/40184
21+
Conversely, if you are seeing built-in methods you expect to *not* see, check your 'lib' setting or review your dependencies for lib/reference directives that might be polluting your global scope. This is common when using the 'node' type library. See https://github.com/microsoft/TypeScript/issues/40184
2722
- type: input
2823
id: compilation_target
2924
attributes:
@@ -58,5 +53,4 @@ body:
5853
attributes:
5954
label: 'Documentation Link'
6055
description: |
61-
Link to relevant documentation (e.g. MDN, W3C, ECMAScript Spec) to consult for this property.
62-
Note that lib.dom.d.ts intentionally does not include browser-specific extensions or early experimental features.
56+
Link to relevant documentation (e.g. MDN, W3C, ECMAScript Spec) to consult for this property. Note that lib.dom.d.ts intentionally does not include browser-specific extensions or early experimental features.

.github/ISSUE_TEMPLATE/module_resolution.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ body:
2727
4. The configuration of the target module
2828
5. A difference in runtime behavior
2929
30-
You will also be required to post a cloneable repository.
31-
This repo must involve running `tsc`, not a third-party tool (e.g. vue-tsc, ngc, expo, ...)
30+
You will also be required to post a cloneable repository. This repo must involve running `tsc`, not a third-party tool (e.g. vue-tsc, ngc, expo, ...)
3231
3332
- type: input
3433
id: repo-url

0 commit comments

Comments
 (0)