@eslint-react/eslint-plugin 1.15.0-beta.0 → 1.15.0-beta.7
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/README.md +1 -0
- package/dist/index.d.mts +48 -12
- package/dist/index.d.ts +48 -12
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -53,6 +53,7 @@ A series of composable ESLint plugins for libraries and frameworks that use Reac
|
|
|
53
53
|
- [`TanStack/query`](https://github.com/TanStack/query) - 🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.
|
|
54
54
|
- [`TanStack/router`](https://github.com/TanStack/router) - 🤖 Fully typesafe Router for React (and friends) w/ built-in caching, 1st class search-param APIs, client-side cache integration and isomorphic rendering.
|
|
55
55
|
- [`TanStack/store`](https://github.com/TanStack/store) - 🤖 Framework agnostic, type-safe store w/ reactive framework adapters.
|
|
56
|
+
- [`timkurvers/wine-log-explorer`](https://github.com/timkurvers/wine-log-explorer) - Explorer for Wine logs.
|
|
56
57
|
- [`toss/suspensive`](https://github.com/toss/suspensive) - Manage asynchronous operations, timing, error handling, detecting intersection of elements, and caching easily and declaratively (One of TanStack Query community resources).
|
|
57
58
|
- [`upleveled/eslint-config-upleveled`](https://github.com/upleveled/eslint-config-upleveled) - UpLeveled ESLint defaults for programming in JavaScript, TypeScript, React, Next.js, Node.js, Postgres.js.
|
|
58
59
|
|
package/dist/index.d.mts
CHANGED
|
@@ -55,8 +55,11 @@ declare const _default: {
|
|
|
55
55
|
"no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
56
56
|
"no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
57
57
|
"no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
58
|
-
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [
|
|
58
|
+
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
59
|
+
allowExpressions: boolean;
|
|
60
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
59
61
|
"prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
62
|
+
"prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
60
63
|
"prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
61
64
|
"prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
62
65
|
"prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -311,8 +314,11 @@ declare const _default: {
|
|
|
311
314
|
"no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
312
315
|
"no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
313
316
|
"no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
314
|
-
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [
|
|
317
|
+
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
318
|
+
allowExpressions: boolean;
|
|
319
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
315
320
|
"prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
321
|
+
"prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
316
322
|
"prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
317
323
|
"prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
318
324
|
"prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -509,8 +515,11 @@ declare const _default: {
|
|
|
509
515
|
"no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
510
516
|
"no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
511
517
|
"no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
512
|
-
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [
|
|
518
|
+
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
519
|
+
allowExpressions: boolean;
|
|
520
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
513
521
|
"prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
522
|
+
"prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
514
523
|
"prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
515
524
|
"prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
516
525
|
"prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -723,8 +732,11 @@ declare const _default: {
|
|
|
723
732
|
"no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
724
733
|
"no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
725
734
|
"no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
726
|
-
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [
|
|
735
|
+
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
736
|
+
allowExpressions: boolean;
|
|
737
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
727
738
|
"prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
739
|
+
"prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
728
740
|
"prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
729
741
|
"prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
730
742
|
"prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1015,8 +1027,11 @@ declare const _default: {
|
|
|
1015
1027
|
"no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1016
1028
|
"no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1017
1029
|
"no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1018
|
-
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [
|
|
1030
|
+
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
1031
|
+
allowExpressions: boolean;
|
|
1032
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1019
1033
|
"prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1034
|
+
"prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1020
1035
|
"prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1021
1036
|
"prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1022
1037
|
"prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1309,8 +1324,11 @@ declare const _default: {
|
|
|
1309
1324
|
"no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1310
1325
|
"no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1311
1326
|
"no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1312
|
-
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [
|
|
1327
|
+
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
1328
|
+
allowExpressions: boolean;
|
|
1329
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1313
1330
|
"prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1331
|
+
"prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1314
1332
|
"prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1315
1333
|
"prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1316
1334
|
"prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1523,8 +1541,11 @@ declare const _default: {
|
|
|
1523
1541
|
"no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1524
1542
|
"no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1525
1543
|
"no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1526
|
-
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [
|
|
1544
|
+
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
1545
|
+
allowExpressions: boolean;
|
|
1546
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1527
1547
|
"prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1548
|
+
"prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1528
1549
|
"prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1529
1550
|
"prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1530
1551
|
"prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1723,8 +1744,11 @@ declare const _default: {
|
|
|
1723
1744
|
"no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1724
1745
|
"no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1725
1746
|
"no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1726
|
-
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [
|
|
1747
|
+
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
1748
|
+
allowExpressions: boolean;
|
|
1749
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1727
1750
|
"prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1751
|
+
"prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1728
1752
|
"prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1729
1753
|
"prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1730
1754
|
"prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1917,8 +1941,11 @@ declare const _default: {
|
|
|
1917
1941
|
"no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1918
1942
|
"no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1919
1943
|
"no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1920
|
-
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [
|
|
1944
|
+
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
1945
|
+
allowExpressions: boolean;
|
|
1946
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1921
1947
|
"prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1948
|
+
"prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1922
1949
|
"prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1923
1950
|
"prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1924
1951
|
"prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2243,8 +2270,11 @@ declare const _default: {
|
|
|
2243
2270
|
"no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2244
2271
|
"no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2245
2272
|
"no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2246
|
-
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [
|
|
2273
|
+
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
2274
|
+
allowExpressions: boolean;
|
|
2275
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2247
2276
|
"prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2277
|
+
"prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2248
2278
|
"prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2249
2279
|
"prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2250
2280
|
"prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2570,8 +2600,11 @@ declare const _default: {
|
|
|
2570
2600
|
"no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2571
2601
|
"no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2572
2602
|
"no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2573
|
-
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [
|
|
2603
|
+
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
2604
|
+
allowExpressions: boolean;
|
|
2605
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2574
2606
|
"prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2607
|
+
"prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2575
2608
|
"prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2576
2609
|
"prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2577
2610
|
"prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2824,8 +2857,11 @@ declare const _default: {
|
|
|
2824
2857
|
readonly "no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2825
2858
|
readonly "no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2826
2859
|
readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2827
|
-
readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [
|
|
2860
|
+
readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
2861
|
+
allowExpressions: boolean;
|
|
2862
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2828
2863
|
readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2864
|
+
readonly "prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2829
2865
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2830
2866
|
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2831
2867
|
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
package/dist/index.d.ts
CHANGED
|
@@ -55,8 +55,11 @@ declare const _default: {
|
|
|
55
55
|
"no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
56
56
|
"no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
57
57
|
"no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
58
|
-
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [
|
|
58
|
+
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
59
|
+
allowExpressions: boolean;
|
|
60
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
59
61
|
"prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
62
|
+
"prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
60
63
|
"prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
61
64
|
"prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
62
65
|
"prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -311,8 +314,11 @@ declare const _default: {
|
|
|
311
314
|
"no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
312
315
|
"no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
313
316
|
"no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
314
|
-
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [
|
|
317
|
+
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
318
|
+
allowExpressions: boolean;
|
|
319
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
315
320
|
"prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
321
|
+
"prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
316
322
|
"prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
317
323
|
"prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
318
324
|
"prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -509,8 +515,11 @@ declare const _default: {
|
|
|
509
515
|
"no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
510
516
|
"no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
511
517
|
"no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
512
|
-
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [
|
|
518
|
+
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
519
|
+
allowExpressions: boolean;
|
|
520
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
513
521
|
"prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
522
|
+
"prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
514
523
|
"prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
515
524
|
"prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
516
525
|
"prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -723,8 +732,11 @@ declare const _default: {
|
|
|
723
732
|
"no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
724
733
|
"no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
725
734
|
"no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
726
|
-
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [
|
|
735
|
+
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
736
|
+
allowExpressions: boolean;
|
|
737
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
727
738
|
"prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
739
|
+
"prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
728
740
|
"prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
729
741
|
"prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
730
742
|
"prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1015,8 +1027,11 @@ declare const _default: {
|
|
|
1015
1027
|
"no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1016
1028
|
"no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1017
1029
|
"no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1018
|
-
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [
|
|
1030
|
+
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
1031
|
+
allowExpressions: boolean;
|
|
1032
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1019
1033
|
"prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1034
|
+
"prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1020
1035
|
"prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1021
1036
|
"prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1022
1037
|
"prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1309,8 +1324,11 @@ declare const _default: {
|
|
|
1309
1324
|
"no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1310
1325
|
"no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1311
1326
|
"no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1312
|
-
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [
|
|
1327
|
+
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
1328
|
+
allowExpressions: boolean;
|
|
1329
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1313
1330
|
"prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1331
|
+
"prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1314
1332
|
"prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1315
1333
|
"prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1316
1334
|
"prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1523,8 +1541,11 @@ declare const _default: {
|
|
|
1523
1541
|
"no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1524
1542
|
"no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1525
1543
|
"no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1526
|
-
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [
|
|
1544
|
+
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
1545
|
+
allowExpressions: boolean;
|
|
1546
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1527
1547
|
"prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1548
|
+
"prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1528
1549
|
"prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1529
1550
|
"prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1530
1551
|
"prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1723,8 +1744,11 @@ declare const _default: {
|
|
|
1723
1744
|
"no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1724
1745
|
"no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1725
1746
|
"no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1726
|
-
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [
|
|
1747
|
+
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
1748
|
+
allowExpressions: boolean;
|
|
1749
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1727
1750
|
"prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1751
|
+
"prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1728
1752
|
"prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1729
1753
|
"prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1730
1754
|
"prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1917,8 +1941,11 @@ declare const _default: {
|
|
|
1917
1941
|
"no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1918
1942
|
"no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1919
1943
|
"no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1920
|
-
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [
|
|
1944
|
+
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
1945
|
+
allowExpressions: boolean;
|
|
1946
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1921
1947
|
"prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1948
|
+
"prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1922
1949
|
"prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1923
1950
|
"prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1924
1951
|
"prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2243,8 +2270,11 @@ declare const _default: {
|
|
|
2243
2270
|
"no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2244
2271
|
"no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2245
2272
|
"no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2246
|
-
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [
|
|
2273
|
+
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
2274
|
+
allowExpressions: boolean;
|
|
2275
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2247
2276
|
"prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2277
|
+
"prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2248
2278
|
"prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2249
2279
|
"prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2250
2280
|
"prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2570,8 +2600,11 @@ declare const _default: {
|
|
|
2570
2600
|
"no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2571
2601
|
"no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2572
2602
|
"no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2573
|
-
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [
|
|
2603
|
+
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
2604
|
+
allowExpressions: boolean;
|
|
2605
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2574
2606
|
"prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2607
|
+
"prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2575
2608
|
"prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2576
2609
|
"prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2577
2610
|
"prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2824,8 +2857,11 @@ declare const _default: {
|
|
|
2824
2857
|
readonly "no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2825
2858
|
readonly "no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2826
2859
|
readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2827
|
-
readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [
|
|
2860
|
+
readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
2861
|
+
allowExpressions: boolean;
|
|
2862
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2828
2863
|
readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2864
|
+
readonly "prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2829
2865
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2830
2866
|
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2831
2867
|
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
package/dist/index.js
CHANGED
|
@@ -21,7 +21,7 @@ var react__default = /*#__PURE__*/_interopDefault(react);
|
|
|
21
21
|
|
|
22
22
|
// package.json
|
|
23
23
|
var name = "@eslint-react/eslint-plugin";
|
|
24
|
-
var version = "1.15.0-beta.
|
|
24
|
+
var version = "1.15.0-beta.7";
|
|
25
25
|
function transformKeys(obj, transform) {
|
|
26
26
|
if (tools.typeOf(obj) !== "object") return obj;
|
|
27
27
|
const res = {};
|
package/dist/index.mjs
CHANGED
|
@@ -10,7 +10,7 @@ import react from 'eslint-plugin-react-x';
|
|
|
10
10
|
|
|
11
11
|
// package.json
|
|
12
12
|
var name = "@eslint-react/eslint-plugin";
|
|
13
|
-
var version = "1.15.0-beta.
|
|
13
|
+
var version = "1.15.0-beta.7";
|
|
14
14
|
function transformKeys(obj, transform) {
|
|
15
15
|
if (typeOf(obj) !== "object") return obj;
|
|
16
16
|
const res = {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/eslint-plugin",
|
|
3
|
-
"version": "1.15.0-beta.
|
|
3
|
+
"version": "1.15.0-beta.7",
|
|
4
4
|
"description": "The main ESLint plugin of ESLint React. Contains all the rules and presets of ESLint React.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -43,19 +43,19 @@
|
|
|
43
43
|
"./package.json"
|
|
44
44
|
],
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@typescript-eslint/scope-manager": "^8.8.
|
|
47
|
-
"@typescript-eslint/type-utils": "^8.8.
|
|
48
|
-
"@typescript-eslint/types": "^8.8.
|
|
49
|
-
"@typescript-eslint/utils": "^8.8.
|
|
50
|
-
"@eslint-react/shared": "1.15.0-beta.
|
|
51
|
-
"@eslint-react/tools": "1.15.0-beta.
|
|
52
|
-
"@eslint-react/types": "1.15.0-beta.
|
|
53
|
-
"eslint-plugin-react-debug": "1.15.0-beta.
|
|
54
|
-
"eslint-plugin-react-dom": "1.15.0-beta.
|
|
55
|
-
"eslint-plugin-react-hooks-extra": "1.15.0-beta.
|
|
56
|
-
"eslint-plugin-react-naming-convention": "1.15.0-beta.
|
|
57
|
-
"eslint-plugin-react-web-api": "1.15.0-beta.
|
|
58
|
-
"eslint-plugin-react-x": "1.15.0-beta.
|
|
46
|
+
"@typescript-eslint/scope-manager": "^8.8.1",
|
|
47
|
+
"@typescript-eslint/type-utils": "^8.8.1",
|
|
48
|
+
"@typescript-eslint/types": "^8.8.1",
|
|
49
|
+
"@typescript-eslint/utils": "^8.8.1",
|
|
50
|
+
"@eslint-react/shared": "1.15.0-beta.7",
|
|
51
|
+
"@eslint-react/tools": "1.15.0-beta.7",
|
|
52
|
+
"@eslint-react/types": "1.15.0-beta.7",
|
|
53
|
+
"eslint-plugin-react-debug": "1.15.0-beta.7",
|
|
54
|
+
"eslint-plugin-react-dom": "1.15.0-beta.7",
|
|
55
|
+
"eslint-plugin-react-hooks-extra": "1.15.0-beta.7",
|
|
56
|
+
"eslint-plugin-react-naming-convention": "1.15.0-beta.7",
|
|
57
|
+
"eslint-plugin-react-web-api": "1.15.0-beta.7",
|
|
58
|
+
"eslint-plugin-react-x": "1.15.0-beta.7"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"tsup": "^8.3.0"
|