Skip to content

Commit cd46d87

Browse files
committed
refactor(config): alphabetize tsconfig options and add incremental compilation 🔧
1 parent 0bff27f commit cd46d87

File tree

1 file changed

+24
-22
lines changed

1 file changed

+24
-22
lines changed

tsconfig.json

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,41 +6,43 @@
66
"moduleDetection": "force",
77
"outDir": "./dist",
88
"rootDir": "src",
9-
"strict": true,
10-
"esModuleInterop": true,
11-
"skipLibCheck": true,
12-
"forceConsistentCasingInFileNames": true,
13-
"resolveJsonModule": true,
14-
"declaration": true,
15-
"declarationMap": false,
16-
"sourceMap": false,
179
"baseUrl": ".",
1810
"paths": {
1911
"@/*": ["src/*"],
2012
"@algorithms/*": ["src/algorithms/*"],
2113
"@interfaces/*": ["src/interfaces/*"],
2214
"@utils/*": ["src/utils/*"]
2315
},
16+
"tsBuildInfoFile": ".tsbuildinfo",
17+
"importsNotUsedAsValues": "remove",
18+
"allowSyntheticDefaultImports": true,
19+
"allowUnreachableCode": false,
20+
"allowUnusedLabels": false,
21+
"declaration": true,
22+
"declarationMap": false,
23+
"emitDecoratorMetadata": true,
24+
"esModuleInterop": true,
25+
"exactOptionalPropertyTypes": true,
26+
"experimentalDecorators": true,
27+
"forceConsistentCasingInFileNames": true,
28+
"incremental": true,
29+
"isolatedModules": true,
30+
"noFallthroughCasesInSwitch": true,
2431
"noImplicitAny": true,
32+
"noImplicitOverride": true,
2533
"noImplicitReturns": true,
2634
"noImplicitThis": true,
35+
"noPropertyAccessFromIndexSignature": true,
36+
"noUncheckedIndexedAccess": true,
2737
"noUnusedLocals": true,
2838
"noUnusedParameters": true,
29-
"exactOptionalPropertyTypes": true,
30-
"noUncheckedIndexedAccess": true,
31-
"noPropertyAccessFromIndexSignature": true,
32-
"noImplicitOverride": true,
33-
"allowUnusedLabels": false,
34-
"allowUnreachableCode": false,
35-
"noFallthroughCasesInSwitch": true,
36-
"useUnknownInCatchVariables": true,
37-
"verbatimModuleSyntax": true,
38-
"isolatedModules": true,
39-
"allowSyntheticDefaultImports": true,
40-
"experimentalDecorators": true,
41-
"emitDecoratorMetadata": true,
4239
"removeComments": true,
43-
"importsNotUsedAsValues": "remove"
40+
"resolveJsonModule": true,
41+
"skipLibCheck": true,
42+
"sourceMap": false,
43+
"strict": true,
44+
"useUnknownInCatchVariables": true,
45+
"verbatimModuleSyntax": true
4446
},
4547
"include": ["src/**/*"],
4648
"exclude": ["node_modules", "dist", "tests", "src/scripts"]

0 commit comments

Comments
 (0)