@eslint-react/eslint-plugin 1.16.1-next.2 → 1.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -18,6 +18,7 @@ declare const _default: {
18
18
  "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19
19
  "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
20
20
  "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"ensureForwardRefUsingRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
21
+ "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
21
22
  "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
22
23
  "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
23
24
  "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noArrayIndexKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
@@ -178,6 +179,7 @@ declare const _default: {
178
179
  };
179
180
  readonly rules: {
180
181
  readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
182
+ readonly "@eslint-react/jsx-no-duplicate-props": "warn";
181
183
  readonly "@eslint-react/jsx-uses-vars": "warn";
182
184
  readonly "@eslint-react/no-access-state-in-setstate": "error";
183
185
  readonly "@eslint-react/no-array-index-key": "warn";
@@ -226,6 +228,7 @@ declare const _default: {
226
228
  readonly plugins: readonly ["@eslint-react"];
227
229
  readonly rules: {
228
230
  readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
231
+ readonly "@eslint-react/jsx-no-duplicate-props": "warn";
229
232
  readonly "@eslint-react/jsx-uses-vars": "warn";
230
233
  readonly "@eslint-react/no-access-state-in-setstate": "error";
231
234
  readonly "@eslint-react/no-array-index-key": "warn";
@@ -281,6 +284,7 @@ declare const _default: {
281
284
  "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
282
285
  "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
283
286
  "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"ensureForwardRefUsingRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
287
+ "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
284
288
  "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
285
289
  "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
286
290
  "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noArrayIndexKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
@@ -484,6 +488,7 @@ declare const _default: {
484
488
  "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
485
489
  "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
486
490
  "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"ensureForwardRefUsingRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
491
+ "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
487
492
  "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
488
493
  "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
489
494
  "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noArrayIndexKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
@@ -705,6 +710,7 @@ declare const _default: {
705
710
  "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
706
711
  "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
707
712
  "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"ensureForwardRefUsingRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
713
+ "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
708
714
  "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
709
715
  "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
710
716
  "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noArrayIndexKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
@@ -884,6 +890,7 @@ declare const _default: {
884
890
  readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
885
891
  readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
886
892
  readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
893
+ readonly "@eslint-react/jsx-no-duplicate-props": "warn";
887
894
  readonly "@eslint-react/jsx-uses-vars": "warn";
888
895
  readonly "@eslint-react/no-access-state-in-setstate": "error";
889
896
  readonly "@eslint-react/no-array-index-key": "warn";
@@ -951,6 +958,7 @@ declare const _default: {
951
958
  readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
952
959
  readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
953
960
  readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
961
+ readonly "@eslint-react/jsx-no-duplicate-props": "warn";
954
962
  readonly "@eslint-react/jsx-uses-vars": "warn";
955
963
  readonly "@eslint-react/no-access-state-in-setstate": "error";
956
964
  readonly "@eslint-react/no-array-index-key": "warn";
@@ -1006,6 +1014,7 @@ declare const _default: {
1006
1014
  "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1007
1015
  "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1008
1016
  "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"ensureForwardRefUsingRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1017
+ "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1009
1018
  "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1010
1019
  "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1011
1020
  "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noArrayIndexKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
@@ -1166,6 +1175,8 @@ declare const _default: {
1166
1175
  };
1167
1176
  readonly rules: {
1168
1177
  readonly "@eslint-react/dom/no-unknown-property": "off";
1178
+ readonly "@eslint-react/jsx-no-duplicate-props": "off";
1179
+ readonly "@eslint-react/jsx-uses-vars": "off";
1169
1180
  readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
1170
1181
  readonly "@eslint-react/hooks-extra/no-redundant-custom-hook": "warn";
1171
1182
  readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
@@ -1185,7 +1196,6 @@ declare const _default: {
1185
1196
  readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
1186
1197
  readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
1187
1198
  readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
1188
- readonly "@eslint-react/jsx-uses-vars": "warn";
1189
1199
  readonly "@eslint-react/no-access-state-in-setstate": "error";
1190
1200
  readonly "@eslint-react/no-array-index-key": "warn";
1191
1201
  readonly "@eslint-react/no-children-count": "warn";
@@ -1233,6 +1243,8 @@ declare const _default: {
1233
1243
  readonly plugins: readonly ["@eslint-react"];
1234
1244
  readonly rules: {
1235
1245
  readonly "@eslint-react/dom/no-unknown-property": "off";
1246
+ readonly "@eslint-react/jsx-no-duplicate-props": "off";
1247
+ readonly "@eslint-react/jsx-uses-vars": "off";
1236
1248
  readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
1237
1249
  readonly "@eslint-react/hooks-extra/no-redundant-custom-hook": "warn";
1238
1250
  readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
@@ -1252,7 +1264,6 @@ declare const _default: {
1252
1264
  readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
1253
1265
  readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
1254
1266
  readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
1255
- readonly "@eslint-react/jsx-uses-vars": "warn";
1256
1267
  readonly "@eslint-react/no-access-state-in-setstate": "error";
1257
1268
  readonly "@eslint-react/no-array-index-key": "warn";
1258
1269
  readonly "@eslint-react/no-children-count": "warn";
@@ -1307,6 +1318,7 @@ declare const _default: {
1307
1318
  "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1308
1319
  "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1309
1320
  "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"ensureForwardRefUsingRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1321
+ "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1310
1322
  "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1311
1323
  "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1312
1324
  "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noArrayIndexKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
@@ -1468,6 +1480,8 @@ declare const _default: {
1468
1480
  readonly rules: {
1469
1481
  readonly "@eslint-react/no-leaked-conditional-rendering": "warn";
1470
1482
  readonly "@eslint-react/dom/no-unknown-property": "off";
1483
+ readonly "@eslint-react/jsx-no-duplicate-props": "off";
1484
+ readonly "@eslint-react/jsx-uses-vars": "off";
1471
1485
  readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
1472
1486
  readonly "@eslint-react/hooks-extra/no-redundant-custom-hook": "warn";
1473
1487
  readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
@@ -1487,7 +1501,6 @@ declare const _default: {
1487
1501
  readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
1488
1502
  readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
1489
1503
  readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
1490
- readonly "@eslint-react/jsx-uses-vars": "warn";
1491
1504
  readonly "@eslint-react/no-access-state-in-setstate": "error";
1492
1505
  readonly "@eslint-react/no-array-index-key": "warn";
1493
1506
  readonly "@eslint-react/no-children-count": "warn";
@@ -1536,6 +1549,8 @@ declare const _default: {
1536
1549
  readonly rules: {
1537
1550
  readonly "@eslint-react/no-leaked-conditional-rendering": "warn";
1538
1551
  readonly "@eslint-react/dom/no-unknown-property": "off";
1552
+ readonly "@eslint-react/jsx-no-duplicate-props": "off";
1553
+ readonly "@eslint-react/jsx-uses-vars": "off";
1539
1554
  readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
1540
1555
  readonly "@eslint-react/hooks-extra/no-redundant-custom-hook": "warn";
1541
1556
  readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
@@ -1555,7 +1570,6 @@ declare const _default: {
1555
1570
  readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
1556
1571
  readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
1557
1572
  readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
1558
- readonly "@eslint-react/jsx-uses-vars": "warn";
1559
1573
  readonly "@eslint-react/no-access-state-in-setstate": "error";
1560
1574
  readonly "@eslint-react/no-array-index-key": "warn";
1561
1575
  readonly "@eslint-react/no-children-count": "warn";
@@ -1610,6 +1624,7 @@ declare const _default: {
1610
1624
  "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1611
1625
  "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1612
1626
  "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"ensureForwardRefUsingRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1627
+ "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1613
1628
  "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1614
1629
  "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1615
1630
  "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noArrayIndexKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
@@ -1831,6 +1846,7 @@ declare const _default: {
1831
1846
  "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1832
1847
  "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1833
1848
  "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"ensureForwardRefUsingRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1849
+ "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1834
1850
  "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1835
1851
  "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1836
1852
  "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noArrayIndexKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
@@ -2036,6 +2052,7 @@ declare const _default: {
2036
2052
  "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2037
2053
  "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2038
2054
  "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"ensureForwardRefUsingRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2055
+ "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2039
2056
  "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2040
2057
  "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2041
2058
  "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noArrayIndexKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
@@ -2235,6 +2252,7 @@ declare const _default: {
2235
2252
  "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2236
2253
  "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2237
2254
  "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"ensureForwardRefUsingRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2255
+ "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2238
2256
  "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2239
2257
  "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2240
2258
  "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noArrayIndexKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
@@ -2397,6 +2415,7 @@ declare const _default: {
2397
2415
  readonly "@eslint-react/avoid-shorthand-boolean": "warn";
2398
2416
  readonly "@eslint-react/avoid-shorthand-fragment": "warn";
2399
2417
  readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
2418
+ readonly "@eslint-react/jsx-no-duplicate-props": "warn";
2400
2419
  readonly "@eslint-react/jsx-uses-vars": "warn";
2401
2420
  readonly "@eslint-react/no-access-state-in-setstate": "error";
2402
2421
  readonly "@eslint-react/no-array-index-key": "warn";
@@ -2482,6 +2501,7 @@ declare const _default: {
2482
2501
  readonly "@eslint-react/avoid-shorthand-boolean": "warn";
2483
2502
  readonly "@eslint-react/avoid-shorthand-fragment": "warn";
2484
2503
  readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
2504
+ readonly "@eslint-react/jsx-no-duplicate-props": "warn";
2485
2505
  readonly "@eslint-react/jsx-uses-vars": "warn";
2486
2506
  readonly "@eslint-react/no-access-state-in-setstate": "error";
2487
2507
  readonly "@eslint-react/no-array-index-key": "warn";
@@ -2572,6 +2592,7 @@ declare const _default: {
2572
2592
  "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2573
2593
  "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2574
2594
  "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"ensureForwardRefUsingRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2595
+ "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2575
2596
  "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2576
2597
  "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2577
2598
  "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noArrayIndexKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
@@ -2734,6 +2755,7 @@ declare const _default: {
2734
2755
  readonly "@eslint-react/avoid-shorthand-boolean"?: "off";
2735
2756
  readonly "@eslint-react/avoid-shorthand-fragment"?: "off";
2736
2757
  readonly "@eslint-react/ensure-forward-ref-using-ref"?: "off";
2758
+ readonly "@eslint-react/jsx-no-duplicate-props"?: "off";
2737
2759
  readonly "@eslint-react/jsx-uses-vars"?: "off";
2738
2760
  readonly "@eslint-react/no-access-state-in-setstate"?: "off";
2739
2761
  readonly "@eslint-react/no-array-index-key"?: "off";
@@ -2819,6 +2841,7 @@ declare const _default: {
2819
2841
  readonly "@eslint-react/avoid-shorthand-boolean"?: "off";
2820
2842
  readonly "@eslint-react/avoid-shorthand-fragment"?: "off";
2821
2843
  readonly "@eslint-react/ensure-forward-ref-using-ref"?: "off";
2844
+ readonly "@eslint-react/jsx-no-duplicate-props"?: "off";
2822
2845
  readonly "@eslint-react/jsx-uses-vars"?: "off";
2823
2846
  readonly "@eslint-react/no-access-state-in-setstate"?: "off";
2824
2847
  readonly "@eslint-react/no-array-index-key"?: "off";
@@ -2910,6 +2933,7 @@ declare const _default: {
2910
2933
  "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2911
2934
  "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2912
2935
  "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"ensureForwardRefUsingRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2936
+ "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2913
2937
  "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2914
2938
  "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2915
2939
  "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noArrayIndexKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
@@ -3172,6 +3196,7 @@ declare const _default: {
3172
3196
  readonly "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
3173
3197
  readonly "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
3174
3198
  readonly "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"ensureForwardRefUsingRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
3199
+ readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
3175
3200
  readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
3176
3201
  readonly "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
3177
3202
  readonly "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noArrayIndexKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
package/dist/index.d.ts CHANGED
@@ -18,6 +18,7 @@ declare const _default: {
18
18
  "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19
19
  "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
20
20
  "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"ensureForwardRefUsingRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
21
+ "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
21
22
  "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
22
23
  "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
23
24
  "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noArrayIndexKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
@@ -178,6 +179,7 @@ declare const _default: {
178
179
  };
179
180
  readonly rules: {
180
181
  readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
182
+ readonly "@eslint-react/jsx-no-duplicate-props": "warn";
181
183
  readonly "@eslint-react/jsx-uses-vars": "warn";
182
184
  readonly "@eslint-react/no-access-state-in-setstate": "error";
183
185
  readonly "@eslint-react/no-array-index-key": "warn";
@@ -226,6 +228,7 @@ declare const _default: {
226
228
  readonly plugins: readonly ["@eslint-react"];
227
229
  readonly rules: {
228
230
  readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
231
+ readonly "@eslint-react/jsx-no-duplicate-props": "warn";
229
232
  readonly "@eslint-react/jsx-uses-vars": "warn";
230
233
  readonly "@eslint-react/no-access-state-in-setstate": "error";
231
234
  readonly "@eslint-react/no-array-index-key": "warn";
@@ -281,6 +284,7 @@ declare const _default: {
281
284
  "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
282
285
  "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
283
286
  "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"ensureForwardRefUsingRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
287
+ "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
284
288
  "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
285
289
  "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
286
290
  "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noArrayIndexKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
@@ -484,6 +488,7 @@ declare const _default: {
484
488
  "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
485
489
  "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
486
490
  "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"ensureForwardRefUsingRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
491
+ "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
487
492
  "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
488
493
  "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
489
494
  "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noArrayIndexKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
@@ -705,6 +710,7 @@ declare const _default: {
705
710
  "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
706
711
  "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
707
712
  "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"ensureForwardRefUsingRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
713
+ "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
708
714
  "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
709
715
  "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
710
716
  "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noArrayIndexKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
@@ -884,6 +890,7 @@ declare const _default: {
884
890
  readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
885
891
  readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
886
892
  readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
893
+ readonly "@eslint-react/jsx-no-duplicate-props": "warn";
887
894
  readonly "@eslint-react/jsx-uses-vars": "warn";
888
895
  readonly "@eslint-react/no-access-state-in-setstate": "error";
889
896
  readonly "@eslint-react/no-array-index-key": "warn";
@@ -951,6 +958,7 @@ declare const _default: {
951
958
  readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
952
959
  readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
953
960
  readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
961
+ readonly "@eslint-react/jsx-no-duplicate-props": "warn";
954
962
  readonly "@eslint-react/jsx-uses-vars": "warn";
955
963
  readonly "@eslint-react/no-access-state-in-setstate": "error";
956
964
  readonly "@eslint-react/no-array-index-key": "warn";
@@ -1006,6 +1014,7 @@ declare const _default: {
1006
1014
  "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1007
1015
  "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1008
1016
  "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"ensureForwardRefUsingRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1017
+ "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1009
1018
  "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1010
1019
  "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1011
1020
  "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noArrayIndexKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
@@ -1166,6 +1175,8 @@ declare const _default: {
1166
1175
  };
1167
1176
  readonly rules: {
1168
1177
  readonly "@eslint-react/dom/no-unknown-property": "off";
1178
+ readonly "@eslint-react/jsx-no-duplicate-props": "off";
1179
+ readonly "@eslint-react/jsx-uses-vars": "off";
1169
1180
  readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
1170
1181
  readonly "@eslint-react/hooks-extra/no-redundant-custom-hook": "warn";
1171
1182
  readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
@@ -1185,7 +1196,6 @@ declare const _default: {
1185
1196
  readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
1186
1197
  readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
1187
1198
  readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
1188
- readonly "@eslint-react/jsx-uses-vars": "warn";
1189
1199
  readonly "@eslint-react/no-access-state-in-setstate": "error";
1190
1200
  readonly "@eslint-react/no-array-index-key": "warn";
1191
1201
  readonly "@eslint-react/no-children-count": "warn";
@@ -1233,6 +1243,8 @@ declare const _default: {
1233
1243
  readonly plugins: readonly ["@eslint-react"];
1234
1244
  readonly rules: {
1235
1245
  readonly "@eslint-react/dom/no-unknown-property": "off";
1246
+ readonly "@eslint-react/jsx-no-duplicate-props": "off";
1247
+ readonly "@eslint-react/jsx-uses-vars": "off";
1236
1248
  readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
1237
1249
  readonly "@eslint-react/hooks-extra/no-redundant-custom-hook": "warn";
1238
1250
  readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
@@ -1252,7 +1264,6 @@ declare const _default: {
1252
1264
  readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
1253
1265
  readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
1254
1266
  readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
1255
- readonly "@eslint-react/jsx-uses-vars": "warn";
1256
1267
  readonly "@eslint-react/no-access-state-in-setstate": "error";
1257
1268
  readonly "@eslint-react/no-array-index-key": "warn";
1258
1269
  readonly "@eslint-react/no-children-count": "warn";
@@ -1307,6 +1318,7 @@ declare const _default: {
1307
1318
  "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1308
1319
  "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1309
1320
  "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"ensureForwardRefUsingRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1321
+ "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1310
1322
  "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1311
1323
  "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1312
1324
  "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noArrayIndexKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
@@ -1468,6 +1480,8 @@ declare const _default: {
1468
1480
  readonly rules: {
1469
1481
  readonly "@eslint-react/no-leaked-conditional-rendering": "warn";
1470
1482
  readonly "@eslint-react/dom/no-unknown-property": "off";
1483
+ readonly "@eslint-react/jsx-no-duplicate-props": "off";
1484
+ readonly "@eslint-react/jsx-uses-vars": "off";
1471
1485
  readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
1472
1486
  readonly "@eslint-react/hooks-extra/no-redundant-custom-hook": "warn";
1473
1487
  readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
@@ -1487,7 +1501,6 @@ declare const _default: {
1487
1501
  readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
1488
1502
  readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
1489
1503
  readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
1490
- readonly "@eslint-react/jsx-uses-vars": "warn";
1491
1504
  readonly "@eslint-react/no-access-state-in-setstate": "error";
1492
1505
  readonly "@eslint-react/no-array-index-key": "warn";
1493
1506
  readonly "@eslint-react/no-children-count": "warn";
@@ -1536,6 +1549,8 @@ declare const _default: {
1536
1549
  readonly rules: {
1537
1550
  readonly "@eslint-react/no-leaked-conditional-rendering": "warn";
1538
1551
  readonly "@eslint-react/dom/no-unknown-property": "off";
1552
+ readonly "@eslint-react/jsx-no-duplicate-props": "off";
1553
+ readonly "@eslint-react/jsx-uses-vars": "off";
1539
1554
  readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
1540
1555
  readonly "@eslint-react/hooks-extra/no-redundant-custom-hook": "warn";
1541
1556
  readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
@@ -1555,7 +1570,6 @@ declare const _default: {
1555
1570
  readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
1556
1571
  readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
1557
1572
  readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
1558
- readonly "@eslint-react/jsx-uses-vars": "warn";
1559
1573
  readonly "@eslint-react/no-access-state-in-setstate": "error";
1560
1574
  readonly "@eslint-react/no-array-index-key": "warn";
1561
1575
  readonly "@eslint-react/no-children-count": "warn";
@@ -1610,6 +1624,7 @@ declare const _default: {
1610
1624
  "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1611
1625
  "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1612
1626
  "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"ensureForwardRefUsingRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1627
+ "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1613
1628
  "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1614
1629
  "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1615
1630
  "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noArrayIndexKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
@@ -1831,6 +1846,7 @@ declare const _default: {
1831
1846
  "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1832
1847
  "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1833
1848
  "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"ensureForwardRefUsingRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1849
+ "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1834
1850
  "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1835
1851
  "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1836
1852
  "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noArrayIndexKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
@@ -2036,6 +2052,7 @@ declare const _default: {
2036
2052
  "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2037
2053
  "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2038
2054
  "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"ensureForwardRefUsingRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2055
+ "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2039
2056
  "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2040
2057
  "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2041
2058
  "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noArrayIndexKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
@@ -2235,6 +2252,7 @@ declare const _default: {
2235
2252
  "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2236
2253
  "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2237
2254
  "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"ensureForwardRefUsingRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2255
+ "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2238
2256
  "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2239
2257
  "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2240
2258
  "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noArrayIndexKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
@@ -2397,6 +2415,7 @@ declare const _default: {
2397
2415
  readonly "@eslint-react/avoid-shorthand-boolean": "warn";
2398
2416
  readonly "@eslint-react/avoid-shorthand-fragment": "warn";
2399
2417
  readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
2418
+ readonly "@eslint-react/jsx-no-duplicate-props": "warn";
2400
2419
  readonly "@eslint-react/jsx-uses-vars": "warn";
2401
2420
  readonly "@eslint-react/no-access-state-in-setstate": "error";
2402
2421
  readonly "@eslint-react/no-array-index-key": "warn";
@@ -2482,6 +2501,7 @@ declare const _default: {
2482
2501
  readonly "@eslint-react/avoid-shorthand-boolean": "warn";
2483
2502
  readonly "@eslint-react/avoid-shorthand-fragment": "warn";
2484
2503
  readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
2504
+ readonly "@eslint-react/jsx-no-duplicate-props": "warn";
2485
2505
  readonly "@eslint-react/jsx-uses-vars": "warn";
2486
2506
  readonly "@eslint-react/no-access-state-in-setstate": "error";
2487
2507
  readonly "@eslint-react/no-array-index-key": "warn";
@@ -2572,6 +2592,7 @@ declare const _default: {
2572
2592
  "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2573
2593
  "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2574
2594
  "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"ensureForwardRefUsingRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2595
+ "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2575
2596
  "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2576
2597
  "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2577
2598
  "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noArrayIndexKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
@@ -2734,6 +2755,7 @@ declare const _default: {
2734
2755
  readonly "@eslint-react/avoid-shorthand-boolean"?: "off";
2735
2756
  readonly "@eslint-react/avoid-shorthand-fragment"?: "off";
2736
2757
  readonly "@eslint-react/ensure-forward-ref-using-ref"?: "off";
2758
+ readonly "@eslint-react/jsx-no-duplicate-props"?: "off";
2737
2759
  readonly "@eslint-react/jsx-uses-vars"?: "off";
2738
2760
  readonly "@eslint-react/no-access-state-in-setstate"?: "off";
2739
2761
  readonly "@eslint-react/no-array-index-key"?: "off";
@@ -2819,6 +2841,7 @@ declare const _default: {
2819
2841
  readonly "@eslint-react/avoid-shorthand-boolean"?: "off";
2820
2842
  readonly "@eslint-react/avoid-shorthand-fragment"?: "off";
2821
2843
  readonly "@eslint-react/ensure-forward-ref-using-ref"?: "off";
2844
+ readonly "@eslint-react/jsx-no-duplicate-props"?: "off";
2822
2845
  readonly "@eslint-react/jsx-uses-vars"?: "off";
2823
2846
  readonly "@eslint-react/no-access-state-in-setstate"?: "off";
2824
2847
  readonly "@eslint-react/no-array-index-key"?: "off";
@@ -2910,6 +2933,7 @@ declare const _default: {
2910
2933
  "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2911
2934
  "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2912
2935
  "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"ensureForwardRefUsingRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2936
+ "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2913
2937
  "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2914
2938
  "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2915
2939
  "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noArrayIndexKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
@@ -3172,6 +3196,7 @@ declare const _default: {
3172
3196
  readonly "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
3173
3197
  readonly "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
3174
3198
  readonly "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"ensureForwardRefUsingRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
3199
+ readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
3175
3200
  readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
3176
3201
  readonly "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
3177
3202
  readonly "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noArrayIndexKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
package/dist/index.js CHANGED
@@ -21,7 +21,7 @@ var react__default = /*#__PURE__*/_interopDefault(react);
21
21
 
22
22
  // package.json
23
23
  var name = "@eslint-react/eslint-plugin";
24
- var version = "1.16.1-next.2";
24
+ var version = "1.16.1";
25
25
  function transformKeys(obj, transform) {
26
26
  if (tools.typeOf(obj) !== "object") return obj;
27
27
  const res = {};
@@ -42,6 +42,7 @@ var allPreset = {
42
42
  "avoid-shorthand-boolean": "warn",
43
43
  "avoid-shorthand-fragment": "warn",
44
44
  "ensure-forward-ref-using-ref": "warn",
45
+ "jsx-no-duplicate-props": "warn",
45
46
  "jsx-uses-vars": "warn",
46
47
  "no-access-state-in-setstate": "error",
47
48
  "no-array-index-key": "warn",
@@ -119,6 +120,7 @@ var corePreset = {
119
120
  "ensure-forward-ref-using-ref": "warn",
120
121
  // "avoid-shorthand-boolean": "warn",
121
122
  // "avoid-shorthand-fragment": "warn",
123
+ "jsx-no-duplicate-props": "warn",
122
124
  "jsx-uses-vars": "warn",
123
125
  "no-access-state-in-setstate": "error",
124
126
  "no-array-index-key": "warn",
@@ -196,7 +198,9 @@ var recommendedPreset = {
196
198
  };
197
199
  var recommendedTypeScriptPreset = {
198
200
  ...recommendedPreset,
199
- "dom/no-unknown-property": "off"
201
+ "dom/no-unknown-property": "off",
202
+ "jsx-no-duplicate-props": "off",
203
+ "jsx-uses-vars": "off"
200
204
  };
201
205
  var recommendedTypeCheckedPreset = {
202
206
  ...recommendedTypeScriptPreset,
package/dist/index.mjs CHANGED
@@ -10,7 +10,7 @@ import react from 'eslint-plugin-react-x';
10
10
 
11
11
  // package.json
12
12
  var name = "@eslint-react/eslint-plugin";
13
- var version = "1.16.1-next.2";
13
+ var version = "1.16.1";
14
14
  function transformKeys(obj, transform) {
15
15
  if (typeOf(obj) !== "object") return obj;
16
16
  const res = {};
@@ -31,6 +31,7 @@ var allPreset = {
31
31
  "avoid-shorthand-boolean": "warn",
32
32
  "avoid-shorthand-fragment": "warn",
33
33
  "ensure-forward-ref-using-ref": "warn",
34
+ "jsx-no-duplicate-props": "warn",
34
35
  "jsx-uses-vars": "warn",
35
36
  "no-access-state-in-setstate": "error",
36
37
  "no-array-index-key": "warn",
@@ -108,6 +109,7 @@ var corePreset = {
108
109
  "ensure-forward-ref-using-ref": "warn",
109
110
  // "avoid-shorthand-boolean": "warn",
110
111
  // "avoid-shorthand-fragment": "warn",
112
+ "jsx-no-duplicate-props": "warn",
111
113
  "jsx-uses-vars": "warn",
112
114
  "no-access-state-in-setstate": "error",
113
115
  "no-array-index-key": "warn",
@@ -185,7 +187,9 @@ var recommendedPreset = {
185
187
  };
186
188
  var recommendedTypeScriptPreset = {
187
189
  ...recommendedPreset,
188
- "dom/no-unknown-property": "off"
190
+ "dom/no-unknown-property": "off",
191
+ "jsx-no-duplicate-props": "off",
192
+ "jsx-uses-vars": "off"
189
193
  };
190
194
  var recommendedTypeCheckedPreset = {
191
195
  ...recommendedTypeScriptPreset,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/eslint-plugin",
3
- "version": "1.16.1-next.2",
3
+ "version": "1.16.1",
4
4
  "description": "The main ESLint plugin of ESLint React. Contains all the rules and presets of ESLint React.",
5
5
  "keywords": [
6
6
  "eslint",
@@ -47,15 +47,15 @@
47
47
  "@typescript-eslint/type-utils": "^8.13.0",
48
48
  "@typescript-eslint/types": "^8.13.0",
49
49
  "@typescript-eslint/utils": "^8.13.0",
50
- "@eslint-react/shared": "1.16.1-next.2",
51
- "@eslint-react/tools": "1.16.1-next.2",
52
- "eslint-plugin-react-debug": "1.16.1-next.2",
53
- "@eslint-react/types": "1.16.1-next.2",
54
- "eslint-plugin-react-dom": "1.16.1-next.2",
55
- "eslint-plugin-react-hooks-extra": "1.16.1-next.2",
56
- "eslint-plugin-react-naming-convention": "1.16.1-next.2",
57
- "eslint-plugin-react-web-api": "1.16.1-next.2",
58
- "eslint-plugin-react-x": "1.16.1-next.2"
50
+ "@eslint-react/shared": "1.16.1",
51
+ "@eslint-react/tools": "1.16.1",
52
+ "@eslint-react/types": "1.16.1",
53
+ "eslint-plugin-react-dom": "1.16.1",
54
+ "eslint-plugin-react-debug": "1.16.1",
55
+ "eslint-plugin-react-hooks-extra": "1.16.1",
56
+ "eslint-plugin-react-naming-convention": "1.16.1",
57
+ "eslint-plugin-react-web-api": "1.16.1",
58
+ "eslint-plugin-react-x": "1.16.1"
59
59
  },
60
60
  "devDependencies": {
61
61
  "tsup": "^8.3.5"