+ Tsconfig with some semi strict rules
Keeping the config lenient for now because more changes have to happen first
This commit is contained in:
parent
33b8bcd180
commit
be0dc39042
28
freechat-client/tsconfig.json
Normal file
28
freechat-client/tsconfig.json
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"target": "es5",
|
||||||
|
"module": "commonjs",
|
||||||
|
"rootDir": "./src/",
|
||||||
|
"importHelpers": true,
|
||||||
|
/* Strict Type-Checking Options */
|
||||||
|
/* "strict": true, */
|
||||||
|
/* "strictNullChecks": true, */
|
||||||
|
"strictFunctionTypes": true,
|
||||||
|
"noImplicitThis": true,
|
||||||
|
/* "alwaysStrict": true, */
|
||||||
|
|
||||||
|
/* Additional Checks */
|
||||||
|
"noUnusedLocals": true,
|
||||||
|
"noUnusedParameters": true,
|
||||||
|
"noImplicitReturns": true,
|
||||||
|
"noFallthroughCasesInSwitch": true,
|
||||||
|
/*"noUncheckedIndexedAccess": true, */
|
||||||
|
/*"noPropertyAccessFromIndexSignature": true, */
|
||||||
|
|
||||||
|
/* Module Resolution Options */
|
||||||
|
"esModuleInterop": true,
|
||||||
|
"skipLibCheck": true,
|
||||||
|
"forceConsistentCasingInFileNames": true,
|
||||||
|
"resolveJsonModule": true
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user