-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtsconfig.json
101 lines (101 loc) · 2.1 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"compilerOptions": {
"target": "esnext",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
// "checkJs": false,
"skipLibCheck": true,
"strict": false, // true | false
"forceConsistentCasingInFileNames": true,
"module": "esnext",
"moduleResolution": "bundler", // "moduleResolution": "node",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"esModuleInterop": true,
"jsx": "preserve", // "preserve", // "react-jsx",
// "jsxImportSource": "@emotion/react",
"incremental": true,
// ** RULES
"allowSyntheticDefaultImports": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": false,
"downlevelIteration": true,
"allowUnreachableCode": true,
// ** PATHS + DIRECTORIES
// "rootDirs": [".", "../common/src"],
"baseUrl": ".",
"paths": {
// next-auth
"auth": [
"src/lib/auth/auth"
],
// global root
"~/*": [
"*"
],
// threed (next-14)
"#/*": [
"src/*"
],
// threed (next-14)
// "@/*": [
// "src/app/*"
// ],
// threed (ai next-15)
"@/*": [
"src/*"
],
// ** ai
"@/auth": [
"src/lib/auth/auth"
],
"@/app/*": [
"src/app/ai/*"
],
"@/components/*": [
"src/lib/ai/*"
],
"@/lib/*": [
"src/lib/threed/threed.ai/*"
]
},
// ** TYPES
"typeRoots": [
"node_modules/@types",
"src/lib/types"
],
// ** PLUGINS
"plugins": [
{
"name": "next"
}
]
},
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
],
"exclude": [
"node_modules",
".husky",
"**/*.css",
"tailwind.config.js",
"**/.yalc/**/*",
".yalc/**/*",
"src/lib/farmbot/farmbot-3d-demo-react",
// "src/lib/farmbot/threed-farmbot",
// "src/app/ai",
// "src/layout/ai",
"src/lib/ai",
]
}