From be0dc390427ce418c1b9a607d2e77e1d4c24e263 Mon Sep 17 00:00:00 2001 From: shockrah Date: Thu, 23 Sep 2021 10:30:08 -0700 Subject: [PATCH] + Tsconfig with some semi strict rules Keeping the config lenient for now because more changes have to happen first --- freechat-client/tsconfig.json | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 freechat-client/tsconfig.json diff --git a/freechat-client/tsconfig.json b/freechat-client/tsconfig.json new file mode 100644 index 0000000..c20af72 --- /dev/null +++ b/freechat-client/tsconfig.json @@ -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 + } +}