@eslint-react/eslint-plugin 2.1.0-next.3 → 2.1.0-next.5
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 +489 -140
- package/dist/index.js +162 -116
- package/package.json +12 -12
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: {
|
|
@@ -167,6 +167,12 @@ declare const plugins$7: {
|
|
|
167
167
|
rules?: Record<string, RuleConfig>;
|
|
168
168
|
settings?: _eslint_react_kit4.SettingsConfig;
|
|
169
169
|
};
|
|
170
|
+
strict: {
|
|
171
|
+
plugins: {};
|
|
172
|
+
name?: string;
|
|
173
|
+
rules?: Record<string, RuleConfig>;
|
|
174
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
175
|
+
};
|
|
170
176
|
};
|
|
171
177
|
meta: {
|
|
172
178
|
name: string;
|
|
@@ -202,7 +208,7 @@ declare const plugins$7: {
|
|
|
202
208
|
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
203
209
|
};
|
|
204
210
|
};
|
|
205
|
-
declare const settings$
|
|
211
|
+
declare const settings$6: {
|
|
206
212
|
"react-x": {
|
|
207
213
|
readonly version: "detect";
|
|
208
214
|
readonly importSource: "react";
|
|
@@ -210,17 +216,17 @@ declare const settings$4: {
|
|
|
210
216
|
};
|
|
211
217
|
};
|
|
212
218
|
declare namespace debug_d_exports {
|
|
213
|
-
export { name$
|
|
219
|
+
export { name$14 as name, plugins$8 as plugins, rules$14 as rules };
|
|
214
220
|
}
|
|
215
|
-
declare const name$
|
|
216
|
-
declare const rules$
|
|
221
|
+
declare const name$14 = "@eslint-react/debug";
|
|
222
|
+
declare const rules$14: {
|
|
217
223
|
readonly "@eslint-react/debug/class-component": "warn";
|
|
218
224
|
readonly "@eslint-react/debug/function-component": "warn";
|
|
219
225
|
readonly "@eslint-react/debug/hook": "warn";
|
|
220
226
|
readonly "@eslint-react/debug/is-from-react": "warn";
|
|
221
227
|
readonly "@eslint-react/debug/jsx": "warn";
|
|
222
228
|
};
|
|
223
|
-
declare const plugins$
|
|
229
|
+
declare const plugins$8: {
|
|
224
230
|
"@eslint-react/debug": {
|
|
225
231
|
configs: {
|
|
226
232
|
all: {
|
|
@@ -238,52 +244,49 @@ declare const plugins$6: {
|
|
|
238
244
|
};
|
|
239
245
|
};
|
|
240
246
|
declare namespace disable_conflict_eslint_plugin_react_d_exports {
|
|
241
|
-
export { name$
|
|
247
|
+
export { name$13 as name, rules$13 as rules };
|
|
242
248
|
}
|
|
243
|
-
declare const name$
|
|
244
|
-
declare const rules$
|
|
249
|
+
declare const name$13 = "@eslint-react/disable-conflict-eslint-plugin-react";
|
|
250
|
+
declare const rules$13: Record<string, RuleConfig>;
|
|
245
251
|
declare namespace disable_debug_d_exports {
|
|
246
|
-
export { name$
|
|
252
|
+
export { name$12 as name, rules$12 as rules };
|
|
247
253
|
}
|
|
248
|
-
declare const name$
|
|
249
|
-
declare const rules$
|
|
254
|
+
declare const name$12 = "@eslint-react/disable-debug";
|
|
255
|
+
declare const rules$12: Record<string, RuleConfig>;
|
|
250
256
|
declare namespace disable_dom_d_exports {
|
|
251
|
-
export { name$
|
|
257
|
+
export { name$11 as name, rules$11 as rules };
|
|
252
258
|
}
|
|
253
|
-
declare const name$
|
|
254
|
-
declare const rules$
|
|
259
|
+
declare const name$11 = "@eslint-react/disable-dom";
|
|
260
|
+
declare const rules$11: Record<string, RuleConfig>;
|
|
255
261
|
declare namespace disable_type_checked_d_exports {
|
|
256
|
-
export { name$
|
|
262
|
+
export { name$10 as name, rules$10 as rules };
|
|
257
263
|
}
|
|
258
|
-
declare const name$
|
|
259
|
-
declare const rules$
|
|
264
|
+
declare const name$10 = "@eslint-react/disable-type-checked";
|
|
265
|
+
declare const rules$10: Record<string, RuleConfig>;
|
|
260
266
|
declare namespace disable_web_api_d_exports {
|
|
261
|
-
export { name$
|
|
267
|
+
export { name$9 as name, rules$9 as rules };
|
|
262
268
|
}
|
|
263
|
-
declare const name$
|
|
264
|
-
declare const rules$
|
|
269
|
+
declare const name$9 = "@eslint-react/disable-web-api";
|
|
270
|
+
declare const rules$9: Record<string, RuleConfig>;
|
|
265
271
|
declare namespace dom_d_exports {
|
|
266
|
-
export { name$
|
|
272
|
+
export { name$8 as name, plugins$7 as plugins, rules$8 as rules };
|
|
267
273
|
}
|
|
268
|
-
declare const name$
|
|
269
|
-
declare const rules$
|
|
274
|
+
declare const name$8 = "@eslint-react/dom";
|
|
275
|
+
declare const rules$8: {
|
|
270
276
|
readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
|
|
271
277
|
readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
|
|
272
278
|
readonly "@eslint-react/dom/no-find-dom-node": "error";
|
|
273
279
|
readonly "@eslint-react/dom/no-flush-sync": "error";
|
|
274
280
|
readonly "@eslint-react/dom/no-hydrate": "error";
|
|
275
|
-
readonly "@eslint-react/dom/no-missing-button-type": "warn";
|
|
276
|
-
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "warn";
|
|
277
281
|
readonly "@eslint-react/dom/no-namespace": "error";
|
|
278
282
|
readonly "@eslint-react/dom/no-render": "error";
|
|
279
283
|
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
280
284
|
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
281
285
|
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
282
|
-
readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
|
|
283
286
|
readonly "@eslint-react/dom/no-use-form-state": "error";
|
|
284
287
|
readonly "@eslint-react/dom/no-void-elements-with-children": "error";
|
|
285
288
|
};
|
|
286
|
-
declare const plugins$
|
|
289
|
+
declare const plugins$7: {
|
|
287
290
|
"@eslint-react/dom": {
|
|
288
291
|
configs: {
|
|
289
292
|
recommended: {
|
|
@@ -292,6 +295,12 @@ declare const plugins$5: {
|
|
|
292
295
|
rules?: Record<string, RuleConfig>;
|
|
293
296
|
settings?: _eslint_react_kit4.SettingsConfig;
|
|
294
297
|
};
|
|
298
|
+
strict: {
|
|
299
|
+
plugins: {};
|
|
300
|
+
name?: string;
|
|
301
|
+
rules?: Record<string, RuleConfig>;
|
|
302
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
303
|
+
};
|
|
295
304
|
};
|
|
296
305
|
meta: {
|
|
297
306
|
name: string;
|
|
@@ -301,10 +310,10 @@ declare const plugins$5: {
|
|
|
301
310
|
};
|
|
302
311
|
};
|
|
303
312
|
declare namespace no_deprecated_d_exports {
|
|
304
|
-
export { name$
|
|
313
|
+
export { name$7 as name, plugins$6 as plugins, rules$7 as rules };
|
|
305
314
|
}
|
|
306
|
-
declare const name$
|
|
307
|
-
declare const rules$
|
|
315
|
+
declare const name$7 = "@eslint-react/no-deprecated";
|
|
316
|
+
declare const rules$7: {
|
|
308
317
|
readonly "@eslint-react/no-component-will-mount": "error";
|
|
309
318
|
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
310
319
|
readonly "@eslint-react/no-component-will-update": "error";
|
|
@@ -315,7 +324,7 @@ declare const rules$5: {
|
|
|
315
324
|
readonly "@eslint-react/dom/no-render": "error";
|
|
316
325
|
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
317
326
|
};
|
|
318
|
-
declare const plugins$
|
|
327
|
+
declare const plugins$6: {
|
|
319
328
|
"@eslint-react/dom": {
|
|
320
329
|
configs: {
|
|
321
330
|
recommended: {
|
|
@@ -324,6 +333,12 @@ declare const plugins$4: {
|
|
|
324
333
|
rules?: Record<string, RuleConfig>;
|
|
325
334
|
settings?: _eslint_react_kit4.SettingsConfig;
|
|
326
335
|
};
|
|
336
|
+
strict: {
|
|
337
|
+
plugins: {};
|
|
338
|
+
name?: string;
|
|
339
|
+
rules?: Record<string, RuleConfig>;
|
|
340
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
341
|
+
};
|
|
327
342
|
};
|
|
328
343
|
meta: {
|
|
329
344
|
name: string;
|
|
@@ -360,15 +375,15 @@ declare const plugins$4: {
|
|
|
360
375
|
};
|
|
361
376
|
};
|
|
362
377
|
declare namespace off_d_exports {
|
|
363
|
-
export { name$
|
|
378
|
+
export { name$6 as name, rules$6 as rules };
|
|
364
379
|
}
|
|
365
|
-
declare const name$
|
|
366
|
-
declare const rules$
|
|
380
|
+
declare const name$6 = "@eslint-react/off";
|
|
381
|
+
declare const rules$6: Record<string, RuleConfig>;
|
|
367
382
|
declare namespace recommended_d_exports {
|
|
368
|
-
export { name$
|
|
383
|
+
export { name$5 as name, plugins$5 as plugins, rules$5 as rules, settings$5 as settings };
|
|
369
384
|
}
|
|
370
|
-
declare const name$
|
|
371
|
-
declare const rules$
|
|
385
|
+
declare const name$5 = "@eslint-react/recommended";
|
|
386
|
+
declare const rules$5: {
|
|
372
387
|
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
373
388
|
readonly "@eslint-react/naming-convention/context-name": "warn";
|
|
374
389
|
readonly "@eslint-react/naming-convention/use-state": "warn";
|
|
@@ -381,22 +396,15 @@ declare const rules$3: {
|
|
|
381
396
|
readonly "@eslint-react/dom/no-find-dom-node": "error";
|
|
382
397
|
readonly "@eslint-react/dom/no-flush-sync": "error";
|
|
383
398
|
readonly "@eslint-react/dom/no-hydrate": "error";
|
|
384
|
-
readonly "@eslint-react/dom/no-missing-button-type": "warn";
|
|
385
|
-
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "warn";
|
|
386
399
|
readonly "@eslint-react/dom/no-namespace": "error";
|
|
387
400
|
readonly "@eslint-react/dom/no-render": "error";
|
|
388
401
|
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
389
402
|
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
390
403
|
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
391
|
-
readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
|
|
392
404
|
readonly "@eslint-react/dom/no-use-form-state": "error";
|
|
393
405
|
readonly "@eslint-react/dom/no-void-elements-with-children": "error";
|
|
394
406
|
readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
|
|
395
407
|
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
408
|
readonly "@eslint-react/jsx-uses-react": "warn";
|
|
401
409
|
readonly "@eslint-react/jsx-uses-vars": "warn";
|
|
402
410
|
readonly "@eslint-react/no-access-state-in-setstate": "error";
|
|
@@ -405,9 +413,7 @@ declare const rules$3: {
|
|
|
405
413
|
readonly "@eslint-react/no-children-for-each": "warn";
|
|
406
414
|
readonly "@eslint-react/no-children-map": "warn";
|
|
407
415
|
readonly "@eslint-react/no-children-only": "warn";
|
|
408
|
-
readonly "@eslint-react/no-children-prop": "off";
|
|
409
416
|
readonly "@eslint-react/no-children-to-array": "warn";
|
|
410
|
-
readonly "@eslint-react/no-class-component": "off";
|
|
411
417
|
readonly "@eslint-react/no-clone-element": "warn";
|
|
412
418
|
readonly "@eslint-react/no-component-will-mount": "error";
|
|
413
419
|
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
@@ -417,14 +423,9 @@ declare const rules$3: {
|
|
|
417
423
|
readonly "@eslint-react/no-default-props": "error";
|
|
418
424
|
readonly "@eslint-react/no-direct-mutation-state": "error";
|
|
419
425
|
readonly "@eslint-react/no-duplicate-key": "error";
|
|
420
|
-
readonly "@eslint-react/no-forbidden-props": "off";
|
|
421
426
|
readonly "@eslint-react/no-forward-ref": "warn";
|
|
422
427
|
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
428
|
readonly "@eslint-react/no-missing-key": "error";
|
|
427
|
-
readonly "@eslint-react/no-misused-capture-owner-stack": "off";
|
|
428
429
|
readonly "@eslint-react/no-nested-component-definitions": "error";
|
|
429
430
|
readonly "@eslint-react/no-nested-lazy-component-declarations": "error";
|
|
430
431
|
readonly "@eslint-react/no-prop-types": "error";
|
|
@@ -433,24 +434,383 @@ declare const rules$3: {
|
|
|
433
434
|
readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
|
|
434
435
|
readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
|
|
435
436
|
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
437
|
readonly "@eslint-react/no-unnecessary-use-prefix": "warn";
|
|
440
438
|
readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
|
|
441
439
|
readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
|
|
442
440
|
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
441
|
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
442
|
readonly "@eslint-react/no-use-context": "warn";
|
|
449
443
|
readonly "@eslint-react/no-useless-forward-ref": "warn";
|
|
450
|
-
readonly "@eslint-react/
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
444
|
+
readonly "@eslint-react/prefer-use-state-lazy-initialization": "warn";
|
|
445
|
+
};
|
|
446
|
+
declare const plugins$5: {
|
|
447
|
+
"@eslint-react/debug": {
|
|
448
|
+
configs: {
|
|
449
|
+
all: {
|
|
450
|
+
plugins: {};
|
|
451
|
+
name?: string;
|
|
452
|
+
rules?: Record<string, RuleConfig>;
|
|
453
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
454
|
+
};
|
|
455
|
+
};
|
|
456
|
+
meta: {
|
|
457
|
+
name: string;
|
|
458
|
+
version: string;
|
|
459
|
+
};
|
|
460
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
461
|
+
};
|
|
462
|
+
"@eslint-react/hooks-extra": {
|
|
463
|
+
configs: {
|
|
464
|
+
recommended: {
|
|
465
|
+
plugins: {};
|
|
466
|
+
name?: string;
|
|
467
|
+
rules?: Record<string, RuleConfig>;
|
|
468
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
469
|
+
};
|
|
470
|
+
};
|
|
471
|
+
meta: {
|
|
472
|
+
name: string;
|
|
473
|
+
version: string;
|
|
474
|
+
};
|
|
475
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
476
|
+
};
|
|
477
|
+
"@eslint-react/naming-convention": {
|
|
478
|
+
configs: {
|
|
479
|
+
recommended: {
|
|
480
|
+
plugins: {};
|
|
481
|
+
name?: string;
|
|
482
|
+
rules?: Record<string, RuleConfig>;
|
|
483
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
484
|
+
};
|
|
485
|
+
};
|
|
486
|
+
meta: {
|
|
487
|
+
name: string;
|
|
488
|
+
version: string;
|
|
489
|
+
};
|
|
490
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
491
|
+
};
|
|
492
|
+
"@eslint-react/web-api": {
|
|
493
|
+
configs: {
|
|
494
|
+
recommended: {
|
|
495
|
+
plugins: {};
|
|
496
|
+
name?: string;
|
|
497
|
+
rules?: Record<string, RuleConfig>;
|
|
498
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
499
|
+
};
|
|
500
|
+
};
|
|
501
|
+
meta: {
|
|
502
|
+
name: string;
|
|
503
|
+
version: string;
|
|
504
|
+
};
|
|
505
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
506
|
+
};
|
|
507
|
+
"@eslint-react/dom": {
|
|
508
|
+
configs: {
|
|
509
|
+
recommended: {
|
|
510
|
+
plugins: {};
|
|
511
|
+
name?: string;
|
|
512
|
+
rules?: Record<string, RuleConfig>;
|
|
513
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
514
|
+
};
|
|
515
|
+
strict: {
|
|
516
|
+
plugins: {};
|
|
517
|
+
name?: string;
|
|
518
|
+
rules?: Record<string, RuleConfig>;
|
|
519
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
520
|
+
};
|
|
521
|
+
};
|
|
522
|
+
meta: {
|
|
523
|
+
name: string;
|
|
524
|
+
version: string;
|
|
525
|
+
};
|
|
526
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
527
|
+
};
|
|
528
|
+
"@eslint-react": {
|
|
529
|
+
configs: {
|
|
530
|
+
recommended: {
|
|
531
|
+
plugins: {};
|
|
532
|
+
name?: string;
|
|
533
|
+
rules?: Record<string, RuleConfig>;
|
|
534
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
535
|
+
};
|
|
536
|
+
"recommended-type-checked": {
|
|
537
|
+
plugins: {};
|
|
538
|
+
name?: string;
|
|
539
|
+
rules?: Record<string, RuleConfig>;
|
|
540
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
541
|
+
};
|
|
542
|
+
"recommended-typescript": {
|
|
543
|
+
plugins: {};
|
|
544
|
+
name?: string;
|
|
545
|
+
rules?: Record<string, RuleConfig>;
|
|
546
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
547
|
+
};
|
|
548
|
+
};
|
|
549
|
+
meta: {
|
|
550
|
+
name: string;
|
|
551
|
+
version: string;
|
|
552
|
+
};
|
|
553
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
554
|
+
};
|
|
555
|
+
};
|
|
556
|
+
declare const settings$5: {
|
|
557
|
+
"react-x": {
|
|
558
|
+
readonly version: "detect";
|
|
559
|
+
readonly importSource: "react";
|
|
560
|
+
readonly polymorphicPropName: "as";
|
|
561
|
+
};
|
|
562
|
+
};
|
|
563
|
+
declare namespace recommended_type_checked_d_exports {
|
|
564
|
+
export { name$4 as name, plugins$4 as plugins, rules$4 as rules, settings$4 as settings };
|
|
565
|
+
}
|
|
566
|
+
declare const name$4 = "@eslint-react/recommended-type-checked";
|
|
567
|
+
declare const rules$4: {
|
|
568
|
+
readonly "@eslint-react/no-leaked-conditional-rendering": "warn";
|
|
569
|
+
readonly "@eslint-react/no-unused-props": "warn";
|
|
570
|
+
readonly "@eslint-react/dom/no-string-style-prop": "off";
|
|
571
|
+
readonly "@eslint-react/dom/no-unknown-property": "off";
|
|
572
|
+
readonly "@eslint-react/jsx-no-duplicate-props": "off";
|
|
573
|
+
readonly "@eslint-react/jsx-no-undef": "off";
|
|
574
|
+
readonly "@eslint-react/jsx-uses-react": "off";
|
|
575
|
+
readonly "@eslint-react/jsx-uses-vars": "off";
|
|
576
|
+
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
577
|
+
readonly "@eslint-react/naming-convention/context-name": "warn";
|
|
578
|
+
readonly "@eslint-react/naming-convention/use-state": "warn";
|
|
579
|
+
readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
|
|
580
|
+
readonly "@eslint-react/web-api/no-leaked-interval": "warn";
|
|
581
|
+
readonly "@eslint-react/web-api/no-leaked-resize-observer": "warn";
|
|
582
|
+
readonly "@eslint-react/web-api/no-leaked-timeout": "warn";
|
|
583
|
+
readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
|
|
584
|
+
readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
|
|
585
|
+
readonly "@eslint-react/dom/no-find-dom-node": "error";
|
|
586
|
+
readonly "@eslint-react/dom/no-flush-sync": "error";
|
|
587
|
+
readonly "@eslint-react/dom/no-hydrate": "error";
|
|
588
|
+
readonly "@eslint-react/dom/no-namespace": "error";
|
|
589
|
+
readonly "@eslint-react/dom/no-render": "error";
|
|
590
|
+
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
591
|
+
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
592
|
+
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
593
|
+
readonly "@eslint-react/dom/no-use-form-state": "error";
|
|
594
|
+
readonly "@eslint-react/dom/no-void-elements-with-children": "error";
|
|
595
|
+
readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
|
|
596
|
+
readonly "@eslint-react/no-access-state-in-setstate": "error";
|
|
597
|
+
readonly "@eslint-react/no-array-index-key": "warn";
|
|
598
|
+
readonly "@eslint-react/no-children-count": "warn";
|
|
599
|
+
readonly "@eslint-react/no-children-for-each": "warn";
|
|
600
|
+
readonly "@eslint-react/no-children-map": "warn";
|
|
601
|
+
readonly "@eslint-react/no-children-only": "warn";
|
|
602
|
+
readonly "@eslint-react/no-children-to-array": "warn";
|
|
603
|
+
readonly "@eslint-react/no-clone-element": "warn";
|
|
604
|
+
readonly "@eslint-react/no-component-will-mount": "error";
|
|
605
|
+
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
606
|
+
readonly "@eslint-react/no-component-will-update": "error";
|
|
607
|
+
readonly "@eslint-react/no-context-provider": "warn";
|
|
608
|
+
readonly "@eslint-react/no-create-ref": "error";
|
|
609
|
+
readonly "@eslint-react/no-default-props": "error";
|
|
610
|
+
readonly "@eslint-react/no-direct-mutation-state": "error";
|
|
611
|
+
readonly "@eslint-react/no-duplicate-key": "error";
|
|
612
|
+
readonly "@eslint-react/no-forward-ref": "warn";
|
|
613
|
+
readonly "@eslint-react/no-implicit-key": "warn";
|
|
614
|
+
readonly "@eslint-react/no-missing-key": "error";
|
|
615
|
+
readonly "@eslint-react/no-nested-component-definitions": "error";
|
|
616
|
+
readonly "@eslint-react/no-nested-lazy-component-declarations": "error";
|
|
617
|
+
readonly "@eslint-react/no-prop-types": "error";
|
|
618
|
+
readonly "@eslint-react/no-redundant-should-component-update": "error";
|
|
619
|
+
readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
|
|
620
|
+
readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
|
|
621
|
+
readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
|
|
622
|
+
readonly "@eslint-react/no-string-refs": "error";
|
|
623
|
+
readonly "@eslint-react/no-unnecessary-use-prefix": "warn";
|
|
624
|
+
readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
|
|
625
|
+
readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
|
|
626
|
+
readonly "@eslint-react/no-unsafe-component-will-update": "warn";
|
|
627
|
+
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
628
|
+
readonly "@eslint-react/no-use-context": "warn";
|
|
629
|
+
readonly "@eslint-react/no-useless-forward-ref": "warn";
|
|
630
|
+
readonly "@eslint-react/prefer-use-state-lazy-initialization": "warn";
|
|
631
|
+
};
|
|
632
|
+
declare const plugins$4: {
|
|
633
|
+
"@eslint-react/debug": {
|
|
634
|
+
configs: {
|
|
635
|
+
all: {
|
|
636
|
+
plugins: {};
|
|
637
|
+
name?: string;
|
|
638
|
+
rules?: Record<string, RuleConfig>;
|
|
639
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
640
|
+
};
|
|
641
|
+
};
|
|
642
|
+
meta: {
|
|
643
|
+
name: string;
|
|
644
|
+
version: string;
|
|
645
|
+
};
|
|
646
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
647
|
+
};
|
|
648
|
+
"@eslint-react/hooks-extra": {
|
|
649
|
+
configs: {
|
|
650
|
+
recommended: {
|
|
651
|
+
plugins: {};
|
|
652
|
+
name?: string;
|
|
653
|
+
rules?: Record<string, RuleConfig>;
|
|
654
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
655
|
+
};
|
|
656
|
+
};
|
|
657
|
+
meta: {
|
|
658
|
+
name: string;
|
|
659
|
+
version: string;
|
|
660
|
+
};
|
|
661
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
662
|
+
};
|
|
663
|
+
"@eslint-react/naming-convention": {
|
|
664
|
+
configs: {
|
|
665
|
+
recommended: {
|
|
666
|
+
plugins: {};
|
|
667
|
+
name?: string;
|
|
668
|
+
rules?: Record<string, RuleConfig>;
|
|
669
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
670
|
+
};
|
|
671
|
+
};
|
|
672
|
+
meta: {
|
|
673
|
+
name: string;
|
|
674
|
+
version: string;
|
|
675
|
+
};
|
|
676
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
677
|
+
};
|
|
678
|
+
"@eslint-react/web-api": {
|
|
679
|
+
configs: {
|
|
680
|
+
recommended: {
|
|
681
|
+
plugins: {};
|
|
682
|
+
name?: string;
|
|
683
|
+
rules?: Record<string, RuleConfig>;
|
|
684
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
685
|
+
};
|
|
686
|
+
};
|
|
687
|
+
meta: {
|
|
688
|
+
name: string;
|
|
689
|
+
version: string;
|
|
690
|
+
};
|
|
691
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
692
|
+
};
|
|
693
|
+
"@eslint-react/dom": {
|
|
694
|
+
configs: {
|
|
695
|
+
recommended: {
|
|
696
|
+
plugins: {};
|
|
697
|
+
name?: string;
|
|
698
|
+
rules?: Record<string, RuleConfig>;
|
|
699
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
700
|
+
};
|
|
701
|
+
strict: {
|
|
702
|
+
plugins: {};
|
|
703
|
+
name?: string;
|
|
704
|
+
rules?: Record<string, RuleConfig>;
|
|
705
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
706
|
+
};
|
|
707
|
+
};
|
|
708
|
+
meta: {
|
|
709
|
+
name: string;
|
|
710
|
+
version: string;
|
|
711
|
+
};
|
|
712
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
713
|
+
};
|
|
714
|
+
"@eslint-react": {
|
|
715
|
+
configs: {
|
|
716
|
+
recommended: {
|
|
717
|
+
plugins: {};
|
|
718
|
+
name?: string;
|
|
719
|
+
rules?: Record<string, RuleConfig>;
|
|
720
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
721
|
+
};
|
|
722
|
+
"recommended-type-checked": {
|
|
723
|
+
plugins: {};
|
|
724
|
+
name?: string;
|
|
725
|
+
rules?: Record<string, RuleConfig>;
|
|
726
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
727
|
+
};
|
|
728
|
+
"recommended-typescript": {
|
|
729
|
+
plugins: {};
|
|
730
|
+
name?: string;
|
|
731
|
+
rules?: Record<string, RuleConfig>;
|
|
732
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
733
|
+
};
|
|
734
|
+
};
|
|
735
|
+
meta: {
|
|
736
|
+
name: string;
|
|
737
|
+
version: string;
|
|
738
|
+
};
|
|
739
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
740
|
+
};
|
|
741
|
+
};
|
|
742
|
+
declare const settings$4: {
|
|
743
|
+
"react-x": {
|
|
744
|
+
readonly version: "detect";
|
|
745
|
+
readonly importSource: "react";
|
|
746
|
+
readonly polymorphicPropName: "as";
|
|
747
|
+
};
|
|
748
|
+
};
|
|
749
|
+
declare namespace recommended_typescript_d_exports {
|
|
750
|
+
export { name$3 as name, plugins$3 as plugins, rules$3 as rules, settings$3 as settings };
|
|
751
|
+
}
|
|
752
|
+
declare const name$3 = "@eslint-react/recommended-typescript";
|
|
753
|
+
declare const rules$3: {
|
|
754
|
+
readonly "@eslint-react/dom/no-string-style-prop": "off";
|
|
755
|
+
readonly "@eslint-react/dom/no-unknown-property": "off";
|
|
756
|
+
readonly "@eslint-react/jsx-no-duplicate-props": "off";
|
|
757
|
+
readonly "@eslint-react/jsx-no-undef": "off";
|
|
758
|
+
readonly "@eslint-react/jsx-uses-react": "off";
|
|
759
|
+
readonly "@eslint-react/jsx-uses-vars": "off";
|
|
760
|
+
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
761
|
+
readonly "@eslint-react/naming-convention/context-name": "warn";
|
|
762
|
+
readonly "@eslint-react/naming-convention/use-state": "warn";
|
|
763
|
+
readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
|
|
764
|
+
readonly "@eslint-react/web-api/no-leaked-interval": "warn";
|
|
765
|
+
readonly "@eslint-react/web-api/no-leaked-resize-observer": "warn";
|
|
766
|
+
readonly "@eslint-react/web-api/no-leaked-timeout": "warn";
|
|
767
|
+
readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
|
|
768
|
+
readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
|
|
769
|
+
readonly "@eslint-react/dom/no-find-dom-node": "error";
|
|
770
|
+
readonly "@eslint-react/dom/no-flush-sync": "error";
|
|
771
|
+
readonly "@eslint-react/dom/no-hydrate": "error";
|
|
772
|
+
readonly "@eslint-react/dom/no-namespace": "error";
|
|
773
|
+
readonly "@eslint-react/dom/no-render": "error";
|
|
774
|
+
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
775
|
+
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
776
|
+
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
777
|
+
readonly "@eslint-react/dom/no-use-form-state": "error";
|
|
778
|
+
readonly "@eslint-react/dom/no-void-elements-with-children": "error";
|
|
779
|
+
readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
|
|
780
|
+
readonly "@eslint-react/no-access-state-in-setstate": "error";
|
|
781
|
+
readonly "@eslint-react/no-array-index-key": "warn";
|
|
782
|
+
readonly "@eslint-react/no-children-count": "warn";
|
|
783
|
+
readonly "@eslint-react/no-children-for-each": "warn";
|
|
784
|
+
readonly "@eslint-react/no-children-map": "warn";
|
|
785
|
+
readonly "@eslint-react/no-children-only": "warn";
|
|
786
|
+
readonly "@eslint-react/no-children-to-array": "warn";
|
|
787
|
+
readonly "@eslint-react/no-clone-element": "warn";
|
|
788
|
+
readonly "@eslint-react/no-component-will-mount": "error";
|
|
789
|
+
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
790
|
+
readonly "@eslint-react/no-component-will-update": "error";
|
|
791
|
+
readonly "@eslint-react/no-context-provider": "warn";
|
|
792
|
+
readonly "@eslint-react/no-create-ref": "error";
|
|
793
|
+
readonly "@eslint-react/no-default-props": "error";
|
|
794
|
+
readonly "@eslint-react/no-direct-mutation-state": "error";
|
|
795
|
+
readonly "@eslint-react/no-duplicate-key": "error";
|
|
796
|
+
readonly "@eslint-react/no-forward-ref": "warn";
|
|
797
|
+
readonly "@eslint-react/no-implicit-key": "warn";
|
|
798
|
+
readonly "@eslint-react/no-missing-key": "error";
|
|
799
|
+
readonly "@eslint-react/no-nested-component-definitions": "error";
|
|
800
|
+
readonly "@eslint-react/no-nested-lazy-component-declarations": "error";
|
|
801
|
+
readonly "@eslint-react/no-prop-types": "error";
|
|
802
|
+
readonly "@eslint-react/no-redundant-should-component-update": "error";
|
|
803
|
+
readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
|
|
804
|
+
readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
|
|
805
|
+
readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
|
|
806
|
+
readonly "@eslint-react/no-string-refs": "error";
|
|
807
|
+
readonly "@eslint-react/no-unnecessary-use-prefix": "warn";
|
|
808
|
+
readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
|
|
809
|
+
readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
|
|
810
|
+
readonly "@eslint-react/no-unsafe-component-will-update": "warn";
|
|
811
|
+
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
812
|
+
readonly "@eslint-react/no-use-context": "warn";
|
|
813
|
+
readonly "@eslint-react/no-useless-forward-ref": "warn";
|
|
454
814
|
readonly "@eslint-react/prefer-use-state-lazy-initialization": "warn";
|
|
455
815
|
};
|
|
456
816
|
declare const plugins$3: {
|
|
@@ -522,6 +882,12 @@ declare const plugins$3: {
|
|
|
522
882
|
rules?: Record<string, RuleConfig>;
|
|
523
883
|
settings?: _eslint_react_kit4.SettingsConfig;
|
|
524
884
|
};
|
|
885
|
+
strict: {
|
|
886
|
+
plugins: {};
|
|
887
|
+
name?: string;
|
|
888
|
+
rules?: Record<string, RuleConfig>;
|
|
889
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
890
|
+
};
|
|
525
891
|
};
|
|
526
892
|
meta: {
|
|
527
893
|
name: string;
|
|
@@ -564,16 +930,17 @@ declare const settings$3: {
|
|
|
564
930
|
readonly polymorphicPropName: "as";
|
|
565
931
|
};
|
|
566
932
|
};
|
|
567
|
-
declare namespace
|
|
933
|
+
declare namespace strict_type_checked_d_exports {
|
|
568
934
|
export { name$2 as name, plugins$2 as plugins, rules$2 as rules, settings$2 as settings };
|
|
569
935
|
}
|
|
570
|
-
declare const name$2 = "@eslint-react/
|
|
936
|
+
declare const name$2 = "@eslint-react/strict-type-checked";
|
|
571
937
|
declare const rules$2: {
|
|
572
938
|
readonly "@eslint-react/no-leaked-conditional-rendering": "warn";
|
|
573
939
|
readonly "@eslint-react/no-unused-props": "warn";
|
|
574
940
|
readonly "@eslint-react/dom/no-string-style-prop": "off";
|
|
575
941
|
readonly "@eslint-react/dom/no-unknown-property": "off";
|
|
576
942
|
readonly "@eslint-react/jsx-no-duplicate-props": "off";
|
|
943
|
+
readonly "@eslint-react/jsx-no-undef": "off";
|
|
577
944
|
readonly "@eslint-react/jsx-uses-react": "off";
|
|
578
945
|
readonly "@eslint-react/jsx-uses-vars": "off";
|
|
579
946
|
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
@@ -588,30 +955,21 @@ declare const rules$2: {
|
|
|
588
955
|
readonly "@eslint-react/dom/no-find-dom-node": "error";
|
|
589
956
|
readonly "@eslint-react/dom/no-flush-sync": "error";
|
|
590
957
|
readonly "@eslint-react/dom/no-hydrate": "error";
|
|
591
|
-
readonly "@eslint-react/dom/no-missing-button-type": "warn";
|
|
592
|
-
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "warn";
|
|
593
958
|
readonly "@eslint-react/dom/no-namespace": "error";
|
|
594
959
|
readonly "@eslint-react/dom/no-render": "error";
|
|
595
960
|
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
596
961
|
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
597
962
|
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
598
|
-
readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
|
|
599
963
|
readonly "@eslint-react/dom/no-use-form-state": "error";
|
|
600
964
|
readonly "@eslint-react/dom/no-void-elements-with-children": "error";
|
|
601
965
|
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
966
|
readonly "@eslint-react/no-access-state-in-setstate": "error";
|
|
607
967
|
readonly "@eslint-react/no-array-index-key": "warn";
|
|
608
968
|
readonly "@eslint-react/no-children-count": "warn";
|
|
609
969
|
readonly "@eslint-react/no-children-for-each": "warn";
|
|
610
970
|
readonly "@eslint-react/no-children-map": "warn";
|
|
611
971
|
readonly "@eslint-react/no-children-only": "warn";
|
|
612
|
-
readonly "@eslint-react/no-children-prop": "off";
|
|
613
972
|
readonly "@eslint-react/no-children-to-array": "warn";
|
|
614
|
-
readonly "@eslint-react/no-class-component": "off";
|
|
615
973
|
readonly "@eslint-react/no-clone-element": "warn";
|
|
616
974
|
readonly "@eslint-react/no-component-will-mount": "error";
|
|
617
975
|
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
@@ -621,13 +979,9 @@ declare const rules$2: {
|
|
|
621
979
|
readonly "@eslint-react/no-default-props": "error";
|
|
622
980
|
readonly "@eslint-react/no-direct-mutation-state": "error";
|
|
623
981
|
readonly "@eslint-react/no-duplicate-key": "error";
|
|
624
|
-
readonly "@eslint-react/no-forbidden-props": "off";
|
|
625
982
|
readonly "@eslint-react/no-forward-ref": "warn";
|
|
626
983
|
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
984
|
readonly "@eslint-react/no-missing-key": "error";
|
|
630
|
-
readonly "@eslint-react/no-misused-capture-owner-stack": "off";
|
|
631
985
|
readonly "@eslint-react/no-nested-component-definitions": "error";
|
|
632
986
|
readonly "@eslint-react/no-nested-lazy-component-declarations": "error";
|
|
633
987
|
readonly "@eslint-react/no-prop-types": "error";
|
|
@@ -636,24 +990,29 @@ declare const rules$2: {
|
|
|
636
990
|
readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
|
|
637
991
|
readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
|
|
638
992
|
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
993
|
readonly "@eslint-react/no-unnecessary-use-prefix": "warn";
|
|
643
994
|
readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
|
|
644
995
|
readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
|
|
645
996
|
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
997
|
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
649
|
-
readonly "@eslint-react/no-unused-state": "warn";
|
|
650
998
|
readonly "@eslint-react/no-use-context": "warn";
|
|
651
999
|
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
1000
|
readonly "@eslint-react/prefer-use-state-lazy-initialization": "warn";
|
|
1001
|
+
readonly "@eslint-react/jsx-no-iife": "error";
|
|
1002
|
+
readonly "@eslint-react/no-children-prop": "warn";
|
|
1003
|
+
readonly "@eslint-react/no-class-component": "error";
|
|
1004
|
+
readonly "@eslint-react/no-misused-capture-owner-stack": "error";
|
|
1005
|
+
readonly "@eslint-react/no-unnecessary-key": "warn";
|
|
1006
|
+
readonly "@eslint-react/no-unnecessary-use-callback": "warn";
|
|
1007
|
+
readonly "@eslint-react/no-unnecessary-use-memo": "warn";
|
|
1008
|
+
readonly "@eslint-react/no-unstable-context-value": "warn";
|
|
1009
|
+
readonly "@eslint-react/no-unstable-default-props": "warn";
|
|
1010
|
+
readonly "@eslint-react/no-unused-state": "warn";
|
|
1011
|
+
readonly "@eslint-react/no-useless-fragment": "warn";
|
|
1012
|
+
readonly "@eslint-react/prefer-destructuring-assignment": "warn";
|
|
1013
|
+
readonly "@eslint-react/dom/no-missing-button-type": "warn";
|
|
1014
|
+
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "warn";
|
|
1015
|
+
readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
|
|
657
1016
|
};
|
|
658
1017
|
declare const plugins$2: {
|
|
659
1018
|
"@eslint-react/debug": {
|
|
@@ -724,6 +1083,12 @@ declare const plugins$2: {
|
|
|
724
1083
|
rules?: Record<string, RuleConfig>;
|
|
725
1084
|
settings?: _eslint_react_kit4.SettingsConfig;
|
|
726
1085
|
};
|
|
1086
|
+
strict: {
|
|
1087
|
+
plugins: {};
|
|
1088
|
+
name?: string;
|
|
1089
|
+
rules?: Record<string, RuleConfig>;
|
|
1090
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
1091
|
+
};
|
|
727
1092
|
};
|
|
728
1093
|
meta: {
|
|
729
1094
|
name: string;
|
|
@@ -766,14 +1131,15 @@ declare const settings$2: {
|
|
|
766
1131
|
readonly polymorphicPropName: "as";
|
|
767
1132
|
};
|
|
768
1133
|
};
|
|
769
|
-
declare namespace
|
|
1134
|
+
declare namespace strict_typescript_d_exports {
|
|
770
1135
|
export { name$1 as name, plugins$1 as plugins, rules$1 as rules, settings$1 as settings };
|
|
771
1136
|
}
|
|
772
|
-
declare const name$1 = "@eslint-react/
|
|
1137
|
+
declare const name$1 = "@eslint-react/strict-typescript";
|
|
773
1138
|
declare const rules$1: {
|
|
774
1139
|
readonly "@eslint-react/dom/no-string-style-prop": "off";
|
|
775
1140
|
readonly "@eslint-react/dom/no-unknown-property": "off";
|
|
776
1141
|
readonly "@eslint-react/jsx-no-duplicate-props": "off";
|
|
1142
|
+
readonly "@eslint-react/jsx-no-undef": "off";
|
|
777
1143
|
readonly "@eslint-react/jsx-uses-react": "off";
|
|
778
1144
|
readonly "@eslint-react/jsx-uses-vars": "off";
|
|
779
1145
|
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
@@ -788,30 +1154,21 @@ declare const rules$1: {
|
|
|
788
1154
|
readonly "@eslint-react/dom/no-find-dom-node": "error";
|
|
789
1155
|
readonly "@eslint-react/dom/no-flush-sync": "error";
|
|
790
1156
|
readonly "@eslint-react/dom/no-hydrate": "error";
|
|
791
|
-
readonly "@eslint-react/dom/no-missing-button-type": "warn";
|
|
792
|
-
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "warn";
|
|
793
1157
|
readonly "@eslint-react/dom/no-namespace": "error";
|
|
794
1158
|
readonly "@eslint-react/dom/no-render": "error";
|
|
795
1159
|
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
796
1160
|
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
797
1161
|
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
798
|
-
readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
|
|
799
1162
|
readonly "@eslint-react/dom/no-use-form-state": "error";
|
|
800
1163
|
readonly "@eslint-react/dom/no-void-elements-with-children": "error";
|
|
801
1164
|
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
1165
|
readonly "@eslint-react/no-access-state-in-setstate": "error";
|
|
807
1166
|
readonly "@eslint-react/no-array-index-key": "warn";
|
|
808
1167
|
readonly "@eslint-react/no-children-count": "warn";
|
|
809
1168
|
readonly "@eslint-react/no-children-for-each": "warn";
|
|
810
1169
|
readonly "@eslint-react/no-children-map": "warn";
|
|
811
1170
|
readonly "@eslint-react/no-children-only": "warn";
|
|
812
|
-
readonly "@eslint-react/no-children-prop": "off";
|
|
813
1171
|
readonly "@eslint-react/no-children-to-array": "warn";
|
|
814
|
-
readonly "@eslint-react/no-class-component": "off";
|
|
815
1172
|
readonly "@eslint-react/no-clone-element": "warn";
|
|
816
1173
|
readonly "@eslint-react/no-component-will-mount": "error";
|
|
817
1174
|
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
@@ -821,14 +1178,9 @@ declare const rules$1: {
|
|
|
821
1178
|
readonly "@eslint-react/no-default-props": "error";
|
|
822
1179
|
readonly "@eslint-react/no-direct-mutation-state": "error";
|
|
823
1180
|
readonly "@eslint-react/no-duplicate-key": "error";
|
|
824
|
-
readonly "@eslint-react/no-forbidden-props": "off";
|
|
825
1181
|
readonly "@eslint-react/no-forward-ref": "warn";
|
|
826
1182
|
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
1183
|
readonly "@eslint-react/no-missing-key": "error";
|
|
831
|
-
readonly "@eslint-react/no-misused-capture-owner-stack": "off";
|
|
832
1184
|
readonly "@eslint-react/no-nested-component-definitions": "error";
|
|
833
1185
|
readonly "@eslint-react/no-nested-lazy-component-declarations": "error";
|
|
834
1186
|
readonly "@eslint-react/no-prop-types": "error";
|
|
@@ -837,25 +1189,30 @@ declare const rules$1: {
|
|
|
837
1189
|
readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
|
|
838
1190
|
readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
|
|
839
1191
|
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
1192
|
readonly "@eslint-react/no-unnecessary-use-prefix": "warn";
|
|
844
1193
|
readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
|
|
845
1194
|
readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
|
|
846
1195
|
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
1196
|
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
1197
|
readonly "@eslint-react/no-use-context": "warn";
|
|
853
1198
|
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
1199
|
readonly "@eslint-react/prefer-use-state-lazy-initialization": "warn";
|
|
1200
|
+
readonly "@eslint-react/jsx-no-iife": "error";
|
|
1201
|
+
readonly "@eslint-react/no-children-prop": "warn";
|
|
1202
|
+
readonly "@eslint-react/no-class-component": "error";
|
|
1203
|
+
readonly "@eslint-react/no-misused-capture-owner-stack": "error";
|
|
1204
|
+
readonly "@eslint-react/no-unnecessary-key": "warn";
|
|
1205
|
+
readonly "@eslint-react/no-unnecessary-use-callback": "warn";
|
|
1206
|
+
readonly "@eslint-react/no-unnecessary-use-memo": "warn";
|
|
1207
|
+
readonly "@eslint-react/no-unstable-context-value": "warn";
|
|
1208
|
+
readonly "@eslint-react/no-unstable-default-props": "warn";
|
|
1209
|
+
readonly "@eslint-react/no-unused-props": "warn";
|
|
1210
|
+
readonly "@eslint-react/no-unused-state": "warn";
|
|
1211
|
+
readonly "@eslint-react/no-useless-fragment": "warn";
|
|
1212
|
+
readonly "@eslint-react/prefer-destructuring-assignment": "warn";
|
|
1213
|
+
readonly "@eslint-react/dom/no-missing-button-type": "warn";
|
|
1214
|
+
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "warn";
|
|
1215
|
+
readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
|
|
859
1216
|
};
|
|
860
1217
|
declare const plugins$1: {
|
|
861
1218
|
"@eslint-react/debug": {
|
|
@@ -926,6 +1283,12 @@ declare const plugins$1: {
|
|
|
926
1283
|
rules?: Record<string, RuleConfig>;
|
|
927
1284
|
settings?: _eslint_react_kit4.SettingsConfig;
|
|
928
1285
|
};
|
|
1286
|
+
strict: {
|
|
1287
|
+
plugins: {};
|
|
1288
|
+
name?: string;
|
|
1289
|
+
rules?: Record<string, RuleConfig>;
|
|
1290
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
1291
|
+
};
|
|
929
1292
|
};
|
|
930
1293
|
meta: {
|
|
931
1294
|
name: string;
|
|
@@ -975,10 +1338,6 @@ declare const name = "@eslint-react/x";
|
|
|
975
1338
|
declare const rules: {
|
|
976
1339
|
readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
|
|
977
1340
|
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
1341
|
readonly "@eslint-react/jsx-uses-react": "warn";
|
|
983
1342
|
readonly "@eslint-react/jsx-uses-vars": "warn";
|
|
984
1343
|
readonly "@eslint-react/no-access-state-in-setstate": "error";
|
|
@@ -987,9 +1346,7 @@ declare const rules: {
|
|
|
987
1346
|
readonly "@eslint-react/no-children-for-each": "warn";
|
|
988
1347
|
readonly "@eslint-react/no-children-map": "warn";
|
|
989
1348
|
readonly "@eslint-react/no-children-only": "warn";
|
|
990
|
-
readonly "@eslint-react/no-children-prop": "off";
|
|
991
1349
|
readonly "@eslint-react/no-children-to-array": "warn";
|
|
992
|
-
readonly "@eslint-react/no-class-component": "off";
|
|
993
1350
|
readonly "@eslint-react/no-clone-element": "warn";
|
|
994
1351
|
readonly "@eslint-react/no-component-will-mount": "error";
|
|
995
1352
|
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
@@ -999,14 +1356,9 @@ declare const rules: {
|
|
|
999
1356
|
readonly "@eslint-react/no-default-props": "error";
|
|
1000
1357
|
readonly "@eslint-react/no-direct-mutation-state": "error";
|
|
1001
1358
|
readonly "@eslint-react/no-duplicate-key": "error";
|
|
1002
|
-
readonly "@eslint-react/no-forbidden-props": "off";
|
|
1003
1359
|
readonly "@eslint-react/no-forward-ref": "warn";
|
|
1004
1360
|
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
1361
|
readonly "@eslint-react/no-missing-key": "error";
|
|
1009
|
-
readonly "@eslint-react/no-misused-capture-owner-stack": "off";
|
|
1010
1362
|
readonly "@eslint-react/no-nested-component-definitions": "error";
|
|
1011
1363
|
readonly "@eslint-react/no-nested-lazy-component-declarations": "error";
|
|
1012
1364
|
readonly "@eslint-react/no-prop-types": "error";
|
|
@@ -1015,24 +1367,13 @@ declare const rules: {
|
|
|
1015
1367
|
readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
|
|
1016
1368
|
readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
|
|
1017
1369
|
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
1370
|
readonly "@eslint-react/no-unnecessary-use-prefix": "warn";
|
|
1022
1371
|
readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
|
|
1023
1372
|
readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
|
|
1024
1373
|
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
1374
|
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
1375
|
readonly "@eslint-react/no-use-context": "warn";
|
|
1031
1376
|
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
1377
|
readonly "@eslint-react/prefer-use-state-lazy-initialization": "warn";
|
|
1037
1378
|
};
|
|
1038
1379
|
declare const plugins: {
|
|
@@ -1129,6 +1470,14 @@ declare const _default: {
|
|
|
1129
1470
|
* Same as the `recommended` preset but disables rules that can be enforced by TypeScript
|
|
1130
1471
|
*/
|
|
1131
1472
|
"recommended-typescript": typeof recommended_typescript_d_exports;
|
|
1473
|
+
/**
|
|
1474
|
+
* More strict version of the `recommended-type-checked` preset
|
|
1475
|
+
*/
|
|
1476
|
+
"strict-type-checked": typeof strict_type_checked_d_exports;
|
|
1477
|
+
/**
|
|
1478
|
+
* More strict version of the `recommended-typescript` preset
|
|
1479
|
+
*/
|
|
1480
|
+
"strict-typescript": typeof strict_typescript_d_exports;
|
|
1132
1481
|
/**
|
|
1133
1482
|
* Enable rules for `"react"`
|
|
1134
1483
|
*/
|