@eslint-react/eslint-plugin 2.0.0-next.126 → 2.0.0-next.129
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 +202 -0
- package/dist/index.js +2 -1
- package/package.json +10 -10
package/dist/index.d.ts
CHANGED
|
@@ -286,6 +286,7 @@ declare const plugins$6: {
|
|
|
286
286
|
readonly "no-render": _typescript_eslint_utils_ts_eslint.RuleModule<"noRender", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
287
287
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
288
288
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
289
|
+
readonly "no-string-style-prop": _typescript_eslint_utils_ts_eslint.RuleModule<"noStringStyleProp", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
289
290
|
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<"dataLowercaseRequired" | "invalidPropOnTag" | "unknownProp" | "unknownPropWithStandardName", unknown[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
290
291
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
291
292
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank" | "addRelNoreferrerNoopener", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -318,6 +319,7 @@ declare const plugins$6: {
|
|
|
318
319
|
readonly "no-render": _typescript_eslint_utils_ts_eslint.RuleModule<"noRender", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
319
320
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
320
321
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
322
|
+
readonly "no-string-style-prop": _typescript_eslint_utils_ts_eslint.RuleModule<"noStringStyleProp", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
321
323
|
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<"dataLowercaseRequired" | "invalidPropOnTag" | "unknownProp" | "unknownPropWithStandardName", unknown[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
322
324
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
323
325
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank" | "addRelNoreferrerNoopener", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -362,6 +364,15 @@ declare const plugins$6: {
|
|
|
362
364
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
363
365
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
364
366
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
367
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
368
|
+
forbid: (string | {
|
|
369
|
+
excludedNodes?: string[];
|
|
370
|
+
prop: string;
|
|
371
|
+
} | {
|
|
372
|
+
includedNodes?: string[];
|
|
373
|
+
prop: string;
|
|
374
|
+
})[];
|
|
375
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
365
376
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
366
377
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
367
378
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -449,6 +460,15 @@ declare const plugins$6: {
|
|
|
449
460
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
450
461
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
451
462
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
463
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
464
|
+
forbid: (string | {
|
|
465
|
+
excludedNodes?: string[];
|
|
466
|
+
prop: string;
|
|
467
|
+
} | {
|
|
468
|
+
includedNodes?: string[];
|
|
469
|
+
prop: string;
|
|
470
|
+
})[];
|
|
471
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
452
472
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
453
473
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
454
474
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -536,6 +556,15 @@ declare const plugins$6: {
|
|
|
536
556
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
537
557
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
538
558
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
559
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
560
|
+
forbid: (string | {
|
|
561
|
+
excludedNodes?: string[];
|
|
562
|
+
prop: string;
|
|
563
|
+
} | {
|
|
564
|
+
includedNodes?: string[];
|
|
565
|
+
prop: string;
|
|
566
|
+
})[];
|
|
567
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
539
568
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
540
569
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
541
570
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -621,6 +650,15 @@ declare const plugins$6: {
|
|
|
621
650
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
622
651
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
623
652
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
653
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
654
|
+
forbid: (string | {
|
|
655
|
+
excludedNodes?: string[];
|
|
656
|
+
prop: string;
|
|
657
|
+
} | {
|
|
658
|
+
includedNodes?: string[];
|
|
659
|
+
prop: string;
|
|
660
|
+
})[];
|
|
661
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
624
662
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
625
663
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
626
664
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -813,6 +851,7 @@ declare const plugins$4: {
|
|
|
813
851
|
readonly "no-render": _typescript_eslint_utils_ts_eslint.RuleModule<"noRender", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
814
852
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
815
853
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
854
|
+
readonly "no-string-style-prop": _typescript_eslint_utils_ts_eslint.RuleModule<"noStringStyleProp", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
816
855
|
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<"dataLowercaseRequired" | "invalidPropOnTag" | "unknownProp" | "unknownPropWithStandardName", unknown[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
817
856
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
818
857
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank" | "addRelNoreferrerNoopener", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -845,6 +884,7 @@ declare const plugins$4: {
|
|
|
845
884
|
readonly "no-render": _typescript_eslint_utils_ts_eslint.RuleModule<"noRender", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
846
885
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
847
886
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
887
|
+
readonly "no-string-style-prop": _typescript_eslint_utils_ts_eslint.RuleModule<"noStringStyleProp", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
848
888
|
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<"dataLowercaseRequired" | "invalidPropOnTag" | "unknownProp" | "unknownPropWithStandardName", unknown[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
849
889
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
850
890
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank" | "addRelNoreferrerNoopener", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1141,6 +1181,7 @@ declare const plugins$3: {
|
|
|
1141
1181
|
readonly "no-render": _typescript_eslint_utils_ts_eslint.RuleModule<"noRender", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1142
1182
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1143
1183
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1184
|
+
readonly "no-string-style-prop": _typescript_eslint_utils_ts_eslint.RuleModule<"noStringStyleProp", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1144
1185
|
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<"dataLowercaseRequired" | "invalidPropOnTag" | "unknownProp" | "unknownPropWithStandardName", unknown[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1145
1186
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1146
1187
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank" | "addRelNoreferrerNoopener", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1173,6 +1214,7 @@ declare const plugins$3: {
|
|
|
1173
1214
|
readonly "no-render": _typescript_eslint_utils_ts_eslint.RuleModule<"noRender", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1174
1215
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1175
1216
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1217
|
+
readonly "no-string-style-prop": _typescript_eslint_utils_ts_eslint.RuleModule<"noStringStyleProp", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1176
1218
|
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<"dataLowercaseRequired" | "invalidPropOnTag" | "unknownProp" | "unknownPropWithStandardName", unknown[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1177
1219
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1178
1220
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank" | "addRelNoreferrerNoopener", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1217,6 +1259,15 @@ declare const plugins$3: {
|
|
|
1217
1259
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1218
1260
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1219
1261
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1262
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
1263
|
+
forbid: (string | {
|
|
1264
|
+
excludedNodes?: string[];
|
|
1265
|
+
prop: string;
|
|
1266
|
+
} | {
|
|
1267
|
+
includedNodes?: string[];
|
|
1268
|
+
prop: string;
|
|
1269
|
+
})[];
|
|
1270
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1220
1271
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1221
1272
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1222
1273
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1304,6 +1355,15 @@ declare const plugins$3: {
|
|
|
1304
1355
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1305
1356
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1306
1357
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1358
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
1359
|
+
forbid: (string | {
|
|
1360
|
+
excludedNodes?: string[];
|
|
1361
|
+
prop: string;
|
|
1362
|
+
} | {
|
|
1363
|
+
includedNodes?: string[];
|
|
1364
|
+
prop: string;
|
|
1365
|
+
})[];
|
|
1366
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1307
1367
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1308
1368
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1309
1369
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1391,6 +1451,15 @@ declare const plugins$3: {
|
|
|
1391
1451
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1392
1452
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1393
1453
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1454
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
1455
|
+
forbid: (string | {
|
|
1456
|
+
excludedNodes?: string[];
|
|
1457
|
+
prop: string;
|
|
1458
|
+
} | {
|
|
1459
|
+
includedNodes?: string[];
|
|
1460
|
+
prop: string;
|
|
1461
|
+
})[];
|
|
1462
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1394
1463
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1395
1464
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1396
1465
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1476,6 +1545,15 @@ declare const plugins$3: {
|
|
|
1476
1545
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1477
1546
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1478
1547
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1548
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
1549
|
+
forbid: (string | {
|
|
1550
|
+
excludedNodes?: string[];
|
|
1551
|
+
prop: string;
|
|
1552
|
+
} | {
|
|
1553
|
+
includedNodes?: string[];
|
|
1554
|
+
prop: string;
|
|
1555
|
+
})[];
|
|
1556
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1479
1557
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1480
1558
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1481
1559
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1543,6 +1621,7 @@ declare namespace recommendedConfig {
|
|
|
1543
1621
|
declare const name$2 = "@eslint-react/recommended-type-checked";
|
|
1544
1622
|
declare const rules$2: {
|
|
1545
1623
|
readonly "@eslint-react/no-leaked-conditional-rendering": "warn";
|
|
1624
|
+
readonly "@eslint-react/dom/no-string-style-prop": "off";
|
|
1546
1625
|
readonly "@eslint-react/dom/no-unknown-property": "off";
|
|
1547
1626
|
readonly "@eslint-react/jsx-no-duplicate-props": "off";
|
|
1548
1627
|
readonly "@eslint-react/jsx-uses-react": "off";
|
|
@@ -1804,6 +1883,7 @@ declare const plugins$2: {
|
|
|
1804
1883
|
readonly "no-render": _typescript_eslint_utils_ts_eslint.RuleModule<"noRender", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1805
1884
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1806
1885
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1886
|
+
readonly "no-string-style-prop": _typescript_eslint_utils_ts_eslint.RuleModule<"noStringStyleProp", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1807
1887
|
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<"dataLowercaseRequired" | "invalidPropOnTag" | "unknownProp" | "unknownPropWithStandardName", unknown[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1808
1888
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1809
1889
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank" | "addRelNoreferrerNoopener", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1836,6 +1916,7 @@ declare const plugins$2: {
|
|
|
1836
1916
|
readonly "no-render": _typescript_eslint_utils_ts_eslint.RuleModule<"noRender", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1837
1917
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1838
1918
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1919
|
+
readonly "no-string-style-prop": _typescript_eslint_utils_ts_eslint.RuleModule<"noStringStyleProp", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1839
1920
|
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<"dataLowercaseRequired" | "invalidPropOnTag" | "unknownProp" | "unknownPropWithStandardName", unknown[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1840
1921
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1841
1922
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank" | "addRelNoreferrerNoopener", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1880,6 +1961,15 @@ declare const plugins$2: {
|
|
|
1880
1961
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1881
1962
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1882
1963
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1964
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
1965
|
+
forbid: (string | {
|
|
1966
|
+
excludedNodes?: string[];
|
|
1967
|
+
prop: string;
|
|
1968
|
+
} | {
|
|
1969
|
+
includedNodes?: string[];
|
|
1970
|
+
prop: string;
|
|
1971
|
+
})[];
|
|
1972
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1883
1973
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1884
1974
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1885
1975
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1967,6 +2057,15 @@ declare const plugins$2: {
|
|
|
1967
2057
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1968
2058
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1969
2059
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2060
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
2061
|
+
forbid: (string | {
|
|
2062
|
+
excludedNodes?: string[];
|
|
2063
|
+
prop: string;
|
|
2064
|
+
} | {
|
|
2065
|
+
includedNodes?: string[];
|
|
2066
|
+
prop: string;
|
|
2067
|
+
})[];
|
|
2068
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1970
2069
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1971
2070
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1972
2071
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2054,6 +2153,15 @@ declare const plugins$2: {
|
|
|
2054
2153
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2055
2154
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2056
2155
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2156
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
2157
|
+
forbid: (string | {
|
|
2158
|
+
excludedNodes?: string[];
|
|
2159
|
+
prop: string;
|
|
2160
|
+
} | {
|
|
2161
|
+
includedNodes?: string[];
|
|
2162
|
+
prop: string;
|
|
2163
|
+
})[];
|
|
2164
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2057
2165
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2058
2166
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2059
2167
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2139,6 +2247,15 @@ declare const plugins$2: {
|
|
|
2139
2247
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2140
2248
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2141
2249
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2250
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
2251
|
+
forbid: (string | {
|
|
2252
|
+
excludedNodes?: string[];
|
|
2253
|
+
prop: string;
|
|
2254
|
+
} | {
|
|
2255
|
+
includedNodes?: string[];
|
|
2256
|
+
prop: string;
|
|
2257
|
+
})[];
|
|
2258
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2142
2259
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2143
2260
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2144
2261
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2205,6 +2322,7 @@ declare namespace recommendedTypeCheckedConfig {
|
|
|
2205
2322
|
|
|
2206
2323
|
declare const name$1 = "@eslint-react/recommended-typescript";
|
|
2207
2324
|
declare const rules$1: {
|
|
2325
|
+
readonly "@eslint-react/dom/no-string-style-prop": "off";
|
|
2208
2326
|
readonly "@eslint-react/dom/no-unknown-property": "off";
|
|
2209
2327
|
readonly "@eslint-react/jsx-no-duplicate-props": "off";
|
|
2210
2328
|
readonly "@eslint-react/jsx-uses-react": "off";
|
|
@@ -2466,6 +2584,7 @@ declare const plugins$1: {
|
|
|
2466
2584
|
readonly "no-render": _typescript_eslint_utils_ts_eslint.RuleModule<"noRender", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2467
2585
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2468
2586
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2587
|
+
readonly "no-string-style-prop": _typescript_eslint_utils_ts_eslint.RuleModule<"noStringStyleProp", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2469
2588
|
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<"dataLowercaseRequired" | "invalidPropOnTag" | "unknownProp" | "unknownPropWithStandardName", unknown[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2470
2589
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2471
2590
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank" | "addRelNoreferrerNoopener", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2498,6 +2617,7 @@ declare const plugins$1: {
|
|
|
2498
2617
|
readonly "no-render": _typescript_eslint_utils_ts_eslint.RuleModule<"noRender", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2499
2618
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2500
2619
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2620
|
+
readonly "no-string-style-prop": _typescript_eslint_utils_ts_eslint.RuleModule<"noStringStyleProp", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2501
2621
|
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<"dataLowercaseRequired" | "invalidPropOnTag" | "unknownProp" | "unknownPropWithStandardName", unknown[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2502
2622
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2503
2623
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank" | "addRelNoreferrerNoopener", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2542,6 +2662,15 @@ declare const plugins$1: {
|
|
|
2542
2662
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2543
2663
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2544
2664
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2665
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
2666
|
+
forbid: (string | {
|
|
2667
|
+
excludedNodes?: string[];
|
|
2668
|
+
prop: string;
|
|
2669
|
+
} | {
|
|
2670
|
+
includedNodes?: string[];
|
|
2671
|
+
prop: string;
|
|
2672
|
+
})[];
|
|
2673
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2545
2674
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2546
2675
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2547
2676
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2629,6 +2758,15 @@ declare const plugins$1: {
|
|
|
2629
2758
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2630
2759
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2631
2760
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2761
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
2762
|
+
forbid: (string | {
|
|
2763
|
+
excludedNodes?: string[];
|
|
2764
|
+
prop: string;
|
|
2765
|
+
} | {
|
|
2766
|
+
includedNodes?: string[];
|
|
2767
|
+
prop: string;
|
|
2768
|
+
})[];
|
|
2769
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2632
2770
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2633
2771
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2634
2772
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2716,6 +2854,15 @@ declare const plugins$1: {
|
|
|
2716
2854
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2717
2855
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2718
2856
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2857
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
2858
|
+
forbid: (string | {
|
|
2859
|
+
excludedNodes?: string[];
|
|
2860
|
+
prop: string;
|
|
2861
|
+
} | {
|
|
2862
|
+
includedNodes?: string[];
|
|
2863
|
+
prop: string;
|
|
2864
|
+
})[];
|
|
2865
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2719
2866
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2720
2867
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2721
2868
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2801,6 +2948,15 @@ declare const plugins$1: {
|
|
|
2801
2948
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2802
2949
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2803
2950
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2951
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
2952
|
+
forbid: (string | {
|
|
2953
|
+
excludedNodes?: string[];
|
|
2954
|
+
prop: string;
|
|
2955
|
+
} | {
|
|
2956
|
+
includedNodes?: string[];
|
|
2957
|
+
prop: string;
|
|
2958
|
+
})[];
|
|
2959
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2804
2960
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2805
2961
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2806
2962
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2949,6 +3105,15 @@ declare const plugins: {
|
|
|
2949
3105
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2950
3106
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2951
3107
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3108
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
3109
|
+
forbid: (string | {
|
|
3110
|
+
excludedNodes?: string[];
|
|
3111
|
+
prop: string;
|
|
3112
|
+
} | {
|
|
3113
|
+
includedNodes?: string[];
|
|
3114
|
+
prop: string;
|
|
3115
|
+
})[];
|
|
3116
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2952
3117
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2953
3118
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2954
3119
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -3036,6 +3201,15 @@ declare const plugins: {
|
|
|
3036
3201
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3037
3202
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3038
3203
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3204
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
3205
|
+
forbid: (string | {
|
|
3206
|
+
excludedNodes?: string[];
|
|
3207
|
+
prop: string;
|
|
3208
|
+
} | {
|
|
3209
|
+
includedNodes?: string[];
|
|
3210
|
+
prop: string;
|
|
3211
|
+
})[];
|
|
3212
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3039
3213
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3040
3214
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3041
3215
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -3123,6 +3297,15 @@ declare const plugins: {
|
|
|
3123
3297
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3124
3298
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3125
3299
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3300
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
3301
|
+
forbid: (string | {
|
|
3302
|
+
excludedNodes?: string[];
|
|
3303
|
+
prop: string;
|
|
3304
|
+
} | {
|
|
3305
|
+
includedNodes?: string[];
|
|
3306
|
+
prop: string;
|
|
3307
|
+
})[];
|
|
3308
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3126
3309
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3127
3310
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3128
3311
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -3208,6 +3391,15 @@ declare const plugins: {
|
|
|
3208
3391
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3209
3392
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3210
3393
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3394
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
3395
|
+
forbid: (string | {
|
|
3396
|
+
excludedNodes?: string[];
|
|
3397
|
+
prop: string;
|
|
3398
|
+
} | {
|
|
3399
|
+
includedNodes?: string[];
|
|
3400
|
+
prop: string;
|
|
3401
|
+
})[];
|
|
3402
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3211
3403
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3212
3404
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3213
3405
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -3423,6 +3615,7 @@ declare const _default: {
|
|
|
3423
3615
|
readonly "dom/no-render": _typescript_eslint_utils_ts_eslint.RuleModule<"noRender", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3424
3616
|
readonly "dom/no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3425
3617
|
readonly "dom/no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3618
|
+
readonly "dom/no-string-style-prop": _typescript_eslint_utils_ts_eslint.RuleModule<"noStringStyleProp", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3426
3619
|
readonly "dom/no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<"dataLowercaseRequired" | "invalidPropOnTag" | "unknownProp" | "unknownPropWithStandardName", unknown[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3427
3620
|
readonly "dom/no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3428
3621
|
readonly "dom/no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank" | "addRelNoreferrerNoopener", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -3455,6 +3648,15 @@ declare const _default: {
|
|
|
3455
3648
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3456
3649
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3457
3650
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3651
|
+
readonly "no-forbidden-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noForbiddenProps", readonly [{
|
|
3652
|
+
forbid: (string | {
|
|
3653
|
+
excludedNodes?: string[];
|
|
3654
|
+
prop: string;
|
|
3655
|
+
} | {
|
|
3656
|
+
includedNodes?: string[];
|
|
3657
|
+
prop: string;
|
|
3658
|
+
})[];
|
|
3659
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3458
3660
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3459
3661
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3460
3662
|
readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var __export = (target, all) => {
|
|
|
14
14
|
|
|
15
15
|
// package.json
|
|
16
16
|
var name = "@eslint-react/eslint-plugin";
|
|
17
|
-
var version = "2.0.0-next.
|
|
17
|
+
var version = "2.0.0-next.129";
|
|
18
18
|
|
|
19
19
|
// src/configs/all.ts
|
|
20
20
|
var all_exports = {};
|
|
@@ -429,6 +429,7 @@ __export(recommended_typescript_exports, {
|
|
|
429
429
|
var name13 = "@eslint-react/recommended-typescript";
|
|
430
430
|
var rules13 = {
|
|
431
431
|
...rules12,
|
|
432
|
+
"@eslint-react/dom/no-string-style-prop": "off",
|
|
432
433
|
"@eslint-react/dom/no-unknown-property": "off",
|
|
433
434
|
"@eslint-react/jsx-no-duplicate-props": "off",
|
|
434
435
|
"@eslint-react/jsx-uses-react": "off",
|
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.129",
|
|
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/
|
|
45
|
-
"@eslint-react/shared": "2.0.0-next.
|
|
46
|
-
"eslint-plugin-react-
|
|
47
|
-
"eslint-plugin-react-
|
|
48
|
-
"eslint-plugin-react-
|
|
49
|
-
"eslint-plugin-react-
|
|
50
|
-
"eslint-
|
|
51
|
-
"
|
|
52
|
-
"eslint-plugin-react-
|
|
44
|
+
"@eslint-react/kit": "2.0.0-next.129",
|
|
45
|
+
"@eslint-react/shared": "2.0.0-next.129",
|
|
46
|
+
"eslint-plugin-react-dom": "2.0.0-next.129",
|
|
47
|
+
"eslint-plugin-react-hooks-extra": "2.0.0-next.129",
|
|
48
|
+
"eslint-plugin-react-naming-convention": "2.0.0-next.129",
|
|
49
|
+
"eslint-plugin-react-web-api": "2.0.0-next.129",
|
|
50
|
+
"@eslint-react/eff": "2.0.0-next.129",
|
|
51
|
+
"eslint-plugin-react-debug": "2.0.0-next.129",
|
|
52
|
+
"eslint-plugin-react-x": "2.0.0-next.129"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"tsup": "^8.5.0",
|