-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
72 lines (72 loc) · 2.22 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
{
"compilerOptions": {
/* Visit https://aka.ms/tsconfig to read more about this file */
/*
* Type Checking
*/
// Note: We don't use "strict": true since it can introduce new rules with updates to TypeScript, so we
// explicitly list out the rules used at the time of authoring.
"strict": false,
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"alwaysStrict": true,
"exactOptionalPropertyTypes": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
// Disabled as overriding a method or adhering to an external interface can lead to unused arguments which makes this more annoying than useful
"noUnusedParameters": false,
"strictBindCallApply": true,
"strictFunctionTypes": true,
"strictNullChecks": true,
"strictPropertyInitialization": true,
"useUnknownInCatchVariables": true,
/*
* Modules
*/
"allowArbitraryExtensions": true,
"allowImportingTsExtensions": true,
"module": "esnext",
"moduleResolution": "bundler",
/*
* Emit
*/
// Since tsc is only used for type checking, so no files need to be emitted.
"noEmit": true,
/*
* JavaScript Support
*/
"allowJs": true,
"checkJs": true,
/*
* Interop Constraints
*/
"forceConsistentCasingInFileNames": true,
"verbatimModuleSyntax": true,
/*
* Language and Environment
*/
"experimentalDecorators": true,
"lib": [
"DOM",
"DOM.Iterable",
"ES2023",
],
"target": "es2022",
// Note: this is required to use experimental decorators
"useDefineForClassFields": false,
},
"include": [
"./src/**/*",
"./scripts/**/*",
"eleventy.config.ts",
],
"exclude": [
"./node_modules",
]
}