Skip to content

Commit fc11419

Browse files
committed
⏪ 还原 tsconfig.json/.prettierrc/bug_report 模板的 prettier 格式化
1 parent 705c8b3 commit fc11419

3 files changed

Lines changed: 23 additions & 13 deletions

File tree

.github/ISSUE_TEMPLATE/bug_report_en.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ body:
1414
attributes:
1515
label: "Problem Description"
1616
description: "What problem occurred? What is the expected normal behavior?"
17-
placeholder:
18-
"e.g., When clicking the download button on YouTube page, the script throws a 404 error, expected to show a
19-
download window"
17+
placeholder: "e.g., When clicking the download button on YouTube page, the script throws a 404 error, expected to show a download window"
2018
validations:
2119
required: true
2220

@@ -39,9 +37,7 @@ body:
3937
id: scriptcat-version
4038
attributes:
4139
label: ScriptCat Version
42-
description:
43-
You can view it by clicking on the ScriptCat popup window. If possible, please use the latest version as your
44-
issue may have already been resolved
40+
description: You can view it by clicking on the ScriptCat popup window. If possible, please use the latest version as your issue may have already been resolved
4541
placeholder: e.g., v0.17.0
4642
validations:
4743
required: true

.prettierrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
"trailingComma": "es5",
1717
"useTabs": false,
1818
"endOfLine": "auto"
19-
}
19+
}

tsconfig.json

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{
22
"compilerOptions": {
33
"target": "ES2022",
4-
"lib": ["DOM", "ES2022", "WebWorker"],
4+
"lib": [
5+
"DOM",
6+
"ES2022",
7+
"WebWorker"
8+
],
59
"module": "nodenext",
610
"jsx": "react-jsx",
711
"strict": true,
@@ -16,15 +20,25 @@
1620
"allowImportingTsExtensions": true,
1721
"baseUrl": ".",
1822
"paths": {
19-
"@App/*": ["src/*"],
20-
"@Packages/*": ["packages/*"],
21-
"@Tests/*": ["tests/*"]
23+
"@App/*": [
24+
"src/*"
25+
],
26+
"@Packages/*": [
27+
"packages/*"
28+
],
29+
"@Tests/*": [
30+
"tests/*"
31+
]
2232
}
2333
},
24-
"include": ["src", "packages", "tests"],
34+
"include": [
35+
"src",
36+
"packages",
37+
"tests"
38+
],
2539
"ts-node": {
2640
"compilerOptions": {
2741
"module": "CommonJS"
2842
}
2943
}
30-
}
44+
}

0 commit comments

Comments
 (0)