@eslint-react/shared 1.5.13-next.0 → 1.5.13-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ESLintUtils } from '@typescript-eslint/utils';
2
2
  import * as valibot from 'valibot';
3
- import { Output } from 'valibot';
3
+ import { InferOutput } from 'valibot';
4
4
  import { ReadonlyDeep } from 'type-fest';
5
5
 
6
6
  /**
@@ -42,231 +42,61 @@ declare const createRuleForPlugin: (pluginName: string) => <Options extends read
42
42
  * @internal
43
43
  */
44
44
  declare const ESLintReactSettingsSchema: valibot.ObjectSchema<{
45
- additionalHooks: valibot.OptionalSchema<valibot.ObjectSchema<{
46
- use: valibot.OptionalSchema<valibot.StringSchema<string>, undefined, string | undefined>;
47
- useCallback: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
48
- useContext: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
49
- useDebugValue: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
50
- useDeferredValue: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
51
- useEffect: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
52
- useId: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
53
- useImperativeHandle: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
54
- useInsertionEffect: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
55
- useLayoutEffect: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
56
- useMemo: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
57
- useOptimistic: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
58
- useReducer: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
59
- useRef: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
60
- useState: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
61
- useSyncExternalStore: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
62
- useTransition: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
63
- }, undefined, {
64
- use?: string | undefined;
65
- useCallback?: string[] | undefined;
66
- useContext?: string[] | undefined;
67
- useDebugValue?: string[] | undefined;
68
- useDeferredValue?: string[] | undefined;
69
- useEffect?: string[] | undefined;
70
- useId?: string[] | undefined;
71
- useImperativeHandle?: string[] | undefined;
72
- useInsertionEffect?: string[] | undefined;
73
- useLayoutEffect?: string[] | undefined;
74
- useMemo?: string[] | undefined;
75
- useOptimistic?: string[] | undefined;
76
- useReducer?: string[] | undefined;
77
- useRef?: string[] | undefined;
78
- useState?: string[] | undefined;
79
- useSyncExternalStore?: string[] | undefined;
80
- useTransition?: string[] | undefined;
81
- }>, undefined, {
82
- use?: string | undefined;
83
- useCallback?: string[] | undefined;
84
- useContext?: string[] | undefined;
85
- useDebugValue?: string[] | undefined;
86
- useDeferredValue?: string[] | undefined;
87
- useEffect?: string[] | undefined;
88
- useId?: string[] | undefined;
89
- useImperativeHandle?: string[] | undefined;
90
- useInsertionEffect?: string[] | undefined;
91
- useLayoutEffect?: string[] | undefined;
92
- useMemo?: string[] | undefined;
93
- useOptimistic?: string[] | undefined;
94
- useReducer?: string[] | undefined;
95
- useRef?: string[] | undefined;
96
- useState?: string[] | undefined;
97
- useSyncExternalStore?: string[] | undefined;
98
- useTransition?: string[] | undefined;
99
- } | undefined>;
100
- importSource: valibot.OptionalSchema<valibot.StringSchema<string>, undefined, string | undefined>;
101
- jsxPragma: valibot.OptionalSchema<valibot.StringSchema<string>, undefined, string | undefined>;
102
- jsxPragmaFrag: valibot.OptionalSchema<valibot.StringSchema<string>, undefined, string | undefined>;
103
- version: valibot.OptionalSchema<valibot.StringSchema<string>, undefined, string | undefined>;
104
- }, undefined, {
105
- additionalHooks?: {
106
- use?: string | undefined;
107
- useCallback?: string[] | undefined;
108
- useContext?: string[] | undefined;
109
- useDebugValue?: string[] | undefined;
110
- useDeferredValue?: string[] | undefined;
111
- useEffect?: string[] | undefined;
112
- useId?: string[] | undefined;
113
- useImperativeHandle?: string[] | undefined;
114
- useInsertionEffect?: string[] | undefined;
115
- useLayoutEffect?: string[] | undefined;
116
- useMemo?: string[] | undefined;
117
- useOptimistic?: string[] | undefined;
118
- useReducer?: string[] | undefined;
119
- useRef?: string[] | undefined;
120
- useState?: string[] | undefined;
121
- useSyncExternalStore?: string[] | undefined;
122
- useTransition?: string[] | undefined;
123
- } | undefined;
124
- importSource?: string | undefined;
125
- jsxPragma?: string | undefined;
126
- jsxPragmaFrag?: string | undefined;
127
- version?: string | undefined;
128
- }>;
129
- type ESLintReactSettings = ReadonlyDeep<Output<typeof ESLintReactSettingsSchema>>;
45
+ readonly additionalHooks: valibot.OptionalSchema<valibot.ObjectSchema<{
46
+ readonly use: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
47
+ readonly useCallback: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
48
+ readonly useContext: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
49
+ readonly useDebugValue: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
50
+ readonly useDeferredValue: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
51
+ readonly useEffect: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
52
+ readonly useId: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
53
+ readonly useImperativeHandle: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
54
+ readonly useInsertionEffect: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
55
+ readonly useLayoutEffect: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
56
+ readonly useMemo: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
57
+ readonly useOptimistic: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
58
+ readonly useReducer: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
59
+ readonly useRef: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
60
+ readonly useState: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
61
+ readonly useSyncExternalStore: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
62
+ readonly useTransition: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
63
+ }, undefined>, never>;
64
+ readonly importSource: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
65
+ readonly jsxPragma: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
66
+ readonly jsxPragmaFrag: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
67
+ readonly version: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
68
+ }, undefined>;
69
+ type ESLintReactSettings = ReadonlyDeep<InferOutput<typeof ESLintReactSettingsSchema>>;
130
70
  /**
131
71
  * @internal
132
72
  */
