-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Expand file tree
/
Copy pathtsconfig.json
More file actions
49 lines (49 loc) · 1.35 KB
/
tsconfig.json
File metadata and controls
49 lines (49 loc) · 1.35 KB
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
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"rootDir": "src",
"declarationDir": "build-types",
"types": [
"gutenberg-env",
"gutenberg-test-env",
"dom-scroll-into-view",
"jest",
"@testing-library/jest-dom",
"snapshot-diff",
"@wordpress/jest-console"
],
// TODO: Remove `skipLibCheck` after resolving duplicate declaration of the `process` variable
// between `@types/webpack-env` (from @storybook packages) and `gutenberg-env`.
"skipLibCheck": true,
"strictNullChecks": true
},
"references": [
{ "path": "../a11y" },
{ "path": "../compose" },
{ "path": "../date" },
{ "path": "../deprecated" },
{ "path": "../dom" },
{ "path": "../element" },
{ "path": "../escape-html" },
{ "path": "../hooks" },
{ "path": "../html-entities" },
{ "path": "../i18n" },
{ "path": "../icons" },
{ "path": "../is-shallow-equal" },
{ "path": "../keycodes" },
{ "path": "../primitives" },
{ "path": "../private-apis" },
{ "path": "../react-i18n" },
{ "path": "../rich-text" },
{ "path": "../warning" }
],
"include": [ "src/**/*" ],
"exclude": [
"src/**/*.android.js",
"src/**/*.ios.js",
"src/**/*.native.js",
"src/**/react-native-*",
"src/**/stories/**/*.js", // only exclude js files, tsx files should be checked
"src/**/test/**/*.js" // only exclude js files, ts{x} files should be checked
]
}