@eslint-react/eslint-plugin 2.0.0-next.12 → 2.0.0-next.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +25 -0
- package/dist/index.js +2 -1
- package/package.json +9 -9
package/dist/index.d.ts
CHANGED
|
@@ -295,6 +295,7 @@ declare const plugins$6: {
|
|
|
295
295
|
readonly version: string;
|
|
296
296
|
};
|
|
297
297
|
readonly rules: {
|
|
298
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
298
299
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
299
300
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
300
301
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -371,6 +372,7 @@ declare const plugins$6: {
|
|
|
371
372
|
readonly version: string;
|
|
372
373
|
};
|
|
373
374
|
readonly rules: {
|
|
375
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
374
376
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
375
377
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
376
378
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -447,6 +449,7 @@ declare const plugins$6: {
|
|
|
447
449
|
readonly version: string;
|
|
448
450
|
};
|
|
449
451
|
readonly rules: {
|
|
452
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
450
453
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
451
454
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
452
455
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -521,6 +524,7 @@ declare const plugins$6: {
|
|
|
521
524
|
readonly version: string;
|
|
522
525
|
};
|
|
523
526
|
rules: {
|
|
527
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
524
528
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
525
529
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
526
530
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -811,6 +815,7 @@ declare const rules$3: {
|
|
|
811
815
|
readonly "@eslint-react/dom/no-use-form-state": "error";
|
|
812
816
|
readonly "@eslint-react/dom/no-void-elements-with-children": "error";
|
|
813
817
|
readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
|
|
818
|
+
readonly "@eslint-react/jsx-key-before-spread": "warn";
|
|
814
819
|
readonly "@eslint-react/jsx-no-duplicate-props": "warn";
|
|
815
820
|
readonly "@eslint-react/jsx-uses-react": "warn";
|
|
816
821
|
readonly "@eslint-react/jsx-uses-vars": "warn";
|
|
@@ -1065,6 +1070,7 @@ declare const plugins$3: {
|
|
|
1065
1070
|
readonly version: string;
|
|
1066
1071
|
};
|
|
1067
1072
|
readonly rules: {
|
|
1073
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1068
1074
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1069
1075
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1070
1076
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1141,6 +1147,7 @@ declare const plugins$3: {
|
|
|
1141
1147
|
readonly version: string;
|
|
1142
1148
|
};
|
|
1143
1149
|
readonly rules: {
|
|
1150
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1144
1151
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1145
1152
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1146
1153
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1217,6 +1224,7 @@ declare const plugins$3: {
|
|
|
1217
1224
|
readonly version: string;
|
|
1218
1225
|
};
|
|
1219
1226
|
readonly rules: {
|
|
1227
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1220
1228
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1221
1229
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1222
1230
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1291,6 +1299,7 @@ declare const plugins$3: {
|
|
|
1291
1299
|
readonly version: string;
|
|
1292
1300
|
};
|
|
1293
1301
|
rules: {
|
|
1302
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1294
1303
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1295
1304
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1296
1305
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1399,6 +1408,7 @@ declare const rules$2: {
|
|
|
1399
1408
|
readonly "@eslint-react/dom/no-use-form-state": "error";
|
|
1400
1409
|
readonly "@eslint-react/dom/no-void-elements-with-children": "error";
|
|
1401
1410
|
readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
|
|
1411
|
+
readonly "@eslint-react/jsx-key-before-spread": "warn";
|
|
1402
1412
|
readonly "@eslint-react/no-access-state-in-setstate": "error";
|
|
1403
1413
|
readonly "@eslint-react/no-array-index-key": "warn";
|
|
1404
1414
|
readonly "@eslint-react/no-children-count": "warn";
|
|
@@ -1650,6 +1660,7 @@ declare const plugins$2: {
|
|
|
1650
1660
|
readonly version: string;
|
|
1651
1661
|
};
|
|
1652
1662
|
readonly rules: {
|
|
1663
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1653
1664
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1654
1665
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1655
1666
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1726,6 +1737,7 @@ declare const plugins$2: {
|
|
|
1726
1737
|
readonly version: string;
|
|
1727
1738
|
};
|
|
1728
1739
|
readonly rules: {
|
|
1740
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1729
1741
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1730
1742
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1731
1743
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1802,6 +1814,7 @@ declare const plugins$2: {
|
|
|
1802
1814
|
readonly version: string;
|
|
1803
1815
|
};
|
|
1804
1816
|
readonly rules: {
|
|
1817
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1805
1818
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1806
1819
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1807
1820
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1876,6 +1889,7 @@ declare const plugins$2: {
|
|
|
1876
1889
|
readonly version: string;
|
|
1877
1890
|
};
|
|
1878
1891
|
rules: {
|
|
1892
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1879
1893
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1880
1894
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1881
1895
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1983,6 +1997,7 @@ declare const rules$1: {
|
|
|
1983
1997
|
readonly "@eslint-react/dom/no-use-form-state": "error";
|
|
1984
1998
|
readonly "@eslint-react/dom/no-void-elements-with-children": "error";
|
|
1985
1999
|
readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
|
|
2000
|
+
readonly "@eslint-react/jsx-key-before-spread": "warn";
|
|
1986
2001
|
readonly "@eslint-react/no-access-state-in-setstate": "error";
|
|
1987
2002
|
readonly "@eslint-react/no-array-index-key": "warn";
|
|
1988
2003
|
readonly "@eslint-react/no-children-count": "warn";
|
|
@@ -2234,6 +2249,7 @@ declare const plugins$1: {
|
|
|
2234
2249
|
readonly version: string;
|
|
2235
2250
|
};
|
|
2236
2251
|
readonly rules: {
|
|
2252
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2237
2253
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2238
2254
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2239
2255
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2310,6 +2326,7 @@ declare const plugins$1: {
|
|
|
2310
2326
|
readonly version: string;
|
|
2311
2327
|
};
|
|
2312
2328
|
readonly rules: {
|
|
2329
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2313
2330
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2314
2331
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2315
2332
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2386,6 +2403,7 @@ declare const plugins$1: {
|
|
|
2386
2403
|
readonly version: string;
|
|
2387
2404
|
};
|
|
2388
2405
|
readonly rules: {
|
|
2406
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2389
2407
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2390
2408
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2391
2409
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2460,6 +2478,7 @@ declare const plugins$1: {
|
|
|
2460
2478
|
readonly version: string;
|
|
2461
2479
|
};
|
|
2462
2480
|
rules: {
|
|
2481
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2463
2482
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2464
2483
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2465
2484
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2543,6 +2562,7 @@ declare namespace recommendedTypeScriptConfig {
|
|
|
2543
2562
|
declare const name = "@eslint-react/x";
|
|
2544
2563
|
declare const rules: {
|
|
2545
2564
|
readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
|
|
2565
|
+
readonly "@eslint-react/jsx-key-before-spread": "warn";
|
|
2546
2566
|
readonly "@eslint-react/jsx-no-duplicate-props": "warn";
|
|
2547
2567
|
readonly "@eslint-react/jsx-uses-react": "warn";
|
|
2548
2568
|
readonly "@eslint-react/jsx-uses-vars": "warn";
|
|
@@ -2597,6 +2617,7 @@ declare const plugins: {
|
|
|
2597
2617
|
readonly version: string;
|
|
2598
2618
|
};
|
|
2599
2619
|
readonly rules: {
|
|
2620
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2600
2621
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2601
2622
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2602
2623
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2673,6 +2694,7 @@ declare const plugins: {
|
|
|
2673
2694
|
readonly version: string;
|
|
2674
2695
|
};
|
|
2675
2696
|
readonly rules: {
|
|
2697
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2676
2698
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2677
2699
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2678
2700
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2749,6 +2771,7 @@ declare const plugins: {
|
|
|
2749
2771
|
readonly version: string;
|
|
2750
2772
|
};
|
|
2751
2773
|
readonly rules: {
|
|
2774
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2752
2775
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2753
2776
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2754
2777
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2823,6 +2846,7 @@ declare const plugins: {
|
|
|
2823
2846
|
readonly version: string;
|
|
2824
2847
|
};
|
|
2825
2848
|
rules: {
|
|
2849
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2826
2850
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2827
2851
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2828
2852
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -3019,6 +3043,7 @@ declare const _default: {
|
|
|
3019
3043
|
readonly "dom/no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3020
3044
|
readonly "dom/no-use-form-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseFormState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3021
3045
|
readonly "dom/no-void-elements-with-children": _typescript_eslint_utils_ts_eslint.RuleModule<"noVoidElementsWithChildren", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3046
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3022
3047
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3023
3048
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3024
3049
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
package/dist/index.js
CHANGED
|
@@ -13,7 +13,7 @@ var __export = (target, all) => {
|
|
|
13
13
|
|
|
14
14
|
// package.json
|
|
15
15
|
var name = "@eslint-react/eslint-plugin";
|
|
16
|
-
var version = "2.0.0-next.
|
|
16
|
+
var version = "2.0.0-next.14";
|
|
17
17
|
|
|
18
18
|
// src/configs/all.ts
|
|
19
19
|
var all_exports = {};
|
|
@@ -68,6 +68,7 @@ __export(x_exports, {
|
|
|
68
68
|
var name3 = "@eslint-react/x";
|
|
69
69
|
var rules2 = {
|
|
70
70
|
"@eslint-react/jsx-no-comment-textnodes": "warn",
|
|
71
|
+
"@eslint-react/jsx-key-before-spread": "warn",
|
|
71
72
|
"@eslint-react/jsx-no-duplicate-props": "warn",
|
|
72
73
|
// "@eslint-react/jsx-no-undef": "error",
|
|
73
74
|
"@eslint-react/jsx-uses-react": "warn",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/eslint-plugin",
|
|
3
|
-
"version": "2.0.0-next.
|
|
3
|
+
"version": "2.0.0-next.14",
|
|
4
4
|
"description": "A unified plugin that combines all individual plugins from the eslint-react monorepo into one.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -41,14 +41,14 @@
|
|
|
41
41
|
"@typescript-eslint/type-utils": "^8.31.1",
|
|
42
42
|
"@typescript-eslint/types": "^8.31.1",
|
|
43
43
|
"@typescript-eslint/utils": "^8.31.1",
|
|
44
|
-
"@eslint-react/eff": "2.0.0-next.
|
|
45
|
-
"@eslint-react/
|
|
46
|
-
"@eslint-react/
|
|
47
|
-
"eslint-plugin-react-debug": "2.0.0-next.
|
|
48
|
-
"eslint-plugin-react-dom": "2.0.0-next.
|
|
49
|
-
"eslint-plugin-react-
|
|
50
|
-
"eslint-plugin-react-
|
|
51
|
-
"eslint-plugin-react-x": "2.0.0-next.
|
|
44
|
+
"@eslint-react/eff": "2.0.0-next.14",
|
|
45
|
+
"@eslint-react/kit": "2.0.0-next.14",
|
|
46
|
+
"@eslint-react/shared": "2.0.0-next.14",
|
|
47
|
+
"eslint-plugin-react-debug": "2.0.0-next.14",
|
|
48
|
+
"eslint-plugin-react-dom": "2.0.0-next.14",
|
|
49
|
+
"eslint-plugin-react-naming-convention": "2.0.0-next.14",
|
|
50
|
+
"eslint-plugin-react-web-api": "2.0.0-next.14",
|
|
51
|
+
"eslint-plugin-react-x": "2.0.0-next.14"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"tsup": "^8.4.0",
|