-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
tsconfig.json
44 lines (39 loc) · 1.43 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
{
/*
TypeScript is being used to do type checking across both JavaScript and TypeScript files.
In particular, this picks up some problems in the JSDoc in the JavaScript files, and validates the code
is consistent with the JSDoc.
The settings here are used by VSCode.
See also tsconfig.js.json and tsconfig.ts.json.
*/
/* Visit https://aka.ms/tsconfig to read more about tsconfig configuration. */
"compilerOptions": {
"lib": ["es2021"],
"module": "node16",
"target": "es2021",
"allowJs": true,
"checkJs": true,
/* Strict by default, but dial it down to reduce churn in our JavaScript code. */
"strict": true,
"noImplicitAny": false,
"strictNullChecks": false,
"useUnknownInCatchVariables": false,
"types": ["node", "jest"],
"noEmit": true /* just type checking and not emitting transpiled files */,
"skipLibCheck": false /* we want to check our hand crafted definitions */,
"forceConsistentCasingInFileNames": true,
"esModuleInterop": true /* common TypeScript config */,
"resolveJsonModule": true /* needed for globals in node_modules?! */,
},
"include": [
/* JavaScript. Should match includes in tsconfig.js.json. */
"*.js",
".prettierrc.js" /* missed by above pattern */,
"*.mjs",
"lib/**/*.js",
/* TypeScript. Should match includes in tsconfig.ts.json. */
"**/*.ts",
"**/*.mts",
],
"exclude": ["node_modules"],
}