-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.eslint.json
50 lines (44 loc) · 1.76 KB
/
tsconfig.eslint.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
{
"compilerOptions": {
"strict": true,
// "isolatedModules": true,
"useDefineForClassFields": true,
// "noImplicitReturns": true, // Not enabled by default in `strict` mode.
// "useUnknownInCatchVariables": true, // TODO: This would normally be enabled in `strict` mode but would require some adjustments to the codebase.
// "noImplicitOverride": true, // Not enabled by default in `strict` mode.
"noUnusedLocals": true, // Not enabled by default in `strict` mode.
"noUnusedParameters": true, // Not enabled by default in `strict` mode.
// // "exactOptionalPropertyTypes": true,
// "verbatimModuleSyntax": true,
// JavaScript support
"allowJs": false,
"checkJs": false,
"strictPropertyInitialization": false,
"strictNullChecks": false,
"useUnknownInCatchVariables": false,
"resolveJsonModule": true,
"esModuleInterop": true,
"skipLibCheck": true,
"allowSyntheticDefaultImports": true,
"lib": ["ES2022", "ES2021", "ES2021.String", "DOM"],
// "lib": [
// "ES2022", // By using ES2022 we get access to the `.cause` property on `Error` instances.
// "DOM" // We are adding `DOM` here to get the `fetch`, etc. types. This should be removed once these types are available via DefinitelyTyped.
// ],
"declaration": true,
// Language and environment
"moduleResolution": "Node",
"module": "CommonJS",
"target": "ES2022",
"noImplicitAny": false,
"removeComments": true,
"experimentalDecorators": true,
"preserveConstEnums": true,
"outDir": "./dist/node/",
"rootDir": "./src/",
"sourceMap": true,
"typeRoots": ["node_modules/@types"]
},
"include": ["src/**/*", "test/**/*.test.ts", "integration/**/*.test.ts"],
"exclude": ["node_modules"]
}