-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.json
40 lines (37 loc) · 1.44 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
{
/* A TSConfig file in a directory indicates that the directory is the root
of a TypeScript project • https://www.typescriptlang.org/tsconfig */
"compilerOptions": {
/* Base configuration generated by Gatsby */
"target": "esnext",
"lib": ["esnext", "dom"],
"module": "esnext",
"moduleResolution": "node",
"esModuleInterop": true,
"jsx": "react",
/* Our customizations, or things that should be less blackboxey */
/* Enable strict mode, tell tsc (the TypeScript compiler) to go all out
and do its thing */
"strict": true,
/* Skip type checking of declaration files, check on use */
"skipLibCheck": true,
/* Enable case sensitive imports: this ensures that the name used in the
import has the same case as the name of the file on disk */
"forceConsistentCasingInFileNames": true,
/* Make array indexing return undefineds (as they indeed can) */
"noUncheckedIndexedAccess": true,
/* Require the `type` modifier when importing types */
"verbatimModuleSyntax": true,
/* Allow importing JSON files directly */
"resolveJsonModule": true,
/* Allow absolute imports of files in `src/` */
"baseUrl": "./src"
},
"include": [
"./src/**/*",
"./pages/**/*",
"./gatsby-node.ts",
"./gatsby-config.ts",
"./plugins/**/*"
]
}