forked from makenotion/notion-sdk-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
42 lines (33 loc) · 1.21 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
{
"compilerOptions": {
/* Visit https://aka.ms/tsconfig.json to read more about this file */
// Recommended Node options have been incorporated from https://github.com/tsconfig/bases/blob/master/bases/node14.json
// Node LTS Fermium (14.x) has mostly complete support for ES2019 (as reported by https://node.green/)
"target": "ES2019",
"module": "commonjs",
// "esModuleInterop": true,
// Overrides default in order to remove "dom" because this package shouldn't assume the presence of browser APIs
"lib": ["ES2019"],
// Emit location
"outDir": "build",
// Emit sourcemaps
"declarationMap": true,
"sourceMap": true,
"inlineSources": true,
// Emit type definitions
"declaration": true,
// Strict mode
"strict": true,
// Allow import package.json
"resolveJsonModule": true,
// Linter style rules
"noUnusedLocals": false, // Disabled because we use eslint for this.
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
"noPropertyAccessFromIndexSignature": true,
"forceConsistentCasingInFileNames": true
},
"include": ["src/**/*", "test/**/*"]
}