-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
63 lines (63 loc) · 1.56 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
55
56
57
58
59
60
61
62
63
{
"compilerOptions": {
// Output Style & Features
"module": "ES2020",
"moduleResolution": "Bundler",
"isolatedModules": true,
"target": "es5",
"noEmit": true,
"declaration": false,
"downlevelIteration": true,
"importHelpers": true,
"inlineSources": true,
"sourceMap": true,
"jsx": "preserve",
// Strict Checks
"alwaysStrict": false,
"strict": true,
"strictBindCallApply": false,
"strictNullChecks": true,
"forceConsistentCasingInFileNames": true,
// Specific loosening of rules
"allowJs": true,
// "allowSyntheticDefaultImports": true,
"esModuleInterop": true,
// https://github.com/microsoft/TypeScript/issues/50175#issuecomment-1204986989
// "skipLibCheck": true,
// Importables
"lib": ["dom", "dom.iterable", "esnext"],
"resolveJsonModule": true,
// TS Linting Rules
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
// QoL Settings
"preserveWatchOutput": true,
"pretty": true,
// Plugins
"plugins": [
{
"name": "next"
}
],
// TS Path Info
"paths": {
"@/*": ["./*"]
},
// Additional Global Types
// "types": ["node"]
"skipLibCheck": true,
"incremental": true
},
// ts-node common settings
"ts-node": {
"transpileOnly": true,
"esm": true,
"noEmit": true
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
}