@jimmy.codes/eslint-config 5.6.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 +308 -81
- package/dist/index.js +1 -1
- package/dist/{react-7A5RCHOX.js → react-6ERTZG2I.js} +13 -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
|
};
|
|
@@ -2169,6 +2243,18 @@ declare function reactConfig(): Promise<{
|
|
|
2169
2243
|
};
|
|
2170
2244
|
};
|
|
2171
2245
|
rules: {
|
|
2246
|
+
"@eslint-react/avoid-shorthand-boolean": "off";
|
|
2247
|
+
"@eslint-react/avoid-shorthand-fragment": "off";
|
|
2248
|
+
"@eslint-react/hooks-extra/no-unnecessary-use-callback": "error";
|
|
2249
|
+
"@eslint-react/hooks-extra/no-unnecessary-use-memo": "error";
|
|
2250
|
+
"@eslint-react/hooks-extra/no-unnecessary-use-prefix": "error";
|
|
2251
|
+
"@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "error";
|
|
2252
|
+
"@eslint-react/no-children-prop": "error";
|
|
2253
|
+
"@eslint-react/no-complex-conditional-rendering": "error";
|
|
2254
|
+
"@eslint-react/no-useless-fragment": "error";
|
|
2255
|
+
"@eslint-react/prefer-react-namespace-import": "error";
|
|
2256
|
+
"@eslint-react/prefer-shorthand-boolean": "error";
|
|
2257
|
+
"@eslint-react/prefer-shorthand-fragment": "error";
|
|
2172
2258
|
"react-compiler/react-compiler": "error";
|
|
2173
2259
|
"react-hooks/exhaustive-deps": "error";
|
|
2174
2260
|
"react-hooks/rules-of-hooks": "error";
|
|
@@ -2451,14 +2537,49 @@ interface RuleOptions {
|
|
|
2451
2537
|
'@eslint-react/hooks-extra/prefer-use-state-lazy-initialization'?: Linter.RuleEntry<[]>
|
|
2452
2538
|
/**
|
|
2453
2539
|
* Disallow duplicate props in JSX elements.
|
|
2454
|
-
* @see https://eslint-react.xyz/docs/rules/no-duplicate-
|
|
2540
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-no-duplicate-props
|
|
2455
2541
|
*/
|
|
2456
2542
|
'@eslint-react/jsx-no-duplicate-props'?: Linter.RuleEntry<[]>
|
|
2457
2543
|
/**
|
|
2458
|
-
*
|
|
2459
|
-
* @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
|
|
2460
2556
|
*/
|
|
2461
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<[]>
|
|
2462
2583
|
/**
|
|
2463
2584
|
* Disallow accessing `this.state` inside `setState` calls.
|
|
2464
2585
|
* @see https://eslint-react.xyz/docs/rules/no-access-state-in-setstate
|
|
@@ -2561,7 +2682,7 @@ interface RuleOptions {
|
|
|
2561
2682
|
'@eslint-react/no-direct-mutation-state'?: Linter.RuleEntry<[]>
|
|
2562
2683
|
/**
|
|
2563
2684
|
* Disallow duplicate props in JSX elements.
|
|
2564
|
-
* @see https://eslint-react.xyz/docs/rules/no-duplicate-
|
|
2685
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-no-duplicate-props
|
|
2565
2686
|
*/
|
|
2566
2687
|
'@eslint-react/no-duplicate-jsx-props'?: Linter.RuleEntry<[]>
|
|
2567
2688
|
/**
|
|
@@ -2715,8 +2836,8 @@ interface RuleOptions {
|
|
|
2715
2836
|
*/
|
|
2716
2837
|
'@eslint-react/prefer-shorthand-fragment'?: Linter.RuleEntry<[]>
|
|
2717
2838
|
/**
|
|
2718
|
-
* Marks variables used in JSX as used.
|
|
2719
|
-
* @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
|
|
2720
2841
|
*/
|
|
2721
2842
|
'@eslint-react/use-jsx-vars'?: Linter.RuleEntry<[]>
|
|
2722
2843
|
/**
|
|
@@ -9052,6 +9173,26 @@ type EslintReactDomNoUnknownProperty = []|[{
|
|
|
9052
9173
|
ignore?: string[]
|
|
9053
9174
|
requireDataLowercase?: boolean
|
|
9054
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
|
+
})]
|
|
9055
9196
|
// ----- @eslint-react/no-useless-fragment -----
|
|
9056
9197
|
type EslintReactNoUselessFragment = []|[{
|
|
9057
9198
|
|
|
@@ -18761,7 +18902,6 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
18761
18902
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18762
18903
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18763
18904
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18764
|
-
readonly "no-duplicate-jsx-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18765
18905
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18766
18906
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18767
18907
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -18769,7 +18909,7 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
18769
18909
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18770
18910
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18771
18911
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18772
|
-
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>;
|
|
18773
18913
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18774
18914
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18775
18915
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -18793,21 +18933,24 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
18793
18933
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18794
18934
|
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18795
18935
|
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18796
|
-
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>;
|
|
18797
18940
|
readonly "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18798
|
-
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18799
|
-
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18800
18941
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18801
|
-
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>;
|
|
18802
18945
|
};
|
|
18803
18946
|
};
|
|
18804
18947
|
};
|
|
18805
18948
|
name: string;
|
|
18806
|
-
rules:
|
|
18949
|
+
rules: _eslint_react_kit.RulePreset;
|
|
18807
18950
|
};
|
|
18808
18951
|
"recommended-legacy": {
|
|
18809
18952
|
plugins: string[];
|
|
18810
|
-
rules:
|
|
18953
|
+
rules: _eslint_react_kit.RulePreset;
|
|
18811
18954
|
};
|
|
18812
18955
|
"recommended-type-checked": {
|
|
18813
18956
|
plugins: {
|
|
@@ -18838,7 +18981,6 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
18838
18981
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18839
18982
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18840
18983
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18841
|
-
readonly "no-duplicate-jsx-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18842
18984
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18843
18985
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18844
18986
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -18846,7 +18988,7 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
18846
18988
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18847
18989
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18848
18990
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18849
|
-
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>;
|
|
18850
18992
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18851
18993
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18852
18994
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -18870,21 +19012,24 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
18870
19012
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18871
19013
|
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18872
19014
|
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18873
|
-
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>;
|
|
18874
19019
|
readonly "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18875
|
-
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18876
|
-
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18877
19020
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18878
|
-
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>;
|
|
18879
19024
|
};
|
|
18880
19025
|
};
|
|
18881
19026
|
};
|
|
18882
19027
|
name: string;
|
|
18883
|
-
rules:
|
|
19028
|
+
rules: _eslint_react_kit.RulePreset;
|
|
18884
19029
|
};
|
|
18885
19030
|
"recommended-type-checked-legacy": {
|
|
18886
19031
|
plugins: string[];
|
|
18887
|
-
rules:
|
|
19032
|
+
rules: _eslint_react_kit.RulePreset;
|
|
18888
19033
|
};
|
|
18889
19034
|
"recommended-typescript": {
|
|
18890
19035
|
plugins: {
|
|
@@ -18915,7 +19060,6 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
18915
19060
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18916
19061
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18917
19062
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18918
|
-
readonly "no-duplicate-jsx-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18919
19063
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18920
19064
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18921
19065
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -18923,7 +19067,7 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
18923
19067
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18924
19068
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18925
19069
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18926
|
-
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>;
|
|
18927
19071
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18928
19072
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18929
19073
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -18947,21 +19091,24 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
18947
19091
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18948
19092
|
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18949
19093
|
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18950
|
-
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>;
|
|
18951
19098
|
readonly "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18952
|
-
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18953
|
-
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18954
19099
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18955
|
-
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>;
|
|
18956
19103
|
};
|
|
18957
19104
|
};
|
|
18958
19105
|
};
|
|
18959
19106
|
name: string;
|
|
18960
|
-
rules:
|
|
19107
|
+
rules: _eslint_react_kit.RulePreset;
|
|
18961
19108
|
};
|
|
18962
19109
|
"recommended-typescript-legacy": {
|
|
18963
19110
|
plugins: string[];
|
|
18964
|
-
rules:
|
|
19111
|
+
rules: _eslint_react_kit.RulePreset;
|
|
18965
19112
|
};
|
|
18966
19113
|
};
|
|
18967
19114
|
meta: {
|
|
@@ -18990,7 +19137,6 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
18990
19137
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18991
19138
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18992
19139
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18993
|
-
readonly "no-duplicate-jsx-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18994
19140
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18995
19141
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18996
19142
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -18998,7 +19144,7 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
18998
19144
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18999
19145
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19000
19146
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19001
|
-
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>;
|
|
19002
19148
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19003
19149
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19004
19150
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -19022,12 +19168,15 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
19022
19168
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19023
19169
|
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19024
19170
|
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19025
|
-
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>;
|
|
19026
19175
|
readonly "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19027
|
-
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19028
|
-
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19029
19176
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19030
|
-
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>;
|
|
19031
19180
|
};
|
|
19032
19181
|
};
|
|
19033
19182
|
"@eslint-react/dom": {
|
|
@@ -19061,11 +19210,11 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
19061
19210
|
};
|
|
19062
19211
|
};
|
|
19063
19212
|
name: string;
|
|
19064
|
-
rules:
|
|
19213
|
+
rules: _eslint_react_kit.RulePreset;
|
|
19065
19214
|
};
|
|
19066
19215
|
"recommended-legacy": {
|
|
19067
19216
|
plugins: string[];
|
|
19068
|
-
rules:
|
|
19217
|
+
rules: _eslint_react_kit.RulePreset;
|
|
19069
19218
|
};
|
|
19070
19219
|
};
|
|
19071
19220
|
meta: {
|
|
@@ -19117,11 +19266,11 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
19117
19266
|
};
|
|
19118
19267
|
};
|
|
19119
19268
|
name: string;
|
|
19120
|
-
rules:
|
|
19269
|
+
rules: _eslint_react_kit.RulePreset;
|
|
19121
19270
|
};
|
|
19122
19271
|
"recommended-legacy": {
|
|
19123
19272
|
plugins: string[];
|
|
19124
|
-
rules:
|
|
19273
|
+
rules: _eslint_react_kit.RulePreset;
|
|
19125
19274
|
};
|
|
19126
19275
|
};
|
|
19127
19276
|
meta: {
|
|
@@ -19142,6 +19291,72 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
19142
19291
|
readonly "no-useless-custom-hooks": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUsePrefix", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19143
19292
|
};
|
|
19144
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
|
+
};
|
|
19145
19360
|
"@eslint-react/web-api": {
|
|
19146
19361
|
configs: {
|
|
19147
19362
|
recommended: {
|
|
@@ -19160,11 +19375,11 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
19160
19375
|
};
|
|
19161
19376
|
};
|
|
19162
19377
|
name: string;
|
|
19163
|
-
rules:
|
|
19378
|
+
rules: _eslint_react_kit.RulePreset;
|
|
19164
19379
|
};
|
|
19165
19380
|
"recommended-legacy": {
|
|
19166
19381
|
plugins: string[];
|
|
19167
|
-
rules:
|
|
19382
|
+
rules: _eslint_react_kit.RulePreset;
|
|
19168
19383
|
};
|
|
19169
19384
|
};
|
|
19170
19385
|
meta: {
|
|
@@ -19195,7 +19410,7 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
19195
19410
|
};
|
|
19196
19411
|
};
|
|
19197
19412
|
rules: {
|
|
19198
|
-
"react-compiler/react-compiler":
|
|
19413
|
+
"react-compiler/react-compiler": "error";
|
|
19199
19414
|
};
|
|
19200
19415
|
};
|
|
19201
19416
|
};
|
|
@@ -19312,6 +19527,18 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
19312
19527
|
};
|
|
19313
19528
|
};
|
|
19314
19529
|
rules: {
|
|
19530
|
+
"@eslint-react/avoid-shorthand-boolean": "off";
|
|
19531
|
+
"@eslint-react/avoid-shorthand-fragment": "off";
|
|
19532
|
+
"@eslint-react/hooks-extra/no-unnecessary-use-callback": "error";
|
|
19533
|
+
"@eslint-react/hooks-extra/no-unnecessary-use-memo": "error";
|
|
19534
|
+
"@eslint-react/hooks-extra/no-unnecessary-use-prefix": "error";
|
|
19535
|
+
"@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "error";
|
|
19536
|
+
"@eslint-react/no-children-prop": "error";
|
|
19537
|
+
"@eslint-react/no-complex-conditional-rendering": "error";
|
|
19538
|
+
"@eslint-react/no-useless-fragment": "error";
|
|
19539
|
+
"@eslint-react/prefer-react-namespace-import": "error";
|
|
19540
|
+
"@eslint-react/prefer-shorthand-boolean": "error";
|
|
19541
|
+
"@eslint-react/prefer-shorthand-fragment": "error";
|
|
19315
19542
|
"react-compiler/react-compiler": "error";
|
|
19316
19543
|
"react-hooks/exhaustive-deps": "error";
|
|
19317
19544
|
"react-hooks/rules-of-hooks": "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")),
|
|
@@ -45,6 +45,18 @@ var reactRules = async () => {
|
|
|
45
45
|
return {
|
|
46
46
|
...jsxA11yPlugin.configs.recommended.rules,
|
|
47
47
|
...upwarn(reactPluginRules),
|
|
48
|
+
"@eslint-react/avoid-shorthand-boolean": "off",
|
|
49
|
+
"@eslint-react/avoid-shorthand-fragment": "off",
|
|
50
|
+
"@eslint-react/hooks-extra/no-unnecessary-use-callback": "error",
|
|
51
|
+
"@eslint-react/hooks-extra/no-unnecessary-use-memo": "error",
|
|
52
|
+
"@eslint-react/hooks-extra/no-unnecessary-use-prefix": "error",
|
|
53
|
+
"@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "error",
|
|
54
|
+
"@eslint-react/no-children-prop": "error",
|
|
55
|
+
"@eslint-react/no-complex-conditional-rendering": "error",
|
|
56
|
+
"@eslint-react/no-useless-fragment": "error",
|
|
57
|
+
"@eslint-react/prefer-react-namespace-import": "error",
|
|
58
|
+
"@eslint-react/prefer-shorthand-boolean": "error",
|
|
59
|
+
"@eslint-react/prefer-shorthand-fragment": "error",
|
|
48
60
|
"react-compiler/react-compiler": "error",
|
|
49
61
|
"react-hooks/exhaustive-deps": "error",
|
|
50
62
|
"react-hooks/rules-of-hooks": "error",
|
|
@@ -93,6 +105,7 @@ async function reactConfig() {
|
|
|
93
105
|
"@eslint-react": reactPlugins["@eslint-react"],
|
|
94
106
|
"@eslint-react/dom": reactPlugins["@eslint-react/dom"],
|
|
95
107
|
"@eslint-react/hooks-extra": reactPlugins["@eslint-react/hooks-extra"],
|
|
108
|
+
"@eslint-react/naming-convention": reactPlugins["@eslint-react/naming-convention"],
|
|
96
109
|
"@eslint-react/web-api": reactPlugins["@eslint-react/web-api"],
|
|
97
110
|
"jsx-a11y": jsxA11yPlugin,
|
|
98
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",
|