-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtsconfig.json
More file actions
48 lines (41 loc) · 1.3 KB
/
tsconfig.json
File metadata and controls
48 lines (41 loc) · 1.3 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
42
43
44
45
46
47
48
{
"compilerOptions": {
// Check JS files without renaming anything to .ts
"allowJs": true,
"checkJs": true,
// Never emit compiled output — this is editor/IDE checking only
"noEmit": true,
// Browser + custom elements environment
"target": "ES2020",
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"module": "ESNext",
"moduleResolution": "bundler",
// Honour JSDoc types but don't require every variable to be typed
// (strict would produce too much noise in a JSDoc-only codebase)
"strict": false,
"noImplicitAny": false,
// Catch real bugs without being pedantic
"strictNullChecks": false,
"noUnusedLocals": false,
"noUnusedParameters": false,
// Allow default imports from CommonJS modules (animejs, apexcharts, etc.)
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
// Preserve JSDoc comments in the language service
"preserveValueImports": false,
"skipLibCheck": true
},
"include": [
"src/**/*.js",
"src/types/**/*.d.ts"
],
"exclude": [
"node_modules",
"dist",
"doc",
"doc-staging",
"doc-temp",
"cb-archive",
"test"
]
}