@eslint-react/eslint-plugin 1.10.2-next.2 → 1.11.0-beta.10

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.ts CHANGED
@@ -1,8 +1,10 @@
1
1
  import * as _typescript_eslint_utils_ts_eslint from '@typescript-eslint/utils/ts-eslint';
2
+ import * as _eslint_react_types from '@eslint-react/types';
2
3
  import * as reactDebug from 'eslint-plugin-react-debug';
3
4
  import * as reactDom from 'eslint-plugin-react-dom';
4
5
  import * as reactHooksExtra from 'eslint-plugin-react-hooks-extra';
5
6
  import * as reactNamingConvention from 'eslint-plugin-react-naming-convention';
7
+ import * as reactWebApi from 'eslint-plugin-react-web-api';
6
8
  import * as react from 'eslint-plugin-react-x';
7
9
 
8
10
  declare const _default: {
@@ -11,17 +13,16 @@ declare const _default: {
11
13
  readonly version: string;
12
14
  };
13
15
  readonly configs: {
14
- readonly all: {
16
+ readonly core: {
15
17
  readonly plugins: {
16
18
  readonly "@eslint-react": typeof react;
17
19
  readonly "@eslint-react/debug": typeof reactDebug;
18
20
  readonly "@eslint-react/dom": typeof reactDom;
19
21
  readonly "@eslint-react/hooks-extra": typeof reactHooksExtra;
20
22
  readonly "@eslint-react/naming-convention": typeof reactNamingConvention;
23
+ readonly "@eslint-react/web-api": typeof reactWebApi;
21
24
  };
22
25
  readonly rules: {
23
- readonly "@eslint-react/avoid-shorthand-boolean": "warn";
24
- readonly "@eslint-react/avoid-shorthand-fragment": "warn";
25
26
  readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
26
27
  readonly "@eslint-react/no-access-state-in-setstate": "error";
27
28
  readonly "@eslint-react/no-array-index-key": "warn";
@@ -29,12 +30,9 @@ declare const _default: {
29
30
  readonly "@eslint-react/no-children-for-each": "warn";
30
31
  readonly "@eslint-react/no-children-map": "warn";
31
32
  readonly "@eslint-react/no-children-only": "warn";
32
- readonly "@eslint-react/no-children-prop": "warn";
33
33
  readonly "@eslint-react/no-children-to-array": "warn";
34
- readonly "@eslint-react/no-class-component": "warn";
35
34
  readonly "@eslint-react/no-clone-element": "warn";
36
35
  readonly "@eslint-react/no-comment-textnodes": "warn";
37
- readonly "@eslint-react/no-complex-conditional-rendering": "warn";
38
36
  readonly "@eslint-react/no-component-will-mount": "error";
39
37
  readonly "@eslint-react/no-component-will-receive-props": "error";
40
38
  readonly "@eslint-react/no-component-will-update": "error";
@@ -42,8 +40,6 @@ declare const _default: {
42
40
  readonly "@eslint-react/no-default-props": "error";
43
41
  readonly "@eslint-react/no-direct-mutation-state": "error";
44
42
  readonly "@eslint-react/no-duplicate-key": "error";
45
- readonly "@eslint-react/no-implicit-key": "warn";
46
- readonly "@eslint-react/no-missing-component-display-name": "warn";
47
43
  readonly "@eslint-react/no-missing-key": "error";
48
44
  readonly "@eslint-react/no-nested-components": "warn";
49
45
  readonly "@eslint-react/no-prop-types": "error";
@@ -59,31 +55,6 @@ declare const _default: {
59
55
  readonly "@eslint-react/no-unstable-default-props": "error";
60
56
  readonly "@eslint-react/no-unused-class-component-members": "warn";
61
57
  readonly "@eslint-react/no-unused-state": "warn";
62
- readonly "@eslint-react/no-useless-fragment": "warn";
63
- readonly "@eslint-react/prefer-destructuring-assignment": "warn";
64
- readonly "@eslint-react/prefer-shorthand-boolean": "warn";
65
- readonly "@eslint-react/prefer-shorthand-fragment": "warn";
66
- readonly "@eslint-react/dom/no-children-in-void-dom-elements": "warn";
67
- readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
68
- readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
69
- readonly "@eslint-react/dom/no-find-dom-node": "error";
70
- readonly "@eslint-react/dom/no-missing-button-type": "warn";
71
- readonly "@eslint-react/dom/no-missing-iframe-sandbox": "warn";
72
- readonly "@eslint-react/dom/no-namespace": "error";
73
- readonly "@eslint-react/dom/no-render-return-value": "error";
74
- readonly "@eslint-react/dom/no-script-url": "warn";
75
- readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
76
- readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
77
- readonly "@eslint-react/hooks-extra/ensure-custom-hooks-using-other-hooks": "warn";
78
- readonly "@eslint-react/hooks-extra/ensure-use-callback-has-non-empty-deps": "warn";
79
- readonly "@eslint-react/hooks-extra/ensure-use-memo-has-non-empty-deps": "warn";
80
- readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
81
- readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-layout-effect": "warn";
82
- readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
83
- readonly "@eslint-react/naming-convention/component-name": "warn";
84
- readonly "@eslint-react/naming-convention/filename": "warn";
85
- readonly "@eslint-react/naming-convention/filename-extension": "warn";
86
- readonly "@eslint-react/naming-convention/use-state": "warn";
87
58
  };
88
59
  readonly settings: {
89
60
  readonly "react-x": {
@@ -96,11 +67,9 @@ declare const _default: {
96
67
  };
97
68
  };
98
69
  };
99
- readonly "all-legacy": {
70
+ readonly "core-legacy": {
100
71
  readonly plugins: readonly ["@eslint-react"];
101
72
  readonly rules: {
102
- readonly "@eslint-react/avoid-shorthand-boolean": "warn";
103
- readonly "@eslint-react/avoid-shorthand-fragment": "warn";
104
73
  readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
105
74
  readonly "@eslint-react/no-access-state-in-setstate": "error";
106
75
  readonly "@eslint-react/no-array-index-key": "warn";
@@ -108,12 +77,9 @@ declare const _default: {
108
77
  readonly "@eslint-react/no-children-for-each": "warn";
109
78
  readonly "@eslint-react/no-children-map": "warn";
110
79
  readonly "@eslint-react/no-children-only": "warn";
111
- readonly "@eslint-react/no-children-prop": "warn";
112
80
  readonly "@eslint-react/no-children-to-array": "warn";
113
- readonly "@eslint-react/no-class-component": "warn";
114
81
  readonly "@eslint-react/no-clone-element": "warn";
115
82
  readonly "@eslint-react/no-comment-textnodes": "warn";
116
- readonly "@eslint-react/no-complex-conditional-rendering": "warn";
117
83
  readonly "@eslint-react/no-component-will-mount": "error";
118
84
  readonly "@eslint-react/no-component-will-receive-props": "error";
119
85
  readonly "@eslint-react/no-component-will-update": "error";
@@ -121,8 +87,6 @@ declare const _default: {
121
87
  readonly "@eslint-react/no-default-props": "error";
122
88
  readonly "@eslint-react/no-direct-mutation-state": "error";
123
89
  readonly "@eslint-react/no-duplicate-key": "error";
124
- readonly "@eslint-react/no-implicit-key": "warn";
125
- readonly "@eslint-react/no-missing-component-display-name": "warn";
126
90
  readonly "@eslint-react/no-missing-key": "error";
127
91
  readonly "@eslint-react/no-nested-components": "warn";
128
92
  readonly "@eslint-react/no-prop-types": "error";
@@ -138,10 +102,71 @@ declare const _default: {
138
102
  readonly "@eslint-react/no-unstable-default-props": "error";
139
103
  readonly "@eslint-react/no-unused-class-component-members": "warn";
140
104
  readonly "@eslint-react/no-unused-state": "warn";
141
- readonly "@eslint-react/no-useless-fragment": "warn";
142
- readonly "@eslint-react/prefer-destructuring-assignment": "warn";
143
- readonly "@eslint-react/prefer-shorthand-boolean": "warn";
144
- readonly "@eslint-react/prefer-shorthand-fragment": "warn";
105
+ };
106
+ readonly settings: {
107
+ readonly "react-x": {
108
+ readonly additionalHooks: {
109
+ readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
110
+ };
111
+ readonly polymorphicPropName: "as";
112
+ readonly skipImportCheck: false;
113
+ readonly version: "detect";
114
+ };
115
+ };
116
+ };
117
+ readonly debug: {
118
+ readonly plugins: {
119
+ readonly "@eslint-react": typeof react;
120
+ readonly "@eslint-react/debug": typeof reactDebug;
121
+ readonly "@eslint-react/dom": typeof reactDom;
122
+ readonly "@eslint-react/hooks-extra": typeof reactHooksExtra;
123
+ readonly "@eslint-react/naming-convention": typeof reactNamingConvention;
124
+ readonly "@eslint-react/web-api": typeof reactWebApi;
125
+ };
126
+ readonly rules: {
127
+ readonly "@eslint-react/debug/class-component": "warn";
128
+ readonly "@eslint-react/debug/function-component": "warn";
129
+ readonly "@eslint-react/debug/react-hooks": "warn";
130
+ };
131
+ readonly settings: {
132
+ readonly "react-x": {
133
+ readonly additionalHooks: {
134
+ readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
135
+ };
136
+ readonly polymorphicPropName: "as";
137
+ readonly skipImportCheck: false;
138
+ readonly version: "detect";
139
+ };
140
+ };
141
+ };
142
+ readonly "debug-legacy": {
143
+ readonly plugins: readonly ["@eslint-react"];
144
+ readonly rules: {
145
+ readonly "@eslint-react/debug/class-component": "warn";
146
+ readonly "@eslint-react/debug/function-component": "warn";
147
+ readonly "@eslint-react/debug/react-hooks": "warn";
148
+ };
149
+ readonly settings: {
150
+ readonly "react-x": {
151
+ readonly additionalHooks: {
152
+ readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
153
+ };
154
+ readonly polymorphicPropName: "as";
155
+ readonly skipImportCheck: false;
156
+ readonly version: "detect";
157
+ };
158
+ };
159
+ };
160
+ readonly dom: {
161
+ readonly plugins: {
162
+ readonly "@eslint-react": typeof react;
163
+ readonly "@eslint-react/debug": typeof reactDebug;
164
+ readonly "@eslint-react/dom": typeof reactDom;
165
+ readonly "@eslint-react/hooks-extra": typeof reactHooksExtra;
166
+ readonly "@eslint-react/naming-convention": typeof reactNamingConvention;
167
+ readonly "@eslint-react/web-api": typeof reactWebApi;
168
+ };
169
+ readonly rules: {
145
170
  readonly "@eslint-react/dom/no-children-in-void-dom-elements": "warn";
146
171
  readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
147
172
  readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
@@ -153,16 +178,6 @@ declare const _default: {
153
178
  readonly "@eslint-react/dom/no-script-url": "warn";
154
179
  readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
155
180
  readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
156
- readonly "@eslint-react/hooks-extra/ensure-custom-hooks-using-other-hooks": "warn";
157
- readonly "@eslint-react/hooks-extra/ensure-use-callback-has-non-empty-deps": "warn";
158
- readonly "@eslint-react/hooks-extra/ensure-use-memo-has-non-empty-deps": "warn";
159
- readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
160
- readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-layout-effect": "warn";
161
- readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
162
- readonly "@eslint-react/naming-convention/component-name": "warn";
163
- readonly "@eslint-react/naming-convention/filename": "warn";
164
- readonly "@eslint-react/naming-convention/filename-extension": "warn";
165
- readonly "@eslint-react/naming-convention/use-state": "warn";
166
181
  };
167
182
  readonly settings: {
168
183
  readonly "react-x": {
@@ -175,15 +190,56 @@ declare const _default: {
175
190
  };
176
191
  };
177
192
  };
178
- readonly core: {
193
+ readonly "dom-legacy": {
194
+ readonly plugins: readonly ["@eslint-react"];
195
+ readonly rules: {
196
+ readonly "@eslint-react/dom/no-children-in-void-dom-elements": "warn";
197
+ readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
198
+ readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
199
+ readonly "@eslint-react/dom/no-find-dom-node": "error";
200
+ readonly "@eslint-react/dom/no-missing-button-type": "warn";
201
+ readonly "@eslint-react/dom/no-missing-iframe-sandbox": "warn";
202
+ readonly "@eslint-react/dom/no-namespace": "error";
203
+ readonly "@eslint-react/dom/no-render-return-value": "error";
204
+ readonly "@eslint-react/dom/no-script-url": "warn";
205
+ readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
206
+ readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
207
+ };
208
+ readonly settings: {
209
+ readonly "react-x": {
210
+ readonly additionalHooks: {
211
+ readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
212
+ };
213
+ readonly polymorphicPropName: "as";
214
+ readonly skipImportCheck: false;
215
+ readonly version: "detect";
216
+ };
217
+ };
218
+ };
219
+ readonly recommended: {
179
220
  readonly plugins: {
180
221
  readonly "@eslint-react": typeof react;
181
222
  readonly "@eslint-react/debug": typeof reactDebug;
182
223
  readonly "@eslint-react/dom": typeof reactDom;
183
224
  readonly "@eslint-react/hooks-extra": typeof reactHooksExtra;
184
225
  readonly "@eslint-react/naming-convention": typeof reactNamingConvention;
226
+ readonly "@eslint-react/web-api": typeof reactWebApi;
185
227
  };
186
228
  readonly rules: {
229
+ readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
230
+ readonly "@eslint-react/web-api/no-leaked-interval": "warn";
231
+ readonly "@eslint-react/web-api/no-leaked-timeout": "warn";
232
+ readonly "@eslint-react/dom/no-children-in-void-dom-elements": "warn";
233
+ readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
234
+ readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
235
+ readonly "@eslint-react/dom/no-find-dom-node": "error";
236
+ readonly "@eslint-react/dom/no-missing-button-type": "warn";
237
+ readonly "@eslint-react/dom/no-missing-iframe-sandbox": "warn";
238
+ readonly "@eslint-react/dom/no-namespace": "error";
239
+ readonly "@eslint-react/dom/no-render-return-value": "error";
240
+ readonly "@eslint-react/dom/no-script-url": "warn";
241
+ readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
242
+ readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
187
243
  readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
188
244
  readonly "@eslint-react/no-access-state-in-setstate": "error";
189
245
  readonly "@eslint-react/no-array-index-key": "warn";
@@ -228,9 +284,23 @@ declare const _default: {
228
284
  };
229
285
  };
230
286
  };
231
- readonly "core-legacy": {
287
+ readonly "recommended-legacy": {
232
288
  readonly plugins: readonly ["@eslint-react"];
233
289
  readonly rules: {
290
+ readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
291
+ readonly "@eslint-react/web-api/no-leaked-interval": "warn";
292
+ readonly "@eslint-react/web-api/no-leaked-timeout": "warn";
293
+ readonly "@eslint-react/dom/no-children-in-void-dom-elements": "warn";
294
+ readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
295
+ readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
296
+ readonly "@eslint-react/dom/no-find-dom-node": "error";
297
+ readonly "@eslint-react/dom/no-missing-button-type": "warn";
298
+ readonly "@eslint-react/dom/no-missing-iframe-sandbox": "warn";
299
+ readonly "@eslint-react/dom/no-namespace": "error";
300
+ readonly "@eslint-react/dom/no-render-return-value": "error";
301
+ readonly "@eslint-react/dom/no-script-url": "warn";
302
+ readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
303
+ readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
234
304
  readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
235
305
  readonly "@eslint-react/no-access-state-in-setstate": "error";
236
306
  readonly "@eslint-react/no-array-index-key": "warn";
@@ -275,57 +345,20 @@ declare const _default: {
275
345
  };
276
346
  };
277
347
  };
278
- readonly debug: {
279
- readonly plugins: {
280
- readonly "@eslint-react": typeof react;
281
- readonly "@eslint-react/debug": typeof reactDebug;
282
- readonly "@eslint-react/dom": typeof reactDom;
283
- readonly "@eslint-react/hooks-extra": typeof reactHooksExtra;
284
- readonly "@eslint-react/naming-convention": typeof reactNamingConvention;
285
- };
286
- readonly rules: {
287
- readonly "@eslint-react/debug/class-component": "warn";
288
- readonly "@eslint-react/debug/function-component": "warn";
289
- readonly "@eslint-react/debug/react-hooks": "warn";
290
- };
291
- readonly settings: {
292
- readonly "react-x": {
293
- readonly additionalHooks: {
294
- readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
295
- };
296
- readonly polymorphicPropName: "as";
297
- readonly skipImportCheck: false;
298
- readonly version: "detect";
299
- };
300
- };
301
- };
302
- readonly "debug-legacy": {
303
- readonly plugins: readonly ["@eslint-react"];
304
- readonly rules: {
305
- readonly "@eslint-react/debug/class-component": "warn";
306
- readonly "@eslint-react/debug/function-component": "warn";
307
- readonly "@eslint-react/debug/react-hooks": "warn";
308
- };
309
- readonly settings: {
310
- readonly "react-x": {
311
- readonly additionalHooks: {
312
- readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
313
- };
314
- readonly polymorphicPropName: "as";
315
- readonly skipImportCheck: false;
316
- readonly version: "detect";
317
- };
318
- };
319
- };
320
- readonly dom: {
348
+ readonly "recommended-type-checked": {
321
349
  readonly plugins: {
322
350
  readonly "@eslint-react": typeof react;
323
351
  readonly "@eslint-react/debug": typeof reactDebug;
324
352
  readonly "@eslint-react/dom": typeof reactDom;
325
353
  readonly "@eslint-react/hooks-extra": typeof reactHooksExtra;
326
354
  readonly "@eslint-react/naming-convention": typeof reactNamingConvention;
355
+ readonly "@eslint-react/web-api": typeof reactWebApi;
327
356
  };
328
357
  readonly rules: {
358
+ readonly "@eslint-react/no-leaked-conditional-rendering": "warn";
359
+ readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
360
+ readonly "@eslint-react/web-api/no-leaked-interval": "warn";
361
+ readonly "@eslint-react/web-api/no-leaked-timeout": "warn";
329
362
  readonly "@eslint-react/dom/no-children-in-void-dom-elements": "warn";
330
363
  readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
331
364
  readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
@@ -337,6 +370,38 @@ declare const _default: {
337
370
  readonly "@eslint-react/dom/no-script-url": "warn";
338
371
  readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
339
372
  readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
373
+ readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
374
+ readonly "@eslint-react/no-access-state-in-setstate": "error";
375
+ readonly "@eslint-react/no-array-index-key": "warn";
376
+ readonly "@eslint-react/no-children-count": "warn";
377
+ readonly "@eslint-react/no-children-for-each": "warn";
378
+ readonly "@eslint-react/no-children-map": "warn";
379
+ readonly "@eslint-react/no-children-only": "warn";
380
+ readonly "@eslint-react/no-children-to-array": "warn";
381
+ readonly "@eslint-react/no-clone-element": "warn";
382
+ readonly "@eslint-react/no-comment-textnodes": "warn";
383
+ readonly "@eslint-react/no-component-will-mount": "error";
384
+ readonly "@eslint-react/no-component-will-receive-props": "error";
385
+ readonly "@eslint-react/no-component-will-update": "error";
386
+ readonly "@eslint-react/no-create-ref": "error";
387
+ readonly "@eslint-react/no-default-props": "error";
388
+ readonly "@eslint-react/no-direct-mutation-state": "error";
389
+ readonly "@eslint-react/no-duplicate-key": "error";
390
+ readonly "@eslint-react/no-missing-key": "error";
391
+ readonly "@eslint-react/no-nested-components": "warn";
392
+ readonly "@eslint-react/no-prop-types": "error";
393
+ readonly "@eslint-react/no-redundant-should-component-update": "error";
394
+ readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
395
+ readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
396
+ readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
397
+ readonly "@eslint-react/no-string-refs": "error";
398
+ readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
399
+ readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
400
+ readonly "@eslint-react/no-unsafe-component-will-update": "warn";
401
+ readonly "@eslint-react/no-unstable-context-value": "error";
402
+ readonly "@eslint-react/no-unstable-default-props": "error";
403
+ readonly "@eslint-react/no-unused-class-component-members": "warn";
404
+ readonly "@eslint-react/no-unused-state": "warn";
340
405
  };
341
406
  readonly settings: {
342
407
  readonly "react-x": {
@@ -349,9 +414,13 @@ declare const _default: {
349
414
  };
350
415
  };
351
416
  };
352
- readonly "dom-legacy": {
417
+ readonly "recommended-type-checked-legacy": {
353
418
  readonly plugins: readonly ["@eslint-react"];
354
419
  readonly rules: {
420
+ readonly "@eslint-react/no-leaked-conditional-rendering": "warn";
421
+ readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
422
+ readonly "@eslint-react/web-api/no-leaked-interval": "warn";
423
+ readonly "@eslint-react/web-api/no-leaked-timeout": "warn";
355
424
  readonly "@eslint-react/dom/no-children-in-void-dom-elements": "warn";
356
425
  readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
357
426
  readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
@@ -363,6 +432,38 @@ declare const _default: {
363
432
  readonly "@eslint-react/dom/no-script-url": "warn";
364
433
  readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
365
434
  readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
435
+ readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
436
+ readonly "@eslint-react/no-access-state-in-setstate": "error";
437
+ readonly "@eslint-react/no-array-index-key": "warn";
438
+ readonly "@eslint-react/no-children-count": "warn";
439
+ readonly "@eslint-react/no-children-for-each": "warn";
440
+ readonly "@eslint-react/no-children-map": "warn";
441
+ readonly "@eslint-react/no-children-only": "warn";
442
+ readonly "@eslint-react/no-children-to-array": "warn";
443
+ readonly "@eslint-react/no-clone-element": "warn";
444
+ readonly "@eslint-react/no-comment-textnodes": "warn";
445
+ readonly "@eslint-react/no-component-will-mount": "error";
446
+ readonly "@eslint-react/no-component-will-receive-props": "error";
447
+ readonly "@eslint-react/no-component-will-update": "error";
448
+ readonly "@eslint-react/no-create-ref": "error";
449
+ readonly "@eslint-react/no-default-props": "error";
450
+ readonly "@eslint-react/no-direct-mutation-state": "error";
451
+ readonly "@eslint-react/no-duplicate-key": "error";
452
+ readonly "@eslint-react/no-missing-key": "error";
453
+ readonly "@eslint-react/no-nested-components": "warn";
454
+ readonly "@eslint-react/no-prop-types": "error";
455
+ readonly "@eslint-react/no-redundant-should-component-update": "error";
456
+ readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
457
+ readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
458
+ readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
459
+ readonly "@eslint-react/no-string-refs": "error";
460
+ readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
461
+ readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
462
+ readonly "@eslint-react/no-unsafe-component-will-update": "warn";
463
+ readonly "@eslint-react/no-unstable-context-value": "error";
464
+ readonly "@eslint-react/no-unstable-default-props": "error";
465
+ readonly "@eslint-react/no-unused-class-component-members": "warn";
466
+ readonly "@eslint-react/no-unused-state": "warn";
366
467
  };
367
468
  readonly settings: {
368
469
  readonly "react-x": {
@@ -375,79 +476,27 @@ declare const _default: {
375
476
  };
376
477
  };
377
478
  };
378
- readonly off: {
479
+ readonly "disable-dom": {
379
480
  readonly plugins: {
380
481
  readonly "@eslint-react": typeof react;
381
482
  readonly "@eslint-react/debug": typeof reactDebug;
382
483
  readonly "@eslint-react/dom": typeof reactDom;
383
484
  readonly "@eslint-react/hooks-extra": typeof reactHooksExtra;
384
485
  readonly "@eslint-react/naming-convention": typeof reactNamingConvention;
486
+ readonly "@eslint-react/web-api": typeof reactWebApi;
385
487
  };
386
488
  readonly rules: {
387
- "@eslint-react/avoid-shorthand-boolean": never;
388
- "@eslint-react/avoid-shorthand-fragment": never;
389
- "@eslint-react/ensure-forward-ref-using-ref": never;
390
- "@eslint-react/no-access-state-in-setstate": never;
391
- "@eslint-react/no-array-index-key": never;
392
- "@eslint-react/no-children-count": never;
393
- "@eslint-react/no-children-for-each": never;
394
- "@eslint-react/no-children-map": never;
395
- "@eslint-react/no-children-only": never;
396
- "@eslint-react/no-children-prop": never;
397
- "@eslint-react/no-children-to-array": never;
398
- "@eslint-react/no-class-component": never;
399
- "@eslint-react/no-clone-element": never;
400
- "@eslint-react/no-comment-textnodes": never;
401
- "@eslint-react/no-complex-conditional-rendering": never;
402
- "@eslint-react/no-component-will-mount": never;
403
- "@eslint-react/no-component-will-receive-props": never;
404
- "@eslint-react/no-component-will-update": never;
405
- "@eslint-react/no-create-ref": never;
406
- "@eslint-react/no-default-props": never;
407
- "@eslint-react/no-direct-mutation-state": never;
408
- "@eslint-react/no-duplicate-key": never;
409
- "@eslint-react/no-implicit-key": never;
410
- "@eslint-react/no-missing-component-display-name": never;
411
- "@eslint-react/no-missing-key": never;
412
- "@eslint-react/no-nested-components": never;
413
- "@eslint-react/no-prop-types": never;
414
- "@eslint-react/no-redundant-should-component-update": never;
415
- "@eslint-react/no-set-state-in-component-did-mount": never;
416
- "@eslint-react/no-set-state-in-component-did-update": never;
417
- "@eslint-react/no-set-state-in-component-will-update": never;
418
- "@eslint-react/no-string-refs": never;
419
- "@eslint-react/no-unsafe-component-will-mount": never;
420
- "@eslint-react/no-unsafe-component-will-receive-props": never;
421
- "@eslint-react/no-unsafe-component-will-update": never;
422
- "@eslint-react/no-unstable-context-value": never;
423
- "@eslint-react/no-unstable-default-props": never;
424
- "@eslint-react/no-unused-class-component-members": never;
425
- "@eslint-react/no-unused-state": never;
426
- "@eslint-react/no-useless-fragment": never;
427
- "@eslint-react/prefer-destructuring-assignment": never;
428
- "@eslint-react/prefer-shorthand-boolean": never;
429
- "@eslint-react/prefer-shorthand-fragment": never;
430
- "@eslint-react/dom/no-children-in-void-dom-elements": never;
431
- "@eslint-react/dom/no-dangerously-set-innerhtml": never;
432
- "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": never;
433
- "@eslint-react/dom/no-find-dom-node": never;
434
- "@eslint-react/dom/no-missing-button-type": never;
435
- "@eslint-react/dom/no-missing-iframe-sandbox": never;
436
- "@eslint-react/dom/no-namespace": never;
437
- "@eslint-react/dom/no-render-return-value": never;
438
- "@eslint-react/dom/no-script-url": never;
439
- "@eslint-react/dom/no-unsafe-iframe-sandbox": never;
440
- "@eslint-react/dom/no-unsafe-target-blank": never;
441
- "@eslint-react/hooks-extra/ensure-custom-hooks-using-other-hooks": never;
442
- "@eslint-react/hooks-extra/ensure-use-callback-has-non-empty-deps": never;
443
- "@eslint-react/hooks-extra/ensure-use-memo-has-non-empty-deps": never;
444
- "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": never;
445
- "@eslint-react/hooks-extra/no-direct-set-state-in-use-layout-effect": never;
446
- "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": never;
447
- "@eslint-react/naming-convention/component-name": never;
448
- "@eslint-react/naming-convention/filename": never;
449
- "@eslint-react/naming-convention/filename-extension": never;
450
- "@eslint-react/naming-convention/use-state": never;
489
+ "@eslint-react/dom/no-children-in-void-dom-elements"?: "off";
490
+ "@eslint-react/dom/no-dangerously-set-innerhtml"?: "off";
491
+ "@eslint-react/dom/no-dangerously-set-innerhtml-with-children"?: "off";
492
+ "@eslint-react/dom/no-find-dom-node"?: "off";
493
+ "@eslint-react/dom/no-missing-button-type"?: "off";
494
+ "@eslint-react/dom/no-missing-iframe-sandbox"?: "off";
495
+ "@eslint-react/dom/no-namespace"?: "off";
496
+ "@eslint-react/dom/no-render-return-value"?: "off";
497
+ "@eslint-react/dom/no-script-url"?: "off";
498
+ "@eslint-react/dom/no-unsafe-iframe-sandbox"?: "off";
499
+ "@eslint-react/dom/no-unsafe-target-blank"?: "off";
451
500
  };
452
501
  readonly settings: {
453
502
  readonly "react-x": {
@@ -460,29 +509,20 @@ declare const _default: {
460
509
  };
461
510
  };
462
511
  };
463
- /**
464
- * @deprecated Use `disable-dom` instead
465
- */
466
- readonly "off-dom": {
467
- readonly plugins: {
468
- readonly "@eslint-react": typeof react;
469
- readonly "@eslint-react/debug": typeof reactDebug;
470
- readonly "@eslint-react/dom": typeof reactDom;
471
- readonly "@eslint-react/hooks-extra": typeof reactHooksExtra;
472
- readonly "@eslint-react/naming-convention": typeof reactNamingConvention;
473
- };
512
+ readonly "disable-dom-legacy": {
513
+ readonly plugins: readonly ["@eslint-react"];
474
514
  readonly rules: {
475
- "@eslint-react/dom/no-children-in-void-dom-elements": never;
476
- "@eslint-react/dom/no-dangerously-set-innerhtml": never;
477
- "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": never;
478
- "@eslint-react/dom/no-find-dom-node": never;
479
- "@eslint-react/dom/no-missing-button-type": never;
480
- "@eslint-react/dom/no-missing-iframe-sandbox": never;
481
- "@eslint-react/dom/no-namespace": never;
482
- "@eslint-react/dom/no-render-return-value": never;
483
- "@eslint-react/dom/no-script-url": never;
484
- "@eslint-react/dom/no-unsafe-iframe-sandbox": never;
485
- "@eslint-react/dom/no-unsafe-target-blank": never;
515
+ "@eslint-react/dom/no-children-in-void-dom-elements"?: "off";
516
+ "@eslint-react/dom/no-dangerously-set-innerhtml"?: "off";
517
+ "@eslint-react/dom/no-dangerously-set-innerhtml-with-children"?: "off";
518
+ "@eslint-react/dom/no-find-dom-node"?: "off";
519
+ "@eslint-react/dom/no-missing-button-type"?: "off";
520
+ "@eslint-react/dom/no-missing-iframe-sandbox"?: "off";
521
+ "@eslint-react/dom/no-namespace"?: "off";
522
+ "@eslint-react/dom/no-render-return-value"?: "off";
523
+ "@eslint-react/dom/no-script-url"?: "off";
524
+ "@eslint-react/dom/no-unsafe-iframe-sandbox"?: "off";
525
+ "@eslint-react/dom/no-unsafe-target-blank"?: "off";
486
526
  };
487
527
  readonly settings: {
488
528
  readonly "react-x": {
@@ -495,23 +535,19 @@ declare const _default: {
495
535
  };
496
536
  };
497
537
  };
498
- /**
499
- * @deprecated Use `disable-dom-legacy` instead
500
- */
501
- readonly "off-dom-legacy": {
502
- readonly plugins: readonly ["@eslint-react"];
538
+ readonly "disable-web-api": {
539
+ readonly plugins: {
540
+ readonly "@eslint-react": typeof react;
541
+ readonly "@eslint-react/debug": typeof reactDebug;
542
+ readonly "@eslint-react/dom": typeof reactDom;
543
+ readonly "@eslint-react/hooks-extra": typeof reactHooksExtra;
544
+ readonly "@eslint-react/naming-convention": typeof reactNamingConvention;
545
+ readonly "@eslint-react/web-api": typeof reactWebApi;
546
+ };
503
547
  readonly rules: {
504
- "@eslint-react/dom/no-children-in-void-dom-elements": never;
505
- "@eslint-react/dom/no-dangerously-set-innerhtml": never;
506
- "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": never;
507
- "@eslint-react/dom/no-find-dom-node": never;
508
- "@eslint-react/dom/no-missing-button-type": never;
509
- "@eslint-react/dom/no-missing-iframe-sandbox": never;
510
- "@eslint-react/dom/no-namespace": never;
511
- "@eslint-react/dom/no-render-return-value": never;
512
- "@eslint-react/dom/no-script-url": never;
513
- "@eslint-react/dom/no-unsafe-iframe-sandbox": never;
514
- "@eslint-react/dom/no-unsafe-target-blank": never;
548
+ "@eslint-react/web-api/no-leaked-event-listener"?: "off";
549
+ "@eslint-react/web-api/no-leaked-interval"?: "off";
550
+ "@eslint-react/web-api/no-leaked-timeout"?: "off";
515
551
  };
516
552
  readonly settings: {
517
553
  readonly "react-x": {
@@ -524,73 +560,12 @@ declare const _default: {
524
560
  };
525
561
  };
526
562
  };
527
- readonly "off-legacy": {
563
+ readonly "disable-web-api-legacy": {
528
564
  readonly plugins: readonly ["@eslint-react"];
529
565
  readonly rules: {
530
- "@eslint-react/avoid-shorthand-boolean": never;
531
- "@eslint-react/avoid-shorthand-fragment": never;
532
- "@eslint-react/ensure-forward-ref-using-ref": never;
533
- "@eslint-react/no-access-state-in-setstate": never;
534
- "@eslint-react/no-array-index-key": never;
535
- "@eslint-react/no-children-count": never;
536
- "@eslint-react/no-children-for-each": never;
537
- "@eslint-react/no-children-map": never;
538
- "@eslint-react/no-children-only": never;
539
- "@eslint-react/no-children-prop": never;
540
- "@eslint-react/no-children-to-array": never;
541
- "@eslint-react/no-class-component": never;
542
- "@eslint-react/no-clone-element": never;
543
- "@eslint-react/no-comment-textnodes": never;
544
- "@eslint-react/no-complex-conditional-rendering": never;
545
- "@eslint-react/no-component-will-mount": never;
546
- "@eslint-react/no-component-will-receive-props": never;
547
- "@eslint-react/no-component-will-update": never;
548
- "@eslint-react/no-create-ref": never;
549
- "@eslint-react/no-default-props": never;
550
- "@eslint-react/no-direct-mutation-state": never;
551
- "@eslint-react/no-duplicate-key": never;
552
- "@eslint-react/no-implicit-key": never;
553
- "@eslint-react/no-missing-component-display-name": never;
554
- "@eslint-react/no-missing-key": never;
555
- "@eslint-react/no-nested-components": never;
556
- "@eslint-react/no-prop-types": never;
557
- "@eslint-react/no-redundant-should-component-update": never;
558
- "@eslint-react/no-set-state-in-component-did-mount": never;
559
- "@eslint-react/no-set-state-in-component-did-update": never;
560
- "@eslint-react/no-set-state-in-component-will-update": never;
561
- "@eslint-react/no-string-refs": never;
562
- "@eslint-react/no-unsafe-component-will-mount": never;
563
- "@eslint-react/no-unsafe-component-will-receive-props": never;
564
- "@eslint-react/no-unsafe-component-will-update": never;
565
- "@eslint-react/no-unstable-context-value": never;
566
- "@eslint-react/no-unstable-default-props": never;
567
- "@eslint-react/no-unused-class-component-members": never;
568
- "@eslint-react/no-unused-state": never;
569
- "@eslint-react/no-useless-fragment": never;
570
- "@eslint-react/prefer-destructuring-assignment": never;
571
- "@eslint-react/prefer-shorthand-boolean": never;
572
- "@eslint-react/prefer-shorthand-fragment": never;
573
- "@eslint-react/dom/no-children-in-void-dom-elements": never;
574
- "@eslint-react/dom/no-dangerously-set-innerhtml": never;
575
- "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": never;
576
- "@eslint-react/dom/no-find-dom-node": never;
577
- "@eslint-react/dom/no-missing-button-type": never;
578
- "@eslint-react/dom/no-missing-iframe-sandbox": never;
579
- "@eslint-react/dom/no-namespace": never;
580
- "@eslint-react/dom/no-render-return-value": never;
581
- "@eslint-react/dom/no-script-url": never;
582
- "@eslint-react/dom/no-unsafe-iframe-sandbox": never;
583
- "@eslint-react/dom/no-unsafe-target-blank": never;
584
- "@eslint-react/hooks-extra/ensure-custom-hooks-using-other-hooks": never;
585
- "@eslint-react/hooks-extra/ensure-use-callback-has-non-empty-deps": never;
586
- "@eslint-react/hooks-extra/ensure-use-memo-has-non-empty-deps": never;
587
- "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": never;
588
- "@eslint-react/hooks-extra/no-direct-set-state-in-use-layout-effect": never;
589
- "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": never;
590
- "@eslint-react/naming-convention/component-name": never;
591
- "@eslint-react/naming-convention/filename": never;
592
- "@eslint-react/naming-convention/filename-extension": never;
593
- "@eslint-react/naming-convention/use-state": never;
566
+ "@eslint-react/web-api/no-leaked-event-listener"?: "off";
567
+ "@eslint-react/web-api/no-leaked-interval"?: "off";
568
+ "@eslint-react/web-api/no-leaked-timeout"?: "off";
594
569
  };
595
570
  readonly settings: {
596
571
  readonly "react-x": {
@@ -603,58 +578,17 @@ declare const _default: {
603
578
  };
604
579
  };
605
580
  };
606
- readonly recommended: {
581
+ readonly "disable-type-checked": {
607
582
  readonly plugins: {
608
583
  readonly "@eslint-react": typeof react;
609
584
  readonly "@eslint-react/debug": typeof reactDebug;
610
585
  readonly "@eslint-react/dom": typeof reactDom;
611
586
  readonly "@eslint-react/hooks-extra": typeof reactHooksExtra;
612
587
  readonly "@eslint-react/naming-convention": typeof reactNamingConvention;
588
+ readonly "@eslint-react/web-api": typeof reactWebApi;
613
589
  };
614
590
  readonly rules: {
615
- readonly "@eslint-react/dom/no-children-in-void-dom-elements": "warn";
616
- readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
617
- readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
618
- readonly "@eslint-react/dom/no-find-dom-node": "error";
619
- readonly "@eslint-react/dom/no-missing-button-type": "warn";
620
- readonly "@eslint-react/dom/no-missing-iframe-sandbox": "warn";
621
- readonly "@eslint-react/dom/no-namespace": "error";
622
- readonly "@eslint-react/dom/no-render-return-value": "error";
623
- readonly "@eslint-react/dom/no-script-url": "warn";
624
- readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
625
- readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
626
- readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
627
- readonly "@eslint-react/no-access-state-in-setstate": "error";
628
- readonly "@eslint-react/no-array-index-key": "warn";
629
- readonly "@eslint-react/no-children-count": "warn";
630
- readonly "@eslint-react/no-children-for-each": "warn";
631
- readonly "@eslint-react/no-children-map": "warn";
632
- readonly "@eslint-react/no-children-only": "warn";
633
- readonly "@eslint-react/no-children-to-array": "warn";
634
- readonly "@eslint-react/no-clone-element": "warn";
635
- readonly "@eslint-react/no-comment-textnodes": "warn";
636
- readonly "@eslint-react/no-component-will-mount": "error";
637
- readonly "@eslint-react/no-component-will-receive-props": "error";
638
- readonly "@eslint-react/no-component-will-update": "error";
639
- readonly "@eslint-react/no-create-ref": "error";
640
- readonly "@eslint-react/no-default-props": "error";
641
- readonly "@eslint-react/no-direct-mutation-state": "error";
642
- readonly "@eslint-react/no-duplicate-key": "error";
643
- readonly "@eslint-react/no-missing-key": "error";
644
- readonly "@eslint-react/no-nested-components": "warn";
645
- readonly "@eslint-react/no-prop-types": "error";
646
- readonly "@eslint-react/no-redundant-should-component-update": "error";
647
- readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
648
- readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
649
- readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
650
- readonly "@eslint-react/no-string-refs": "error";
651
- readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
652
- readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
653
- readonly "@eslint-react/no-unsafe-component-will-update": "warn";
654
- readonly "@eslint-react/no-unstable-context-value": "error";
655
- readonly "@eslint-react/no-unstable-default-props": "error";
656
- readonly "@eslint-react/no-unused-class-component-members": "warn";
657
- readonly "@eslint-react/no-unused-state": "warn";
591
+ [x: `@eslint-react/${string}`]: _eslint_react_types.RuleDeclaration;
658
592
  };
659
593
  readonly settings: {
660
594
  readonly "react-x": {
@@ -667,52 +601,10 @@ declare const _default: {
667
601
  };
668
602
  };
669
603
  };
670
- readonly "recommended-legacy": {
604
+ readonly "disable-type-checked-legacy": {
671
605
  readonly plugins: readonly ["@eslint-react"];
672
606
  readonly rules: {
673
- readonly "@eslint-react/dom/no-children-in-void-dom-elements": "warn";
674
- readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
675
- readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
676
- readonly "@eslint-react/dom/no-find-dom-node": "error";
677
- readonly "@eslint-react/dom/no-missing-button-type": "warn";
678
- readonly "@eslint-react/dom/no-missing-iframe-sandbox": "warn";
679
- readonly "@eslint-react/dom/no-namespace": "error";
680
- readonly "@eslint-react/dom/no-render-return-value": "error";
681
- readonly "@eslint-react/dom/no-script-url": "warn";
682
- readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
683
- readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
684
- readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
685
- readonly "@eslint-react/no-access-state-in-setstate": "error";
686
- readonly "@eslint-react/no-array-index-key": "warn";
687
- readonly "@eslint-react/no-children-count": "warn";
688
- readonly "@eslint-react/no-children-for-each": "warn";
689
- readonly "@eslint-react/no-children-map": "warn";
690
- readonly "@eslint-react/no-children-only": "warn";
691
- readonly "@eslint-react/no-children-to-array": "warn";
692
- readonly "@eslint-react/no-clone-element": "warn";
693
- readonly "@eslint-react/no-comment-textnodes": "warn";
694
- readonly "@eslint-react/no-component-will-mount": "error";
695
- readonly "@eslint-react/no-component-will-receive-props": "error";
696
- readonly "@eslint-react/no-component-will-update": "error";
697
- readonly "@eslint-react/no-create-ref": "error";
698
- readonly "@eslint-react/no-default-props": "error";
699
- readonly "@eslint-react/no-direct-mutation-state": "error";
700
- readonly "@eslint-react/no-duplicate-key": "error";
701
- readonly "@eslint-react/no-missing-key": "error";
702
- readonly "@eslint-react/no-nested-components": "warn";
703
- readonly "@eslint-react/no-prop-types": "error";
704
- readonly "@eslint-react/no-redundant-should-component-update": "error";
705
- readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
706
- readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
707
- readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
708
- readonly "@eslint-react/no-string-refs": "error";
709
- readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
710
- readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
711
- readonly "@eslint-react/no-unsafe-component-will-update": "warn";
712
- readonly "@eslint-react/no-unstable-context-value": "error";
713
- readonly "@eslint-react/no-unstable-default-props": "error";
714
- readonly "@eslint-react/no-unused-class-component-members": "warn";
715
- readonly "@eslint-react/no-unused-state": "warn";
607
+ [x: `@eslint-react/${string}`]: _eslint_react_types.RuleDeclaration;
716
608
  };
717
609
  readonly settings: {
718
610
  readonly "react-x": {
@@ -725,27 +617,18 @@ declare const _default: {
725
617
  };
726
618
  };
727
619
  };
728
- readonly "recommended-type-checked": {
620
+ readonly all: {
729
621
  readonly plugins: {
730
622
  readonly "@eslint-react": typeof react;
731
623
  readonly "@eslint-react/debug": typeof reactDebug;
732
624
  readonly "@eslint-react/dom": typeof reactDom;
733
625
  readonly "@eslint-react/hooks-extra": typeof reactHooksExtra;
734
626
  readonly "@eslint-react/naming-convention": typeof reactNamingConvention;
627
+ readonly "@eslint-react/web-api": typeof reactWebApi;
735
628
  };
736
629
  readonly rules: {
737
- readonly "@eslint-react/no-leaked-conditional-rendering": "warn";
738
- readonly "@eslint-react/dom/no-children-in-void-dom-elements": "warn";
739
- readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
740
- readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
741
- readonly "@eslint-react/dom/no-find-dom-node": "error";
742
- readonly "@eslint-react/dom/no-missing-button-type": "warn";
743
- readonly "@eslint-react/dom/no-missing-iframe-sandbox": "warn";
744
- readonly "@eslint-react/dom/no-namespace": "error";
745
- readonly "@eslint-react/dom/no-render-return-value": "error";
746
- readonly "@eslint-react/dom/no-script-url": "warn";
747
- readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
748
- readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
630
+ readonly "@eslint-react/avoid-shorthand-boolean": "warn";
631
+ readonly "@eslint-react/avoid-shorthand-fragment": "warn";
749
632
  readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
750
633
  readonly "@eslint-react/no-access-state-in-setstate": "error";
751
634
  readonly "@eslint-react/no-array-index-key": "warn";
@@ -753,9 +636,12 @@ declare const _default: {
753
636
  readonly "@eslint-react/no-children-for-each": "warn";
754
637
  readonly "@eslint-react/no-children-map": "warn";
755
638
  readonly "@eslint-react/no-children-only": "warn";
639
+ readonly "@eslint-react/no-children-prop": "warn";
756
640
  readonly "@eslint-react/no-children-to-array": "warn";
641
+ readonly "@eslint-react/no-class-component": "warn";
757
642
  readonly "@eslint-react/no-clone-element": "warn";
758
643
  readonly "@eslint-react/no-comment-textnodes": "warn";
644
+ readonly "@eslint-react/no-complex-conditional-rendering": "warn";
759
645
  readonly "@eslint-react/no-component-will-mount": "error";
760
646
  readonly "@eslint-react/no-component-will-receive-props": "error";
761
647
  readonly "@eslint-react/no-component-will-update": "error";
@@ -763,6 +649,8 @@ declare const _default: {
763
649
  readonly "@eslint-react/no-default-props": "error";
764
650
  readonly "@eslint-react/no-direct-mutation-state": "error";
765
651
  readonly "@eslint-react/no-duplicate-key": "error";
652
+ readonly "@eslint-react/no-implicit-key": "warn";
653
+ readonly "@eslint-react/no-missing-component-display-name": "warn";
766
654
  readonly "@eslint-react/no-missing-key": "error";
767
655
  readonly "@eslint-react/no-nested-components": "warn";
768
656
  readonly "@eslint-react/no-prop-types": "error";
@@ -778,6 +666,34 @@ declare const _default: {
778
666
  readonly "@eslint-react/no-unstable-default-props": "error";
779
667
  readonly "@eslint-react/no-unused-class-component-members": "warn";
780
668
  readonly "@eslint-react/no-unused-state": "warn";
669
+ readonly "@eslint-react/no-useless-fragment": "warn";
670
+ readonly "@eslint-react/prefer-destructuring-assignment": "warn";
671
+ readonly "@eslint-react/prefer-shorthand-boolean": "warn";
672
+ readonly "@eslint-react/prefer-shorthand-fragment": "warn";
673
+ readonly "@eslint-react/dom/no-children-in-void-dom-elements": "warn";
674
+ readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
675
+ readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
676
+ readonly "@eslint-react/dom/no-find-dom-node": "error";
677
+ readonly "@eslint-react/dom/no-missing-button-type": "warn";
678
+ readonly "@eslint-react/dom/no-missing-iframe-sandbox": "warn";
679
+ readonly "@eslint-react/dom/no-namespace": "error";
680
+ readonly "@eslint-react/dom/no-render-return-value": "error";
681
+ readonly "@eslint-react/dom/no-script-url": "warn";
682
+ readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
683
+ readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
684
+ readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
685
+ readonly "@eslint-react/web-api/no-leaked-interval": "warn";
686
+ readonly "@eslint-react/web-api/no-leaked-timeout": "warn";
687
+ readonly "@eslint-react/hooks-extra/ensure-custom-hooks-using-other-hooks": "warn";
688
+ readonly "@eslint-react/hooks-extra/ensure-use-callback-has-non-empty-deps": "warn";
689
+ readonly "@eslint-react/hooks-extra/ensure-use-memo-has-non-empty-deps": "warn";
690
+ readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
691
+ readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-layout-effect": "warn";
692
+ readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
693
+ readonly "@eslint-react/naming-convention/component-name": "warn";
694
+ readonly "@eslint-react/naming-convention/filename": "warn";
695
+ readonly "@eslint-react/naming-convention/filename-extension": "warn";
696
+ readonly "@eslint-react/naming-convention/use-state": "warn";
781
697
  };
782
698
  readonly settings: {
783
699
  readonly "react-x": {
@@ -790,21 +706,11 @@ declare const _default: {
790
706
  };
791
707
  };
792
708
  };
793
- readonly "recommended-type-checked-legacy": {
709
+ readonly "all-legacy": {
794
710
  readonly plugins: readonly ["@eslint-react"];
795
711
  readonly rules: {
796
- readonly "@eslint-react/no-leaked-conditional-rendering": "warn";
797
- readonly "@eslint-react/dom/no-children-in-void-dom-elements": "warn";
798
- readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
799
- readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
800
- readonly "@eslint-react/dom/no-find-dom-node": "error";
801
- readonly "@eslint-react/dom/no-missing-button-type": "warn";
802
- readonly "@eslint-react/dom/no-missing-iframe-sandbox": "warn";
803
- readonly "@eslint-react/dom/no-namespace": "error";
804
- readonly "@eslint-react/dom/no-render-return-value": "error";
805
- readonly "@eslint-react/dom/no-script-url": "warn";
806
- readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
807
- readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
712
+ readonly "@eslint-react/avoid-shorthand-boolean": "warn";
713
+ readonly "@eslint-react/avoid-shorthand-fragment": "warn";
808
714
  readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
809
715
  readonly "@eslint-react/no-access-state-in-setstate": "error";
810
716
  readonly "@eslint-react/no-array-index-key": "warn";
@@ -812,9 +718,12 @@ declare const _default: {
812
718
  readonly "@eslint-react/no-children-for-each": "warn";
813
719
  readonly "@eslint-react/no-children-map": "warn";
814
720
  readonly "@eslint-react/no-children-only": "warn";
721
+ readonly "@eslint-react/no-children-prop": "warn";
815
722
  readonly "@eslint-react/no-children-to-array": "warn";
723
+ readonly "@eslint-react/no-class-component": "warn";
816
724
  readonly "@eslint-react/no-clone-element": "warn";
817
725
  readonly "@eslint-react/no-comment-textnodes": "warn";
726
+ readonly "@eslint-react/no-complex-conditional-rendering": "warn";
818
727
  readonly "@eslint-react/no-component-will-mount": "error";
819
728
  readonly "@eslint-react/no-component-will-receive-props": "error";
820
729
  readonly "@eslint-react/no-component-will-update": "error";
@@ -822,6 +731,8 @@ declare const _default: {
822
731
  readonly "@eslint-react/no-default-props": "error";
823
732
  readonly "@eslint-react/no-direct-mutation-state": "error";
824
733
  readonly "@eslint-react/no-duplicate-key": "error";
734
+ readonly "@eslint-react/no-implicit-key": "warn";
735
+ readonly "@eslint-react/no-missing-component-display-name": "warn";
825
736
  readonly "@eslint-react/no-missing-key": "error";
826
737
  readonly "@eslint-react/no-nested-components": "warn";
827
738
  readonly "@eslint-react/no-prop-types": "error";
@@ -837,6 +748,34 @@ declare const _default: {
837
748
  readonly "@eslint-react/no-unstable-default-props": "error";
838
749
  readonly "@eslint-react/no-unused-class-component-members": "warn";
839
750
  readonly "@eslint-react/no-unused-state": "warn";
751
+ readonly "@eslint-react/no-useless-fragment": "warn";
752
+ readonly "@eslint-react/prefer-destructuring-assignment": "warn";
753
+ readonly "@eslint-react/prefer-shorthand-boolean": "warn";
754
+ readonly "@eslint-react/prefer-shorthand-fragment": "warn";
755
+ readonly "@eslint-react/dom/no-children-in-void-dom-elements": "warn";
756
+ readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
757
+ readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
758
+ readonly "@eslint-react/dom/no-find-dom-node": "error";
759
+ readonly "@eslint-react/dom/no-missing-button-type": "warn";
760
+ readonly "@eslint-react/dom/no-missing-iframe-sandbox": "warn";
761
+ readonly "@eslint-react/dom/no-namespace": "error";
762
+ readonly "@eslint-react/dom/no-render-return-value": "error";
763
+ readonly "@eslint-react/dom/no-script-url": "warn";
764
+ readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
765
+ readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
766
+ readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
767
+ readonly "@eslint-react/web-api/no-leaked-interval": "warn";
768
+ readonly "@eslint-react/web-api/no-leaked-timeout": "warn";
769
+ readonly "@eslint-react/hooks-extra/ensure-custom-hooks-using-other-hooks": "warn";
770
+ readonly "@eslint-react/hooks-extra/ensure-use-callback-has-non-empty-deps": "warn";
771
+ readonly "@eslint-react/hooks-extra/ensure-use-memo-has-non-empty-deps": "warn";
772
+ readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
773
+ readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-layout-effect": "warn";
774
+ readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
775
+ readonly "@eslint-react/naming-convention/component-name": "warn";
776
+ readonly "@eslint-react/naming-convention/filename": "warn";
777
+ readonly "@eslint-react/naming-convention/filename-extension": "warn";
778
+ readonly "@eslint-react/naming-convention/use-state": "warn";
840
779
  };
841
780
  readonly settings: {
842
781
  readonly "react-x": {
@@ -849,26 +788,83 @@ declare const _default: {
849
788
  };
850
789
  };
851
790
  };
852
- readonly "disable-dom": {
791
+ readonly off: {
853
792
  readonly plugins: {
854
793
  readonly "@eslint-react": typeof react;
855
794
  readonly "@eslint-react/debug": typeof reactDebug;
856
795
  readonly "@eslint-react/dom": typeof reactDom;
857
796
  readonly "@eslint-react/hooks-extra": typeof reactHooksExtra;
858
797
  readonly "@eslint-react/naming-convention": typeof reactNamingConvention;
798
+ readonly "@eslint-react/web-api": typeof reactWebApi;
859
799
  };
860
800
  readonly rules: {
861
- "@eslint-react/dom/no-children-in-void-dom-elements": never;
862
- "@eslint-react/dom/no-dangerously-set-innerhtml": never;
863
- "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": never;
864
- "@eslint-react/dom/no-find-dom-node": never;
865
- "@eslint-react/dom/no-missing-button-type": never;
866
- "@eslint-react/dom/no-missing-iframe-sandbox": never;
867
- "@eslint-react/dom/no-namespace": never;
868
- "@eslint-react/dom/no-render-return-value": never;
869
- "@eslint-react/dom/no-script-url": never;
870
- "@eslint-react/dom/no-unsafe-iframe-sandbox": never;
871
- "@eslint-react/dom/no-unsafe-target-blank": never;
801
+ readonly "@eslint-react/avoid-shorthand-boolean"?: "off";
802
+ readonly "@eslint-react/avoid-shorthand-fragment"?: "off";
803
+ readonly "@eslint-react/ensure-forward-ref-using-ref"?: "off";
804
+ readonly "@eslint-react/no-access-state-in-setstate"?: "off";
805
+ readonly "@eslint-react/no-array-index-key"?: "off";
806
+ readonly "@eslint-react/no-children-count"?: "off";
807
+ readonly "@eslint-react/no-children-for-each"?: "off";
808
+ readonly "@eslint-react/no-children-map"?: "off";
809
+ readonly "@eslint-react/no-children-only"?: "off";
810
+ readonly "@eslint-react/no-children-prop"?: "off";
811
+ readonly "@eslint-react/no-children-to-array"?: "off";
812
+ readonly "@eslint-react/no-class-component"?: "off";
813
+ readonly "@eslint-react/no-clone-element"?: "off";
814
+ readonly "@eslint-react/no-comment-textnodes"?: "off";
815
+ readonly "@eslint-react/no-complex-conditional-rendering"?: "off";
816
+ readonly "@eslint-react/no-component-will-mount"?: "off";
817
+ readonly "@eslint-react/no-component-will-receive-props"?: "off";
818
+ readonly "@eslint-react/no-component-will-update"?: "off";
819
+ readonly "@eslint-react/no-create-ref"?: "off";
820
+ readonly "@eslint-react/no-default-props"?: "off";
821
+ readonly "@eslint-react/no-direct-mutation-state"?: "off";
822
+ readonly "@eslint-react/no-duplicate-key"?: "off";
823
+ readonly "@eslint-react/no-implicit-key"?: "off";
824
+ readonly "@eslint-react/no-missing-component-display-name"?: "off";
825
+ readonly "@eslint-react/no-missing-key"?: "off";
826
+ readonly "@eslint-react/no-nested-components"?: "off";
827
+ readonly "@eslint-react/no-prop-types"?: "off";
828
+ readonly "@eslint-react/no-redundant-should-component-update"?: "off";
829
+ readonly "@eslint-react/no-set-state-in-component-did-mount"?: "off";
830
+ readonly "@eslint-react/no-set-state-in-component-did-update"?: "off";
831
+ readonly "@eslint-react/no-set-state-in-component-will-update"?: "off";
832
+ readonly "@eslint-react/no-string-refs"?: "off";
833
+ readonly "@eslint-react/no-unsafe-component-will-mount"?: "off";
834
+ readonly "@eslint-react/no-unsafe-component-will-receive-props"?: "off";
835
+ readonly "@eslint-react/no-unsafe-component-will-update"?: "off";
836
+ readonly "@eslint-react/no-unstable-context-value"?: "off";
837
+ readonly "@eslint-react/no-unstable-default-props"?: "off";
838
+ readonly "@eslint-react/no-unused-class-component-members"?: "off";
839
+ readonly "@eslint-react/no-unused-state"?: "off";
840
+ readonly "@eslint-react/no-useless-fragment"?: "off";
841
+ readonly "@eslint-react/prefer-destructuring-assignment"?: "off";
842
+ readonly "@eslint-react/prefer-shorthand-boolean"?: "off";
843
+ readonly "@eslint-react/prefer-shorthand-fragment"?: "off";
844
+ readonly "@eslint-react/dom/no-children-in-void-dom-elements"?: "off";
845
+ readonly "@eslint-react/dom/no-dangerously-set-innerhtml"?: "off";
846
+ readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children"?: "off";
847
+ readonly "@eslint-react/dom/no-find-dom-node"?: "off";
848
+ readonly "@eslint-react/dom/no-missing-button-type"?: "off";
849
+ readonly "@eslint-react/dom/no-missing-iframe-sandbox"?: "off";
850
+ readonly "@eslint-react/dom/no-namespace"?: "off";
851
+ readonly "@eslint-react/dom/no-render-return-value"?: "off";
852
+ readonly "@eslint-react/dom/no-script-url"?: "off";
853
+ readonly "@eslint-react/dom/no-unsafe-iframe-sandbox"?: "off";
854
+ readonly "@eslint-react/dom/no-unsafe-target-blank"?: "off";
855
+ readonly "@eslint-react/web-api/no-leaked-event-listener"?: "off";
856
+ readonly "@eslint-react/web-api/no-leaked-interval"?: "off";
857
+ readonly "@eslint-react/web-api/no-leaked-timeout"?: "off";
858
+ readonly "@eslint-react/hooks-extra/ensure-custom-hooks-using-other-hooks"?: "off";
859
+ readonly "@eslint-react/hooks-extra/ensure-use-callback-has-non-empty-deps"?: "off";
860
+ readonly "@eslint-react/hooks-extra/ensure-use-memo-has-non-empty-deps"?: "off";
861
+ readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect"?: "off";
862
+ readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-layout-effect"?: "off";
863
+ readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization"?: "off";
864
+ readonly "@eslint-react/naming-convention/component-name"?: "off";
865
+ readonly "@eslint-react/naming-convention/filename"?: "off";
866
+ readonly "@eslint-react/naming-convention/filename-extension"?: "off";
867
+ readonly "@eslint-react/naming-convention/use-state"?: "off";
872
868
  };
873
869
  readonly settings: {
874
870
  readonly "react-x": {
@@ -881,20 +877,76 @@ declare const _default: {
881
877
  };
882
878
  };
883
879
  };
884
- readonly "disable-dom-legacy": {
880
+ readonly "off-legacy": {
885
881
  readonly plugins: readonly ["@eslint-react"];
886
882
  readonly rules: {
887
- "@eslint-react/dom/no-children-in-void-dom-elements": never;
888
- "@eslint-react/dom/no-dangerously-set-innerhtml": never;
889
- "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": never;
890
- "@eslint-react/dom/no-find-dom-node": never;
891
- "@eslint-react/dom/no-missing-button-type": never;
892
- "@eslint-react/dom/no-missing-iframe-sandbox": never;
893
- "@eslint-react/dom/no-namespace": never;
894
- "@eslint-react/dom/no-render-return-value": never;
895
- "@eslint-react/dom/no-script-url": never;
896
- "@eslint-react/dom/no-unsafe-iframe-sandbox": never;
897
- "@eslint-react/dom/no-unsafe-target-blank": never;
883
+ readonly "@eslint-react/avoid-shorthand-boolean"?: "off";
884
+ readonly "@eslint-react/avoid-shorthand-fragment"?: "off";
885
+ readonly "@eslint-react/ensure-forward-ref-using-ref"?: "off";
886
+ readonly "@eslint-react/no-access-state-in-setstate"?: "off";
887
+ readonly "@eslint-react/no-array-index-key"?: "off";
888
+ readonly "@eslint-react/no-children-count"?: "off";
889
+ readonly "@eslint-react/no-children-for-each"?: "off";
890
+ readonly "@eslint-react/no-children-map"?: "off";
891
+ readonly "@eslint-react/no-children-only"?: "off";
892
+ readonly "@eslint-react/no-children-prop"?: "off";
893
+ readonly "@eslint-react/no-children-to-array"?: "off";
894
+ readonly "@eslint-react/no-class-component"?: "off";
895
+ readonly "@eslint-react/no-clone-element"?: "off";
896
+ readonly "@eslint-react/no-comment-textnodes"?: "off";
897
+ readonly "@eslint-react/no-complex-conditional-rendering"?: "off";
898
+ readonly "@eslint-react/no-component-will-mount"?: "off";
899
+ readonly "@eslint-react/no-component-will-receive-props"?: "off";
900
+ readonly "@eslint-react/no-component-will-update"?: "off";
901
+ readonly "@eslint-react/no-create-ref"?: "off";
902
+ readonly "@eslint-react/no-default-props"?: "off";
903
+ readonly "@eslint-react/no-direct-mutation-state"?: "off";
904
+ readonly "@eslint-react/no-duplicate-key"?: "off";
905
+ readonly "@eslint-react/no-implicit-key"?: "off";
906
+ readonly "@eslint-react/no-missing-component-display-name"?: "off";
907
+ readonly "@eslint-react/no-missing-key"?: "off";
908
+ readonly "@eslint-react/no-nested-components"?: "off";
909
+ readonly "@eslint-react/no-prop-types"?: "off";
910
+ readonly "@eslint-react/no-redundant-should-component-update"?: "off";
911
+ readonly "@eslint-react/no-set-state-in-component-did-mount"?: "off";
912
+ readonly "@eslint-react/no-set-state-in-component-did-update"?: "off";
913
+ readonly "@eslint-react/no-set-state-in-component-will-update"?: "off";
914
+ readonly "@eslint-react/no-string-refs"?: "off";
915
+ readonly "@eslint-react/no-unsafe-component-will-mount"?: "off";
916
+ readonly "@eslint-react/no-unsafe-component-will-receive-props"?: "off";
917
+ readonly "@eslint-react/no-unsafe-component-will-update"?: "off";
918
+ readonly "@eslint-react/no-unstable-context-value"?: "off";
919
+ readonly "@eslint-react/no-unstable-default-props"?: "off";
920
+ readonly "@eslint-react/no-unused-class-component-members"?: "off";
921
+ readonly "@eslint-react/no-unused-state"?: "off";
922
+ readonly "@eslint-react/no-useless-fragment"?: "off";
923
+ readonly "@eslint-react/prefer-destructuring-assignment"?: "off";
924
+ readonly "@eslint-react/prefer-shorthand-boolean"?: "off";
925
+ readonly "@eslint-react/prefer-shorthand-fragment"?: "off";
926
+ readonly "@eslint-react/dom/no-children-in-void-dom-elements"?: "off";
927
+ readonly "@eslint-react/dom/no-dangerously-set-innerhtml"?: "off";
928
+ readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children"?: "off";
929
+ readonly "@eslint-react/dom/no-find-dom-node"?: "off";
930
+ readonly "@eslint-react/dom/no-missing-button-type"?: "off";
931
+ readonly "@eslint-react/dom/no-missing-iframe-sandbox"?: "off";
932
+ readonly "@eslint-react/dom/no-namespace"?: "off";
933
+ readonly "@eslint-react/dom/no-render-return-value"?: "off";
934
+ readonly "@eslint-react/dom/no-script-url"?: "off";
935
+ readonly "@eslint-react/dom/no-unsafe-iframe-sandbox"?: "off";
936
+ readonly "@eslint-react/dom/no-unsafe-target-blank"?: "off";
937
+ readonly "@eslint-react/web-api/no-leaked-event-listener"?: "off";
938
+ readonly "@eslint-react/web-api/no-leaked-interval"?: "off";
939
+ readonly "@eslint-react/web-api/no-leaked-timeout"?: "off";
940
+ readonly "@eslint-react/hooks-extra/ensure-custom-hooks-using-other-hooks"?: "off";
941
+ readonly "@eslint-react/hooks-extra/ensure-use-callback-has-non-empty-deps"?: "off";
942
+ readonly "@eslint-react/hooks-extra/ensure-use-memo-has-non-empty-deps"?: "off";
943
+ readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect"?: "off";
944
+ readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-layout-effect"?: "off";
945
+ readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization"?: "off";
946
+ readonly "@eslint-react/naming-convention/component-name"?: "off";
947
+ readonly "@eslint-react/naming-convention/filename"?: "off";
948
+ readonly "@eslint-react/naming-convention/filename-extension"?: "off";
949
+ readonly "@eslint-react/naming-convention/use-state"?: "off";
898
950
  };
899
951
  readonly settings: {
900
952
  readonly "react-x": {
@@ -907,17 +959,28 @@ declare const _default: {
907
959
  };
908
960
  };
909
961
  };
910
- readonly "disable-type-checked": {
962
+ /** @deprecated Use `disable-dom` instead */
963
+ readonly "off-dom": {
911
964
  readonly plugins: {
912
965
  readonly "@eslint-react": typeof react;
913
966
  readonly "@eslint-react/debug": typeof reactDebug;
914
967
  readonly "@eslint-react/dom": typeof reactDom;
915
968
  readonly "@eslint-react/hooks-extra": typeof reactHooksExtra;
916
969
  readonly "@eslint-react/naming-convention": typeof reactNamingConvention;
970
+ readonly "@eslint-react/web-api": typeof reactWebApi;
917
971
  };
918
972
  readonly rules: {
919
- readonly "@eslint-react/no-leaked-conditional-rendering": "off";
920
- readonly "@eslint-react/prefer-read-only-props": "off";
973
+ "@eslint-react/dom/no-children-in-void-dom-elements"?: "off";
974
+ "@eslint-react/dom/no-dangerously-set-innerhtml"?: "off";
975
+ "@eslint-react/dom/no-dangerously-set-innerhtml-with-children"?: "off";
976
+ "@eslint-react/dom/no-find-dom-node"?: "off";
977
+ "@eslint-react/dom/no-missing-button-type"?: "off";
978
+ "@eslint-react/dom/no-missing-iframe-sandbox"?: "off";
979
+ "@eslint-react/dom/no-namespace"?: "off";
980
+ "@eslint-react/dom/no-render-return-value"?: "off";
981
+ "@eslint-react/dom/no-script-url"?: "off";
982
+ "@eslint-react/dom/no-unsafe-iframe-sandbox"?: "off";
983
+ "@eslint-react/dom/no-unsafe-target-blank"?: "off";
921
984
  };
922
985
  readonly settings: {
923
986
  readonly "react-x": {
@@ -930,11 +993,21 @@ declare const _default: {
930
993
  };
931
994
  };
932
995
  };
933
- readonly "disable-type-checked-legacy": {
996
+ /** @deprecated Use `disable-dom-legacy` instead */
997
+ readonly "off-dom-legacy": {
934
998
  readonly plugins: readonly ["@eslint-react"];
935
999
  readonly rules: {
936
- readonly "@eslint-react/no-leaked-conditional-rendering": "off";
937
- readonly "@eslint-react/prefer-read-only-props": "off";
1000
+ "@eslint-react/dom/no-children-in-void-dom-elements"?: "off";
1001
+ "@eslint-react/dom/no-dangerously-set-innerhtml"?: "off";
1002
+ "@eslint-react/dom/no-dangerously-set-innerhtml-with-children"?: "off";
1003
+ "@eslint-react/dom/no-find-dom-node"?: "off";
1004
+ "@eslint-react/dom/no-missing-button-type"?: "off";
1005
+ "@eslint-react/dom/no-missing-iframe-sandbox"?: "off";
1006
+ "@eslint-react/dom/no-namespace"?: "off";
1007
+ "@eslint-react/dom/no-render-return-value"?: "off";
1008
+ "@eslint-react/dom/no-script-url"?: "off";
1009
+ "@eslint-react/dom/no-unsafe-iframe-sandbox"?: "off";
1010
+ "@eslint-react/dom/no-unsafe-target-blank"?: "off";
938
1011
  };
939
1012
  readonly settings: {
940
1013
  readonly "react-x": {
@@ -957,7 +1030,7 @@ declare const _default: {
957
1030
  excepts?: readonly string[];
958
1031
  rule?: "CONSTANT_CASE" | "PascalCase";
959
1032
  } | "CONSTANT_CASE" | "PascalCase" | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
960
- readonly "naming-convention/filename": _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatch" | "filenameCaseMismatchSuggestion" | "filenameEmpty", readonly ["PascalCase" | {
1033
+ readonly "naming-convention/filename": _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatchSuggestion" | "filenameEmpty", readonly ["PascalCase" | {
961
1034
  excepts?: readonly string[];
962
1035
  extensions?: readonly string[];
963
1036
  rule?: "PascalCase" | "camelCase" | "kebab-case" | "snake_case";
@@ -973,6 +1046,9 @@ declare const _default: {
973
1046
  readonly "hooks-extra/no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
974
1047
  readonly "hooks-extra/no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
975
1048
  readonly "hooks-extra/prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1049
+ readonly "web-api/no-leaked-event-listener": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedEventListenerInEffect" | "noLeakedEventListenerInLifecycle" | "noLeakedEventListenerOfInlineFunction", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1050
+ readonly "web-api/no-leaked-interval": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedIntervalInEffect" | "noLeakedIntervalInLifecycle" | "noLeakedIntervalNoIntervalId", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1051
+ readonly "web-api/no-leaked-timeout": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedTimeoutInEffect" | "noLeakedTimeoutInLifecycle" | "noLeakedTimeoutNoTimeoutId", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
976
1052
  readonly "dom/no-children-in-void-dom-elements": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenInVoidDomElements", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
977
1053
  readonly "dom/no-dangerously-set-innerhtml": _typescript_eslint_utils_ts_eslint.RuleModule<"noDangerouslySetInnerhtml", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
978
1054
  readonly "dom/no-dangerously-set-innerhtml-with-children": _typescript_eslint_utils_ts_eslint.RuleModule<"noDangerouslySetInnerhtmlWithChildren", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;