-
Notifications
You must be signed in to change notification settings - Fork 8
/
tsconfig.json
49 lines (49 loc) · 1.55 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"compilerOptions": {
"allowJs": false,
"alwaysStrict": true,
"declaration": true,
"declarationMap": true, // Allow navigation to definition in VS Code https://stackoverflow.com/questions/54459847/vscode-lerna-typescript-monorepo-code-navigation
"emitDecoratorMetadata": true,
"esModuleInterop": true,
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
"jsx": "react",
"lib": [
"es6",
"dom",
"dom.iterable" // @see https://stackoverflow.com/questions/50677868/error-ts2339-property-entries-does-not-exist-on-type-formdata
],
"module": "ES2020",
"moduleResolution": "Node",
"noFallthroughCasesInSwitch": true,
"noImplicitAny": false,
"noLib": false,
"noUnusedLocals": false, // won't fail on unused variables
"noUnusedParameters": false,
"removeComments": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"strictNullChecks": true,
"strictBindCallApply": true, // @see https://github.com/storybookjs/storybook/issues/11916
"sourceMap": true,
"strict": false,
"target": "ESNext",
"typeRoots": [
"./types",
"./node_modules/@types"
]
},
"exclude": [
"node_modules",
"**/*.d.ts",
"**/dist/*",
"**/webpack.config.js",
// @see https://github.com/facebook/docusaurus/issues/3424
"docusaurus",
"starters/**/*",
// FIXME: we already exclude them in packages/remix-graphql/tsconfig yet it's not respected somehow
"packages/remix-graphql/examples/**"
]
}