-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
34 lines (34 loc) · 1.2 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
{
"compilerOptions": {
"target": "es6", // upgrade from es5 to es6
"allowUnreachableCode": false, // add => raises compiler errors about unreachable code
"allowUnusedLabels": false, // add => raises compiler errors about unused labels
"noFallthroughCasesInSwitch": true, // add => Ensures that any non-empty case inside a switch statement includes either break or return
"noImplicitReturns": true, // add => Check all code paths in a function to ensure they return a value.
"sourceMap": true, // add => Enables the generation of sourcemap files. Easier to debug
"strict": true, // turn to true => Enables a wide range of type checking behavior
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"incremental": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"baseUrl": ".",
"plugins": [
{
"name": "next"
}
],
"paths": {
"@/*": ["./*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "providers/AuthProvider.xts"],
"exclude": ["node_modules"]
}