Skip to content

Commit a857615

Browse files
chore: Stricter tsconfig options (#557)
1 parent c783ddc commit a857615

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tsconfig.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"compilerOptions": {
44
"allowJs": true,
55
"allowSyntheticDefaultImports": true,
6-
"allowUnreachableCode": true,
7-
"baseUrl": ".",
6+
"allowUnreachableCode": false,
7+
"allowUnusedLabels": false,
88
"checkJs": true,
99
"declaration": true,
1010
"esModuleInterop": true,
@@ -15,10 +15,11 @@
1515
"noEmit": true,
1616
"noImplicitReturns": true,
1717
"noUncheckedIndexedAccess": true,
18+
"noUnusedLocals": false, // TODO enable
19+
"noUnusedParameters": true,
1820
"resolveJsonModule": true,
1921
"skipLibCheck": true,
2022
"strict": true,
21-
"strictNullChecks": true,
2223
"target": "ES2020"
2324
},
2425
"include": [".eslintrc.cjs", "prettier.config.js"]

0 commit comments

Comments
 (0)