-
Notifications
You must be signed in to change notification settings - Fork 1
/
jsconfig.json
26 lines (23 loc) · 1022 Bytes
/
jsconfig.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
{
"compilerOptions": {
// Project options
"target": "esnext", // This sets the target environment for the code.
"module": "esnext", // This sets the module system for the program.
"types": ["node", "vite/client"],
// Module resolution
"moduleResolution": "bundler",
// Strict Checks
"noImplicitAny": false, // This disables strict checking for when type annotations are not present.
"strict": true, // This enables all of the strict mode family options.
"checkJs": true, // This is the equivalent of including // @ts-check at the top of all JavaScript files which are included in your project.
"allowUnreachableCode": false, // This allows picking up dead code paths.
"baseUrl": ".",
"paths": {
"@db": ["./src/api/"],
"@views": ["./src/views/"],
"@templates": ["./src/templates/"],
"@utilities": ["./src/utilities/"],
}
},
"exclude": ["dist", "node_modules"] // This specifies which directories should be excluded from the project.
}