diff options
author | Vijay A <vraravam@users.noreply.github.com> | 2021-10-07 08:10:34 +0530 |
---|---|---|
committer | Vijay A <vraravam@users.noreply.github.com> | 2021-10-07 08:10:34 +0530 |
commit | 5b0b82c8dfe1071f24ca4dae98686ddc87b9181d (patch) | |
tree | 830660b9853c2742edf444e28b808c5cfbaaf8ca /tsconfig.json | |
parent | 5.6.3-nightly.26 [skip ci] (diff) | |
download | ferdium-app-5b0b82c8dfe1071f24ca4dae98686ddc87b9181d.tar.gz ferdium-app-5b0b82c8dfe1071f24ca4dae98686ddc87b9181d.tar.zst ferdium-app-5b0b82c8dfe1071f24ca4dae98686ddc87b9181d.zip |
refactor: set common linter rules from 'electron-react-boilerplate'
Diffstat (limited to 'tsconfig.json')
-rw-r--r-- | tsconfig.json | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tsconfig.json b/tsconfig.json index 2d9889286..25ac51709 100644 --- a/tsconfig.json +++ b/tsconfig.json | |||
@@ -6,7 +6,7 @@ | |||
6 | "strict": true, | 6 | "strict": true, |
7 | "target": "esnext", | 7 | "target": "esnext", |
8 | "lib": ["esnext", "dom"], | 8 | "lib": ["esnext", "dom"], |
9 | "module": "commonjs", | 9 | "module": "CommonJS", |
10 | "jsx": "react", | 10 | "jsx": "react", |
11 | "typeRoots": ["@types", "node_modules/@types"], | 11 | "typeRoots": ["@types", "node_modules/@types"], |
12 | "moduleResolution": "node", | 12 | "moduleResolution": "node", |
@@ -14,6 +14,7 @@ | |||
14 | "sourceMap": true, | 14 | "sourceMap": true, |
15 | "skipLibCheck": true, | 15 | "skipLibCheck": true, |
16 | "noImplicitAny": false, // TODO: Need to switch | 16 | "noImplicitAny": false, // TODO: Need to switch |
17 | "pretty": true, | ||
17 | "allowSyntheticDefaultImports": true, | 18 | "allowSyntheticDefaultImports": true, |
18 | "experimentalDecorators": true, | 19 | "experimentalDecorators": true, |
19 | "composite": true, | 20 | "composite": true, |
@@ -28,6 +29,7 @@ | |||
28 | "noImplicitThis": true, | 29 | "noImplicitThis": true, |
29 | "preserveConstEnums": true, | 30 | "preserveConstEnums": true, |
30 | "strictNullChecks": true, | 31 | "strictNullChecks": true, |
32 | "noFallthroughCasesInSwitch": true, | ||
31 | "resolveJsonModule": true, | 33 | "resolveJsonModule": true, |
32 | "forceConsistentCasingInFileNames": true | 34 | "forceConsistentCasingInFileNames": true |
33 | } | 35 | } |