@eslint-react/eslint-plugin 2.0.0-beta.25 → 2.0.0-beta.27
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 +189 -0
- package/dist/index.js +1 -1
- package/package.json +10 -10
package/dist/index.d.ts
CHANGED
|
@@ -362,6 +362,15 @@ declare const plugins$6: {
|
|
|
362
362
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
363
363
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
364
364
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
365
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
366
|
+
forbid: (string | {
|
|
367
|
+
excludedNodes?: string[];
|
|
368
|
+
prop: string;
|
|
369
|
+
} | {
|
|
370
|
+
includedNodes?: string[];
|
|
371
|
+
prop: string;
|
|
372
|
+
})[];
|
|
373
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
365
374
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
366
375
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
367
376
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -449,6 +458,15 @@ declare const plugins$6: {
|
|
|
449
458
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
450
459
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
451
460
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
461
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
462
|
+
forbid: (string | {
|
|
463
|
+
excludedNodes?: string[];
|
|
464
|
+
prop: string;
|
|
465
|
+
} | {
|
|
466
|
+
includedNodes?: string[];
|
|
467
|
+
prop: string;
|
|
468
|
+
})[];
|
|
469
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
452
470
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
453
471
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
454
472
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -536,6 +554,15 @@ declare const plugins$6: {
|
|
|
536
554
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
537
555
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
538
556
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
557
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
558
|
+
forbid: (string | {
|
|
559
|
+
excludedNodes?: string[];
|
|
560
|
+
prop: string;
|
|
561
|
+
} | {
|
|
562
|
+
includedNodes?: string[];
|
|
563
|
+
prop: string;
|
|
564
|
+
})[];
|
|
565
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
539
566
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
540
567
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
541
568
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -621,6 +648,15 @@ declare const plugins$6: {
|
|
|
621
648
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
622
649
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
623
650
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
651
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
652
|
+
forbid: (string | {
|
|
653
|
+
excludedNodes?: string[];
|
|
654
|
+
prop: string;
|
|
655
|
+
} | {
|
|
656
|
+
includedNodes?: string[];
|
|
657
|
+
prop: string;
|
|
658
|
+
})[];
|
|
659
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
624
660
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
625
661
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
626
662
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1217,6 +1253,15 @@ declare const plugins$3: {
|
|
|
1217
1253
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1218
1254
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1219
1255
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1256
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
1257
|
+
forbid: (string | {
|
|
1258
|
+
excludedNodes?: string[];
|
|
1259
|
+
prop: string;
|
|
1260
|
+
} | {
|
|
1261
|
+
includedNodes?: string[];
|
|
1262
|
+
prop: string;
|
|
1263
|
+
})[];
|
|
1264
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1220
1265
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1221
1266
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1222
1267
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1304,6 +1349,15 @@ declare const plugins$3: {
|
|
|
1304
1349
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1305
1350
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1306
1351
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1352
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
1353
|
+
forbid: (string | {
|
|
1354
|
+
excludedNodes?: string[];
|
|
1355
|
+
prop: string;
|
|
1356
|
+
} | {
|
|
1357
|
+
includedNodes?: string[];
|
|
1358
|
+
prop: string;
|
|
1359
|
+
})[];
|
|
1360
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1307
1361
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1308
1362
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1309
1363
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1391,6 +1445,15 @@ declare const plugins$3: {
|
|
|
1391
1445
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1392
1446
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1393
1447
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1448
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
1449
|
+
forbid: (string | {
|
|
1450
|
+
excludedNodes?: string[];
|
|
1451
|
+
prop: string;
|
|
1452
|
+
} | {
|
|
1453
|
+
includedNodes?: string[];
|
|
1454
|
+
prop: string;
|
|
1455
|
+
})[];
|
|
1456
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1394
1457
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1395
1458
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1396
1459
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1476,6 +1539,15 @@ declare const plugins$3: {
|
|
|
1476
1539
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1477
1540
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1478
1541
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1542
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
1543
|
+
forbid: (string | {
|
|
1544
|
+
excludedNodes?: string[];
|
|
1545
|
+
prop: string;
|
|
1546
|
+
} | {
|
|
1547
|
+
includedNodes?: string[];
|
|
1548
|
+
prop: string;
|
|
1549
|
+
})[];
|
|
1550
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1479
1551
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1480
1552
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1481
1553
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1880,6 +1952,15 @@ declare const plugins$2: {
|
|
|
1880
1952
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1881
1953
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1882
1954
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1955
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
1956
|
+
forbid: (string | {
|
|
1957
|
+
excludedNodes?: string[];
|
|
1958
|
+
prop: string;
|
|
1959
|
+
} | {
|
|
1960
|
+
includedNodes?: string[];
|
|
1961
|
+
prop: string;
|
|
1962
|
+
})[];
|
|
1963
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1883
1964
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1884
1965
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1885
1966
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1967,6 +2048,15 @@ declare const plugins$2: {
|
|
|
1967
2048
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1968
2049
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1969
2050
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2051
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
2052
|
+
forbid: (string | {
|
|
2053
|
+
excludedNodes?: string[];
|
|
2054
|
+
prop: string;
|
|
2055
|
+
} | {
|
|
2056
|
+
includedNodes?: string[];
|
|
2057
|
+
prop: string;
|
|
2058
|
+
})[];
|
|
2059
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1970
2060
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1971
2061
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1972
2062
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2054,6 +2144,15 @@ declare const plugins$2: {
|
|
|
2054
2144
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2055
2145
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2056
2146
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2147
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
2148
|
+
forbid: (string | {
|
|
2149
|
+
excludedNodes?: string[];
|
|
2150
|
+
prop: string;
|
|
2151
|
+
} | {
|
|
2152
|
+
includedNodes?: string[];
|
|
2153
|
+
prop: string;
|
|
2154
|
+
})[];
|
|
2155
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2057
2156
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2058
2157
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2059
2158
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2139,6 +2238,15 @@ declare const plugins$2: {
|
|
|
2139
2238
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2140
2239
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2141
2240
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2241
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
2242
|
+
forbid: (string | {
|
|
2243
|
+
excludedNodes?: string[];
|
|
2244
|
+
prop: string;
|
|
2245
|
+
} | {
|
|
2246
|
+
includedNodes?: string[];
|
|
2247
|
+
prop: string;
|
|
2248
|
+
})[];
|
|
2249
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2142
2250
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2143
2251
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2144
2252
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2542,6 +2650,15 @@ declare const plugins$1: {
|
|
|
2542
2650
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2543
2651
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2544
2652
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2653
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
2654
|
+
forbid: (string | {
|
|
2655
|
+
excludedNodes?: string[];
|
|
2656
|
+
prop: string;
|
|
2657
|
+
} | {
|
|
2658
|
+
includedNodes?: string[];
|
|
2659
|
+
prop: string;
|
|
2660
|
+
})[];
|
|
2661
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2545
2662
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2546
2663
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2547
2664
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2629,6 +2746,15 @@ declare const plugins$1: {
|
|
|
2629
2746
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2630
2747
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2631
2748
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2749
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
2750
|
+
forbid: (string | {
|
|
2751
|
+
excludedNodes?: string[];
|
|
2752
|
+
prop: string;
|
|
2753
|
+
} | {
|
|
2754
|
+
includedNodes?: string[];
|
|
2755
|
+
prop: string;
|
|
2756
|
+
})[];
|
|
2757
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2632
2758
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2633
2759
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2634
2760
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2716,6 +2842,15 @@ declare const plugins$1: {
|
|
|
2716
2842
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2717
2843
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2718
2844
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2845
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
2846
|
+
forbid: (string | {
|
|
2847
|
+
excludedNodes?: string[];
|
|
2848
|
+
prop: string;
|
|
2849
|
+
} | {
|
|
2850
|
+
includedNodes?: string[];
|
|
2851
|
+
prop: string;
|
|
2852
|
+
})[];
|
|
2853
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2719
2854
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2720
2855
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2721
2856
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2801,6 +2936,15 @@ declare const plugins$1: {
|
|
|
2801
2936
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2802
2937
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2803
2938
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2939
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
2940
|
+
forbid: (string | {
|
|
2941
|
+
excludedNodes?: string[];
|
|
2942
|
+
prop: string;
|
|
2943
|
+
} | {
|
|
2944
|
+
includedNodes?: string[];
|
|
2945
|
+
prop: string;
|
|
2946
|
+
})[];
|
|
2947
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2804
2948
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2805
2949
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2806
2950
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2949,6 +3093,15 @@ declare const plugins: {
|
|
|
2949
3093
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2950
3094
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2951
3095
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3096
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
3097
|
+
forbid: (string | {
|
|
3098
|
+
excludedNodes?: string[];
|
|
3099
|
+
prop: string;
|
|
3100
|
+
} | {
|
|
3101
|
+
includedNodes?: string[];
|
|
3102
|
+
prop: string;
|
|
3103
|
+
})[];
|
|
3104
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2952
3105
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2953
3106
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2954
3107
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -3036,6 +3189,15 @@ declare const plugins: {
|
|
|
3036
3189
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3037
3190
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3038
3191
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3192
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
3193
|
+
forbid: (string | {
|
|
3194
|
+
excludedNodes?: string[];
|
|
3195
|
+
prop: string;
|
|
3196
|
+
} | {
|
|
3197
|
+
includedNodes?: string[];
|
|
3198
|
+
prop: string;
|
|
3199
|
+
})[];
|
|
3200
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3039
3201
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3040
3202
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3041
3203
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -3123,6 +3285,15 @@ declare const plugins: {
|
|
|
3123
3285
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3124
3286
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3125
3287
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3288
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
3289
|
+
forbid: (string | {
|
|
3290
|
+
excludedNodes?: string[];
|
|
3291
|
+
prop: string;
|
|
3292
|
+
} | {
|
|
3293
|
+
includedNodes?: string[];
|
|
3294
|
+
prop: string;
|
|
3295
|
+
})[];
|
|
3296
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3126
3297
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3127
3298
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3128
3299
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -3208,6 +3379,15 @@ declare const plugins: {
|
|
|
3208
3379
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3209
3380
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3210
3381
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3382
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
3383
|
+
forbid: (string | {
|
|
3384
|
+
excludedNodes?: string[];
|
|
3385
|
+
prop: string;
|
|
3386
|
+
} | {
|
|
3387
|
+
includedNodes?: string[];
|
|
3388
|
+
prop: string;
|
|
3389
|
+
})[];
|
|
3390
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3211
3391
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3212
3392
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3213
3393
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -3455,6 +3635,15 @@ declare const _default: {
|
|
|
3455
3635
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3456
3636
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3457
3637
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3638
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
3639
|
+
forbid: (string | {
|
|
3640
|
+
excludedNodes?: string[];
|
|
3641
|
+
prop: string;
|
|
3642
|
+
} | {
|
|
3643
|
+
includedNodes?: string[];
|
|
3644
|
+
prop: string;
|
|
3645
|
+
})[];
|
|
3646
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3458
3647
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3459
3648
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3460
3649
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/eslint-plugin",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.27",
|
|
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,15 +41,15 @@
|
|
|
41
41
|
"@typescript-eslint/type-utils": "^8.39.1",
|
|
42
42
|
"@typescript-eslint/types": "^8.39.1",
|
|
43
43
|
"@typescript-eslint/utils": "^8.39.1",
|
|
44
|
-
"@eslint-react/eff": "2.0.0-beta.
|
|
45
|
-
"@eslint-react/kit": "2.0.0-beta.
|
|
46
|
-
"eslint-plugin-react-debug": "2.0.0-beta.
|
|
47
|
-
"
|
|
48
|
-
"eslint-plugin-react-hooks-extra": "2.0.0-beta.
|
|
49
|
-
"eslint-
|
|
50
|
-
"eslint-plugin-react-naming-convention": "2.0.0-beta.
|
|
51
|
-
"eslint-plugin-react-web-api": "2.0.0-beta.
|
|
52
|
-
"eslint-plugin-react-x": "2.0.0-beta.
|
|
44
|
+
"@eslint-react/eff": "2.0.0-beta.27",
|
|
45
|
+
"@eslint-react/kit": "2.0.0-beta.27",
|
|
46
|
+
"eslint-plugin-react-debug": "2.0.0-beta.27",
|
|
47
|
+
"eslint-plugin-react-dom": "2.0.0-beta.27",
|
|
48
|
+
"eslint-plugin-react-hooks-extra": "2.0.0-beta.27",
|
|
49
|
+
"@eslint-react/shared": "2.0.0-beta.27",
|
|
50
|
+
"eslint-plugin-react-naming-convention": "2.0.0-beta.27",
|
|
51
|
+
"eslint-plugin-react-web-api": "2.0.0-beta.27",
|
|
52
|
+
"eslint-plugin-react-x": "2.0.0-beta.27"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"tsup": "^8.5.0",
|