133
73
  declare const ESLintSettingsSchema: valibot.ObjectSchema<{
134
- reactOptions: valibot.OptionalSchema<valibot.ObjectSchema<{
135
- additionalHooks: valibot.OptionalSchema<valibot.ObjectSchema<{
136
- use: valibot.OptionalSchema<valibot.StringSchema<string>, undefined, string | undefined>;
137
- useCallback: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
138
- useContext: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
139
- useDebugValue: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
140
- useDeferredValue: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
141
- useEffect: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
142
- useId: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
143
- useImperativeHandle: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
144
- useInsertionEffect: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
145
- useLayoutEffect: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
146
- useMemo: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
147
- useOptimistic: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
148
- useReducer: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
149
- useRef: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
150
- useState: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
151
- useSyncExternalStore: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
152
- useTransition: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
153
- }, undefined, {
154
- use?: string | undefined;
155
- useCallback?: string[] | undefined;
156
- useContext?: string[] | undefined;
157
- useDebugValue?: string[] | undefined;
158
- useDeferredValue?: string[] | undefined;
159
- useEffect?: string[] | undefined;
160
- useId?: string[] | undefined;
161
- useImperativeHandle?: string[] | undefined;
162
- useInsertionEffect?: string[] | undefined;
163
- useLayoutEffect?: string[] | undefined;
164
- useMemo?: string[] | undefined;
165
- useOptimistic?: string[] | undefined;
166
- useReducer?: string[] | undefined;
167
- useRef?: string[] | undefined;
168
- useState?: string[] | undefined;
169
- useSyncExternalStore?: string[] | undefined;
170
- useTransition?: string[] | undefined;
171
- }>, undefined, {
172
- use?: string | undefined;
173
- useCallback?: string[] | undefined;
174
- useContext?: string[] | undefined;
175
- useDebugValue?: string[] | undefined;
176
- useDeferredValue?: string[] | undefined;
177
- useEffect?: string[] | undefined;
178
- useId?: string[] | undefined;
179
- useImperativeHandle?: string[] | undefined;
180
- useInsertionEffect?: string[] | undefined;
181
- useLayoutEffect?: string[] | undefined;
182
- useMemo?: string[] | undefined;
183
- useOptimistic?: string[] | undefined;
184
- useReducer?: string[] | undefined;
185
- useRef?: string[] | undefined;
186
- useState?: string[] | undefined;
187
- useSyncExternalStore?: string[] | undefined;
188
- useTransition?: string[] | undefined;
189
- } | undefined>;
190
- importSource: valibot.OptionalSchema<valibot.StringSchema<string>, undefined, string | undefined>;
191
- jsxPragma: valibot.OptionalSchema<valibot.StringSchema<string>, undefined, string | undefined>;
192
- jsxPragmaFrag: valibot.OptionalSchema<valibot.StringSchema<string>, undefined, string | undefined>;
193
- version: valibot.OptionalSchema<valibot.StringSchema<string>, undefined, string | undefined>;
194
- }, undefined, {
195
- additionalHooks?: {
196
- use?: string | undefined;
197
- useCallback?: string[] | undefined;
198
- useContext?: string[] | undefined;
199
- useDebugValue?: string[] | undefined;
200
- useDeferredValue?: string[] | undefined;
201
- useEffect?: string[] | undefined;
202
- useId?: string[] | undefined;
203
- useImperativeHandle?: string[] | undefined;
204
- useInsertionEffect?: string[] | undefined;
205
- useLayoutEffect?: string[] | undefined;
206
- useMemo?: string[] | undefined;
207
- useOptimistic?: string[] | undefined;
208
- useReducer?: string[] | undefined;
209
- useRef?: string[] | undefined;
210
- useState?: string[] | undefined;
211
- useSyncExternalStore?: string[] | undefined;
212
- useTransition?: string[] | undefined;
213
- } | undefined;
214
- importSource?: string | undefined;
215
- jsxPragma?: string | undefined;
216
- jsxPragmaFrag?: string | undefined;
217
- version?: string | undefined;
218
- }>, undefined, {
219
- additionalHooks?: {
220
- use?: string | undefined;
221
- useCallback?: string[] | undefined;
222
- useContext?: string[] | undefined;
223
- useDebugValue?: string[] | undefined;
224
- useDeferredValue?: string[] | undefined;
225
- useEffect?: string[] | undefined;
226
- useId?: string[] | undefined;
227
- useImperativeHandle?: string[] | undefined;
228
- useInsertionEffect?: string[] | undefined;
229
- useLayoutEffect?: string[] | undefined;
230
- useMemo?: string[] | undefined;
231
- useOptimistic?: string[] | undefined;
232
- useReducer?: string[] | undefined;
233
- useRef?: string[] | undefined;
234
- useState?: string[] | undefined;
235
- useSyncExternalStore?: string[] | undefined;
236
- useTransition?: string[] | undefined;
237
- } | undefined;
238
- importSource?: string | undefined;
239
- jsxPragma?: string | undefined;
240
- jsxPragmaFrag?: string | undefined;
241
- version?: string | undefined;
242
- } | undefined>;
243
- }, undefined, {
244
- reactOptions?: {
245
- additionalHooks?: {
246
- use?: string | undefined;
247
- useCallback?: string[] | undefined;
248
- useContext?: string[] | undefined;
249
- useDebugValue?: string[] | undefined;
250
- useDeferredValue?: string[] | undefined;
251
- useEffect?: string[] | undefined;
252
- useId?: string[] | undefined;
253
- useImperativeHandle?: string[] | undefined;
254
- useInsertionEffect?: string[] | undefined;
255
- useLayoutEffect?: string[] | undefined;
256
- useMemo?: string[] | undefined;
257
- useOptimistic?: string[] | undefined;
258
- useReducer?: string[] | undefined;
259
- useRef?: string[] | undefined;
260
- useState?: string[] | undefined;
261
- useSyncExternalStore?: string[] | undefined;
262
- useTransition?: string[] | undefined;
263
- } | undefined;
264
- importSource?: string | undefined;
265
- jsxPragma?: string | undefined;
266
- jsxPragmaFrag?: string | undefined;
267
- version?: string | undefined;
268
- } | undefined;
269
- }>;
74
+ readonly reactOptions: valibot.OptionalSchema<valibot.ObjectSchema<{
75
+ readonly additionalHooks: valibot.OptionalSchema<valibot.ObjectSchema<{
76
+ readonly use: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
77
+ readonly useCallback: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
78
+ readonly useContext: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
79
+ readonly useDebugValue: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
80
+ readonly useDeferredValue: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
81
+ readonly useEffect: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
82
+ readonly useId: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
83
+ readonly useImperativeHandle: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
84
+ readonly useInsertionEffect: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
85
+ readonly useLayoutEffect: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
86
+ readonly useMemo: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
87
+ readonly useOptimistic: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
88
+ readonly useReducer: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
89
+ readonly useRef: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
90
+ readonly useState: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
91
+ readonly useSyncExternalStore: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
92
+ readonly useTransition: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
93
+ }, undefined>, never>;
94
+ readonly importSource: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
95
+ readonly jsxPragma: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
96
+ readonly jsxPragmaFrag: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
97
+ readonly version: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
98
+ }, undefined>, never>;
99
+ }, undefined>;
270
100
  type ESLintSettings = ReadonlyDeep<{
271
101
  [key: string]: unknown;
272
102
  reactOptions?: ESLintReactSettings;
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ESLintUtils } from '@typescript-eslint/utils';
2
2
  import * as valibot from 'valibot';
