forked from adobe/react-spectrum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
134 lines (134 loc) · 5.11 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"compilerOptions": {
// we can explicitly declare `any`, but we don't want to infer `any`
"noImplicitAny": false,
// maybe bump to 'esNext'?
"target": "es6",
// allows react jsx in tsx files
"jsx": "react",
// Eventually turn off, one we have no more assumed default exports.
// Allow default imports from modules with no default export.
"allowSyntheticDefaultImports": true,
// allows importing of json files, needed for locales as of right now
"resolveJsonModule": true,
// Search under node_modules for non-relative imports.
"moduleResolution": "node",
// Process & infer types from .js files.
"allowJs": true,
// Don't emit; allow Babel to transform files.
"noEmit": true,
// Disallow features that require cross-file information for emit.
"isolatedModules": true,
// Import non-ES modules as default imports.
"esModuleInterop": true,
// if 'target' is updated, this should be updated as well
"lib": [
"esnext",
"dom",
"dom.iterable"
],
"skipLibCheck": false,
"strict": false,
"plugins": [
{
"name": "typescript-strict-plugin",
"paths": [
"./packages/@internationalized",
"./packages/@react-aria/a",
"./packages/@react-aria/b",
"./packages/@react-aria/checkbox",
"./packages/@react-aria/l",
"./packages/@react-aria/meter",
"./packages/@react-aria/color",
"./packages/@react-aria/e",
"./packages/@react-aria/f",
"./packages/@react-aria/h",
"./packages/@react-aria/i",
"./packages/@react-aria/j",
"./packages/@react-aria/k",
"./packages/@react-aria/l",
"./packages/@react-aria/meter",
"./packages/@react-aria/progress",
"./packages/@react-aria/q",
"./packages/@react-aria/radio",
"./packages/@react-aria/searchfield",
"./packages/@react-aria/separator",
"./packages/@react-aria/sidenav",
"./packages/@react-aria/ssr",
"./packages/@react-aria/switch",
"./packages/@react-aria/tabs",
"./packages/@react-aria/toggle",
"./packages/@react-aria/visually-hidden",
"./packages/@react-aria/w",
"./packages/@react-aria/x",
"./packages/@react-aria/y",
"./packages/@react-aria/z",
"./packages/@react-spectrum/a",
"./packages/@react-spectrum/b",
"./packages/@react-spectrum/color",
"./packages/@react-spectrum/contextualhelp",
"./packages/@react-spectrum/checkbox",
"./packages/@react-spectrum/divider",
"./packages/@react-spectrum/dropzone",
"./packages/@react-spectrum/form",
"./packages/@react-spectrum/icon",
"./packages/@react-spectrum/illustratedmessage",
"./packages/@react-spectrum/image",
"./packages/@react-spectrum/label",
"./packages/@react-spectrum/link",
"./packages/@react-spectrum/meter",
"./packages/@react-spectrum/progress",
"./packages/@react-spectrum/radio",
"./packages/@react-spectrum/searchfield",
"./packages/@react-spectrum/searchwithin",
"./packages/@react-spectrum/statuslight",
"./packages/@react-spectrum/steplist",
"./packages/@react-spectrum/story-utils",
"./packages/@react-spectrum/switch",
"./packages/@react-spectrum/tag",
"./packages/@react-spectrum/text",
"./packages/@react-spectrum/textfield",
"./packages/@react-spectrum/theme-dark",
"./packages/@react-spectrum/theme-default",
"./packages/@react-spectrum/theme-light",
"./packages/@react-spectrum/view",
"./packages/@react-spectrum/well",
"./packages/@react-stately/checkbox",
"./packages/@react-stately/overlays",
"./packages/@react-stately/pagination",
"./packages/@react-stately/searchfield",
"./packages/@react-stately/radio",
"./packages/@react-stately/toggle",
"./packages/@react-stately/utils",
"./packages/@react-types/a",
"./packages/@react-types/b",
"./packages/@react-types/checkbox",
"./packages/@react-types/color",
"./packages/@react-types/divider",
"./packages/@react-types/illustratedmessage",
"./packages/@react-types/image",
"./packages/@react-types/l",
"./packages/@react-types/meter",
"./packages/@react-types/progress",
"./packages/@react-types/searchfield",
"./packages/@react-types/shared",
"./packages/@react-types/statuslight",
"./packages/@react-types/tabs",
"./packages/@react-types/text",
"./packages/@react-types/tooltip",
"./packages/@react-types/view",
"./packages/@react-types/well",
"./packages/@spectrum-icons",
"./packages/react-aria-components"
]
}
]
},
"include": [
"packages"
],
"exclude": [
"**/node_modules",
"packages/dev/optimize-locales-plugin"
]
}