diff options
-rw-r--r-- | .eslintignore | 27 | ||||
-rw-r--r-- | tsconfig.json | 4 |
2 files changed, 30 insertions, 1 deletions
diff --git a/.eslintignore b/.eslintignore index ddb440bd8..0dfa46e43 100644 --- a/.eslintignore +++ b/.eslintignore | |||
@@ -1,3 +1,30 @@ | |||
1 | # Logs | ||
2 | logs | ||
3 | *.log | ||
4 | |||
5 | # Runtime data | ||
6 | pids | ||
7 | *.pid | ||
8 | *.seed | ||
9 | |||
10 | # Coverage directory used by tools like istanbul | ||
11 | coverage | ||
12 | .eslintcache | ||
13 | |||
14 | # Dependency directory | ||
15 | # https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git | ||
16 | node_modules | ||
17 | |||
18 | # OSX | ||
19 | .DS_Store | ||
20 | |||
21 | .idea | ||
22 | npm-debug.log.* | ||
23 | .pnpm-debug.log* | ||
24 | *.css.d.ts | ||
25 | *.sass.d.ts | ||
26 | *.scss.d.ts | ||
27 | |||
1 | /build/ | 28 | /build/ |
2 | /out/ | 29 | /out/ |
3 | /packages/*/lib | 30 | /packages/*/lib |
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 | } |