-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathjsconfig.json
More file actions
41 lines (41 loc) · 1.34 KB
/
Copy pathjsconfig.json
File metadata and controls
41 lines (41 loc) · 1.34 KB
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
{
"compilerOptions": {
"target": "es2022",
"module": "esnext",
"moduleResolution": "bundler",
"jsx": "preserve",
"lib": ["es2022", "dom", "dom.iterable"],
"types": ["node"],
"allowJs": true,
"checkJs": true,
"noEmit": true,
"skipLibCheck": true,
"skipDefaultLibCheck": true,
"resolveJsonModule": true,
"isolatedModules": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
// checkJs over a JSDoc-typed codebase: keep strict null-safety + real
// type-mismatch checks, but don't demand an explicit annotation on every
// parameter/prop. ponytail: noImplicitAny off skips annotation theater on
// React props while strictNullChecks still catches real null bugs.
"noImplicitAny": false,
"maxNodeModuleJsDepth": 0,
"paths": {
"@/*": ["./src/*"],
"@test-utils": ["./src/__tests__/test-utils.mjs"]
}
},
"include": ["src/**/*.js", "src/**/*.jsx", "src/**/*.mjs", "src/types/**/*.d.ts"],
"exclude": [
"node_modules",
".next",
".serwist",
"coverage",
"src/generated",
"src/__tests__",
"src/sw.js"
]
}