3
- import { Output } from 'valibot';
3
+ import { InferOutput } from 'valibot';
4
4
  import { ReadonlyDeep } from 'type-fest';
5
5
 
6
6
  /**
@@ -42,231 +42,61 @@ declare const createRuleForPlugin: (pluginName: string) => <Options extends read
42
42
  * @internal
43
43
  */
44
44
  declare const ESLintReactSettingsSchema: valibot.ObjectSchema<{
45
- additionalHooks: valibot.OptionalSchema<valibot.ObjectSchema<{
46
- use: valibot.OptionalSchema<valibot.StringSchema<string>, undefined, string | undefined>;
47
- useCallback: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
48
- useContext: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
49
- useDebugValue: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
50
- useDeferredValue: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
51
- useEffect: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
52
- useId: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
53
- useImperativeHandle: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
54
- useInsertionEffect: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
55
- useLayoutEffect: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
56
- useMemo: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
57
- useOptimistic: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
58
- useReducer: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
59
- useRef: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
60
- useState: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
61
- useSyncExternalStore: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
62
- useTransition: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
63
- }, undefined, {
64
- use?: string | undefined;
65
- useCallback?: string[] | undefined;
66
- useContext?: string[] | undefined;
67
- useDebugValue?: string[] | undefined;
68
- useDeferredValue?: string[] | undefined;
69
- useEffect?: string[] | undefined;
70
- useId?: string[] | undefined;
71
- useImperativeHandle?: string[] | undefined;
72
- useInsertionEffect?: string[] | undefined;
73
- useLayoutEffect?: string[] | undefined;
74
- useMemo?: string[] | undefined;
75
- useOptimistic?: string[] | undefined;
76
- useReducer?: string[] | undefined;
77
- useRef?: string[] | undefined;
78
- useState?: string[] | undefined;
79
- useSyncExternalStore?: string[] | undefined;
80
- useTransition?: string[] | undefined;
81
- }>, undefined, {
82
- use?: string | undefined;
83
- useCallback?: string[] | undefined;
84
- useContext?: string[] | undefined;
85
- useDebugValue?: string[] | undefined;
86
- useDeferredValue?: string[] | undefined;
87
- useEffect?: string[] | undefined;
88
- useId?: string[] | undefined;
89
- useImperativeHandle?: string[] | undefined;
90
- useInsertionEffect?: string[] | undefined;
91
- useLayoutEffect?: string[] | undefined;
92
- useMemo?: string[] | undefined;
93
- useOptimistic?: string[] | undefined;
94
- useReducer?: string[] | undefined;
95
- useRef?: string[] | undefined;
96
- useState?: string[] | undefined;
97
- useSyncExternalStore?: string[] | undefined;
98
- useTransition?: string[] | undefined;
99
- } | undefined>;
100
- importSource: valibot.OptionalSchema<valibot.StringSchema<string>, undefined, string | undefined>;
101
- jsxPragma: valibot.OptionalSchema<valibot.StringSchema<string>, undefined, string | undefined>;
102
- jsxPragmaFrag: valibot.OptionalSchema<valibot.StringSchema<string>, undefined, string | undefined>;
103
- version: valibot.OptionalSchema<valibot.StringSchema<string>, undefined, string | undefined>;
104
- }, undefined, {
105
- additionalHooks?: {
106
- use?: string | undefined;
107
- useCallback?: string[] | undefined;
108
- useContext?: string[] | undefined;
109
- useDebugValue?: string[] | undefined;
110
- useDeferredValue?: string[] | undefined;
111
- useEffect?: string[] | undefined;
112
- useId?: string[] | undefined;
113
- useImperativeHandle?: string[] | undefined;
114
- useInsertionEffect?: string[] | undefined;
115
- useLayoutEffect?: string[] | undefined;
116
- useMemo?: string[] | undefined;
117
- useOptimistic?: string[] | undefined;
118
- useReducer?: string[] | undefined;
119
- useRef?: string[] | undefined;
120
- useState?: string[] | undefined;
121
- useSyncExternalStore?: string[] | undefined;
122
- useTransition?: string[] | undefined;
123
- } | undefined;
124
- importSource?: string | undefined;
125
- jsxPragma?: string | undefined;
126
- jsxPragmaFrag?: string | undefined;
127
- version?: string | undefined;
128
- }>;
129
- type ESLintReactSettings = ReadonlyDeep<Output<typeof ESLintReactSettingsSchema>>;
45
+ readonly additionalHooks: valibot.OptionalSchema<valibot.ObjectSchema<{
46
+ readonly use: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
47
+ readonly useCallback: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
48
+ readonly useContext: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
49
+ readonly useDebugValue: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
50
+ readonly useDeferredValue: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
51
+ readonly useEffect: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
52
+ readonly useId: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
53
+ readonly useImperativeHandle: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
54
+ readonly useInsertionEffect: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
55
+ readonly useLayoutEffect: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
56
+ readonly useMemo: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
57
+ readonly useOptimistic: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
58
+ readonly useReducer: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
59
+ readonly useRef: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
60
+ readonly useState: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
61
+ readonly useSyncExternalStore: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
62
+ readonly useTransition: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
63
+ }, undefined>, never>;
64
+ readonly importSource: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
65
+ readonly jsxPragma: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
66
+ readonly jsxPragmaFrag: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
67
+ readonly version: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
68
+ }, undefined>;
69
+ type ESLintReactSettings = ReadonlyDeep<InferOutput<typeof ESLintReactSettingsSchema>>;
130
70
  /**
131
71
  * @internal
132
72
  */
