Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit 50b9b24

Browse files
TS: Add more checks/validations into 'tsconfig.json' (#710)
1 parent c740a0e commit 50b9b24

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

tsconfig.json

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
11
{
22
"exclude": ["integrationTests/ts/**/*"],
33
"compilerOptions": {
4+
"declaration": true,
5+
"isolatedModules": true,
6+
"lib": ["es2018"],
47
"module": "commonjs",
5-
"lib": ["es2018", "esnext.asynciterable"],
6-
"esModuleInterop": true,
78
"target": "es2018",
9+
"strict": true,
10+
"esModuleInterop": true,
811
"moduleResolution": "node",
9-
"noImplicitAny": true,
10-
"noImplicitThis": true,
11-
"strictNullChecks": true,
12-
"strictFunctionTypes": true,
13-
"declaration": true
12+
"noFallthroughCasesInSwitch": true,
13+
"noImplicitReturns": true,
14+
"noUnusedLocals": true,
15+
"noUnusedParameters": true,
16+
"forceConsistentCasingInFileNames": true,
17+
"importsNotUsedAsValues": "error",
18+
"newLine": "LF",
19+
"preserveConstEnums": true
1420
}
1521
}

0 commit comments

Comments
 (0)