@jimmy.codes/eslint-config 5.7.0 → 5.8.0
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 +286 -81
- package/dist/index.js +1 -1
- package/dist/{react-NYHAKXFD.js → react-6ERTZG2I.js} +2 -0
- package/package.json +5 -4
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import * as _tanstack_eslint_plugin_query from '@tanstack/eslint-plugin-query';
|
|
|
7
7
|
import * as estree from 'estree';
|
|
8
8
|
import * as eslint_plugin_react_hooks from 'eslint-plugin-react-hooks';
|
|
9
9
|
import * as eslint_plugin_react_compiler from 'eslint-plugin-react-compiler';
|
|
10
|
-
import * as
|
|
10
|
+
import * as _eslint_react_kit from '@eslint-react/kit';
|
|
11
11
|
import * as _stylistic_eslint_plugin from '@stylistic/eslint-plugin';
|
|
12
12
|
import * as eslint_plugin_regexp from 'eslint-plugin-regexp';
|
|
13
13
|
import * as eslint_plugin_n from 'eslint-plugin-n';
|
|
@@ -1618,7 +1618,6 @@ declare function reactConfig(): Promise<{
|
|
|
1618
1618
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1619
1619
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1620
1620
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1621
|
-
readonly "no-duplicate-jsx-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1622
1621
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1623
1622
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1624
1623
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1626,7 +1625,7 @@ declare function reactConfig(): Promise<{
|
|
|
1626
1625
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1627
1626
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1628
1627
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1629
|
-
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
1628
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1630
1629
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1631
1630
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1632
1631
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1650,21 +1649,24 @@ declare function reactConfig(): Promise<{
|
|
|
1650
1649
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1651
1650
|
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1652
1651
|
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1653
|
-
readonly "
|
|
1652
|
+
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1653
|
+
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1654
|
+
readonly "jsx-uses-react": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesReact", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1655
|
+
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1654
1656
|
readonly "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1655
|
-
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1656
|
-
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1657
1657
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1658
|
-
readonly "no-
|
|
1658
|
+
readonly "no-duplicate-jsx-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1659
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1660
|
+
readonly "use-jsx-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1659
1661
|
};
|
|
1660
1662
|
};
|
|
1661
1663
|
};
|
|
1662
1664
|
name: string;
|
|
1663
|
-
rules:
|
|
1665
|
+
rules: _eslint_react_kit.RulePreset;
|
|
1664
1666
|
};
|
|
1665
1667
|
"recommended-legacy": {
|
|
1666
1668
|
plugins: string[];
|
|
1667
|
-
rules:
|
|
1669
|
+
rules: _eslint_react_kit.RulePreset;
|
|
1668
1670
|
};
|
|
1669
1671
|
"recommended-type-checked": {
|
|
1670
1672
|
plugins: {
|
|
@@ -1695,7 +1697,6 @@ declare function reactConfig(): Promise<{
|
|
|
1695
1697
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1696
1698
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1697
1699
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1698
|
-
readonly "no-duplicate-jsx-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1699
1700
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1700
1701
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1701
1702
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1703,7 +1704,7 @@ declare function reactConfig(): Promise<{
|
|
|
1703
1704
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1704
1705
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1705
1706
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1706
|
-
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
1707
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1707
1708
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1708
1709
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1709
1710
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1727,21 +1728,24 @@ declare function reactConfig(): Promise<{
|
|
|
1727
1728
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1728
1729
|
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1729
1730
|
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1730
|
-
readonly "
|
|
1731
|
+
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1732
|
+
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1733
|
+
readonly "jsx-uses-react": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesReact", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1734
|
+
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1731
1735
|
readonly "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1732
|
-
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1733
|
-
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1734
1736
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1735
|
-
readonly "no-
|
|
1737
|
+
readonly "no-duplicate-jsx-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1738
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1739
|
+
readonly "use-jsx-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1736
1740
|
};
|
|
1737
1741
|
};
|
|
1738
1742
|
};
|
|
1739
1743
|
name: string;
|
|
1740
|
-
rules:
|
|
1744
|
+
rules: _eslint_react_kit.RulePreset;
|
|
1741
1745
|
};
|
|
1742
1746
|
"recommended-type-checked-legacy": {
|
|
1743
1747
|
plugins: string[];
|
|
1744
|
-
rules:
|
|
1748
|
+
rules: _eslint_react_kit.RulePreset;
|
|
1745
1749
|
};
|
|
1746
1750
|
"recommended-typescript": {
|
|
1747
1751
|
plugins: {
|
|
@@ -1772,7 +1776,6 @@ declare function reactConfig(): Promise<{
|
|
|
1772
1776
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1773
1777
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1774
1778
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1775
|
-
readonly "no-duplicate-jsx-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1776
1779
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1777
1780
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1778
1781
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1780,7 +1783,7 @@ declare function reactConfig(): Promise<{
|
|
|
1780
1783
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1781
1784
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1782
1785
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1783
|
-
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
1786
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1784
1787
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1785
1788
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1786
1789
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1804,21 +1807,24 @@ declare function reactConfig(): Promise<{
|
|
|
1804
1807
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1805
1808
|
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1806
1809
|
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1807
|
-
readonly "
|
|
1810
|
+
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1811
|
+
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1812
|
+
readonly "jsx-uses-react": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesReact", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1813
|
+
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1808
1814
|
readonly "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1809
|
-
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1810
|
-
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1811
1815
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1812
|
-
readonly "no-
|
|
1816
|
+
readonly "no-duplicate-jsx-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1817
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1818
|
+
readonly "use-jsx-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1813
1819
|
};
|
|
1814
1820
|
};
|
|
1815
1821
|
};
|
|
1816
1822
|
name: string;
|
|
1817
|
-
rules:
|
|
1823
|
+
rules: _eslint_react_kit.RulePreset;
|
|
1818
1824
|
};
|
|
1819
1825
|
"recommended-typescript-legacy": {
|
|
1820
1826
|
plugins: string[];
|
|
1821
|
-
rules:
|
|
1827
|
+
rules: _eslint_react_kit.RulePreset;
|
|
1822
1828
|
};
|
|
1823
1829
|
};
|
|
1824
1830
|
meta: {
|
|
@@ -1847,7 +1853,6 @@ declare function reactConfig(): Promise<{
|
|
|
1847
1853
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1848
1854
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1849
1855
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1850
|
-
readonly "no-duplicate-jsx-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1851
1856
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1852
1857
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1853
1858
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1855,7 +1860,7 @@ declare function reactConfig(): Promise<{
|
|
|
1855
1860
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1856
1861
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1857
1862
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1858
|
-
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
1863
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1859
1864
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1860
1865
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1861
1866
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1879,12 +1884,15 @@ declare function reactConfig(): Promise<{
|
|
|
1879
1884
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1880
1885
|
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1881
1886
|
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1882
|
-
readonly "
|
|
1887
|
+
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1888
|
+
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1889
|
+
readonly "jsx-uses-react": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesReact", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1890
|
+
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1883
1891
|
readonly "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1884
|
-
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1885
|
-
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1886
1892
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1887
|
-
readonly "no-
|
|
1893
|
+
readonly "no-duplicate-jsx-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1894
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1895
|
+
readonly "use-jsx-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1888
1896
|
};
|
|
1889
1897
|
};
|
|
1890
1898
|
"@eslint-react/dom": {
|
|
@@ -1918,11 +1926,11 @@ declare function reactConfig(): Promise<{
|
|
|
1918
1926
|
};
|
|
1919
1927
|
};
|
|
1920
1928
|
name: string;
|
|
1921
|
-
rules:
|
|
1929
|
+
rules: _eslint_react_kit.RulePreset;
|
|
1922
1930
|
};
|
|
1923
1931
|
"recommended-legacy": {
|
|
1924
1932
|
plugins: string[];
|
|
1925
|
-
rules:
|
|
1933
|
+
rules: _eslint_react_kit.RulePreset;
|
|
1926
1934
|
};
|
|
1927
1935
|
};
|
|
1928
1936
|
meta: {
|
|
@@ -1974,11 +1982,11 @@ declare function reactConfig(): Promise<{
|
|
|
1974
1982
|
};
|
|
1975
1983
|
};
|
|
1976
1984
|
name: string;
|
|
1977
|
-
rules:
|
|
1985
|
+
rules: _eslint_react_kit.RulePreset;
|
|
1978
1986
|
};
|
|
1979
1987
|
"recommended-legacy": {
|
|
1980
1988
|
plugins: string[];
|
|
1981
|
-
rules:
|
|
1989
|
+
rules: _eslint_react_kit.RulePreset;
|
|
1982
1990
|
};
|
|
1983
1991
|
};
|
|
1984
1992
|
meta: {
|
|
@@ -1999,6 +2007,72 @@ declare function reactConfig(): Promise<{
|
|
|
1999
2007
|
readonly "no-useless-custom-hooks": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUsePrefix", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2000
2008
|
};
|
|
2001
2009
|
};
|
|
2010
|
+
"@eslint-react/naming-convention": {
|
|
2011
|
+
configs: {
|
|
2012
|
+
recommended: {
|
|
2013
|
+
plugins: {
|
|
2014
|
+
"react-naming-convention": {
|
|
2015
|
+
readonly meta: {
|
|
2016
|
+
readonly name: string;
|
|
2017
|
+
readonly version: string;
|
|
2018
|
+
};
|
|
2019
|
+
readonly rules: {
|
|
2020
|
+
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"invalid", readonly [("CONSTANT_CASE" | "PascalCase") | {
|
|
2021
|
+
allowAllCaps?: boolean;
|
|
2022
|
+
allowLeadingUnderscore?: boolean;
|
|
2023
|
+
allowNamespace?: boolean;
|
|
2024
|
+
excepts?: readonly string[];
|
|
2025
|
+
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
2026
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2027
|
+
readonly "context-name": _typescript_eslint_utils_ts_eslint.RuleModule<"invalid", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2028
|
+
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameEmpty" | "filenameInvalid", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
2029
|
+
excepts?: readonly string[];
|
|
2030
|
+
extensions?: readonly string[];
|
|
2031
|
+
rule?: "PascalCase" | "camelCase" | "kebab-case" | "snake_case";
|
|
2032
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2033
|
+
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxFileExtension" | "useNonJsxFileExtension", readonly [("always" | "as-needed") | {
|
|
2034
|
+
allow?: "always" | "as-needed";
|
|
2035
|
+
extensions?: readonly string[];
|
|
2036
|
+
ignoreFilesWithoutCode?: boolean;
|
|
2037
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2038
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"missingDestructuring" | "invalidSetterNaming", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2039
|
+
};
|
|
2040
|
+
};
|
|
2041
|
+
};
|
|
2042
|
+
name: string;
|
|
2043
|
+
rules: _eslint_react_kit.RulePreset;
|
|
2044
|
+
};
|
|
2045
|
+
"recommended-legacy": {
|
|
2046
|
+
plugins: string[];
|
|
2047
|
+
rules: _eslint_react_kit.RulePreset;
|
|
2048
|
+
};
|
|
2049
|
+
};
|
|
2050
|
+
meta: {
|
|
2051
|
+
readonly name: string;
|
|
2052
|
+
readonly version: string;
|
|
2053
|
+
};
|
|
2054
|
+
rules: {
|
|
2055
|
+
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"invalid", readonly [("CONSTANT_CASE" | "PascalCase") | {
|
|
2056
|
+
allowAllCaps?: boolean;
|
|
2057
|
+
allowLeadingUnderscore?: boolean;
|
|
2058
|
+
allowNamespace?: boolean;
|
|
2059
|
+
excepts?: readonly string[];
|
|
2060
|
+
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
2061
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2062
|
+
readonly "context-name": _typescript_eslint_utils_ts_eslint.RuleModule<"invalid", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2063
|
+
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameEmpty" | "filenameInvalid", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
2064
|
+
excepts?: readonly string[];
|
|
2065
|
+
extensions?: readonly string[];
|
|
2066
|
+
rule?: "PascalCase" | "camelCase" | "kebab-case" | "snake_case";
|
|
2067
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2068
|
+
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxFileExtension" | "useNonJsxFileExtension", readonly [("always" | "as-needed") | {
|
|
2069
|
+
allow?: "always" | "as-needed";
|
|
2070
|
+
extensions?: readonly string[];
|
|
2071
|
+
ignoreFilesWithoutCode?: boolean;
|
|
2072
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2073
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"missingDestructuring" | "invalidSetterNaming", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2074
|
+
};
|
|
2075
|
+
};
|
|
2002
2076
|
"@eslint-react/web-api": {
|
|
2003
2077
|
configs: {
|
|
2004
2078
|
recommended: {
|
|
@@ -2017,11 +2091,11 @@ declare function reactConfig(): Promise<{
|
|
|
2017
2091
|
};
|
|
2018
2092
|
};
|
|
2019
2093
|
name: string;
|
|
2020
|
-
rules:
|
|
2094
|
+
rules: _eslint_react_kit.RulePreset;
|
|
2021
2095
|
};
|
|
2022
2096
|
"recommended-legacy": {
|
|
2023
2097
|
plugins: string[];
|
|
2024
|
-
rules:
|
|
2098
|
+
rules: _eslint_react_kit.RulePreset;
|
|
2025
2099
|
};
|
|
2026
2100
|
};
|
|
2027
2101
|
meta: {
|
|
@@ -2052,7 +2126,7 @@ declare function reactConfig(): Promise<{
|
|
|
2052
2126
|
};
|
|
2053
2127
|
};
|
|
2054
2128
|
rules: {
|
|
2055
|
-
"react-compiler/react-compiler":
|
|
2129
|
+
"react-compiler/react-compiler": "error";
|
|
2056
2130
|
};
|
|
2057
2131
|
};
|
|
2058
2132
|
};
|
|
@@ -2177,6 +2251,7 @@ declare function reactConfig(): Promise<{
|
|
|
2177
2251
|
"@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "error";
|
|
2178
2252
|
"@eslint-react/no-children-prop": "error";
|
|
2179
2253
|
"@eslint-react/no-complex-conditional-rendering": "error";
|
|
2254
|
+
"@eslint-react/no-useless-fragment": "error";
|
|
2180
2255
|
"@eslint-react/prefer-react-namespace-import": "error";
|
|
2181
2256
|
"@eslint-react/prefer-shorthand-boolean": "error";
|
|
2182
2257
|
"@eslint-react/prefer-shorthand-fragment": "error";
|
|
@@ -2462,14 +2537,49 @@ interface RuleOptions {
|
|
|
2462
2537
|
'@eslint-react/hooks-extra/prefer-use-state-lazy-initialization'?: Linter.RuleEntry<[]>
|
|
2463
2538
|
/**
|
|
2464
2539
|
* Disallow duplicate props in JSX elements.
|
|
2465
|
-
* @see https://eslint-react.xyz/docs/rules/no-duplicate-
|
|
2540
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-no-duplicate-props
|
|
2466
2541
|
*/
|
|
2467
2542
|
'@eslint-react/jsx-no-duplicate-props'?: Linter.RuleEntry<[]>
|
|
2468
2543
|
/**
|
|
2469
|
-
*
|
|
2470
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
2544
|
+
* Disallow undefined variables in JSX.
|
|
2545
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-no-undef
|
|
2546
|
+
*/
|
|
2547
|
+
'@eslint-react/jsx-no-undef'?: Linter.RuleEntry<[]>
|
|
2548
|
+
/**
|
|
2549
|
+
* Marks React variables as used when JSX is used in the file.
|
|
2550
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-uses-react
|
|
2551
|
+
*/
|
|
2552
|
+
'@eslint-react/jsx-uses-react'?: Linter.RuleEntry<[]>
|
|
2553
|
+
/**
|
|
2554
|
+
* Marks variables used in JSX elements as used.
|
|
2555
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-uses-vars
|
|
2471
2556
|
*/
|
|
2472
2557
|
'@eslint-react/jsx-uses-vars'?: Linter.RuleEntry<[]>
|
|
2558
|
+
/**
|
|
2559
|
+
* Enforces naming conventions for components.
|
|
2560
|
+
* @see https://eslint-react.xyz/docs/rules/naming-convention-component-name
|
|
2561
|
+
*/
|
|
2562
|
+
'@eslint-react/naming-convention/component-name'?: Linter.RuleEntry<EslintReactNamingConventionComponentName>
|
|
2563
|
+
/**
|
|
2564
|
+
* Enforces context name to be a valid component name with the suffix `Context`.
|
|
2565
|
+
* @see https://eslint-react.xyz/docs/rules/naming-convention-context-name
|
|
2566
|
+
*/
|
|
2567
|
+
'@eslint-react/naming-convention/context-name'?: Linter.RuleEntry<[]>
|
|
2568
|
+
/**
|
|
2569
|
+
* Enforces consistent file naming conventions.
|
|
2570
|
+
* @see https://eslint-react.xyz/docs/rules/naming-convention-filename
|
|
2571
|
+
*/
|
|
2572
|
+
'@eslint-react/naming-convention/filename'?: Linter.RuleEntry<EslintReactNamingConventionFilename>
|
|
2573
|
+
/**
|
|
2574
|
+
* Enforces consistent file naming conventions.
|
|
2575
|
+
* @see https://eslint-react.xyz/docs/rules/naming-convention-filename-extension
|
|
2576
|
+
*/
|
|
2577
|
+
'@eslint-react/naming-convention/filename-extension'?: Linter.RuleEntry<EslintReactNamingConventionFilenameExtension>
|
|
2578
|
+
/**
|
|
2579
|
+
* Enforces destructuring and symmetric naming of `useState` hook value and setter.
|
|
2580
|
+
* @see https://eslint-react.xyz/docs/rules/naming-convention-use-state
|
|
2581
|
+
*/
|
|
2582
|
+
'@eslint-react/naming-convention/use-state'?: Linter.RuleEntry<[]>
|
|
2473
2583
|
/**
|
|
2474
2584
|
* Disallow accessing `this.state` inside `setState` calls.
|
|
2475
2585
|
* @see https://eslint-react.xyz/docs/rules/no-access-state-in-setstate
|
|
@@ -2572,7 +2682,7 @@ interface RuleOptions {
|
|
|
2572
2682
|
'@eslint-react/no-direct-mutation-state'?: Linter.RuleEntry<[]>
|
|
2573
2683
|
/**
|
|
2574
2684
|
* Disallow duplicate props in JSX elements.
|
|
2575
|
-
* @see https://eslint-react.xyz/docs/rules/no-duplicate-
|
|
2685
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-no-duplicate-props
|
|
2576
2686
|
*/
|
|
2577
2687
|
'@eslint-react/no-duplicate-jsx-props'?: Linter.RuleEntry<[]>
|
|
2578
2688
|
/**
|
|
@@ -2726,8 +2836,8 @@ interface RuleOptions {
|
|
|
2726
2836
|
*/
|
|
2727
2837
|
'@eslint-react/prefer-shorthand-fragment'?: Linter.RuleEntry<[]>
|
|
2728
2838
|
/**
|
|
2729
|
-
* Marks variables used in JSX as used.
|
|
2730
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
2839
|
+
* Marks variables used in JSX elements as used.
|
|
2840
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-uses-vars
|
|
2731
2841
|
*/
|
|
2732
2842
|
'@eslint-react/use-jsx-vars'?: Linter.RuleEntry<[]>
|
|
2733
2843
|
/**
|
|
@@ -9063,6 +9173,26 @@ type EslintReactDomNoUnknownProperty = []|[{
|
|
|
9063
9173
|
ignore?: string[]
|
|
9064
9174
|
requireDataLowercase?: boolean
|
|
9065
9175
|
}]
|
|
9176
|
+
// ----- @eslint-react/naming-convention/component-name -----
|
|
9177
|
+
type EslintReactNamingConventionComponentName = []|[(("PascalCase" | "CONSTANT_CASE") | {
|
|
9178
|
+
allowAllCaps?: boolean
|
|
9179
|
+
allowLeadingUnderscore?: boolean
|
|
9180
|
+
allowNamespace?: boolean
|
|
9181
|
+
excepts?: string[]
|
|
9182
|
+
rule?: ("PascalCase" | "CONSTANT_CASE")
|
|
9183
|
+
})]
|
|
9184
|
+
// ----- @eslint-react/naming-convention/filename -----
|
|
9185
|
+
type EslintReactNamingConventionFilename = []|[(("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
9186
|
+
excepts?: string[]
|
|
9187
|
+
extensions?: string[]
|
|
9188
|
+
rule?: ("PascalCase" | "camelCase" | "kebab-case" | "snake_case")
|
|
9189
|
+
})]
|
|
9190
|
+
// ----- @eslint-react/naming-convention/filename-extension -----
|
|
9191
|
+
type EslintReactNamingConventionFilenameExtension = []|[(("always" | "as-needed") | {
|
|
9192
|
+
allow?: ("always" | "as-needed")
|
|
9193
|
+
extensions?: string[]
|
|
9194
|
+
ignoreFilesWithoutCode?: boolean
|
|
9195
|
+
})]
|
|
9066
9196
|
// ----- @eslint-react/no-useless-fragment -----
|
|
9067
9197
|
type EslintReactNoUselessFragment = []|[{
|
|
9068
9198
|
|
|
@@ -18772,7 +18902,6 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
18772
18902
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18773
18903
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18774
18904
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18775
|
-
readonly "no-duplicate-jsx-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18776
18905
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18777
18906
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18778
18907
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -18780,7 +18909,7 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
18780
18909
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18781
18910
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18782
18911
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18783
|
-
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
18912
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18784
18913
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18785
18914
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18786
18915
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -18804,21 +18933,24 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
18804
18933
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18805
18934
|
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18806
18935
|
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18807
|
-
readonly "
|
|
18936
|
+
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18937
|
+
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18938
|
+
readonly "jsx-uses-react": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesReact", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18939
|
+
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18808
18940
|
readonly "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18809
|
-
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18810
|
-
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18811
18941
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18812
|
-
readonly "no-
|
|
18942
|
+
readonly "no-duplicate-jsx-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18943
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18944
|
+
readonly "use-jsx-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18813
18945
|
};
|
|
18814
18946
|
};
|
|
18815
18947
|
};
|
|
18816
18948
|
name: string;
|
|
18817
|
-
rules:
|
|
18949
|
+
rules: _eslint_react_kit.RulePreset;
|
|
18818
18950
|
};
|
|
18819
18951
|
"recommended-legacy": {
|
|
18820
18952
|
plugins: string[];
|
|
18821
|
-
rules:
|
|
18953
|
+
rules: _eslint_react_kit.RulePreset;
|
|
18822
18954
|
};
|
|
18823
18955
|
"recommended-type-checked": {
|
|
18824
18956
|
plugins: {
|
|
@@ -18849,7 +18981,6 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
18849
18981
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18850
18982
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18851
18983
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18852
|
-
readonly "no-duplicate-jsx-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18853
18984
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18854
18985
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18855
18986
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -18857,7 +18988,7 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
18857
18988
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18858
18989
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18859
18990
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18860
|
-
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
18991
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18861
18992
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18862
18993
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18863
18994
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -18881,21 +19012,24 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
18881
19012
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18882
19013
|
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18883
19014
|
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18884
|
-
readonly "
|
|
19015
|
+
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19016
|
+
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19017
|
+
readonly "jsx-uses-react": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesReact", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19018
|
+
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18885
19019
|
readonly "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18886
|
-
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18887
|
-
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18888
19020
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18889
|
-
readonly "no-
|
|
19021
|
+
readonly "no-duplicate-jsx-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19022
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19023
|
+
readonly "use-jsx-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18890
19024
|
};
|
|
18891
19025
|
};
|
|
18892
19026
|
};
|
|
18893
19027
|
name: string;
|
|
18894
|
-
rules:
|
|
19028
|
+
rules: _eslint_react_kit.RulePreset;
|
|
18895
19029
|
};
|
|
18896
19030
|
"recommended-type-checked-legacy": {
|
|
18897
19031
|
plugins: string[];
|
|
18898
|
-
rules:
|
|
19032
|
+
rules: _eslint_react_kit.RulePreset;
|
|
18899
19033
|
};
|
|
18900
19034
|
"recommended-typescript": {
|
|
18901
19035
|
plugins: {
|
|
@@ -18926,7 +19060,6 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
18926
19060
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18927
19061
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18928
19062
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18929
|
-
readonly "no-duplicate-jsx-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18930
19063
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18931
19064
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18932
19065
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -18934,7 +19067,7 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
18934
19067
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18935
19068
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18936
19069
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18937
|
-
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
19070
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18938
19071
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18939
19072
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18940
19073
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -18958,21 +19091,24 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
18958
19091
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18959
19092
|
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18960
19093
|
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18961
|
-
readonly "
|
|
19094
|
+
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19095
|
+
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19096
|
+
readonly "jsx-uses-react": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesReact", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19097
|
+
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18962
19098
|
readonly "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18963
|
-
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18964
|
-
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18965
19099
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18966
|
-
readonly "no-
|
|
19100
|
+
readonly "no-duplicate-jsx-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19101
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19102
|
+
readonly "use-jsx-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18967
19103
|
};
|
|
18968
19104
|
};
|
|
18969
19105
|
};
|
|
18970
19106
|
name: string;
|
|
18971
|
-
rules:
|
|
19107
|
+
rules: _eslint_react_kit.RulePreset;
|
|
18972
19108
|
};
|
|
18973
19109
|
"recommended-typescript-legacy": {
|
|
18974
19110
|
plugins: string[];
|
|
18975
|
-
rules:
|
|
19111
|
+
rules: _eslint_react_kit.RulePreset;
|
|
18976
19112
|
};
|
|
18977
19113
|
};
|
|
18978
19114
|
meta: {
|
|
@@ -19001,7 +19137,6 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
19001
19137
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19002
19138
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19003
19139
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19004
|
-
readonly "no-duplicate-jsx-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19005
19140
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19006
19141
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19007
19142
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -19009,7 +19144,7 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
19009
19144
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19010
19145
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19011
19146
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19012
|
-
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
19147
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19013
19148
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19014
19149
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19015
19150
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -19033,12 +19168,15 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
19033
19168
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19034
19169
|
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19035
19170
|
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19036
|
-
readonly "
|
|
19171
|
+
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19172
|
+
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19173
|
+
readonly "jsx-uses-react": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesReact", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19174
|
+
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19037
19175
|
readonly "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19038
|
-
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19039
|
-
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19040
19176
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19041
|
-
readonly "no-
|
|
19177
|
+
readonly "no-duplicate-jsx-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19178
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19179
|
+
readonly "use-jsx-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19042
19180
|
};
|
|
19043
19181
|
};
|
|
19044
19182
|
"@eslint-react/dom": {
|
|
@@ -19072,11 +19210,11 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
19072
19210
|
};
|
|
19073
19211
|
};
|
|
19074
19212
|
name: string;
|
|
19075
|
-
rules:
|
|
19213
|
+
rules: _eslint_react_kit.RulePreset;
|
|
19076
19214
|
};
|
|
19077
19215
|
"recommended-legacy": {
|
|
19078
19216
|
plugins: string[];
|
|
19079
|
-
rules:
|
|
19217
|
+
rules: _eslint_react_kit.RulePreset;
|
|
19080
19218
|
};
|
|
19081
19219
|
};
|
|
19082
19220
|
meta: {
|
|
@@ -19128,11 +19266,11 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
19128
19266
|
};
|
|
19129
19267
|
};
|
|
19130
19268
|
name: string;
|
|
19131
|
-
rules:
|
|
19269
|
+
rules: _eslint_react_kit.RulePreset;
|
|
19132
19270
|
};
|
|
19133
19271
|
"recommended-legacy": {
|
|
19134
19272
|
plugins: string[];
|
|
19135
|
-
rules:
|
|
19273
|
+
rules: _eslint_react_kit.RulePreset;
|
|
19136
19274
|
};
|
|
19137
19275
|
};
|
|
19138
19276
|
meta: {
|
|
@@ -19153,6 +19291,72 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
19153
19291
|
readonly "no-useless-custom-hooks": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUsePrefix", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19154
19292
|
};
|
|
19155
19293
|
};
|
|
19294
|
+
"@eslint-react/naming-convention": {
|
|
19295
|
+
configs: {
|
|
19296
|
+
recommended: {
|
|
19297
|
+
plugins: {
|
|
19298
|
+
"react-naming-convention": {
|
|
19299
|
+
readonly meta: {
|
|
19300
|
+
readonly name: string;
|
|
19301
|
+
readonly version: string;
|
|
19302
|
+
};
|
|
19303
|
+
readonly rules: {
|
|
19304
|
+
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"invalid", readonly [("CONSTANT_CASE" | "PascalCase") | {
|
|
19305
|
+
allowAllCaps?: boolean;
|
|
19306
|
+
allowLeadingUnderscore?: boolean;
|
|
19307
|
+
allowNamespace?: boolean;
|
|
19308
|
+
excepts?: readonly string[];
|
|
19309
|
+
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
19310
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19311
|
+
readonly "context-name": _typescript_eslint_utils_ts_eslint.RuleModule<"invalid", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19312
|
+
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameEmpty" | "filenameInvalid", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
19313
|
+
excepts?: readonly string[];
|
|
19314
|
+
extensions?: readonly string[];
|
|
19315
|
+
rule?: "PascalCase" | "camelCase" | "kebab-case" | "snake_case";
|
|
19316
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19317
|
+
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxFileExtension" | "useNonJsxFileExtension", readonly [("always" | "as-needed") | {
|
|
19318
|
+
allow?: "always" | "as-needed";
|
|
19319
|
+
extensions?: readonly string[];
|
|
19320
|
+
ignoreFilesWithoutCode?: boolean;
|
|
19321
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19322
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"missingDestructuring" | "invalidSetterNaming", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19323
|
+
};
|
|
19324
|
+
};
|
|
19325
|
+
};
|
|
19326
|
+
name: string;
|
|
19327
|
+
rules: _eslint_react_kit.RulePreset;
|
|
19328
|
+
};
|
|
19329
|
+
"recommended-legacy": {
|
|
19330
|
+
plugins: string[];
|
|
19331
|
+
rules: _eslint_react_kit.RulePreset;
|
|
19332
|
+
};
|
|
19333
|
+
};
|
|
19334
|
+
meta: {
|
|
19335
|
+
readonly name: string;
|
|
19336
|
+
readonly version: string;
|
|
19337
|
+
};
|
|
19338
|
+
rules: {
|
|
19339
|
+
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"invalid", readonly [("CONSTANT_CASE" | "PascalCase") | {
|
|
19340
|
+
allowAllCaps?: boolean;
|
|
19341
|
+
allowLeadingUnderscore?: boolean;
|
|
19342
|
+
allowNamespace?: boolean;
|
|
19343
|
+
excepts?: readonly string[];
|
|
19344
|
+
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
19345
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19346
|
+
readonly "context-name": _typescript_eslint_utils_ts_eslint.RuleModule<"invalid", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19347
|
+
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameEmpty" | "filenameInvalid", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
19348
|
+
excepts?: readonly string[];
|
|
19349
|
+
extensions?: readonly string[];
|
|
19350
|
+
rule?: "PascalCase" | "camelCase" | "kebab-case" | "snake_case";
|
|
19351
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19352
|
+
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxFileExtension" | "useNonJsxFileExtension", readonly [("always" | "as-needed") | {
|
|
19353
|
+
allow?: "always" | "as-needed";
|
|
19354
|
+
extensions?: readonly string[];
|
|
19355
|
+
ignoreFilesWithoutCode?: boolean;
|
|
19356
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19357
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"missingDestructuring" | "invalidSetterNaming", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19358
|
+
};
|
|
19359
|
+
};
|
|
19156
19360
|
"@eslint-react/web-api": {
|
|
19157
19361
|
configs: {
|
|
19158
19362
|
recommended: {
|
|
@@ -19171,11 +19375,11 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
19171
19375
|
};
|
|
19172
19376
|
};
|
|
19173
19377
|
name: string;
|
|
19174
|
-
rules:
|
|
19378
|
+
rules: _eslint_react_kit.RulePreset;
|
|
19175
19379
|
};
|
|
19176
19380
|
"recommended-legacy": {
|
|
19177
19381
|
plugins: string[];
|
|
19178
|
-
rules:
|
|
19382
|
+
rules: _eslint_react_kit.RulePreset;
|
|
19179
19383
|
};
|
|
19180
19384
|
};
|
|
19181
19385
|
meta: {
|
|
@@ -19206,7 +19410,7 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
19206
19410
|
};
|
|
19207
19411
|
};
|
|
19208
19412
|
rules: {
|
|
19209
|
-
"react-compiler/react-compiler":
|
|
19413
|
+
"react-compiler/react-compiler": "error";
|
|
19210
19414
|
};
|
|
19211
19415
|
};
|
|
19212
19416
|
};
|
|
@@ -19331,6 +19535,7 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
19331
19535
|
"@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "error";
|
|
19332
19536
|
"@eslint-react/no-children-prop": "error";
|
|
19333
19537
|
"@eslint-react/no-complex-conditional-rendering": "error";
|
|
19538
|
+
"@eslint-react/no-useless-fragment": "error";
|
|
19334
19539
|
"@eslint-react/prefer-react-namespace-import": "error";
|
|
19335
19540
|
"@eslint-react/prefer-shorthand-boolean": "error";
|
|
19336
19541
|
"@eslint-react/prefer-shorthand-fragment": "error";
|
package/dist/index.js
CHANGED
|
@@ -582,7 +582,7 @@ var defineConfig = async ({
|
|
|
582
582
|
];
|
|
583
583
|
const featureConfigs = await Promise.all([
|
|
584
584
|
isTypescriptEnabled && unwrap(import("./typescript-IBCLQD7Q.js")),
|
|
585
|
-
isReactEnabled && unwrap(import("./react-
|
|
585
|
+
isReactEnabled && unwrap(import("./react-6ERTZG2I.js")),
|
|
586
586
|
isTanstackQueryEnabled && unwrap(import("./tanstack-query-P4IBOLDK.js")),
|
|
587
587
|
isAstroEnabled && unwrap(import("./astro-Z5RFF624.js")),
|
|
588
588
|
isJestEnabled && unwrap(import("./jest-AHG2WRSU.js")),
|
|
@@ -53,6 +53,7 @@ var reactRules = async () => {
|
|
|
53
53
|
"@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "error",
|
|
54
54
|
"@eslint-react/no-children-prop": "error",
|
|
55
55
|
"@eslint-react/no-complex-conditional-rendering": "error",
|
|
56
|
+
"@eslint-react/no-useless-fragment": "error",
|
|
56
57
|
"@eslint-react/prefer-react-namespace-import": "error",
|
|
57
58
|
"@eslint-react/prefer-shorthand-boolean": "error",
|
|
58
59
|
"@eslint-react/prefer-shorthand-fragment": "error",
|
|
@@ -104,6 +105,7 @@ async function reactConfig() {
|
|
|
104
105
|
"@eslint-react": reactPlugins["@eslint-react"],
|
|
105
106
|
"@eslint-react/dom": reactPlugins["@eslint-react/dom"],
|
|
106
107
|
"@eslint-react/hooks-extra": reactPlugins["@eslint-react/hooks-extra"],
|
|
108
|
+
"@eslint-react/naming-convention": reactPlugins["@eslint-react/naming-convention"],
|
|
107
109
|
"@eslint-react/web-api": reactPlugins["@eslint-react/web-api"],
|
|
108
110
|
"jsx-a11y": jsxA11yPlugin,
|
|
109
111
|
"react-compiler": reactCompilerPlugin,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jimmy.codes/eslint-config",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.8.0",
|
|
4
4
|
"description": "A pragmatic and opinionated ESLint config for modern development.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -24,8 +24,9 @@
|
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
|
|
27
|
-
"@eslint-react/eslint-plugin": "^1.
|
|
28
|
-
"@eslint-react/
|
|
27
|
+
"@eslint-react/eslint-plugin": "^1.40.3",
|
|
28
|
+
"@eslint-react/kit": "^1.40.3",
|
|
29
|
+
"@eslint-react/shared": "^1.40.3",
|
|
29
30
|
"@eslint/js": "^9.22.0",
|
|
30
31
|
"@next/eslint-plugin-next": "^15.2.3",
|
|
31
32
|
"@stylistic/eslint-plugin": "^4.2.0",
|
|
@@ -46,7 +47,7 @@
|
|
|
46
47
|
"eslint-plugin-n": "^17.16.2",
|
|
47
48
|
"eslint-plugin-perfectionist": "^4.10.1",
|
|
48
49
|
"eslint-plugin-playwright": "^2.2.0",
|
|
49
|
-
"eslint-plugin-react-compiler": "19.0.0-beta-
|
|
50
|
+
"eslint-plugin-react-compiler": "19.0.0-beta-e993439-20250328",
|
|
50
51
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
51
52
|
"eslint-plugin-react-refresh": "0.4.19",
|
|
52
53
|
"eslint-plugin-regexp": "^2.7.0",
|