133
73
  declare const ESLintSettingsSchema: valibot.ObjectSchema<{
134
- reactOptions: valibot.OptionalSchema<valibot.ObjectSchema<{
135
- additionalHooks: valibot.OptionalSchema<valibot.ObjectSchema<{
136
- use: valibot.OptionalSchema<valibot.StringSchema<string>, undefined, string | undefined>;
137
- useCallback: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
138
- useContext: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
139
- useDebugValue: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
140
- useDeferredValue: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
141
- useEffect: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
142
- useId: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
143
- useImperativeHandle: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
144
- useInsertionEffect: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
145
- useLayoutEffect: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
146
- useMemo: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
147
- useOptimistic: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
148
- useReducer: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
149
- useRef: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
150
- useState: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
151
- useSyncExternalStore: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
152
- useTransition: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<string>, string[]>, undefined, string[] | undefined>;
153
- }, undefined, {
154
- use?: string | undefined;
155
- useCallback?: string[] | undefined;
156
- useContext?: string[] | undefined;
157
- useDebugValue?: string[] | undefined;
158
- useDeferredValue?: string[] | undefined;
159
- useEffect?: string[] | undefined;
160
- useId?: string[] | undefined;
161
- useImperativeHandle?: string[] | undefined;
162
- useInsertionEffect?: string[] | undefined;
163
- useLayoutEffect?: string[] | undefined;
164
- useMemo?: string[] | undefined;
165
- useOptimistic?: string[] | undefined;
166
- useReducer?: string[] | undefined;
167
- useRef?: string[] | undefined;
168
- useState?: string[] | undefined;
169
- useSyncExternalStore?: string[] | undefined;
170
- useTransition?: string[] | undefined;
171
- }>, undefined, {
172
- use?: string | undefined;
173
- useCallback?: string[] | undefined;
174
- useContext?: string[] | undefined;
175
- useDebugValue?: string[] | undefined;
176
- useDeferredValue?: string[] | undefined;
177
- useEffect?: string[] | undefined;
178
- useId?: string[] | undefined;
179
- useImperativeHandle?: string[] | undefined;
180
- useInsertionEffect?: string[] | undefined;
181
- useLayoutEffect?: string[] | undefined;
182
- useMemo?: string[] | undefined;
183
- useOptimistic?: string[] | undefined;
184
- useReducer?: string[] | undefined;
185
- useRef?: string[] | undefined;
186
- useState?: string[] | undefined;
187
- useSyncExternalStore?: string[] | undefined;
188
- useTransition?: string[] | undefined;
189
- } | undefined>;
190
- importSource: valibot.OptionalSchema<valibot.StringSchema<string>, undefined, string | undefined>;
191
- jsxPragma: valibot.OptionalSchema<valibot.StringSchema<string>, undefined, string | undefined>;
192
- jsxPragmaFrag: valibot.OptionalSchema<valibot.StringSchema<string>, undefined, string | undefined>;
193
- version: valibot.OptionalSchema<valibot.StringSchema<string>, undefined, string | undefined>;
194
- }, undefined, {
195
- additionalHooks?: {
196
- use?: string | undefined;
197
- useCallback?: string[] | undefined;
198
- useContext?: string[] | undefined;
199
- useDebugValue?: string[] | undefined;
200
- useDeferredValue?: string[] | undefined;
201
- useEffect?: string[] | undefined;
202
- useId?: string[] | undefined;
203
- useImperativeHandle?: string[] | undefined;
204
- useInsertionEffect?: string[] | undefined;
205
- useLayoutEffect?: string[] | undefined;
206
- useMemo?: string[] | undefined;
207
- useOptimistic?: string[] | undefined;
208
- useReducer?: string[] | undefined;
209
- useRef?: string[] | undefined;
210
- useState?: string[] | undefined;
211
- useSyncExternalStore?: string[] | undefined;
212
- useTransition?: string[] | undefined;
213
- } | undefined;
214
- importSource?: string | undefined;
215
- jsxPragma?: string | undefined;
216
- jsxPragmaFrag?: string | undefined;
217
- version?: string | undefined;
218
- }>, undefined, {
219
- additionalHooks?: {
220
- use?: string | undefined;
221
- useCallback?: string[] | undefined;
222
- useContext?: string[] | undefined;
223
- useDebugValue?: string[] | undefined;
224
- useDeferredValue?: string[] | undefined;
225
- useEffect?: string[] | undefined;
226
- useId?: string[] | undefined;
227
- useImperativeHandle?: string[] | undefined;
228
- useInsertionEffect?: string[] | undefined;
229
- useLayoutEffect?: string[] | undefined;
230
- useMemo?: string[] | undefined;
231
- useOptimistic?: string[] | undefined;
232
- useReducer?: string[] | undefined;
233
- useRef?: string[] | undefined;
234
- useState?: string[] | undefined;
235
- useSyncExternalStore?: string[] | undefined;
236
- useTransition?: string[] | undefined;
237
- } | undefined;
238
- importSource?: string | undefined;
239
- jsxPragma?: string | undefined;
240
- jsxPragmaFrag?: string | undefined;
241
- version?: string | undefined;
242
- } | undefined>;
243
- }, undefined, {
244
- reactOptions?: {
245
- additionalHooks?: {
246
- use?: string | undefined;
247
- useCallback?: string[] | undefined;
248
- useContext?: string[] | undefined;
249
- useDebugValue?: string[] | undefined;
250
- useDeferredValue?: string[] | undefined;
251
- useEffect?: string[] | undefined;
252
- useId?: string[] | undefined;
253
- useImperativeHandle?: string[] | undefined;
254
- useInsertionEffect?: string[] | undefined;
255
- useLayoutEffect?: string[] | undefined;
256
- useMemo?: string[] | undefined;
257
- useOptimistic?: string[] | undefined;
258
- useReducer?: string[] | undefined;
259
- useRef?: string[] | undefined;
260
- useState?: string[] | undefined;
261
- useSyncExternalStore?: string[] | undefined;
262
- useTransition?: string[] | undefined;
263
- } | undefined;
264
- importSource?: string | undefined;
265
- jsxPragma?: string | undefined;
266
- jsxPragmaFrag?: string | undefined;
267
- version?: string | undefined;
268
- } | undefined;
269
- }>;
74
+ readonly reactOptions: valibot.OptionalSchema<valibot.ObjectSchema<{
75
+ readonly additionalHooks: valibot.OptionalSchema<valibot.ObjectSchema<{
76
+ readonly use: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
77
+ readonly useCallback: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
78
+ readonly useContext: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
79
+ readonly useDebugValue: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
80
+ readonly useDeferredValue: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
81
+ readonly useEffect: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
82
+ readonly useId: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
83
+ readonly useImperativeHandle: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
84
+ readonly useInsertionEffect: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
85
+ readonly useLayoutEffect: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
86
+ readonly useMemo: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
87
+ readonly useOptimistic: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
88
+ readonly useReducer: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
89
+ readonly useRef: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
90
+ readonly useState: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
91
+ readonly useSyncExternalStore: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
92
+ readonly useTransition: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
93
+ }, undefined>, never>;
94
+ readonly importSource: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
95
+ readonly jsxPragma: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
96
+ readonly jsxPragmaFrag: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
97
+ readonly version: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
98
+ }, undefined>, never>;
99
+ }, undefined>;
270
100
  type ESLintSettings = ReadonlyDeep<{
271
101
  [key: string]: unknown;
272
102
  reactOptions?: ESLintReactSettings;