@eslint-react/eslint-plugin 2.1.0-next.2 → 2.1.0-next.4
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/README.md +9 -0
- package/dist/index.d.ts +451 -140
- package/dist/index.js +165 -116
- package/package.json +10 -10
package/dist/index.d.ts
CHANGED
|
@@ -3,10 +3,10 @@ import { RuleConfig } from "@eslint-react/kit";
|
|
|
3
3
|
|
|
4
4
|
//#region src/configs/all.d.ts
|
|
5
5
|
declare namespace all_d_exports {
|
|
6
|
-
export { name$
|
|
6
|
+
export { name$15 as name, plugins$9 as plugins, rules$15 as rules, settings$6 as settings };
|
|
7
7
|
}
|
|
8
|
-
declare const name$
|
|
9
|
-
declare const rules$
|
|
8
|
+
declare const name$15 = "@eslint-react/all";
|
|
9
|
+
declare const rules$15: {
|
|
10
10
|
readonly "@eslint-react/jsx-key-before-spread": "warn";
|
|
11
11
|
readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
|
|
12
12
|
readonly "@eslint-react/jsx-no-duplicate-props": "warn";
|
|
@@ -98,7 +98,7 @@ declare const rules$13: {
|
|
|
98
98
|
readonly "@eslint-react/naming-convention/filename-extension": "off";
|
|
99
99
|
readonly "@eslint-react/naming-convention/use-state": "warn";
|
|
100
100
|
};
|
|
101
|
-
declare const plugins$
|
|
101
|
+
declare const plugins$9: {
|
|
102
102
|
"@eslint-react/debug": {
|
|
103
103
|
configs: {
|
|
104
104
|
all: {
|
|
@@ -202,7 +202,7 @@ declare const plugins$7: {
|
|
|
202
202
|
rules: Record<string, _eslint_react_kit0.CompatibleRule>;
|
|
203
203
|
};
|
|
204
204
|
};
|
|
205
|
-
declare const settings$
|
|
205
|
+
declare const settings$6: {
|
|
206
206
|
"react-x": {
|
|
207
207
|
readonly version: "detect";
|
|
208
208
|
readonly importSource: "react";
|
|
@@ -210,17 +210,17 @@ declare const settings$4: {
|
|
|
210
210
|
};
|
|
211
211
|
};
|
|
212
212
|
declare namespace debug_d_exports {
|
|
213
|
-
export { name$
|
|
213
|
+
export { name$14 as name, plugins$8 as plugins, rules$14 as rules };
|
|
214
214
|
}
|
|
215
|
-
declare const name$
|
|
216
|
-
declare const rules$
|
|
215
|
+
declare const name$14 = "@eslint-react/debug";
|
|
216
|
+
declare const rules$14: {
|
|
217
217
|
readonly "@eslint-react/debug/class-component": "warn";
|
|
218
218
|
readonly "@eslint-react/debug/function-component": "warn";
|
|
219
219
|
readonly "@eslint-react/debug/hook": "warn";
|
|
220
220
|
readonly "@eslint-react/debug/is-from-react": "warn";
|
|
221
221
|
readonly "@eslint-react/debug/jsx": "warn";
|
|
222
222
|
};
|
|
223
|
-
declare const plugins$
|
|
223
|
+
declare const plugins$8: {
|
|
224
224
|
"@eslint-react/debug": {
|
|
225
225
|
configs: {
|
|
226
226
|
all: {
|
|
@@ -238,52 +238,52 @@ declare const plugins$6: {
|
|
|
238
238
|
};
|
|
239
239
|
};
|
|
240
240
|
declare namespace disable_conflict_eslint_plugin_react_d_exports {
|
|
241
|
-
export { name$
|
|
241
|
+
export { name$13 as name, rules$13 as rules };
|
|
242
242
|
}
|
|
243
|
-
declare const name$
|
|
244
|
-
declare const rules$
|
|
243
|
+
declare const name$13 = "@eslint-react/disable-conflict-eslint-plugin-react";
|
|
244
|
+
declare const rules$13: Record<string, RuleConfig>;
|
|
245
245
|
declare namespace disable_debug_d_exports {
|
|
246
|
-
export { name$
|
|
246
|
+
export { name$12 as name, rules$12 as rules };
|
|
247
247
|
}
|
|
248
|
-
declare const name$
|
|
249
|
-
declare const rules$
|
|
248
|
+
declare const name$12 = "@eslint-react/disable-debug";
|
|
249
|
+
declare const rules$12: Record<string, RuleConfig>;
|
|
250
250
|
declare namespace disable_dom_d_exports {
|
|
251
|
-
export { name$
|
|
251
|
+
export { name$11 as name, rules$11 as rules };
|
|
252
252
|
}
|
|
253
|
-
declare const name$
|
|
254
|
-
declare const rules$
|
|
253
|
+
declare const name$11 = "@eslint-react/disable-dom";
|
|
254
|
+
declare const rules$11: Record<string, RuleConfig>;
|
|
255
255
|
declare namespace disable_type_checked_d_exports {
|
|
256
|
-
export { name$
|
|
256
|
+
export { name$10 as name, rules$10 as rules };
|
|
257
257
|
}
|
|
258
|
-
declare const name$
|
|
259
|
-
declare const rules$
|
|
258
|
+
declare const name$10 = "@eslint-react/disable-type-checked";
|
|
259
|
+
declare const rules$10: Record<string, RuleConfig>;
|
|
260
260
|
declare namespace disable_web_api_d_exports {
|
|
261
|
-
export { name$
|
|
261
|
+
export { name$9 as name, rules$9 as rules };
|
|
262
262
|
}
|
|
263
|
-
declare const name$
|
|
264
|
-
declare const rules$
|
|
263
|
+
declare const name$9 = "@eslint-react/disable-web-api";
|
|
264
|
+
declare const rules$9: Record<string, RuleConfig>;
|
|
265
265
|
declare namespace dom_d_exports {
|
|
266
|
-
export { name$
|
|
266
|
+
export { name$8 as name, plugins$7 as plugins, rules$8 as rules };
|
|
267
267
|
}
|
|
268
|
-
declare const name$
|
|
269
|
-
declare const rules$
|
|
268
|
+
declare const name$8 = "@eslint-react/dom";
|
|
269
|
+
declare const rules$8: {
|
|
270
270
|
readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
|
|
271
271
|
readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
|
|
272
272
|
readonly "@eslint-react/dom/no-find-dom-node": "error";
|
|
273
273
|
readonly "@eslint-react/dom/no-flush-sync": "error";
|
|
274
274
|
readonly "@eslint-react/dom/no-hydrate": "error";
|
|
275
|
-
readonly "@eslint-react/dom/no-missing-button-type": "
|
|
276
|
-
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "
|
|
275
|
+
readonly "@eslint-react/dom/no-missing-button-type": "off";
|
|
276
|
+
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "off";
|
|
277
277
|
readonly "@eslint-react/dom/no-namespace": "error";
|
|
278
278
|
readonly "@eslint-react/dom/no-render": "error";
|
|
279
279
|
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
280
280
|
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
281
281
|
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
282
|
-
readonly "@eslint-react/dom/no-unsafe-target-blank": "
|
|
282
|
+
readonly "@eslint-react/dom/no-unsafe-target-blank": "off";
|
|
283
283
|
readonly "@eslint-react/dom/no-use-form-state": "error";
|
|
284
284
|
readonly "@eslint-react/dom/no-void-elements-with-children": "error";
|
|
285
285
|
};
|
|
286
|
-
declare const plugins$
|
|
286
|
+
declare const plugins$7: {
|
|
287
287
|
"@eslint-react/dom": {
|
|
288
288
|
configs: {
|
|
289
289
|
recommended: {
|
|
@@ -301,10 +301,10 @@ declare const plugins$5: {
|
|
|
301
301
|
};
|
|
302
302
|
};
|
|
303
303
|
declare namespace no_deprecated_d_exports {
|
|
304
|
-
export { name$
|
|
304
|
+
export { name$7 as name, plugins$6 as plugins, rules$7 as rules };
|
|
305
305
|
}
|
|
306
|
-
declare const name$
|
|
307
|
-
declare const rules$
|
|
306
|
+
declare const name$7 = "@eslint-react/no-deprecated";
|
|
307
|
+
declare const rules$7: {
|
|
308
308
|
readonly "@eslint-react/no-component-will-mount": "error";
|
|
309
309
|
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
310
310
|
readonly "@eslint-react/no-component-will-update": "error";
|
|
@@ -315,7 +315,7 @@ declare const rules$5: {
|
|
|
315
315
|
readonly "@eslint-react/dom/no-render": "error";
|
|
316
316
|
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
317
317
|
};
|
|
318
|
-
declare const plugins$
|
|
318
|
+
declare const plugins$6: {
|
|
319
319
|
"@eslint-react/dom": {
|
|
320
320
|
configs: {
|
|
321
321
|
recommended: {
|
|
@@ -360,15 +360,15 @@ declare const plugins$4: {
|
|
|
360
360
|
};
|
|
361
361
|
};
|
|
362
362
|
declare namespace off_d_exports {
|
|
363
|
-
export { name$
|
|
363
|
+
export { name$6 as name, rules$6 as rules };
|
|
364
364
|
}
|
|
365
|
-
declare const name$
|
|
366
|
-
declare const rules$
|
|
365
|
+
declare const name$6 = "@eslint-react/off";
|
|
366
|
+
declare const rules$6: Record<string, RuleConfig>;
|
|
367
367
|
declare namespace recommended_d_exports {
|
|
368
|
-
export { name$
|
|
368
|
+
export { name$5 as name, plugins$5 as plugins, rules$5 as rules, settings$5 as settings };
|
|
369
369
|
}
|
|
370
|
-
declare const name$
|
|
371
|
-
declare const rules$
|
|
370
|
+
declare const name$5 = "@eslint-react/recommended";
|
|
371
|
+
declare const rules$5: {
|
|
372
372
|
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
373
373
|
readonly "@eslint-react/naming-convention/context-name": "warn";
|
|
374
374
|
readonly "@eslint-react/naming-convention/use-state": "warn";
|
|
@@ -381,22 +381,18 @@ declare const rules$3: {
|
|
|
381
381
|
readonly "@eslint-react/dom/no-find-dom-node": "error";
|
|
382
382
|
readonly "@eslint-react/dom/no-flush-sync": "error";
|
|
383
383
|
readonly "@eslint-react/dom/no-hydrate": "error";
|
|
384
|
-
readonly "@eslint-react/dom/no-missing-button-type": "
|
|
385
|
-
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "
|
|
384
|
+
readonly "@eslint-react/dom/no-missing-button-type": "off";
|
|
385
|
+
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "off";
|
|
386
386
|
readonly "@eslint-react/dom/no-namespace": "error";
|
|
387
387
|
readonly "@eslint-react/dom/no-render": "error";
|
|
388
388
|
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
389
389
|
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
390
390
|
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
391
|
-
readonly "@eslint-react/dom/no-unsafe-target-blank": "
|
|
391
|
+
readonly "@eslint-react/dom/no-unsafe-target-blank": "off";
|
|
392
392
|
readonly "@eslint-react/dom/no-use-form-state": "error";
|
|
393
393
|
readonly "@eslint-react/dom/no-void-elements-with-children": "error";
|
|
394
394
|
readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
|
|
395
395
|
readonly "@eslint-react/jsx-no-duplicate-props": "warn";
|
|
396
|
-
readonly "@eslint-react/jsx-no-iife": "off";
|
|
397
|
-
readonly "@eslint-react/jsx-no-undef": "off";
|
|
398
|
-
readonly "@eslint-react/jsx-shorthand-boolean": "off";
|
|
399
|
-
readonly "@eslint-react/jsx-shorthand-fragment": "off";
|
|
400
396
|
readonly "@eslint-react/jsx-uses-react": "warn";
|
|
401
397
|
readonly "@eslint-react/jsx-uses-vars": "warn";
|
|
402
398
|
readonly "@eslint-react/no-access-state-in-setstate": "error";
|
|
@@ -405,9 +401,7 @@ declare const rules$3: {
|
|
|
405
401
|
readonly "@eslint-react/no-children-for-each": "warn";
|
|
406
402
|
readonly "@eslint-react/no-children-map": "warn";
|
|
407
403
|
readonly "@eslint-react/no-children-only": "warn";
|
|
408
|
-
readonly "@eslint-react/no-children-prop": "off";
|
|
409
404
|
readonly "@eslint-react/no-children-to-array": "warn";
|
|
410
|
-
readonly "@eslint-react/no-class-component": "off";
|
|
411
405
|
readonly "@eslint-react/no-clone-element": "warn";
|
|
412
406
|
readonly "@eslint-react/no-component-will-mount": "error";
|
|
413
407
|
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
@@ -417,14 +411,9 @@ declare const rules$3: {
|
|
|
417
411
|
readonly "@eslint-react/no-default-props": "error";
|
|
418
412
|
readonly "@eslint-react/no-direct-mutation-state": "error";
|
|
419
413
|
readonly "@eslint-react/no-duplicate-key": "error";
|
|
420
|
-
readonly "@eslint-react/no-forbidden-props": "off";
|
|
421
414
|
readonly "@eslint-react/no-forward-ref": "warn";
|
|
422
415
|
readonly "@eslint-react/no-implicit-key": "warn";
|
|
423
|
-
readonly "@eslint-react/no-leaked-conditional-rendering": "off";
|
|
424
|
-
readonly "@eslint-react/no-missing-component-display-name": "off";
|
|
425
|
-
readonly "@eslint-react/no-missing-context-display-name": "off";
|
|
426
416
|
readonly "@eslint-react/no-missing-key": "error";
|
|
427
|
-
readonly "@eslint-react/no-misused-capture-owner-stack": "off";
|
|
428
417
|
readonly "@eslint-react/no-nested-component-definitions": "error";
|
|
429
418
|
readonly "@eslint-react/no-nested-lazy-component-declarations": "error";
|
|
430
419
|
readonly "@eslint-react/no-prop-types": "error";
|
|
@@ -433,24 +422,375 @@ declare const rules$3: {
|
|
|
433
422
|
readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
|
|
434
423
|
readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
|
|
435
424
|
readonly "@eslint-react/no-string-refs": "error";
|
|
436
|
-
readonly "@eslint-react/no-unnecessary-key": "off";
|
|
437
|
-
readonly "@eslint-react/no-unnecessary-use-callback": "off";
|
|
438
|
-
readonly "@eslint-react/no-unnecessary-use-memo": "off";
|
|
439
425
|
readonly "@eslint-react/no-unnecessary-use-prefix": "warn";
|
|
440
426
|
readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
|
|
441
427
|
readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
|
|
442
428
|
readonly "@eslint-react/no-unsafe-component-will-update": "warn";
|
|
443
|
-
readonly "@eslint-react/no-unstable-context-value": "warn";
|
|
444
|
-
readonly "@eslint-react/no-unstable-default-props": "warn";
|
|
445
429
|
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
446
|
-
readonly "@eslint-react/no-unused-props": "off";
|
|
447
|
-
readonly "@eslint-react/no-unused-state": "warn";
|
|
448
430
|
readonly "@eslint-react/no-use-context": "warn";
|
|
449
431
|
readonly "@eslint-react/no-useless-forward-ref": "warn";
|
|
450
|
-
readonly "@eslint-react/
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
432
|
+
readonly "@eslint-react/prefer-use-state-lazy-initialization": "warn";
|
|
433
|
+
};
|
|
434
|
+
declare const plugins$5: {
|
|
435
|
+
"@eslint-react/debug": {
|
|
436
|
+
configs: {
|
|
437
|
+
all: {
|
|
438
|
+
plugins: {};
|
|
439
|
+
name?: string;
|
|
440
|
+
rules?: Record<string, RuleConfig>;
|
|
441
|
+
settings?: _eslint_react_kit0.SettingsConfig;
|
|
442
|
+
};
|
|
443
|
+
};
|
|
444
|
+
meta: {
|
|
445
|
+
name: string;
|
|
446
|
+
version: string;
|
|
447
|
+
};
|
|
448
|
+
rules: Record<string, _eslint_react_kit0.CompatibleRule>;
|
|
449
|
+
};
|
|
450
|
+
"@eslint-react/hooks-extra": {
|
|
451
|
+
configs: {
|
|
452
|
+
recommended: {
|
|
453
|
+
plugins: {};
|
|
454
|
+
name?: string;
|
|
455
|
+
rules?: Record<string, RuleConfig>;
|
|
456
|
+
settings?: _eslint_react_kit0.SettingsConfig;
|
|
457
|
+
};
|
|
458
|
+
};
|
|
459
|
+
meta: {
|
|
460
|
+
name: string;
|
|
461
|
+
version: string;
|
|
462
|
+
};
|
|
463
|
+
rules: Record<string, _eslint_react_kit0.CompatibleRule>;
|
|
464
|
+
};
|
|
465
|
+
"@eslint-react/naming-convention": {
|
|
466
|
+
configs: {
|
|
467
|
+
recommended: {
|
|
468
|
+
plugins: {};
|
|
469
|
+
name?: string;
|
|
470
|
+
rules?: Record<string, RuleConfig>;
|
|
471
|
+
settings?: _eslint_react_kit0.SettingsConfig;
|
|
472
|
+
};
|
|
473
|
+
};
|
|
474
|
+
meta: {
|
|
475
|
+
name: string;
|
|
476
|
+
version: string;
|
|
477
|
+
};
|
|
478
|
+
rules: Record<string, _eslint_react_kit0.CompatibleRule>;
|
|
479
|
+
};
|
|
480
|
+
"@eslint-react/web-api": {
|
|
481
|
+
configs: {
|
|
482
|
+
recommended: {
|
|
483
|
+
plugins: {};
|
|
484
|
+
name?: string;
|
|
485
|
+
rules?: Record<string, RuleConfig>;
|
|
486
|
+
settings?: _eslint_react_kit0.SettingsConfig;
|
|
487
|
+
};
|
|
488
|
+
};
|
|
489
|
+
meta: {
|
|
490
|
+
name: string;
|
|
491
|
+
version: string;
|
|
492
|
+
};
|
|
493
|
+
rules: Record<string, _eslint_react_kit0.CompatibleRule>;
|
|
494
|
+
};
|
|
495
|
+
"@eslint-react/dom": {
|
|
496
|
+
configs: {
|
|
497
|
+
recommended: {
|
|
498
|
+
plugins: {};
|
|
499
|
+
name?: string;
|
|
500
|
+
rules?: Record<string, RuleConfig>;
|
|
501
|
+
settings?: _eslint_react_kit0.SettingsConfig;
|
|
502
|
+
};
|
|
503
|
+
};
|
|
504
|
+
meta: {
|
|
505
|
+
name: string;
|
|
506
|
+
version: string;
|
|
507
|
+
};
|
|
508
|
+
rules: Record<string, _eslint_react_kit0.CompatibleRule>;
|
|
509
|
+
};
|
|
510
|
+
"@eslint-react": {
|
|
511
|
+
configs: {
|
|
512
|
+
recommended: {
|
|
513
|
+
plugins: {};
|
|
514
|
+
name?: string;
|
|
515
|
+
rules?: Record<string, RuleConfig>;
|
|
516
|
+
settings?: _eslint_react_kit0.SettingsConfig;
|
|
517
|
+
};
|
|
518
|
+
"recommended-type-checked": {
|
|
519
|
+
plugins: {};
|
|
520
|
+
name?: string;
|
|
521
|
+
rules?: Record<string, RuleConfig>;
|
|
522
|
+
settings?: _eslint_react_kit0.SettingsConfig;
|
|
523
|
+
};
|
|
524
|
+
"recommended-typescript": {
|
|
525
|
+
plugins: {};
|
|
526
|
+
name?: string;
|
|
527
|
+
rules?: Record<string, RuleConfig>;
|
|
528
|
+
settings?: _eslint_react_kit0.SettingsConfig;
|
|
529
|
+
};
|
|
530
|
+
};
|
|
531
|
+
meta: {
|
|
532
|
+
name: string;
|
|
533
|
+
version: string;
|
|
534
|
+
};
|
|
535
|
+
rules: Record<string, _eslint_react_kit0.CompatibleRule>;
|
|
536
|
+
};
|
|
537
|
+
};
|
|
538
|
+
declare const settings$5: {
|
|
539
|
+
"react-x": {
|
|
540
|
+
readonly version: "detect";
|
|
541
|
+
readonly importSource: "react";
|
|
542
|
+
readonly polymorphicPropName: "as";
|
|
543
|
+
};
|
|
544
|
+
};
|
|
545
|
+
declare namespace recommended_type_checked_d_exports {
|
|
546
|
+
export { name$4 as name, plugins$4 as plugins, rules$4 as rules, settings$4 as settings };
|
|
547
|
+
}
|
|
548
|
+
declare const name$4 = "@eslint-react/recommended-type-checked";
|
|
549
|
+
declare const rules$4: {
|
|
550
|
+
readonly "@eslint-react/no-leaked-conditional-rendering": "warn";
|
|
551
|
+
readonly "@eslint-react/no-unused-props": "warn";
|
|
552
|
+
readonly "@eslint-react/dom/no-string-style-prop": "off";
|
|
553
|
+
readonly "@eslint-react/dom/no-unknown-property": "off";
|
|
554
|
+
readonly "@eslint-react/jsx-no-duplicate-props": "off";
|
|
555
|
+
readonly "@eslint-react/jsx-uses-react": "off";
|
|
556
|
+
readonly "@eslint-react/jsx-uses-vars": "off";
|
|
557
|
+
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
558
|
+
readonly "@eslint-react/naming-convention/context-name": "warn";
|
|
559
|
+
readonly "@eslint-react/naming-convention/use-state": "warn";
|
|
560
|
+
readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
|
|
561
|
+
readonly "@eslint-react/web-api/no-leaked-interval": "warn";
|
|
562
|
+
readonly "@eslint-react/web-api/no-leaked-resize-observer": "warn";
|
|
563
|
+
readonly "@eslint-react/web-api/no-leaked-timeout": "warn";
|
|
564
|
+
readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
|
|
565
|
+
readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
|
|
566
|
+
readonly "@eslint-react/dom/no-find-dom-node": "error";
|
|
567
|
+
readonly "@eslint-react/dom/no-flush-sync": "error";
|
|
568
|
+
readonly "@eslint-react/dom/no-hydrate": "error";
|
|
569
|
+
readonly "@eslint-react/dom/no-missing-button-type": "off";
|
|
570
|
+
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "off";
|
|
571
|
+
readonly "@eslint-react/dom/no-namespace": "error";
|
|
572
|
+
readonly "@eslint-react/dom/no-render": "error";
|
|
573
|
+
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
574
|
+
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
575
|
+
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
576
|
+
readonly "@eslint-react/dom/no-unsafe-target-blank": "off";
|
|
577
|
+
readonly "@eslint-react/dom/no-use-form-state": "error";
|
|
578
|
+
readonly "@eslint-react/dom/no-void-elements-with-children": "error";
|
|
579
|
+
readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
|
|
580
|
+
readonly "@eslint-react/no-access-state-in-setstate": "error";
|
|
581
|
+
readonly "@eslint-react/no-array-index-key": "warn";
|
|
582
|
+
readonly "@eslint-react/no-children-count": "warn";
|
|
583
|
+
readonly "@eslint-react/no-children-for-each": "warn";
|
|
584
|
+
readonly "@eslint-react/no-children-map": "warn";
|
|
585
|
+
readonly "@eslint-react/no-children-only": "warn";
|
|
586
|
+
readonly "@eslint-react/no-children-to-array": "warn";
|
|
587
|
+
readonly "@eslint-react/no-clone-element": "warn";
|
|
588
|
+
readonly "@eslint-react/no-component-will-mount": "error";
|
|
589
|
+
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
590
|
+
readonly "@eslint-react/no-component-will-update": "error";
|
|
591
|
+
readonly "@eslint-react/no-context-provider": "warn";
|
|
592
|
+
readonly "@eslint-react/no-create-ref": "error";
|
|
593
|
+
readonly "@eslint-react/no-default-props": "error";
|
|
594
|
+
readonly "@eslint-react/no-direct-mutation-state": "error";
|
|
595
|
+
readonly "@eslint-react/no-duplicate-key": "error";
|
|
596
|
+
readonly "@eslint-react/no-forward-ref": "warn";
|
|
597
|
+
readonly "@eslint-react/no-implicit-key": "warn";
|
|
598
|
+
readonly "@eslint-react/no-missing-key": "error";
|
|
599
|
+
readonly "@eslint-react/no-nested-component-definitions": "error";
|
|
600
|
+
readonly "@eslint-react/no-nested-lazy-component-declarations": "error";
|
|
601
|
+
readonly "@eslint-react/no-prop-types": "error";
|
|
602
|
+
readonly "@eslint-react/no-redundant-should-component-update": "error";
|
|
603
|
+
readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
|
|
604
|
+
readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
|
|
605
|
+
readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
|
|
606
|
+
readonly "@eslint-react/no-string-refs": "error";
|
|
607
|
+
readonly "@eslint-react/no-unnecessary-use-prefix": "warn";
|
|
608
|
+
readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
|
|
609
|
+
readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
|
|
610
|
+
readonly "@eslint-react/no-unsafe-component-will-update": "warn";
|
|
611
|
+
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
612
|
+
readonly "@eslint-react/no-use-context": "warn";
|
|
613
|
+
readonly "@eslint-react/no-useless-forward-ref": "warn";
|
|
614
|
+
readonly "@eslint-react/prefer-use-state-lazy-initialization": "warn";
|
|
615
|
+
};
|
|
616
|
+
declare const plugins$4: {
|
|
617
|
+
"@eslint-react/debug": {
|
|
618
|
+
configs: {
|
|
619
|
+
all: {
|
|
620
|
+
plugins: {};
|
|
621
|
+
name?: string;
|
|
622
|
+
rules?: Record<string, RuleConfig>;
|
|
623
|
+
settings?: _eslint_react_kit0.SettingsConfig;
|
|
624
|
+
};
|
|
625
|
+
};
|
|
626
|
+
meta: {
|
|
627
|
+
name: string;
|
|
628
|
+
version: string;
|
|
629
|
+
};
|
|
630
|
+
rules: Record<string, _eslint_react_kit0.CompatibleRule>;
|
|
631
|
+
};
|
|
632
|
+
"@eslint-react/hooks-extra": {
|
|
633
|
+
configs: {
|
|
634
|
+
recommended: {
|
|
635
|
+
plugins: {};
|
|
636
|
+
name?: string;
|
|
637
|
+
rules?: Record<string, RuleConfig>;
|
|
638
|
+
settings?: _eslint_react_kit0.SettingsConfig;
|
|
639
|
+
};
|
|
640
|
+
};
|
|
641
|
+
meta: {
|
|
642
|
+
name: string;
|
|
643
|
+
version: string;
|
|
644
|
+
};
|
|
645
|
+
rules: Record<string, _eslint_react_kit0.CompatibleRule>;
|
|
646
|
+
};
|
|
647
|
+
"@eslint-react/naming-convention": {
|
|
648
|
+
configs: {
|
|
649
|
+
recommended: {
|
|
650
|
+
plugins: {};
|
|
651
|
+
name?: string;
|
|
652
|
+
rules?: Record<string, RuleConfig>;
|
|
653
|
+
settings?: _eslint_react_kit0.SettingsConfig;
|
|
654
|
+
};
|
|
655
|
+
};
|
|
656
|
+
meta: {
|
|
657
|
+
name: string;
|
|
658
|
+
version: string;
|
|
659
|
+
};
|
|
660
|
+
rules: Record<string, _eslint_react_kit0.CompatibleRule>;
|
|
661
|
+
};
|
|
662
|
+
"@eslint-react/web-api": {
|
|
663
|
+
configs: {
|
|
664
|
+
recommended: {
|
|
665
|
+
plugins: {};
|
|
666
|
+
name?: string;
|
|
667
|
+
rules?: Record<string, RuleConfig>;
|
|
668
|
+
settings?: _eslint_react_kit0.SettingsConfig;
|
|
669
|
+
};
|
|
670
|
+
};
|
|
671
|
+
meta: {
|
|
672
|
+
name: string;
|
|
673
|
+
version: string;
|
|
674
|
+
};
|
|
675
|
+
rules: Record<string, _eslint_react_kit0.CompatibleRule>;
|
|
676
|
+
};
|
|
677
|
+
"@eslint-react/dom": {
|
|
678
|
+
configs: {
|
|
679
|
+
recommended: {
|
|
680
|
+
plugins: {};
|
|
681
|
+
name?: string;
|
|
682
|
+
rules?: Record<string, RuleConfig>;
|
|
683
|
+
settings?: _eslint_react_kit0.SettingsConfig;
|
|
684
|
+
};
|
|
685
|
+
};
|
|
686
|
+
meta: {
|
|
687
|
+
name: string;
|
|
688
|
+
version: string;
|
|
689
|
+
};
|
|
690
|
+
rules: Record<string, _eslint_react_kit0.CompatibleRule>;
|
|
691
|
+
};
|
|
692
|
+
"@eslint-react": {
|
|
693
|
+
configs: {
|
|
694
|
+
recommended: {
|
|
695
|
+
plugins: {};
|
|
696
|
+
name?: string;
|
|
697
|
+
rules?: Record<string, RuleConfig>;
|
|
698
|
+
settings?: _eslint_react_kit0.SettingsConfig;
|
|
699
|
+
};
|
|
700
|
+
"recommended-type-checked": {
|
|
701
|
+
plugins: {};
|
|
702
|
+
name?: string;
|
|
703
|
+
rules?: Record<string, RuleConfig>;
|
|
704
|
+
settings?: _eslint_react_kit0.SettingsConfig;
|
|
705
|
+
};
|
|
706
|
+
"recommended-typescript": {
|
|
707
|
+
plugins: {};
|
|
708
|
+
name?: string;
|
|
709
|
+
rules?: Record<string, RuleConfig>;
|
|
710
|
+
settings?: _eslint_react_kit0.SettingsConfig;
|
|
711
|
+
};
|
|
712
|
+
};
|
|
713
|
+
meta: {
|
|
714
|
+
name: string;
|
|
715
|
+
version: string;
|
|
716
|
+
};
|
|
717
|
+
rules: Record<string, _eslint_react_kit0.CompatibleRule>;
|
|
718
|
+
};
|
|
719
|
+
};
|
|
720
|
+
declare const settings$4: {
|
|
721
|
+
"react-x": {
|
|
722
|
+
readonly version: "detect";
|
|
723
|
+
readonly importSource: "react";
|
|
724
|
+
readonly polymorphicPropName: "as";
|
|
725
|
+
};
|
|
726
|
+
};
|
|
727
|
+
declare namespace recommended_typescript_d_exports {
|
|
728
|
+
export { name$3 as name, plugins$3 as plugins, rules$3 as rules, settings$3 as settings };
|
|
729
|
+
}
|
|
730
|
+
declare const name$3 = "@eslint-react/recommended-typescript";
|
|
731
|
+
declare const rules$3: {
|
|
732
|
+
readonly "@eslint-react/dom/no-string-style-prop": "off";
|
|
733
|
+
readonly "@eslint-react/dom/no-unknown-property": "off";
|
|
734
|
+
readonly "@eslint-react/jsx-no-duplicate-props": "off";
|
|
735
|
+
readonly "@eslint-react/jsx-uses-react": "off";
|
|
736
|
+
readonly "@eslint-react/jsx-uses-vars": "off";
|
|
737
|
+
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
738
|
+
readonly "@eslint-react/naming-convention/context-name": "warn";
|
|
739
|
+
readonly "@eslint-react/naming-convention/use-state": "warn";
|
|
740
|
+
readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
|
|
741
|
+
readonly "@eslint-react/web-api/no-leaked-interval": "warn";
|
|
742
|
+
readonly "@eslint-react/web-api/no-leaked-resize-observer": "warn";
|
|
743
|
+
readonly "@eslint-react/web-api/no-leaked-timeout": "warn";
|
|
744
|
+
readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
|
|
745
|
+
readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
|
|
746
|
+
readonly "@eslint-react/dom/no-find-dom-node": "error";
|
|
747
|
+
readonly "@eslint-react/dom/no-flush-sync": "error";
|
|
748
|
+
readonly "@eslint-react/dom/no-hydrate": "error";
|
|
749
|
+
readonly "@eslint-react/dom/no-missing-button-type": "off";
|
|
750
|
+
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "off";
|
|
751
|
+
readonly "@eslint-react/dom/no-namespace": "error";
|
|
752
|
+
readonly "@eslint-react/dom/no-render": "error";
|
|
753
|
+
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
754
|
+
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
755
|
+
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
756
|
+
readonly "@eslint-react/dom/no-unsafe-target-blank": "off";
|
|
757
|
+
readonly "@eslint-react/dom/no-use-form-state": "error";
|
|
758
|
+
readonly "@eslint-react/dom/no-void-elements-with-children": "error";
|
|
759
|
+
readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
|
|
760
|
+
readonly "@eslint-react/no-access-state-in-setstate": "error";
|
|
761
|
+
readonly "@eslint-react/no-array-index-key": "warn";
|
|
762
|
+
readonly "@eslint-react/no-children-count": "warn";
|
|
763
|
+
readonly "@eslint-react/no-children-for-each": "warn";
|
|
764
|
+
readonly "@eslint-react/no-children-map": "warn";
|
|
765
|
+
readonly "@eslint-react/no-children-only": "warn";
|
|
766
|
+
readonly "@eslint-react/no-children-to-array": "warn";
|
|
767
|
+
readonly "@eslint-react/no-clone-element": "warn";
|
|
768
|
+
readonly "@eslint-react/no-component-will-mount": "error";
|
|
769
|
+
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
770
|
+
readonly "@eslint-react/no-component-will-update": "error";
|
|
771
|
+
readonly "@eslint-react/no-context-provider": "warn";
|
|
772
|
+
readonly "@eslint-react/no-create-ref": "error";
|
|
773
|
+
readonly "@eslint-react/no-default-props": "error";
|
|
774
|
+
readonly "@eslint-react/no-direct-mutation-state": "error";
|
|
775
|
+
readonly "@eslint-react/no-duplicate-key": "error";
|
|
776
|
+
readonly "@eslint-react/no-forward-ref": "warn";
|
|
777
|
+
readonly "@eslint-react/no-implicit-key": "warn";
|
|
778
|
+
readonly "@eslint-react/no-missing-key": "error";
|
|
779
|
+
readonly "@eslint-react/no-nested-component-definitions": "error";
|
|
780
|
+
readonly "@eslint-react/no-nested-lazy-component-declarations": "error";
|
|
781
|
+
readonly "@eslint-react/no-prop-types": "error";
|
|
782
|
+
readonly "@eslint-react/no-redundant-should-component-update": "error";
|
|
783
|
+
readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
|
|
784
|
+
readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
|
|
785
|
+
readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
|
|
786
|
+
readonly "@eslint-react/no-string-refs": "error";
|
|
787
|
+
readonly "@eslint-react/no-unnecessary-use-prefix": "warn";
|
|
788
|
+
readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
|
|
789
|
+
readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
|
|
790
|
+
readonly "@eslint-react/no-unsafe-component-will-update": "warn";
|
|
791
|
+
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
792
|
+
readonly "@eslint-react/no-use-context": "warn";
|
|
793
|
+
readonly "@eslint-react/no-useless-forward-ref": "warn";
|
|
454
794
|
readonly "@eslint-react/prefer-use-state-lazy-initialization": "warn";
|
|
455
795
|
};
|
|
456
796
|
declare const plugins$3: {
|
|
@@ -564,10 +904,10 @@ declare const settings$3: {
|
|
|
564
904
|
readonly polymorphicPropName: "as";
|
|
565
905
|
};
|
|
566
906
|
};
|
|
567
|
-
declare namespace
|
|
907
|
+
declare namespace strict_type_checked_d_exports {
|
|
568
908
|
export { name$2 as name, plugins$2 as plugins, rules$2 as rules, settings$2 as settings };
|
|
569
909
|
}
|
|
570
|
-
declare const name$2 = "@eslint-react/
|
|
910
|
+
declare const name$2 = "@eslint-react/strict-type-checked";
|
|
571
911
|
declare const rules$2: {
|
|
572
912
|
readonly "@eslint-react/no-leaked-conditional-rendering": "warn";
|
|
573
913
|
readonly "@eslint-react/no-unused-props": "warn";
|
|
@@ -588,30 +928,24 @@ declare const rules$2: {
|
|
|
588
928
|
readonly "@eslint-react/dom/no-find-dom-node": "error";
|
|
589
929
|
readonly "@eslint-react/dom/no-flush-sync": "error";
|
|
590
930
|
readonly "@eslint-react/dom/no-hydrate": "error";
|
|
591
|
-
readonly "@eslint-react/dom/no-missing-button-type": "
|
|
592
|
-
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "
|
|
931
|
+
readonly "@eslint-react/dom/no-missing-button-type": "off";
|
|
932
|
+
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "off";
|
|
593
933
|
readonly "@eslint-react/dom/no-namespace": "error";
|
|
594
934
|
readonly "@eslint-react/dom/no-render": "error";
|
|
595
935
|
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
596
936
|
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
597
937
|
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
598
|
-
readonly "@eslint-react/dom/no-unsafe-target-blank": "
|
|
938
|
+
readonly "@eslint-react/dom/no-unsafe-target-blank": "off";
|
|
599
939
|
readonly "@eslint-react/dom/no-use-form-state": "error";
|
|
600
940
|
readonly "@eslint-react/dom/no-void-elements-with-children": "error";
|
|
601
941
|
readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
|
|
602
|
-
readonly "@eslint-react/jsx-no-iife": "off";
|
|
603
|
-
readonly "@eslint-react/jsx-no-undef": "off";
|
|
604
|
-
readonly "@eslint-react/jsx-shorthand-boolean": "off";
|
|
605
|
-
readonly "@eslint-react/jsx-shorthand-fragment": "off";
|
|
606
942
|
readonly "@eslint-react/no-access-state-in-setstate": "error";
|
|
607
943
|
readonly "@eslint-react/no-array-index-key": "warn";
|
|
608
944
|
readonly "@eslint-react/no-children-count": "warn";
|
|
609
945
|
readonly "@eslint-react/no-children-for-each": "warn";
|
|
610
946
|
readonly "@eslint-react/no-children-map": "warn";
|
|
611
947
|
readonly "@eslint-react/no-children-only": "warn";
|
|
612
|
-
readonly "@eslint-react/no-children-prop": "off";
|
|
613
948
|
readonly "@eslint-react/no-children-to-array": "warn";
|
|
614
|
-
readonly "@eslint-react/no-class-component": "off";
|
|
615
949
|
readonly "@eslint-react/no-clone-element": "warn";
|
|
616
950
|
readonly "@eslint-react/no-component-will-mount": "error";
|
|
617
951
|
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
@@ -621,13 +955,9 @@ declare const rules$2: {
|
|
|
621
955
|
readonly "@eslint-react/no-default-props": "error";
|
|
622
956
|
readonly "@eslint-react/no-direct-mutation-state": "error";
|
|
623
957
|
readonly "@eslint-react/no-duplicate-key": "error";
|
|
624
|
-
readonly "@eslint-react/no-forbidden-props": "off";
|
|
625
958
|
readonly "@eslint-react/no-forward-ref": "warn";
|
|
626
959
|
readonly "@eslint-react/no-implicit-key": "warn";
|
|
627
|
-
readonly "@eslint-react/no-missing-component-display-name": "off";
|
|
628
|
-
readonly "@eslint-react/no-missing-context-display-name": "off";
|
|
629
960
|
readonly "@eslint-react/no-missing-key": "error";
|
|
630
|
-
readonly "@eslint-react/no-misused-capture-owner-stack": "off";
|
|
631
961
|
readonly "@eslint-react/no-nested-component-definitions": "error";
|
|
632
962
|
readonly "@eslint-react/no-nested-lazy-component-declarations": "error";
|
|
633
963
|
readonly "@eslint-react/no-prop-types": "error";
|
|
@@ -636,24 +966,27 @@ declare const rules$2: {
|
|
|
636
966
|
readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
|
|
637
967
|
readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
|
|
638
968
|
readonly "@eslint-react/no-string-refs": "error";
|
|
639
|
-
readonly "@eslint-react/no-unnecessary-key": "off";
|
|
640
|
-
readonly "@eslint-react/no-unnecessary-use-callback": "off";
|
|
641
|
-
readonly "@eslint-react/no-unnecessary-use-memo": "off";
|
|
642
969
|
readonly "@eslint-react/no-unnecessary-use-prefix": "warn";
|
|
643
970
|
readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
|
|
644
971
|
readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
|
|
645
972
|
readonly "@eslint-react/no-unsafe-component-will-update": "warn";
|
|
646
|
-
readonly "@eslint-react/no-unstable-context-value": "warn";
|
|
647
|
-
readonly "@eslint-react/no-unstable-default-props": "warn";
|
|
648
973
|
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
649
|
-
readonly "@eslint-react/no-unused-state": "warn";
|
|
650
974
|
readonly "@eslint-react/no-use-context": "warn";
|
|
651
975
|
readonly "@eslint-react/no-useless-forward-ref": "warn";
|
|
652
|
-
readonly "@eslint-react/no-useless-fragment": "off";
|
|
653
|
-
readonly "@eslint-react/prefer-destructuring-assignment": "off";
|
|
654
|
-
readonly "@eslint-react/prefer-namespace-import": "off";
|
|
655
|
-
readonly "@eslint-react/prefer-read-only-props": "off";
|
|
656
976
|
readonly "@eslint-react/prefer-use-state-lazy-initialization": "warn";
|
|
977
|
+
readonly "@eslint-react/jsx-no-iife": "error";
|
|
978
|
+
readonly "@eslint-react/jsx-no-undef": "error";
|
|
979
|
+
readonly "@eslint-react/no-children-prop": "warn";
|
|
980
|
+
readonly "@eslint-react/no-class-component": "error";
|
|
981
|
+
readonly "@eslint-react/no-misused-capture-owner-stack": "error";
|
|
982
|
+
readonly "@eslint-react/no-unnecessary-key": "warn";
|
|
983
|
+
readonly "@eslint-react/no-unnecessary-use-callback": "warn";
|
|
984
|
+
readonly "@eslint-react/no-unnecessary-use-memo": "warn";
|
|
985
|
+
readonly "@eslint-react/no-unstable-context-value": "warn";
|
|
986
|
+
readonly "@eslint-react/no-unstable-default-props": "warn";
|
|
987
|
+
readonly "@eslint-react/no-unused-state": "warn";
|
|
988
|
+
readonly "@eslint-react/no-useless-fragment": "warn";
|
|
989
|
+
readonly "@eslint-react/prefer-destructuring-assignment": "warn";
|
|
657
990
|
};
|
|
658
991
|
declare const plugins$2: {
|
|
659
992
|
"@eslint-react/debug": {
|
|
@@ -766,10 +1099,10 @@ declare const settings$2: {
|
|
|
766
1099
|
readonly polymorphicPropName: "as";
|
|
767
1100
|
};
|
|
768
1101
|
};
|
|
769
|
-
declare namespace
|
|
1102
|
+
declare namespace strict_typescript_d_exports {
|
|
770
1103
|
export { name$1 as name, plugins$1 as plugins, rules$1 as rules, settings$1 as settings };
|
|
771
1104
|
}
|
|
772
|
-
declare const name$1 = "@eslint-react/
|
|
1105
|
+
declare const name$1 = "@eslint-react/strict-typescript";
|
|
773
1106
|
declare const rules$1: {
|
|
774
1107
|
readonly "@eslint-react/dom/no-string-style-prop": "off";
|
|
775
1108
|
readonly "@eslint-react/dom/no-unknown-property": "off";
|
|
@@ -788,30 +1121,24 @@ declare const rules$1: {
|
|
|
788
1121
|
readonly "@eslint-react/dom/no-find-dom-node": "error";
|
|
789
1122
|
readonly "@eslint-react/dom/no-flush-sync": "error";
|
|
790
1123
|
readonly "@eslint-react/dom/no-hydrate": "error";
|
|
791
|
-
readonly "@eslint-react/dom/no-missing-button-type": "
|
|
792
|
-
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "
|
|
1124
|
+
readonly "@eslint-react/dom/no-missing-button-type": "off";
|
|
1125
|
+
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "off";
|
|
793
1126
|
readonly "@eslint-react/dom/no-namespace": "error";
|
|
794
1127
|
readonly "@eslint-react/dom/no-render": "error";
|
|
795
1128
|
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
796
1129
|
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
797
1130
|
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
798
|
-
readonly "@eslint-react/dom/no-unsafe-target-blank": "
|
|
1131
|
+
readonly "@eslint-react/dom/no-unsafe-target-blank": "off";
|
|
799
1132
|
readonly "@eslint-react/dom/no-use-form-state": "error";
|
|
800
1133
|
readonly "@eslint-react/dom/no-void-elements-with-children": "error";
|
|
801
1134
|
readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
|
|
802
|
-
readonly "@eslint-react/jsx-no-iife": "off";
|
|
803
|
-
readonly "@eslint-react/jsx-no-undef": "off";
|
|
804
|
-
readonly "@eslint-react/jsx-shorthand-boolean": "off";
|
|
805
|
-
readonly "@eslint-react/jsx-shorthand-fragment": "off";
|
|
806
1135
|
readonly "@eslint-react/no-access-state-in-setstate": "error";
|
|
807
1136
|
readonly "@eslint-react/no-array-index-key": "warn";
|
|
808
1137
|
readonly "@eslint-react/no-children-count": "warn";
|
|
809
1138
|
readonly "@eslint-react/no-children-for-each": "warn";
|
|
810
1139
|
readonly "@eslint-react/no-children-map": "warn";
|
|
811
1140
|
readonly "@eslint-react/no-children-only": "warn";
|
|
812
|
-
readonly "@eslint-react/no-children-prop": "off";
|
|
813
1141
|
readonly "@eslint-react/no-children-to-array": "warn";
|
|
814
|
-
readonly "@eslint-react/no-class-component": "off";
|
|
815
1142
|
readonly "@eslint-react/no-clone-element": "warn";
|
|
816
1143
|
readonly "@eslint-react/no-component-will-mount": "error";
|
|
817
1144
|
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
@@ -821,14 +1148,9 @@ declare const rules$1: {
|
|
|
821
1148
|
readonly "@eslint-react/no-default-props": "error";
|
|
822
1149
|
readonly "@eslint-react/no-direct-mutation-state": "error";
|
|
823
1150
|
readonly "@eslint-react/no-duplicate-key": "error";
|
|
824
|
-
readonly "@eslint-react/no-forbidden-props": "off";
|
|
825
1151
|
readonly "@eslint-react/no-forward-ref": "warn";
|
|
826
1152
|
readonly "@eslint-react/no-implicit-key": "warn";
|
|
827
|
-
readonly "@eslint-react/no-leaked-conditional-rendering": "off";
|
|
828
|
-
readonly "@eslint-react/no-missing-component-display-name": "off";
|
|
829
|
-
readonly "@eslint-react/no-missing-context-display-name": "off";
|
|
830
1153
|
readonly "@eslint-react/no-missing-key": "error";
|
|
831
|
-
readonly "@eslint-react/no-misused-capture-owner-stack": "off";
|
|
832
1154
|
readonly "@eslint-react/no-nested-component-definitions": "error";
|
|
833
1155
|
readonly "@eslint-react/no-nested-lazy-component-declarations": "error";
|
|
834
1156
|
readonly "@eslint-react/no-prop-types": "error";
|
|
@@ -837,25 +1159,28 @@ declare const rules$1: {
|
|
|
837
1159
|
readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
|
|
838
1160
|
readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
|
|
839
1161
|
readonly "@eslint-react/no-string-refs": "error";
|
|
840
|
-
readonly "@eslint-react/no-unnecessary-key": "off";
|
|
841
|
-
readonly "@eslint-react/no-unnecessary-use-callback": "off";
|
|
842
|
-
readonly "@eslint-react/no-unnecessary-use-memo": "off";
|
|
843
1162
|
readonly "@eslint-react/no-unnecessary-use-prefix": "warn";
|
|
844
1163
|
readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
|
|
845
1164
|
readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
|
|
846
1165
|
readonly "@eslint-react/no-unsafe-component-will-update": "warn";
|
|
847
|
-
readonly "@eslint-react/no-unstable-context-value": "warn";
|
|
848
|
-
readonly "@eslint-react/no-unstable-default-props": "warn";
|
|
849
1166
|
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
850
|
-
readonly "@eslint-react/no-unused-props": "off";
|
|
851
|
-
readonly "@eslint-react/no-unused-state": "warn";
|
|
852
1167
|
readonly "@eslint-react/no-use-context": "warn";
|
|
853
1168
|
readonly "@eslint-react/no-useless-forward-ref": "warn";
|
|
854
|
-
readonly "@eslint-react/no-useless-fragment": "off";
|
|
855
|
-
readonly "@eslint-react/prefer-destructuring-assignment": "off";
|
|
856
|
-
readonly "@eslint-react/prefer-namespace-import": "off";
|
|
857
|
-
readonly "@eslint-react/prefer-read-only-props": "off";
|
|
858
1169
|
readonly "@eslint-react/prefer-use-state-lazy-initialization": "warn";
|
|
1170
|
+
readonly "@eslint-react/jsx-no-iife": "error";
|
|
1171
|
+
readonly "@eslint-react/jsx-no-undef": "error";
|
|
1172
|
+
readonly "@eslint-react/no-children-prop": "warn";
|
|
1173
|
+
readonly "@eslint-react/no-class-component": "error";
|
|
1174
|
+
readonly "@eslint-react/no-misused-capture-owner-stack": "error";
|
|
1175
|
+
readonly "@eslint-react/no-unnecessary-key": "warn";
|
|
1176
|
+
readonly "@eslint-react/no-unnecessary-use-callback": "warn";
|
|
1177
|
+
readonly "@eslint-react/no-unnecessary-use-memo": "warn";
|
|
1178
|
+
readonly "@eslint-react/no-unstable-context-value": "warn";
|
|
1179
|
+
readonly "@eslint-react/no-unstable-default-props": "warn";
|
|
1180
|
+
readonly "@eslint-react/no-unused-props": "warn";
|
|
1181
|
+
readonly "@eslint-react/no-unused-state": "warn";
|
|
1182
|
+
readonly "@eslint-react/no-useless-fragment": "warn";
|
|
1183
|
+
readonly "@eslint-react/prefer-destructuring-assignment": "warn";
|
|
859
1184
|
};
|
|
860
1185
|
declare const plugins$1: {
|
|
861
1186
|
"@eslint-react/debug": {
|
|
@@ -975,10 +1300,6 @@ declare const name = "@eslint-react/x";
|
|
|
975
1300
|
declare const rules: {
|
|
976
1301
|
readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
|
|
977
1302
|
readonly "@eslint-react/jsx-no-duplicate-props": "warn";
|
|
978
|
-
readonly "@eslint-react/jsx-no-iife": "off";
|
|
979
|
-
readonly "@eslint-react/jsx-no-undef": "off";
|
|
980
|
-
readonly "@eslint-react/jsx-shorthand-boolean": "off";
|
|
981
|
-
readonly "@eslint-react/jsx-shorthand-fragment": "off";
|
|
982
1303
|
readonly "@eslint-react/jsx-uses-react": "warn";
|
|
983
1304
|
readonly "@eslint-react/jsx-uses-vars": "warn";
|
|
984
1305
|
readonly "@eslint-react/no-access-state-in-setstate": "error";
|
|
@@ -987,9 +1308,7 @@ declare const rules: {
|
|
|
987
1308
|
readonly "@eslint-react/no-children-for-each": "warn";
|
|
988
1309
|
readonly "@eslint-react/no-children-map": "warn";
|
|
989
1310
|
readonly "@eslint-react/no-children-only": "warn";
|
|
990
|
-
readonly "@eslint-react/no-children-prop": "off";
|
|
991
1311
|
readonly "@eslint-react/no-children-to-array": "warn";
|
|
992
|
-
readonly "@eslint-react/no-class-component": "off";
|
|
993
1312
|
readonly "@eslint-react/no-clone-element": "warn";
|
|
994
1313
|
readonly "@eslint-react/no-component-will-mount": "error";
|
|
995
1314
|
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
@@ -999,14 +1318,9 @@ declare const rules: {
|
|
|
999
1318
|
readonly "@eslint-react/no-default-props": "error";
|
|
1000
1319
|
readonly "@eslint-react/no-direct-mutation-state": "error";
|
|
1001
1320
|
readonly "@eslint-react/no-duplicate-key": "error";
|
|
1002
|
-
readonly "@eslint-react/no-forbidden-props": "off";
|
|
1003
1321
|
readonly "@eslint-react/no-forward-ref": "warn";
|
|
1004
1322
|
readonly "@eslint-react/no-implicit-key": "warn";
|
|
1005
|
-
readonly "@eslint-react/no-leaked-conditional-rendering": "off";
|
|
1006
|
-
readonly "@eslint-react/no-missing-component-display-name": "off";
|
|
1007
|
-
readonly "@eslint-react/no-missing-context-display-name": "off";
|
|
1008
1323
|
readonly "@eslint-react/no-missing-key": "error";
|
|
1009
|
-
readonly "@eslint-react/no-misused-capture-owner-stack": "off";
|
|
1010
1324
|
readonly "@eslint-react/no-nested-component-definitions": "error";
|
|
1011
1325
|
readonly "@eslint-react/no-nested-lazy-component-declarations": "error";
|
|
1012
1326
|
readonly "@eslint-react/no-prop-types": "error";
|
|
@@ -1015,24 +1329,13 @@ declare const rules: {
|
|
|
1015
1329
|
readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
|
|
1016
1330
|
readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
|
|
1017
1331
|
readonly "@eslint-react/no-string-refs": "error";
|
|
1018
|
-
readonly "@eslint-react/no-unnecessary-key": "off";
|
|
1019
|
-
readonly "@eslint-react/no-unnecessary-use-callback": "off";
|
|
1020
|
-
readonly "@eslint-react/no-unnecessary-use-memo": "off";
|
|
1021
1332
|
readonly "@eslint-react/no-unnecessary-use-prefix": "warn";
|
|
1022
1333
|
readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
|
|
1023
1334
|
readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
|
|
1024
1335
|
readonly "@eslint-react/no-unsafe-component-will-update": "warn";
|
|
1025
|
-
readonly "@eslint-react/no-unstable-context-value": "warn";
|
|
1026
|
-
readonly "@eslint-react/no-unstable-default-props": "warn";
|
|
1027
1336
|
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
1028
|
-
readonly "@eslint-react/no-unused-props": "off";
|
|
1029
|
-
readonly "@eslint-react/no-unused-state": "warn";
|
|
1030
1337
|
readonly "@eslint-react/no-use-context": "warn";
|
|
1031
1338
|
readonly "@eslint-react/no-useless-forward-ref": "warn";
|
|
1032
|
-
readonly "@eslint-react/no-useless-fragment": "off";
|
|
1033
|
-
readonly "@eslint-react/prefer-destructuring-assignment": "off";
|
|
1034
|
-
readonly "@eslint-react/prefer-namespace-import": "off";
|
|
1035
|
-
readonly "@eslint-react/prefer-read-only-props": "off";
|
|
1036
1339
|
readonly "@eslint-react/prefer-use-state-lazy-initialization": "warn";
|
|
1037
1340
|
};
|
|
1038
1341
|
declare const plugins: {
|
|
@@ -1129,6 +1432,14 @@ declare const _default: {
|
|
|
1129
1432
|
* Same as the `recommended` preset but disables rules that can be enforced by TypeScript
|
|
1130
1433
|
*/
|
|
1131
1434
|
"recommended-typescript": typeof recommended_typescript_d_exports;
|
|
1435
|
+
/**
|
|
1436
|
+
* More strict version of the `recommended-type-checked` preset
|
|
1437
|
+
*/
|
|
1438
|
+
"strict-type-checked": typeof strict_type_checked_d_exports;
|
|
1439
|
+
/**
|
|
1440
|
+
* More strict version of the `recommended-typescript` preset
|
|
1441
|
+
*/
|
|
1442
|
+
"strict-typescript": typeof strict_typescript_d_exports;
|
|
1132
1443
|
/**
|
|
1133
1444
|
* Enable rules for `"react"`
|
|
1134
1445
|
*/
|