diff options
author | Vijay A <avijayr@protonmail.com> | 2021-08-14 23:03:03 +0530 |
---|---|---|
committer | Vijay A <avijayr@protonmail.com> | 2021-08-14 23:03:03 +0530 |
commit | c1f0dd3c78d9ec30504b98204ef2e68a2366a130 (patch) | |
tree | c9e22d8d9fc9fd7c9320abe38060bd5624c05fc8 /tsconfig.settings.json | |
parent | chore: added missing auto-generated file from past commit. (diff) | |
download | ferdium-app-c1f0dd3c78d9ec30504b98204ef2e68a2366a130.tar.gz ferdium-app-c1f0dd3c78d9ec30504b98204ef2e68a2366a130.tar.zst ferdium-app-c1f0dd3c78d9ec30504b98204ef2e68a2366a130.zip |
chore: Setting some config rules for typescript
Diffstat (limited to 'tsconfig.settings.json')
-rw-r--r-- | tsconfig.settings.json | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/tsconfig.settings.json b/tsconfig.settings.json index eb2207533..fdf47e653 100644 --- a/tsconfig.settings.json +++ b/tsconfig.settings.json | |||
@@ -1,20 +1,29 @@ | |||
1 | { | 1 | { |
2 | "extends": "@tsconfig/node14/tsconfig.json", | ||
2 | "compilerOptions": { | 3 | "compilerOptions": { |
3 | "baseUrl": ".", | 4 | "baseUrl": ".", |
4 | "target": "esnext", | 5 | "target": "esnext", |
5 | "module": "commonjs", | ||
6 | "lib": ["es2015", "es2017", "dom"], | 6 | "lib": ["es2015", "es2017", "dom"], |
7 | "jsx": "react", | 7 | "jsx": "react", |
8 | "typeRoots": ["node_modules/@types"], | ||
8 | "sourceMap": true, | 9 | "sourceMap": true, |
9 | "strict": true, | 10 | "noImplicitAny": false, // TODO: Need to switch |
10 | "noImplicitAny": false, | ||
11 | "allowSyntheticDefaultImports": true, | 11 | "allowSyntheticDefaultImports": true, |
12 | "experimentalDecorators": true, | 12 | "experimentalDecorators": true, |
13 | "composite": true, | 13 | "composite": true, |
14 | "esModuleInterop": true, | 14 | "esModuleInterop": true, |
15 | "forceConsistentCasingInFileNames": true, | ||
16 | "importHelpers": true, | 15 | "importHelpers": true, |
17 | "removeComments": true, | 16 | "removeComments": true, |
18 | "typeRoots": ["node_modules/@types"] | 17 | "allowUnreachableCode": false, |
18 | "allowUnusedLabels": false, | ||
19 | "noUnusedLocals": true, | ||
20 | "noUnusedParameters": true, // TODO: Need to switch | ||
21 | "noImplicitReturns": true, | ||
22 | "noImplicitThis": true, | ||
23 | "preserveConstEnums": true, | ||
24 | // "exclude": [ | ||
25 | // "node_modules", | ||
26 | // "**/*.spec.ts" | ||
27 | // ] | ||
19 | } | 28 | } |
20 | } | 29 | } |