-
Notifications
You must be signed in to change notification settings - Fork 2
/
tsconfig.json
54 lines (54 loc) · 2.08 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
50
51
52
53
54
{
"compilerOptions": {
/* Enables support for experimental decorators. */
"experimentalDecorators": true,
/* Specify the target ECMAScript version for the generated code. */
"target": "ESNext",
/* Use 'define' for class field declarations. */
"useDefineForClassFields": true,
/* List of library files to include. */
"lib": ["DOM", "DOM.Iterable", "ESNext"],
/* Specify module code generation. */
"module": "ESNext",
/* Skip type checking of declaration files. */
"skipLibCheck": true,
/* Bundler Mode */
/* Specify module resolution strategy for bundlers. */
"moduleResolution": "Bundler",
/* Enable importing of JSON files as modules. */
"resolveJsonModule": true,
/* Ensure each file is treated as a separate module. */
"isolatedModules": true,
/* Do not emit any output files. */
"noEmit": true,
/* Specify JSX code generation. */
"jsx": "preserve",
/* Linting */
/* Enable all strict type-checking options. */
"strict": true,
/* Disallow inconsistently-cased references to the same file. */
"forceConsistentCasingInFileNames": true,
/* Do not report errors on unused parameters. */
"noUnusedParameters": false,
/* Report errors for fallthrough cases in switch statement. */
"noFallthroughCasesInSwitch": true,
/* Disallow JavaScript files to be mixed with TypeScript files. */
"allowJs": false,
/* Allow default imports from modules with no default export. */
"allowSyntheticDefaultImports": true,
"paths": {
"@/*": ["./src/*"],
"@components/*": ["./src/components/*"]
},
"plugins": [
{
"name": "next"
}
],
"esModuleInterop": true,
"types": ["./src/types/index.d.ts"]
},
/* Specify files to include in compilation. */
"include": ["src", "src/app/api", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
}