Skip to content

Commit afa14ae

Browse files
chore(tsconfig): added stricter TypeScript without direct effect on the codebase. (#2013)
* chore(tsconfig): Added stricter TypeScript without direct effect on the codebase. * chore: Removed mistakenly configured rules.
1 parent eeda24e commit afa14ae

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

tsconfig.json

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,25 @@
22
"$schema": "https://json.schemastore.org/tsconfig",
33
"extends": "@tsconfig/node20/tsconfig.json",
44
"compilerOptions": {
5+
"lib": ["es2023", "DOM"],
6+
"pretty": true,
57
"declaration": true,
6-
"lib": ["es2023", "DOM"],
8+
"newLine": "LF",
9+
"preserveConstEnums": false,
10+
"isolatedModules": false,
11+
"sourceMap": true,
12+
"allowJs": false,
13+
"checkJs": false,
14+
"forceConsistentCasingInFileNames": true,
15+
"experimentalDecorators": false,
16+
"emitDecoratorMetadata": false,
17+
"noErrorTruncation": true,
18+
"allowUnreachableCode": false,
19+
"allowUnusedLabels": false,
20+
"alwaysStrict": true,
21+
722
"removeComments": true,
8-
"emitDecoratorMetadata": true,
9-
"experimentalDecorators": true,
1023
"allowSyntheticDefaultImports": true,
11-
"sourceMap": true,
1224
"outDir": "./build",
1325
"baseUrl": "./",
1426
"incremental": true,
@@ -20,7 +32,6 @@
2032
"strictFunctionTypes": false,
2133
"strictNullChecks": false,
2234
"strictPropertyInitialization": false,
23-
"alwaysStrict": false,
2435
"noImplicitAny": false,
2536
"noImplicitThis": false,
2637
"useUnknownInCatchVariables": false

0 commit comments

Comments
 (0)