forked from WordPress/gutenberg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
50 lines (47 loc) · 1.48 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
{
"compilerOptions": {
"allowJs": true,
"allowSyntheticDefaultImports": true,
"checkJs": true,
"jsx": "preserve",
"lib": ["dom", "esnext"],
"module": "commonjs",
"noEmit": true,
"resolveJsonModule": true,
"target": "esnext",
/* Project Imports */
"baseUrl": ".",
"paths": {
"@wordpress/*": [
"packages/*/index.js",
"packages/*/src/index.js"
]
},
/* Strict Type-Checking Options */
"strict": true, /* Enable all strict type-checking options. */
"strictNullChecks": true,
"noImplicitAny": false, /* Raise error on expressions and declarations with an implied 'any' type. */
/* Additional Checks */
"noUnusedLocals": true, /* Report errors on unused locals. */
"noUnusedParameters": true, /* Report errors on unused parameters. */
"noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
"noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
},
"include": [
"./packages/a11y/**/*.js",
"./packages/blob/**/*.js",
"./packages/dom-ready/**/*.js",
"./packages/i18n/**/*.js",
"./packages/is-shallow-equal/**/*.js",
"./packages/priority-queue/**/*.js",
"./packages/token-list/**/*.js",
"./packages/url/**/*.js",
"./packages/warning/**/*.js",
],
"exclude": [
"./packages/*/benchmark",
"./packages/**/test/**",
"./packages/**/build/**",
"./packages/**/build-module/**"
]
}