@eslint-react/eslint-plugin 1.28.1-beta.3 → 1.28.1-beta.5
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 +27 -27
- package/dist/index.d.ts +27 -27
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +9 -9
package/dist/index.d.mts
CHANGED
|
@@ -192,7 +192,7 @@ declare const plugins$6: {
|
|
|
192
192
|
extensions?: readonly string[];
|
|
193
193
|
ignoreFilesWithoutCode?: boolean;
|
|
194
194
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
195
|
-
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
195
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"badValueOrSetterName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
196
196
|
};
|
|
197
197
|
};
|
|
198
198
|
};
|
|
@@ -226,7 +226,7 @@ declare const plugins$6: {
|
|
|
226
226
|
extensions?: readonly string[];
|
|
227
227
|
ignoreFilesWithoutCode?: boolean;
|
|
228
228
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
229
|
-
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
229
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"badValueOrSetterName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
230
230
|
};
|
|
231
231
|
};
|
|
232
232
|
"@eslint-react/web-api": {
|
|
@@ -617,16 +617,16 @@ declare const plugins$6: {
|
|
|
617
617
|
declare const settings$5: {
|
|
618
618
|
"react-x": {
|
|
619
619
|
readonly importSource: "react";
|
|
620
|
-
readonly jsxPragma: "createElement";
|
|
621
|
-
readonly jsxPragmaFrag: "Fragment";
|
|
622
620
|
readonly polymorphicPropName: "as";
|
|
623
621
|
readonly skipImportCheck: true;
|
|
624
|
-
readonly strict: false;
|
|
625
622
|
readonly version: "detect";
|
|
626
623
|
readonly additionalHooks: {
|
|
627
624
|
readonly useEffect: ["useIsomorphicLayoutEffect"];
|
|
628
625
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
629
626
|
};
|
|
627
|
+
readonly jsxPragma?: string | undefined;
|
|
628
|
+
readonly jsxPragmaFrag?: string | undefined;
|
|
629
|
+
readonly strict: boolean;
|
|
630
630
|
readonly additionalComponents?: {
|
|
631
631
|
name: string;
|
|
632
632
|
as?: string | undefined;
|
|
@@ -983,16 +983,16 @@ declare const plugins$5: {
|
|
|
983
983
|
declare const settings$4: {
|
|
984
984
|
"react-x": {
|
|
985
985
|
readonly importSource: "react";
|
|
986
|
-
readonly jsxPragma: "createElement";
|
|
987
|
-
readonly jsxPragmaFrag: "Fragment";
|
|
988
986
|
readonly polymorphicPropName: "as";
|
|
989
987
|
readonly skipImportCheck: true;
|
|
990
|
-
readonly strict: false;
|
|
991
988
|
readonly version: "detect";
|
|
992
989
|
readonly additionalHooks: {
|
|
993
990
|
readonly useEffect: ["useIsomorphicLayoutEffect"];
|
|
994
991
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
995
992
|
};
|
|
993
|
+
readonly jsxPragma?: string | undefined;
|
|
994
|
+
readonly jsxPragmaFrag?: string | undefined;
|
|
995
|
+
readonly strict: boolean;
|
|
996
996
|
readonly additionalComponents?: {
|
|
997
997
|
name: string;
|
|
998
998
|
as?: string | undefined;
|
|
@@ -1166,16 +1166,16 @@ declare const plugins$3: {
|
|
|
1166
1166
|
declare const settings$3: {
|
|
1167
1167
|
"react-x": {
|
|
1168
1168
|
readonly importSource: "react";
|
|
1169
|
-
readonly jsxPragma: "createElement";
|
|
1170
|
-
readonly jsxPragmaFrag: "Fragment";
|
|
1171
1169
|
readonly polymorphicPropName: "as";
|
|
1172
1170
|
readonly skipImportCheck: true;
|
|
1173
|
-
readonly strict: false;
|
|
1174
1171
|
readonly version: "detect";
|
|
1175
1172
|
readonly additionalHooks: {
|
|
1176
1173
|
readonly useEffect: ["useIsomorphicLayoutEffect"];
|
|
1177
1174
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
1178
1175
|
};
|
|
1176
|
+
readonly jsxPragma?: string | undefined;
|
|
1177
|
+
readonly jsxPragmaFrag?: string | undefined;
|
|
1178
|
+
readonly strict: boolean;
|
|
1179
1179
|
readonly additionalComponents?: {
|
|
1180
1180
|
name: string;
|
|
1181
1181
|
as?: string | undefined;
|
|
@@ -1374,7 +1374,7 @@ declare const plugins$2: {
|
|
|
1374
1374
|
extensions?: readonly string[];
|
|
1375
1375
|
ignoreFilesWithoutCode?: boolean;
|
|
1376
1376
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1377
|
-
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
1377
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"badValueOrSetterName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1378
1378
|
};
|
|
1379
1379
|
};
|
|
1380
1380
|
};
|
|
@@ -1408,7 +1408,7 @@ declare const plugins$2: {
|
|
|
1408
1408
|
extensions?: readonly string[];
|
|
1409
1409
|
ignoreFilesWithoutCode?: boolean;
|
|
1410
1410
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1411
|
-
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
1411
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"badValueOrSetterName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1412
1412
|
};
|
|
1413
1413
|
};
|
|
1414
1414
|
"@eslint-react/web-api": {
|
|
@@ -1799,16 +1799,16 @@ declare const plugins$2: {
|
|
|
1799
1799
|
declare const settings$2: {
|
|
1800
1800
|
"react-x": {
|
|
1801
1801
|
readonly importSource: "react";
|
|
1802
|
-
readonly jsxPragma: "createElement";
|
|
1803
|
-
readonly jsxPragmaFrag: "Fragment";
|
|
1804
1802
|
readonly polymorphicPropName: "as";
|
|
1805
1803
|
readonly skipImportCheck: true;
|
|
1806
|
-
readonly strict: false;
|
|
1807
1804
|
readonly version: "detect";
|
|
1808
1805
|
readonly additionalHooks: {
|
|
1809
1806
|
readonly useEffect: ["useIsomorphicLayoutEffect"];
|
|
1810
1807
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
1811
1808
|
};
|
|
1809
|
+
readonly jsxPragma?: string | undefined;
|
|
1810
|
+
readonly jsxPragmaFrag?: string | undefined;
|
|
1811
|
+
readonly strict: boolean;
|
|
1812
1812
|
readonly additionalComponents?: {
|
|
1813
1813
|
name: string;
|
|
1814
1814
|
as?: string | undefined;
|
|
@@ -2002,7 +2002,7 @@ declare const plugins$1: {
|
|
|
2002
2002
|
extensions?: readonly string[];
|
|
2003
2003
|
ignoreFilesWithoutCode?: boolean;
|
|
2004
2004
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2005
|
-
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
2005
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"badValueOrSetterName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2006
2006
|
};
|
|
2007
2007
|
};
|
|
2008
2008
|
};
|
|
@@ -2036,7 +2036,7 @@ declare const plugins$1: {
|
|
|
2036
2036
|
extensions?: readonly string[];
|
|
2037
2037
|
ignoreFilesWithoutCode?: boolean;
|
|
2038
2038
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2039
|
-
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
2039
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"badValueOrSetterName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2040
2040
|
};
|
|
2041
2041
|
};
|
|
2042
2042
|
"@eslint-react/web-api": {
|
|
@@ -2427,16 +2427,16 @@ declare const plugins$1: {
|
|
|
2427
2427
|
declare const settings$1: {
|
|
2428
2428
|
"react-x": {
|
|
2429
2429
|
readonly importSource: "react";
|
|
2430
|
-
readonly jsxPragma: "createElement";
|
|
2431
|
-
readonly jsxPragmaFrag: "Fragment";
|
|
2432
2430
|
readonly polymorphicPropName: "as";
|
|
2433
2431
|
readonly skipImportCheck: true;
|
|
2434
|
-
readonly strict: false;
|
|
2435
2432
|
readonly version: "detect";
|
|
2436
2433
|
readonly additionalHooks: {
|
|
2437
2434
|
readonly useEffect: ["useIsomorphicLayoutEffect"];
|
|
2438
2435
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
2439
2436
|
};
|
|
2437
|
+
readonly jsxPragma?: string | undefined;
|
|
2438
|
+
readonly jsxPragmaFrag?: string | undefined;
|
|
2439
|
+
readonly strict: boolean;
|
|
2440
2440
|
readonly additionalComponents?: {
|
|
2441
2441
|
name: string;
|
|
2442
2442
|
as?: string | undefined;
|
|
@@ -2629,7 +2629,7 @@ declare const plugins: {
|
|
|
2629
2629
|
extensions?: readonly string[];
|
|
2630
2630
|
ignoreFilesWithoutCode?: boolean;
|
|
2631
2631
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2632
|
-
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
2632
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"badValueOrSetterName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2633
2633
|
};
|
|
2634
2634
|
};
|
|
2635
2635
|
};
|
|
@@ -2663,7 +2663,7 @@ declare const plugins: {
|
|
|
2663
2663
|
extensions?: readonly string[];
|
|
2664
2664
|
ignoreFilesWithoutCode?: boolean;
|
|
2665
2665
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2666
|
-
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
2666
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"badValueOrSetterName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2667
2667
|
};
|
|
2668
2668
|
};
|
|
2669
2669
|
"@eslint-react/web-api": {
|
|
@@ -3054,16 +3054,16 @@ declare const plugins: {
|
|
|
3054
3054
|
declare const settings: {
|
|
3055
3055
|
"react-x": {
|
|
3056
3056
|
readonly importSource: "react";
|
|
3057
|
-
readonly jsxPragma: "createElement";
|
|
3058
|
-
readonly jsxPragmaFrag: "Fragment";
|
|
3059
3057
|
readonly polymorphicPropName: "as";
|
|
3060
3058
|
readonly skipImportCheck: true;
|
|
3061
|
-
readonly strict: false;
|
|
3062
3059
|
readonly version: "detect";
|
|
3063
3060
|
readonly additionalHooks: {
|
|
3064
3061
|
readonly useEffect: ["useIsomorphicLayoutEffect"];
|
|
3065
3062
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
3066
3063
|
};
|
|
3064
|
+
readonly jsxPragma?: string | undefined;
|
|
3065
|
+
readonly jsxPragmaFrag?: string | undefined;
|
|
3066
|
+
readonly strict: boolean;
|
|
3067
3067
|
readonly additionalComponents?: {
|
|
3068
3068
|
name: string;
|
|
3069
3069
|
as?: string | undefined;
|
|
@@ -3183,7 +3183,7 @@ declare const _default: {
|
|
|
3183
3183
|
extensions?: readonly string[];
|
|
3184
3184
|
ignoreFilesWithoutCode?: boolean;
|
|
3185
3185
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3186
|
-
readonly "naming-convention/use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
3186
|
+
readonly "naming-convention/use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"badValueOrSetterName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3187
3187
|
readonly "hooks-extra/no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3188
3188
|
readonly "hooks-extra/no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3189
3189
|
readonly "hooks-extra/no-unnecessary-use-callback": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseCallback", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
package/dist/index.d.ts
CHANGED
|
@@ -192,7 +192,7 @@ declare const plugins$6: {
|
|
|
192
192
|
extensions?: readonly string[];
|
|
193
193
|
ignoreFilesWithoutCode?: boolean;
|
|
194
194
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
195
|
-
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
195
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"badValueOrSetterName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
196
196
|
};
|
|
197
197
|
};
|
|
198
198
|
};
|
|
@@ -226,7 +226,7 @@ declare const plugins$6: {
|
|
|
226
226
|
extensions?: readonly string[];
|
|
227
227
|
ignoreFilesWithoutCode?: boolean;
|
|
228
228
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
229
|
-
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
229
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"badValueOrSetterName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
230
230
|
};
|
|
231
231
|
};
|
|
232
232
|
"@eslint-react/web-api": {
|
|
@@ -617,16 +617,16 @@ declare const plugins$6: {
|
|
|
617
617
|
declare const settings$5: {
|
|
618
618
|
"react-x": {
|
|
619
619
|
readonly importSource: "react";
|
|
620
|
-
readonly jsxPragma: "createElement";
|
|
621
|
-
readonly jsxPragmaFrag: "Fragment";
|
|
622
620
|
readonly polymorphicPropName: "as";
|
|
623
621
|
readonly skipImportCheck: true;
|
|
624
|
-
readonly strict: false;
|
|
625
622
|
readonly version: "detect";
|
|
626
623
|
readonly additionalHooks: {
|
|
627
624
|
readonly useEffect: ["useIsomorphicLayoutEffect"];
|
|
628
625
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
629
626
|
};
|
|
627
|
+
readonly jsxPragma?: string | undefined;
|
|
628
|
+
readonly jsxPragmaFrag?: string | undefined;
|
|
629
|
+
readonly strict: boolean;
|
|
630
630
|
readonly additionalComponents?: {
|
|
631
631
|
name: string;
|
|
632
632
|
as?: string | undefined;
|
|
@@ -983,16 +983,16 @@ declare const plugins$5: {
|
|
|
983
983
|
declare const settings$4: {
|
|
984
984
|
"react-x": {
|
|
985
985
|
readonly importSource: "react";
|
|
986
|
-
readonly jsxPragma: "createElement";
|
|
987
|
-
readonly jsxPragmaFrag: "Fragment";
|
|
988
986
|
readonly polymorphicPropName: "as";
|
|
989
987
|
readonly skipImportCheck: true;
|
|
990
|
-
readonly strict: false;
|
|
991
988
|
readonly version: "detect";
|
|
992
989
|
readonly additionalHooks: {
|
|
993
990
|
readonly useEffect: ["useIsomorphicLayoutEffect"];
|
|
994
991
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
995
992
|
};
|
|
993
|
+
readonly jsxPragma?: string | undefined;
|
|
994
|
+
readonly jsxPragmaFrag?: string | undefined;
|
|
995
|
+
readonly strict: boolean;
|
|
996
996
|
readonly additionalComponents?: {
|
|
997
997
|
name: string;
|
|
998
998
|
as?: string | undefined;
|
|
@@ -1166,16 +1166,16 @@ declare const plugins$3: {
|
|
|
1166
1166
|
declare const settings$3: {
|
|
1167
1167
|
"react-x": {
|
|
1168
1168
|
readonly importSource: "react";
|
|
1169
|
-
readonly jsxPragma: "createElement";
|
|
1170
|
-
readonly jsxPragmaFrag: "Fragment";
|
|
1171
1169
|
readonly polymorphicPropName: "as";
|
|
1172
1170
|
readonly skipImportCheck: true;
|
|
1173
|
-
readonly strict: false;
|
|
1174
1171
|
readonly version: "detect";
|
|
1175
1172
|
readonly additionalHooks: {
|
|
1176
1173
|
readonly useEffect: ["useIsomorphicLayoutEffect"];
|
|
1177
1174
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
1178
1175
|
};
|
|
1176
|
+
readonly jsxPragma?: string | undefined;
|
|
1177
|
+
readonly jsxPragmaFrag?: string | undefined;
|
|
1178
|
+
readonly strict: boolean;
|
|
1179
1179
|
readonly additionalComponents?: {
|
|
1180
1180
|
name: string;
|
|
1181
1181
|
as?: string | undefined;
|
|
@@ -1374,7 +1374,7 @@ declare const plugins$2: {
|
|
|
1374
1374
|
extensions?: readonly string[];
|
|
1375
1375
|
ignoreFilesWithoutCode?: boolean;
|
|
1376
1376
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1377
|
-
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
1377
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"badValueOrSetterName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1378
1378
|
};
|
|
1379
1379
|
};
|
|
1380
1380
|
};
|
|
@@ -1408,7 +1408,7 @@ declare const plugins$2: {
|
|
|
1408
1408
|
extensions?: readonly string[];
|
|
1409
1409
|
ignoreFilesWithoutCode?: boolean;
|
|
1410
1410
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1411
|
-
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
1411
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"badValueOrSetterName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1412
1412
|
};
|
|
1413
1413
|
};
|
|
1414
1414
|
"@eslint-react/web-api": {
|
|
@@ -1799,16 +1799,16 @@ declare const plugins$2: {
|
|
|
1799
1799
|
declare const settings$2: {
|
|
1800
1800
|
"react-x": {
|
|
1801
1801
|
readonly importSource: "react";
|
|
1802
|
-
readonly jsxPragma: "createElement";
|
|
1803
|
-
readonly jsxPragmaFrag: "Fragment";
|
|
1804
1802
|
readonly polymorphicPropName: "as";
|
|
1805
1803
|
readonly skipImportCheck: true;
|
|
1806
|
-
readonly strict: false;
|
|
1807
1804
|
readonly version: "detect";
|
|
1808
1805
|
readonly additionalHooks: {
|
|
1809
1806
|
readonly useEffect: ["useIsomorphicLayoutEffect"];
|
|
1810
1807
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
1811
1808
|
};
|
|
1809
|
+
readonly jsxPragma?: string | undefined;
|
|
1810
|
+
readonly jsxPragmaFrag?: string | undefined;
|
|
1811
|
+
readonly strict: boolean;
|
|
1812
1812
|
readonly additionalComponents?: {
|
|
1813
1813
|
name: string;
|
|
1814
1814
|
as?: string | undefined;
|
|
@@ -2002,7 +2002,7 @@ declare const plugins$1: {
|
|
|
2002
2002
|
extensions?: readonly string[];
|
|
2003
2003
|
ignoreFilesWithoutCode?: boolean;
|
|
2004
2004
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2005
|
-
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
2005
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"badValueOrSetterName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2006
2006
|
};
|
|
2007
2007
|
};
|
|
2008
2008
|
};
|
|
@@ -2036,7 +2036,7 @@ declare const plugins$1: {
|
|
|
2036
2036
|
extensions?: readonly string[];
|
|
2037
2037
|
ignoreFilesWithoutCode?: boolean;
|
|
2038
2038
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2039
|
-
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
2039
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"badValueOrSetterName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2040
2040
|
};
|
|
2041
2041
|
};
|
|
2042
2042
|
"@eslint-react/web-api": {
|
|
@@ -2427,16 +2427,16 @@ declare const plugins$1: {
|
|
|
2427
2427
|
declare const settings$1: {
|
|
2428
2428
|
"react-x": {
|
|
2429
2429
|
readonly importSource: "react";
|
|
2430
|
-
readonly jsxPragma: "createElement";
|
|
2431
|
-
readonly jsxPragmaFrag: "Fragment";
|
|
2432
2430
|
readonly polymorphicPropName: "as";
|
|
2433
2431
|
readonly skipImportCheck: true;
|
|
2434
|
-
readonly strict: false;
|
|
2435
2432
|
readonly version: "detect";
|
|
2436
2433
|
readonly additionalHooks: {
|
|
2437
2434
|
readonly useEffect: ["useIsomorphicLayoutEffect"];
|
|
2438
2435
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
2439
2436
|
};
|
|
2437
|
+
readonly jsxPragma?: string | undefined;
|
|
2438
|
+
readonly jsxPragmaFrag?: string | undefined;
|
|
2439
|
+
readonly strict: boolean;
|
|
2440
2440
|
readonly additionalComponents?: {
|
|
2441
2441
|
name: string;
|
|
2442
2442
|
as?: string | undefined;
|
|
@@ -2629,7 +2629,7 @@ declare const plugins: {
|
|
|
2629
2629
|
extensions?: readonly string[];
|
|
2630
2630
|
ignoreFilesWithoutCode?: boolean;
|
|
2631
2631
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2632
|
-
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
2632
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"badValueOrSetterName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2633
2633
|
};
|
|
2634
2634
|
};
|
|
2635
2635
|
};
|
|
@@ -2663,7 +2663,7 @@ declare const plugins: {
|
|
|
2663
2663
|
extensions?: readonly string[];
|
|
2664
2664
|
ignoreFilesWithoutCode?: boolean;
|
|
2665
2665
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2666
|
-
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
2666
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"badValueOrSetterName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2667
2667
|
};
|
|
2668
2668
|
};
|
|
2669
2669
|
"@eslint-react/web-api": {
|
|
@@ -3054,16 +3054,16 @@ declare const plugins: {
|
|
|
3054
3054
|
declare const settings: {
|
|
3055
3055
|
"react-x": {
|
|
3056
3056
|
readonly importSource: "react";
|
|
3057
|
-
readonly jsxPragma: "createElement";
|
|
3058
|
-
readonly jsxPragmaFrag: "Fragment";
|
|
3059
3057
|
readonly polymorphicPropName: "as";
|
|
3060
3058
|
readonly skipImportCheck: true;
|
|
3061
|
-
readonly strict: false;
|
|
3062
3059
|
readonly version: "detect";
|
|
3063
3060
|
readonly additionalHooks: {
|
|
3064
3061
|
readonly useEffect: ["useIsomorphicLayoutEffect"];
|
|
3065
3062
|
readonly useLayoutEffect: ["useIsomorphicLayoutEffect"];
|
|
3066
3063
|
};
|
|
3064
|
+
readonly jsxPragma?: string | undefined;
|
|
3065
|
+
readonly jsxPragmaFrag?: string | undefined;
|
|
3066
|
+
readonly strict: boolean;
|
|
3067
3067
|
readonly additionalComponents?: {
|
|
3068
3068
|
name: string;
|
|
3069
3069
|
as?: string | undefined;
|
|
@@ -3183,7 +3183,7 @@ declare const _default: {
|
|
|
3183
3183
|
extensions?: readonly string[];
|
|
3184
3184
|
ignoreFilesWithoutCode?: boolean;
|
|
3185
3185
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3186
|
-
readonly "naming-convention/use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
3186
|
+
readonly "naming-convention/use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"badValueOrSetterName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3187
3187
|
readonly "hooks-extra/no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3188
3188
|
readonly "hooks-extra/no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3189
3189
|
readonly "hooks-extra/no-unnecessary-use-callback": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseCallback", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
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.28.1-beta.
|
|
3
|
+
"version": "1.28.1-beta.5",
|
|
4
4
|
"description": "More than 80 high-quality linting rules for writing better React code.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -50,14 +50,14 @@
|
|
|
50
50
|
"@typescript-eslint/type-utils": "^8.25.0",
|
|
51
51
|
"@typescript-eslint/types": "^8.25.0",
|
|
52
52
|
"@typescript-eslint/utils": "^8.25.0",
|
|
53
|
-
"@eslint-react/eff": "1.28.1-beta.
|
|
54
|
-
"eslint-
|
|
55
|
-
"eslint-plugin-react-
|
|
56
|
-
"
|
|
57
|
-
"eslint-plugin-react-
|
|
58
|
-
"eslint-plugin-react-
|
|
59
|
-
"eslint-plugin-react-
|
|
60
|
-
"eslint-plugin-react-
|
|
53
|
+
"@eslint-react/eff": "1.28.1-beta.5",
|
|
54
|
+
"@eslint-react/shared": "1.28.1-beta.5",
|
|
55
|
+
"eslint-plugin-react-dom": "1.28.1-beta.5",
|
|
56
|
+
"eslint-plugin-react-debug": "1.28.1-beta.5",
|
|
57
|
+
"eslint-plugin-react-hooks-extra": "1.28.1-beta.5",
|
|
58
|
+
"eslint-plugin-react-naming-convention": "1.28.1-beta.5",
|
|
59
|
+
"eslint-plugin-react-web-api": "1.28.1-beta.5",
|
|
60
|
+
"eslint-plugin-react-x": "1.28.1-beta.5"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"tsup": "^8.4.0",
|