@eslint-react/eslint-plugin 1.47.5-beta.0 → 1.48.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 +12 -84
- package/dist/index.d.ts +12 -84
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +10 -10
package/dist/index.d.mts
CHANGED
|
@@ -666,26 +666,14 @@ declare const settings$5: {
|
|
|
666
666
|
"react-x": {
|
|
667
667
|
readonly version: "detect";
|
|
668
668
|
readonly importSource: "react";
|
|
669
|
-
readonly strict:
|
|
669
|
+
readonly strict: true;
|
|
670
670
|
readonly skipImportCheck: true;
|
|
671
671
|
readonly polymorphicPropName: "as";
|
|
672
|
+
readonly additionalComponents: [];
|
|
672
673
|
readonly additionalHooks: {
|
|
673
674
|
readonly useEffect: ["useIsomorphicLayoutEffect"];
|
|
674
675
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
675
676
|
};
|
|
676
|
-
readonly jsxPragma?: string | undefined;
|
|
677
|
-
readonly jsxPragmaFrag?: string | undefined;
|
|
678
|
-
readonly additionalComponents?: {
|
|
679
|
-
as?: string | undefined;
|
|
680
|
-
attributes?: {
|
|
681
|
-
as?: string | undefined;
|
|
682
|
-
controlled?: boolean | undefined;
|
|
683
|
-
defaultValue?: string | undefined;
|
|
684
|
-
name: string;
|
|
685
|
-
}[] | undefined;
|
|
686
|
-
selector?: string | undefined;
|
|
687
|
-
name: string;
|
|
688
|
-
}[] | undefined;
|
|
689
677
|
};
|
|
690
678
|
};
|
|
691
679
|
|
|
@@ -862,26 +850,14 @@ declare const settings$4: {
|
|
|
862
850
|
"react-x": {
|
|
863
851
|
readonly version: "detect";
|
|
864
852
|
readonly importSource: "react";
|
|
865
|
-
readonly strict:
|
|
853
|
+
readonly strict: true;
|
|
866
854
|
readonly skipImportCheck: true;
|
|
867
855
|
readonly polymorphicPropName: "as";
|
|
856
|
+
readonly additionalComponents: [];
|
|
868
857
|
readonly additionalHooks: {
|
|
869
858
|
readonly useEffect: ["useIsomorphicLayoutEffect"];
|
|
870
859
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
871
860
|
};
|
|
872
|
-
readonly jsxPragma?: string | undefined;
|
|
873
|
-
readonly jsxPragmaFrag?: string | undefined;
|
|
874
|
-
readonly additionalComponents?: {
|
|
875
|
-
as?: string | undefined;
|
|
876
|
-
attributes?: {
|
|
877
|
-
as?: string | undefined;
|
|
878
|
-
controlled?: boolean | undefined;
|
|
879
|
-
defaultValue?: string | undefined;
|
|
880
|
-
name: string;
|
|
881
|
-
}[] | undefined;
|
|
882
|
-
selector?: string | undefined;
|
|
883
|
-
name: string;
|
|
884
|
-
}[] | undefined;
|
|
885
861
|
};
|
|
886
862
|
};
|
|
887
863
|
|
|
@@ -1539,26 +1515,14 @@ declare const settings$3: {
|
|
|
1539
1515
|
"react-x": {
|
|
1540
1516
|
readonly version: "detect";
|
|
1541
1517
|
readonly importSource: "react";
|
|
1542
|
-
readonly strict:
|
|
1518
|
+
readonly strict: true;
|
|
1543
1519
|
readonly skipImportCheck: true;
|
|
1544
1520
|
readonly polymorphicPropName: "as";
|
|
1521
|
+
readonly additionalComponents: [];
|
|
1545
1522
|
readonly additionalHooks: {
|
|
1546
1523
|
readonly useEffect: ["useIsomorphicLayoutEffect"];
|
|
1547
1524
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
1548
1525
|
};
|
|
1549
|
-
readonly jsxPragma?: string | undefined;
|
|
1550
|
-
readonly jsxPragmaFrag?: string | undefined;
|
|
1551
|
-
readonly additionalComponents?: {
|
|
1552
|
-
as?: string | undefined;
|
|
1553
|
-
attributes?: {
|
|
1554
|
-
as?: string | undefined;
|
|
1555
|
-
controlled?: boolean | undefined;
|
|
1556
|
-
defaultValue?: string | undefined;
|
|
1557
|
-
name: string;
|
|
1558
|
-
}[] | undefined;
|
|
1559
|
-
selector?: string | undefined;
|
|
1560
|
-
name: string;
|
|
1561
|
-
}[] | undefined;
|
|
1562
1526
|
};
|
|
1563
1527
|
};
|
|
1564
1528
|
|
|
@@ -2211,26 +2175,14 @@ declare const settings$2: {
|
|
|
2211
2175
|
"react-x": {
|
|
2212
2176
|
readonly version: "detect";
|
|
2213
2177
|
readonly importSource: "react";
|
|
2214
|
-
readonly strict:
|
|
2178
|
+
readonly strict: true;
|
|
2215
2179
|
readonly skipImportCheck: true;
|
|
2216
2180
|
readonly polymorphicPropName: "as";
|
|
2181
|
+
readonly additionalComponents: [];
|
|
2217
2182
|
readonly additionalHooks: {
|
|
2218
2183
|
readonly useEffect: ["useIsomorphicLayoutEffect"];
|
|
2219
2184
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
2220
2185
|
};
|
|
2221
|
-
readonly jsxPragma?: string | undefined;
|
|
2222
|
-
readonly jsxPragmaFrag?: string | undefined;
|
|
2223
|
-
readonly additionalComponents?: {
|
|
2224
|
-
as?: string | undefined;
|
|
2225
|
-
attributes?: {
|
|
2226
|
-
as?: string | undefined;
|
|
2227
|
-
controlled?: boolean | undefined;
|
|
2228
|
-
defaultValue?: string | undefined;
|
|
2229
|
-
name: string;
|
|
2230
|
-
}[] | undefined;
|
|
2231
|
-
selector?: string | undefined;
|
|
2232
|
-
name: string;
|
|
2233
|
-
}[] | undefined;
|
|
2234
2186
|
};
|
|
2235
2187
|
};
|
|
2236
2188
|
|
|
@@ -2882,26 +2834,14 @@ declare const settings$1: {
|
|
|
2882
2834
|
"react-x": {
|
|
2883
2835
|
readonly version: "detect";
|
|
2884
2836
|
readonly importSource: "react";
|
|
2885
|
-
readonly strict:
|
|
2837
|
+
readonly strict: true;
|
|
2886
2838
|
readonly skipImportCheck: true;
|
|
2887
2839
|
readonly polymorphicPropName: "as";
|
|
2840
|
+
readonly additionalComponents: [];
|
|
2888
2841
|
readonly additionalHooks: {
|
|
2889
2842
|
readonly useEffect: ["useIsomorphicLayoutEffect"];
|
|
2890
2843
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
2891
2844
|
};
|
|
2892
|
-
readonly jsxPragma?: string | undefined;
|
|
2893
|
-
readonly jsxPragmaFrag?: string | undefined;
|
|
2894
|
-
readonly additionalComponents?: {
|
|
2895
|
-
as?: string | undefined;
|
|
2896
|
-
attributes?: {
|
|
2897
|
-
as?: string | undefined;
|
|
2898
|
-
controlled?: boolean | undefined;
|
|
2899
|
-
defaultValue?: string | undefined;
|
|
2900
|
-
name: string;
|
|
2901
|
-
}[] | undefined;
|
|
2902
|
-
selector?: string | undefined;
|
|
2903
|
-
name: string;
|
|
2904
|
-
}[] | undefined;
|
|
2905
2845
|
};
|
|
2906
2846
|
};
|
|
2907
2847
|
|
|
@@ -3275,26 +3215,14 @@ declare const settings: {
|
|
|
3275
3215
|
"react-x": {
|
|
3276
3216
|
readonly version: "detect";
|
|
3277
3217
|
readonly importSource: "react";
|
|
3278
|
-
readonly strict:
|
|
3218
|
+
readonly strict: true;
|
|
3279
3219
|
readonly skipImportCheck: true;
|
|
3280
3220
|
readonly polymorphicPropName: "as";
|
|
3221
|
+
readonly additionalComponents: [];
|
|
3281
3222
|
readonly additionalHooks: {
|
|
3282
3223
|
readonly useEffect: ["useIsomorphicLayoutEffect"];
|
|
3283
3224
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
3284
3225
|
};
|
|
3285
|
-
readonly jsxPragma?: string | undefined;
|
|
3286
|
-
readonly jsxPragmaFrag?: string | undefined;
|
|
3287
|
-
readonly additionalComponents?: {
|
|
3288
|
-
as?: string | undefined;
|
|
3289
|
-
attributes?: {
|
|
3290
|
-
as?: string | undefined;
|
|
3291
|
-
controlled?: boolean | undefined;
|
|
3292
|
-
defaultValue?: string | undefined;
|
|
3293
|
-
name: string;
|
|
3294
|
-
}[] | undefined;
|
|
3295
|
-
selector?: string | undefined;
|
|
3296
|
-
name: string;
|
|
3297
|
-
}[] | undefined;
|
|
3298
3226
|
};
|
|
3299
3227
|
};
|
|
3300
3228
|
|
package/dist/index.d.ts
CHANGED
|
@@ -666,26 +666,14 @@ declare const settings$5: {
|
|
|
666
666
|
"react-x": {
|
|
667
667
|
readonly version: "detect";
|
|
668
668
|
readonly importSource: "react";
|
|
669
|
-
readonly strict:
|
|
669
|
+
readonly strict: true;
|
|
670
670
|
readonly skipImportCheck: true;
|
|
671
671
|
readonly polymorphicPropName: "as";
|
|
672
|
+
readonly additionalComponents: [];
|
|
672
673
|
readonly additionalHooks: {
|
|
673
674
|
readonly useEffect: ["useIsomorphicLayoutEffect"];
|
|
674
675
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
675
676
|
};
|
|
676
|
-
readonly jsxPragma?: string | undefined;
|
|
677
|
-
readonly jsxPragmaFrag?: string | undefined;
|
|
678
|
-
readonly additionalComponents?: {
|
|
679
|
-
as?: string | undefined;
|
|
680
|
-
attributes?: {
|
|
681
|
-
as?: string | undefined;
|
|
682
|
-
controlled?: boolean | undefined;
|
|
683
|
-
defaultValue?: string | undefined;
|
|
684
|
-
name: string;
|
|
685
|
-
}[] | undefined;
|
|
686
|
-
selector?: string | undefined;
|
|
687
|
-
name: string;
|
|
688
|
-
}[] | undefined;
|
|
689
677
|
};
|
|
690
678
|
};
|
|
691
679
|
|
|
@@ -862,26 +850,14 @@ declare const settings$4: {
|
|
|
862
850
|
"react-x": {
|
|
863
851
|
readonly version: "detect";
|
|
864
852
|
readonly importSource: "react";
|
|
865
|
-
readonly strict:
|
|
853
|
+
readonly strict: true;
|
|
866
854
|
readonly skipImportCheck: true;
|
|
867
855
|
readonly polymorphicPropName: "as";
|
|
856
|
+
readonly additionalComponents: [];
|
|
868
857
|
readonly additionalHooks: {
|
|
869
858
|
readonly useEffect: ["useIsomorphicLayoutEffect"];
|
|
870
859
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
871
860
|
};
|
|
872
|
-
readonly jsxPragma?: string | undefined;
|
|
873
|
-
readonly jsxPragmaFrag?: string | undefined;
|
|
874
|
-
readonly additionalComponents?: {
|
|
875
|
-
as?: string | undefined;
|
|
876
|
-
attributes?: {
|
|
877
|
-
as?: string | undefined;
|
|
878
|
-
controlled?: boolean | undefined;
|
|
879
|
-
defaultValue?: string | undefined;
|
|
880
|
-
name: string;
|
|
881
|
-
}[] | undefined;
|
|
882
|
-
selector?: string | undefined;
|
|
883
|
-
name: string;
|
|
884
|
-
}[] | undefined;
|
|
885
861
|
};
|
|
886
862
|
};
|
|
887
863
|
|
|
@@ -1539,26 +1515,14 @@ declare const settings$3: {
|
|
|
1539
1515
|
"react-x": {
|
|
1540
1516
|
readonly version: "detect";
|
|
1541
1517
|
readonly importSource: "react";
|
|
1542
|
-
readonly strict:
|
|
1518
|
+
readonly strict: true;
|
|
1543
1519
|
readonly skipImportCheck: true;
|
|
1544
1520
|
readonly polymorphicPropName: "as";
|
|
1521
|
+
readonly additionalComponents: [];
|
|
1545
1522
|
readonly additionalHooks: {
|
|
1546
1523
|
readonly useEffect: ["useIsomorphicLayoutEffect"];
|
|
1547
1524
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
1548
1525
|
};
|
|
1549
|
-
readonly jsxPragma?: string | undefined;
|
|
1550
|
-
readonly jsxPragmaFrag?: string | undefined;
|
|
1551
|
-
readonly additionalComponents?: {
|
|
1552
|
-
as?: string | undefined;
|
|
1553
|
-
attributes?: {
|
|
1554
|
-
as?: string | undefined;
|
|
1555
|
-
controlled?: boolean | undefined;
|
|
1556
|
-
defaultValue?: string | undefined;
|
|
1557
|
-
name: string;
|
|
1558
|
-
}[] | undefined;
|
|
1559
|
-
selector?: string | undefined;
|
|
1560
|
-
name: string;
|
|
1561
|
-
}[] | undefined;
|
|
1562
1526
|
};
|
|
1563
1527
|
};
|
|
1564
1528
|
|
|
@@ -2211,26 +2175,14 @@ declare const settings$2: {
|
|
|
2211
2175
|
"react-x": {
|
|
2212
2176
|
readonly version: "detect";
|
|
2213
2177
|
readonly importSource: "react";
|
|
2214
|
-
readonly strict:
|
|
2178
|
+
readonly strict: true;
|
|
2215
2179
|
readonly skipImportCheck: true;
|
|
2216
2180
|
readonly polymorphicPropName: "as";
|
|
2181
|
+
readonly additionalComponents: [];
|
|
2217
2182
|
readonly additionalHooks: {
|
|
2218
2183
|
readonly useEffect: ["useIsomorphicLayoutEffect"];
|
|
2219
2184
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
2220
2185
|
};
|
|
2221
|
-
readonly jsxPragma?: string | undefined;
|
|
2222
|
-
readonly jsxPragmaFrag?: string | undefined;
|
|
2223
|
-
readonly additionalComponents?: {
|
|
2224
|
-
as?: string | undefined;
|
|
2225
|
-
attributes?: {
|
|
2226
|
-
as?: string | undefined;
|
|
2227
|
-
controlled?: boolean | undefined;
|
|
2228
|
-
defaultValue?: string | undefined;
|
|
2229
|
-
name: string;
|
|
2230
|
-
}[] | undefined;
|
|
2231
|
-
selector?: string | undefined;
|
|
2232
|
-
name: string;
|
|
2233
|
-
}[] | undefined;
|
|
2234
2186
|
};
|
|
2235
2187
|
};
|
|
2236
2188
|
|
|
@@ -2882,26 +2834,14 @@ declare const settings$1: {
|
|
|
2882
2834
|
"react-x": {
|
|
2883
2835
|
readonly version: "detect";
|
|
2884
2836
|
readonly importSource: "react";
|
|
2885
|
-
readonly strict:
|
|
2837
|
+
readonly strict: true;
|
|
2886
2838
|
readonly skipImportCheck: true;
|
|
2887
2839
|
readonly polymorphicPropName: "as";
|
|
2840
|
+
readonly additionalComponents: [];
|
|
2888
2841
|
readonly additionalHooks: {
|
|
2889
2842
|
readonly useEffect: ["useIsomorphicLayoutEffect"];
|
|
2890
2843
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
2891
2844
|
};
|
|
2892
|
-
readonly jsxPragma?: string | undefined;
|
|
2893
|
-
readonly jsxPragmaFrag?: string | undefined;
|
|
2894
|
-
readonly additionalComponents?: {
|
|
2895
|
-
as?: string | undefined;
|
|
2896
|
-
attributes?: {
|
|
2897
|
-
as?: string | undefined;
|
|
2898
|
-
controlled?: boolean | undefined;
|
|
2899
|
-
defaultValue?: string | undefined;
|
|
2900
|
-
name: string;
|
|
2901
|
-
}[] | undefined;
|
|
2902
|
-
selector?: string | undefined;
|
|
2903
|
-
name: string;
|
|
2904
|
-
}[] | undefined;
|
|
2905
2845
|
};
|
|
2906
2846
|
};
|
|
2907
2847
|
|
|
@@ -3275,26 +3215,14 @@ declare const settings: {
|
|
|
3275
3215
|
"react-x": {
|
|
3276
3216
|
readonly version: "detect";
|
|
3277
3217
|
readonly importSource: "react";
|
|
3278
|
-
readonly strict:
|
|
3218
|
+
readonly strict: true;
|
|
3279
3219
|
readonly skipImportCheck: true;
|
|
3280
3220
|
readonly polymorphicPropName: "as";
|
|
3221
|
+
readonly additionalComponents: [];
|
|
3281
3222
|
readonly additionalHooks: {
|
|
3282
3223
|
readonly useEffect: ["useIsomorphicLayoutEffect"];
|
|
3283
3224
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
3284
3225
|
};
|
|
3285
|
-
readonly jsxPragma?: string | undefined;
|
|
3286
|
-
readonly jsxPragmaFrag?: string | undefined;
|
|
3287
|
-
readonly additionalComponents?: {
|
|
3288
|
-
as?: string | undefined;
|
|
3289
|
-
attributes?: {
|
|
3290
|
-
as?: string | undefined;
|
|
3291
|
-
controlled?: boolean | undefined;
|
|
3292
|
-
defaultValue?: string | undefined;
|
|
3293
|
-
name: string;
|
|
3294
|
-
}[] | undefined;
|
|
3295
|
-
selector?: string | undefined;
|
|
3296
|
-
name: string;
|
|
3297
|
-
}[] | undefined;
|
|
3298
3226
|
};
|
|
3299
3227
|
};
|
|
3300
3228
|
|
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/eslint-plugin",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.48.1",
|
|
4
4
|
"description": "A unified plugin that combines all individual plugins from the eslint-react monorepo into one.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -50,15 +50,15 @@
|
|
|
50
50
|
"@typescript-eslint/type-utils": "^8.30.1",
|
|
51
51
|
"@typescript-eslint/types": "^8.30.1",
|
|
52
52
|
"@typescript-eslint/utils": "^8.30.1",
|
|
53
|
-
"@eslint-react/eff": "1.
|
|
54
|
-
"@eslint-react/kit": "1.
|
|
55
|
-
"
|
|
56
|
-
"eslint-plugin-react-dom": "1.
|
|
57
|
-
"eslint-plugin-react-hooks-extra": "1.
|
|
58
|
-
"eslint-plugin-react-
|
|
59
|
-
"eslint-
|
|
60
|
-
"eslint-plugin-react-web-api": "1.
|
|
61
|
-
"eslint-plugin-react-x": "1.
|
|
53
|
+
"@eslint-react/eff": "1.48.1",
|
|
54
|
+
"@eslint-react/kit": "1.48.1",
|
|
55
|
+
"eslint-plugin-react-debug": "1.48.1",
|
|
56
|
+
"eslint-plugin-react-dom": "1.48.1",
|
|
57
|
+
"eslint-plugin-react-hooks-extra": "1.48.1",
|
|
58
|
+
"eslint-plugin-react-naming-convention": "1.48.1",
|
|
59
|
+
"@eslint-react/shared": "1.48.1",
|
|
60
|
+
"eslint-plugin-react-web-api": "1.48.1",
|
|
61
|
+
"eslint-plugin-react-x": "1.48.1"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"tsup": "^8.4.0",
|