@jimmy.codes/eslint-config 5.5.0 → 5.6.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 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 eslint_plugin_react from 'eslint-plugin-react';
10
+ import * as _eslint_react_shared from '@eslint-react/shared';
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';
@@ -1587,280 +1587,457 @@ declare function reactConfig(): Promise<{
1587
1587
  };
1588
1588
  name: string;
1589
1589
  plugins: {
1590
- "jsx-a11y": {
1590
+ "@eslint-react": {
1591
1591
  configs: {
1592
- recommended: eslint.Linter.Config<eslint.Linter.RulesRecord>;
1592
+ recommended: {
1593
+ plugins: {
1594
+ "react-x": {
1595
+ readonly meta: {
1596
+ readonly name: string;
1597
+ readonly version: string;
1598
+ };
1599
+ readonly rules: {
1600
+ readonly "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1601
+ readonly "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1602
+ readonly "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1603
+ readonly "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noArrayIndexKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1604
+ readonly "no-children-count": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenCount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1605
+ readonly "no-children-for-each": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenForEach", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1606
+ readonly "no-children-map": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenMap", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1607
+ readonly "no-children-only": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenOnly", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1608
+ readonly "no-children-prop": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenProp", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1609
+ readonly "no-children-to-array": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenToArray", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1610
+ readonly "no-class-component": _typescript_eslint_utils_ts_eslint.RuleModule<"noClassComponent", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1611
+ readonly "no-clone-element": _typescript_eslint_utils_ts_eslint.RuleModule<"noCloneElement", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1612
+ readonly "no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"noCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1613
+ readonly "no-complex-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1614
+ readonly "no-component-will-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noComponentWillMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1615
+ readonly "no-component-will-receive-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noComponentWillReceiveProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1616
+ readonly "no-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noComponentWillUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1617
+ readonly "no-context-provider": _typescript_eslint_utils_ts_eslint.RuleModule<"noContextProvider", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1618
+ readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1619
+ readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
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
+ readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1623
+ readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1624
+ readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1625
+ readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1626
+ readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1627
+ readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1628
+ 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<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1630
+ readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1631
+ readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1632
+ readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1633
+ readonly "no-set-state-in-component-did-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1634
+ readonly "no-set-state-in-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentWillUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1635
+ readonly "no-string-refs": _typescript_eslint_utils_ts_eslint.RuleModule<"noStringRefs", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1636
+ readonly "no-unsafe-component-will-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeComponentWillMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1637
+ readonly "no-unsafe-component-will-receive-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeComponentWillReceiveProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1638
+ readonly "no-unsafe-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeComponentWillUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1639
+ readonly "no-unstable-context-value": _typescript_eslint_utils_ts_eslint.RuleModule<"unstableContextValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1640
+ readonly "no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1641
+ readonly "no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1642
+ readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1643
+ readonly "no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1644
+ readonly "no-useless-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1645
+ readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"uselessFragment", readonly [{
1646
+ allowExpressions: boolean;
1647
+ }], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1648
+ readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1649
+ readonly "prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1650
+ readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1651
+ readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1652
+ readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1653
+ readonly "use-jsx-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1654
+ 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
+ readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1658
+ readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1659
+ };
1660
+ };
1661
+ };
1662
+ name: string;
1663
+ rules: _eslint_react_shared.RulePreset;
1664
+ };
1665
+ "recommended-legacy": {
1666
+ plugins: string[];
1667
+ rules: _eslint_react_shared.RulePreset;
1668
+ };
1669
+ "recommended-type-checked": {
1670
+ plugins: {
1671
+ "react-x": {
1672
+ readonly meta: {
1673
+ readonly name: string;
1674
+ readonly version: string;
1675
+ };
1676
+ readonly rules: {
1677
+ readonly "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1678
+ readonly "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1679
+ readonly "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1680
+ readonly "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noArrayIndexKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1681
+ readonly "no-children-count": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenCount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1682
+ readonly "no-children-for-each": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenForEach", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1683
+ readonly "no-children-map": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenMap", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1684
+ readonly "no-children-only": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenOnly", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1685
+ readonly "no-children-prop": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenProp", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1686
+ readonly "no-children-to-array": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenToArray", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1687
+ readonly "no-class-component": _typescript_eslint_utils_ts_eslint.RuleModule<"noClassComponent", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1688
+ readonly "no-clone-element": _typescript_eslint_utils_ts_eslint.RuleModule<"noCloneElement", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1689
+ readonly "no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"noCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1690
+ readonly "no-complex-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1691
+ readonly "no-component-will-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noComponentWillMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1692
+ readonly "no-component-will-receive-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noComponentWillReceiveProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1693
+ readonly "no-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noComponentWillUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1694
+ readonly "no-context-provider": _typescript_eslint_utils_ts_eslint.RuleModule<"noContextProvider", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1695
+ readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1696
+ readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1697
+ 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
+ readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1700
+ readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1701
+ readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1702
+ readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1703
+ readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1704
+ readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1705
+ 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<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1707
+ readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1708
+ readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1709
+ readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1710
+ readonly "no-set-state-in-component-did-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1711
+ readonly "no-set-state-in-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentWillUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1712
+ readonly "no-string-refs": _typescript_eslint_utils_ts_eslint.RuleModule<"noStringRefs", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1713
+ readonly "no-unsafe-component-will-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeComponentWillMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1714
+ readonly "no-unsafe-component-will-receive-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeComponentWillReceiveProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1715
+ readonly "no-unsafe-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeComponentWillUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1716
+ readonly "no-unstable-context-value": _typescript_eslint_utils_ts_eslint.RuleModule<"unstableContextValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1717
+ readonly "no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1718
+ readonly "no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1719
+ readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1720
+ readonly "no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1721
+ readonly "no-useless-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1722
+ readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"uselessFragment", readonly [{
1723
+ allowExpressions: boolean;
1724
+ }], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1725
+ readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1726
+ readonly "prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1727
+ readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1728
+ readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1729
+ readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1730
+ readonly "use-jsx-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1731
+ 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
+ readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1735
+ readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1736
+ };
1737
+ };
1738
+ };
1739
+ name: string;
1740
+ rules: _eslint_react_shared.RulePreset;
1741
+ };
1742
+ "recommended-type-checked-legacy": {
1743
+ plugins: string[];
1744
+ rules: _eslint_react_shared.RulePreset;
1745
+ };
1746
+ "recommended-typescript": {
1747
+ plugins: {
1748
+ "react-x": {
1749
+ readonly meta: {
1750
+ readonly name: string;
1751
+ readonly version: string;
1752
+ };
1753
+ readonly rules: {
1754
+ readonly "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1755
+ readonly "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1756
+ readonly "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1757
+ readonly "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noArrayIndexKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1758
+ readonly "no-children-count": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenCount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1759
+ readonly "no-children-for-each": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenForEach", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1760
+ readonly "no-children-map": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenMap", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1761
+ readonly "no-children-only": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenOnly", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1762
+ readonly "no-children-prop": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenProp", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1763
+ readonly "no-children-to-array": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenToArray", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1764
+ readonly "no-class-component": _typescript_eslint_utils_ts_eslint.RuleModule<"noClassComponent", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1765
+ readonly "no-clone-element": _typescript_eslint_utils_ts_eslint.RuleModule<"noCloneElement", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1766
+ readonly "no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"noCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1767
+ readonly "no-complex-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1768
+ readonly "no-component-will-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noComponentWillMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1769
+ readonly "no-component-will-receive-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noComponentWillReceiveProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1770
+ readonly "no-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noComponentWillUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1771
+ readonly "no-context-provider": _typescript_eslint_utils_ts_eslint.RuleModule<"noContextProvider", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1772
+ readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1773
+ readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1774
+ 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
+ readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1777
+ readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1778
+ readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1779
+ readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1780
+ readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1781
+ readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1782
+ 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<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1784
+ readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1785
+ readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1786
+ readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1787
+ readonly "no-set-state-in-component-did-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1788
+ readonly "no-set-state-in-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentWillUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1789
+ readonly "no-string-refs": _typescript_eslint_utils_ts_eslint.RuleModule<"noStringRefs", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1790
+ readonly "no-unsafe-component-will-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeComponentWillMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1791
+ readonly "no-unsafe-component-will-receive-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeComponentWillReceiveProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1792
+ readonly "no-unsafe-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeComponentWillUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1793
+ readonly "no-unstable-context-value": _typescript_eslint_utils_ts_eslint.RuleModule<"unstableContextValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1794
+ readonly "no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1795
+ readonly "no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1796
+ readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1797
+ readonly "no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1798
+ readonly "no-useless-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1799
+ readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"uselessFragment", readonly [{
1800
+ allowExpressions: boolean;
1801
+ }], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1802
+ readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1803
+ readonly "prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1804
+ readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1805
+ readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1806
+ readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1807
+ readonly "use-jsx-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1808
+ 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
+ readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1812
+ readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1813
+ };
1814
+ };
1815
+ };
1816
+ name: string;
1817
+ rules: _eslint_react_shared.RulePreset;
1818
+ };
1819
+ "recommended-typescript-legacy": {
1820
+ plugins: string[];
1821
+ rules: _eslint_react_shared.RulePreset;
1822
+ };
1823
+ };
1824
+ meta: {
1825
+ readonly name: string;
1826
+ readonly version: string;
1593
1827
  };
1594
- };
1595
- react: {
1596
- deprecatedRules: Partial<{
1597
- 'boolean-prop-naming': eslint.Rule.RuleModule;
1598
- 'button-has-type': eslint.Rule.RuleModule;
1599
- 'checked-requires-onchange-or-readonly': eslint.Rule.RuleModule;
1600
- 'default-props-match-prop-types': eslint.Rule.RuleModule;
1601
- 'destructuring-assignment': eslint.Rule.RuleModule;
1602
- 'display-name': eslint.Rule.RuleModule;
1603
- 'forbid-component-props': eslint.Rule.RuleModule;
1604
- 'forbid-dom-props': eslint.Rule.RuleModule;
1605
- 'forbid-elements': eslint.Rule.RuleModule;
1606
- 'forbid-foreign-prop-types': eslint.Rule.RuleModule;
1607
- 'forbid-prop-types': eslint.Rule.RuleModule;
1608
- 'forward-ref-uses-ref': eslint.Rule.RuleModule;
1609
- 'function-component-definition': eslint.Rule.RuleModule;
1610
- 'hook-use-state': eslint.Rule.RuleModule;
1611
- 'iframe-missing-sandbox': eslint.Rule.RuleModule;
1612
- 'jsx-boolean-value': eslint.Rule.RuleModule;
1613
- 'jsx-child-element-spacing': eslint.Rule.RuleModule;
1614
- 'jsx-closing-bracket-location': eslint.Rule.RuleModule;
1615
- 'jsx-closing-tag-location': eslint.Rule.RuleModule;
1616
- 'jsx-curly-spacing': eslint.Rule.RuleModule;
1617
- 'jsx-curly-newline': eslint.Rule.RuleModule;
1618
- 'jsx-equals-spacing': eslint.Rule.RuleModule;
1619
- 'jsx-filename-extension': eslint.Rule.RuleModule;
1620
- 'jsx-first-prop-new-line': eslint.Rule.RuleModule;
1621
- 'jsx-handler-names': eslint.Rule.RuleModule;
1622
- 'jsx-indent': eslint.Rule.RuleModule;
1623
- 'jsx-indent-props': eslint.Rule.RuleModule;
1624
- 'jsx-key': eslint.Rule.RuleModule;
1625
- 'jsx-max-depth': eslint.Rule.RuleModule;
1626
- 'jsx-max-props-per-line': eslint.Rule.RuleModule;
1627
- 'jsx-newline': eslint.Rule.RuleModule;
1628
- 'jsx-no-bind': eslint.Rule.RuleModule;
1629
- 'jsx-no-comment-textnodes': eslint.Rule.RuleModule;
1630
- 'jsx-no-constructed-context-values': eslint.Rule.RuleModule;
1631
- 'jsx-no-duplicate-props': eslint.Rule.RuleModule;
1632
- 'jsx-no-leaked-render': eslint.Rule.RuleModule;
1633
- 'jsx-no-literals': eslint.Rule.RuleModule;
1634
- 'jsx-no-script-url': eslint.Rule.RuleModule;
1635
- 'jsx-no-target-blank': eslint.Rule.RuleModule;
1636
- 'jsx-no-useless-fragment': eslint.Rule.RuleModule;
1637
- 'jsx-one-expression-per-line': eslint.Rule.RuleModule;
1638
- 'jsx-no-undef': eslint.Rule.RuleModule;
1639
- 'jsx-curly-brace-presence': eslint.Rule.RuleModule;
1640
- 'jsx-pascal-case': eslint.Rule.RuleModule;
1641
- 'jsx-fragments': eslint.Rule.RuleModule;
1642
- 'jsx-props-no-multi-spaces': eslint.Rule.RuleModule;
1643
- 'jsx-props-no-spreading': eslint.Rule.RuleModule;
1644
- 'jsx-props-no-spread-multi': eslint.Rule.RuleModule;
1645
- 'jsx-sort-default-props': eslint.Rule.RuleModule;
1646
- 'jsx-sort-props': eslint.Rule.RuleModule;
1647
- 'jsx-space-before-closing': eslint.Rule.RuleModule;
1648
- 'jsx-tag-spacing': eslint.Rule.RuleModule;
1649
- 'jsx-uses-react': eslint.Rule.RuleModule;
1650
- 'jsx-uses-vars': eslint.Rule.RuleModule;
1651
- 'jsx-wrap-multilines': eslint.Rule.RuleModule;
1652
- 'no-invalid-html-attribute': eslint.Rule.RuleModule;
1653
- 'no-access-state-in-setstate': eslint.Rule.RuleModule;
1654
- 'no-adjacent-inline-elements': eslint.Rule.RuleModule;
1655
- 'no-array-index-key': eslint.Rule.RuleModule;
1656
- 'no-arrow-function-lifecycle': eslint.Rule.RuleModule;
1657
- 'no-children-prop': eslint.Rule.RuleModule;
1658
- 'no-danger': eslint.Rule.RuleModule;
1659
- 'no-danger-with-children': eslint.Rule.RuleModule;
1660
- 'no-deprecated': eslint.Rule.RuleModule;
1661
- 'no-did-mount-set-state': eslint.Rule.RuleModule;
1662
- 'no-did-update-set-state': eslint.Rule.RuleModule;
1663
- 'no-direct-mutation-state': eslint.Rule.RuleModule;
1664
- 'no-find-dom-node': eslint.Rule.RuleModule;
1665
- 'no-is-mounted': eslint.Rule.RuleModule;
1666
- 'no-multi-comp': eslint.Rule.RuleModule;
1667
- 'no-namespace': eslint.Rule.RuleModule;
1668
- 'no-set-state': eslint.Rule.RuleModule;
1669
- 'no-string-refs': eslint.Rule.RuleModule;
1670
- 'no-redundant-should-component-update': eslint.Rule.RuleModule;
1671
- 'no-render-return-value': eslint.Rule.RuleModule;
1672
- 'no-this-in-sfc': eslint.Rule.RuleModule;
1673
- 'no-typos': eslint.Rule.RuleModule;
1674
- 'no-unescaped-entities': eslint.Rule.RuleModule;
1675
- 'no-unknown-property': eslint.Rule.RuleModule;
1676
- 'no-unsafe': eslint.Rule.RuleModule;
1677
- 'no-unstable-nested-components': eslint.Rule.RuleModule;
1678
- 'no-unused-class-component-methods': eslint.Rule.RuleModule;
1679
- 'no-unused-prop-types': eslint.Rule.RuleModule;
1680
- 'no-unused-state': eslint.Rule.RuleModule;
1681
- 'no-object-type-as-default-prop': eslint.Rule.RuleModule;
1682
- 'no-will-update-set-state': eslint.Rule.RuleModule;
1683
- 'prefer-es6-class': eslint.Rule.RuleModule;
1684
- 'prefer-exact-props': eslint.Rule.RuleModule;
1685
- 'prefer-read-only-props': eslint.Rule.RuleModule;
1686
- 'prefer-stateless-function': eslint.Rule.RuleModule;
1687
- 'prop-types': eslint.Rule.RuleModule;
1688
- 'react-in-jsx-scope': eslint.Rule.RuleModule;
1689
- 'require-default-props': eslint.Rule.RuleModule;
1690
- 'require-optimization': eslint.Rule.RuleModule;
1691
- 'require-render-return': eslint.Rule.RuleModule;
1692
- 'self-closing-comp': eslint.Rule.RuleModule;
1693
- 'sort-comp': eslint.Rule.RuleModule;
1694
- 'sort-default-props': eslint.Rule.RuleModule;
1695
- 'sort-prop-types': eslint.Rule.RuleModule;
1696
- 'state-in-constructor': eslint.Rule.RuleModule;
1697
- 'static-property-placement': eslint.Rule.RuleModule;
1698
- 'style-prop-object': eslint.Rule.RuleModule;
1699
- 'void-dom-elements-no-children': eslint.Rule.RuleModule;
1700
- }>;
1701
1828
  rules: {
1702
- 'boolean-prop-naming': eslint.Rule.RuleModule;
1703
- 'button-has-type': eslint.Rule.RuleModule;
1704
- 'checked-requires-onchange-or-readonly': eslint.Rule.RuleModule;
1705
- 'default-props-match-prop-types': eslint.Rule.RuleModule;
1706
- 'destructuring-assignment': eslint.Rule.RuleModule;
1707
- 'display-name': eslint.Rule.RuleModule;
1708
- 'forbid-component-props': eslint.Rule.RuleModule;
1709
- 'forbid-dom-props': eslint.Rule.RuleModule;
1710
- 'forbid-elements': eslint.Rule.RuleModule;
1711
- 'forbid-foreign-prop-types': eslint.Rule.RuleModule;
1712
- 'forbid-prop-types': eslint.Rule.RuleModule;
1713
- 'forward-ref-uses-ref': eslint.Rule.RuleModule;
1714
- 'function-component-definition': eslint.Rule.RuleModule;
1715
- 'hook-use-state': eslint.Rule.RuleModule;
1716
- 'iframe-missing-sandbox': eslint.Rule.RuleModule;
1717
- 'jsx-boolean-value': eslint.Rule.RuleModule;
1718
- 'jsx-child-element-spacing': eslint.Rule.RuleModule;
1719
- 'jsx-closing-bracket-location': eslint.Rule.RuleModule;
1720
- 'jsx-closing-tag-location': eslint.Rule.RuleModule;
1721
- 'jsx-curly-spacing': eslint.Rule.RuleModule;
1722
- 'jsx-curly-newline': eslint.Rule.RuleModule;
1723
- 'jsx-equals-spacing': eslint.Rule.RuleModule;
1724
- 'jsx-filename-extension': eslint.Rule.RuleModule;
1725
- 'jsx-first-prop-new-line': eslint.Rule.RuleModule;
1726
- 'jsx-handler-names': eslint.Rule.RuleModule;
1727
- 'jsx-indent': eslint.Rule.RuleModule;
1728
- 'jsx-indent-props': eslint.Rule.RuleModule;
1729
- 'jsx-key': eslint.Rule.RuleModule;
1730
- 'jsx-max-depth': eslint.Rule.RuleModule;
1731
- 'jsx-max-props-per-line': eslint.Rule.RuleModule;
1732
- 'jsx-newline': eslint.Rule.RuleModule;
1733
- 'jsx-no-bind': eslint.Rule.RuleModule;
1734
- 'jsx-no-comment-textnodes': eslint.Rule.RuleModule;
1735
- 'jsx-no-constructed-context-values': eslint.Rule.RuleModule;
1736
- 'jsx-no-duplicate-props': eslint.Rule.RuleModule;
1737
- 'jsx-no-leaked-render': eslint.Rule.RuleModule;
1738
- 'jsx-no-literals': eslint.Rule.RuleModule;
1739
- 'jsx-no-script-url': eslint.Rule.RuleModule;
1740
- 'jsx-no-target-blank': eslint.Rule.RuleModule;
1741
- 'jsx-no-useless-fragment': eslint.Rule.RuleModule;
1742
- 'jsx-one-expression-per-line': eslint.Rule.RuleModule;
1743
- 'jsx-no-undef': eslint.Rule.RuleModule;
1744
- 'jsx-curly-brace-presence': eslint.Rule.RuleModule;
1745
- 'jsx-pascal-case': eslint.Rule.RuleModule;
1746
- 'jsx-fragments': eslint.Rule.RuleModule;
1747
- 'jsx-props-no-multi-spaces': eslint.Rule.RuleModule;
1748
- 'jsx-props-no-spreading': eslint.Rule.RuleModule;
1749
- 'jsx-props-no-spread-multi': eslint.Rule.RuleModule;
1750
- 'jsx-sort-default-props': eslint.Rule.RuleModule;
1751
- 'jsx-sort-props': eslint.Rule.RuleModule;
1752
- 'jsx-space-before-closing': eslint.Rule.RuleModule;
1753
- 'jsx-tag-spacing': eslint.Rule.RuleModule;
1754
- 'jsx-uses-react': eslint.Rule.RuleModule;
1755
- 'jsx-uses-vars': eslint.Rule.RuleModule;
1756
- 'jsx-wrap-multilines': eslint.Rule.RuleModule;
1757
- 'no-invalid-html-attribute': eslint.Rule.RuleModule;
1758
- 'no-access-state-in-setstate': eslint.Rule.RuleModule;
1759
- 'no-adjacent-inline-elements': eslint.Rule.RuleModule;
1760
- 'no-array-index-key': eslint.Rule.RuleModule;
1761
- 'no-arrow-function-lifecycle': eslint.Rule.RuleModule;
1762
- 'no-children-prop': eslint.Rule.RuleModule;
1763
- 'no-danger': eslint.Rule.RuleModule;
1764
- 'no-danger-with-children': eslint.Rule.RuleModule;
1765
- 'no-deprecated': eslint.Rule.RuleModule;
1766
- 'no-did-mount-set-state': eslint.Rule.RuleModule;
1767
- 'no-did-update-set-state': eslint.Rule.RuleModule;
1768
- 'no-direct-mutation-state': eslint.Rule.RuleModule;
1769
- 'no-find-dom-node': eslint.Rule.RuleModule;
1770
- 'no-is-mounted': eslint.Rule.RuleModule;
1771
- 'no-multi-comp': eslint.Rule.RuleModule;
1772
- 'no-namespace': eslint.Rule.RuleModule;
1773
- 'no-set-state': eslint.Rule.RuleModule;
1774
- 'no-string-refs': eslint.Rule.RuleModule;
1775
- 'no-redundant-should-component-update': eslint.Rule.RuleModule;
1776
- 'no-render-return-value': eslint.Rule.RuleModule;
1777
- 'no-this-in-sfc': eslint.Rule.RuleModule;
1778
- 'no-typos': eslint.Rule.RuleModule;
1779
- 'no-unescaped-entities': eslint.Rule.RuleModule;
1780
- 'no-unknown-property': eslint.Rule.RuleModule;
1781
- 'no-unsafe': eslint.Rule.RuleModule;
1782
- 'no-unstable-nested-components': eslint.Rule.RuleModule;
1783
- 'no-unused-class-component-methods': eslint.Rule.RuleModule;
1784
- 'no-unused-prop-types': eslint.Rule.RuleModule;
1785
- 'no-unused-state': eslint.Rule.RuleModule;
1786
- 'no-object-type-as-default-prop': eslint.Rule.RuleModule;
1787
- 'no-will-update-set-state': eslint.Rule.RuleModule;
1788
- 'prefer-es6-class': eslint.Rule.RuleModule;
1789
- 'prefer-exact-props': eslint.Rule.RuleModule;
1790
- 'prefer-read-only-props': eslint.Rule.RuleModule;
1791
- 'prefer-stateless-function': eslint.Rule.RuleModule;
1792
- 'prop-types': eslint.Rule.RuleModule;
1793
- 'react-in-jsx-scope': eslint.Rule.RuleModule;
1794
- 'require-default-props': eslint.Rule.RuleModule;
1795
- 'require-optimization': eslint.Rule.RuleModule;
1796
- 'require-render-return': eslint.Rule.RuleModule;
1797
- 'self-closing-comp': eslint.Rule.RuleModule;
1798
- 'sort-comp': eslint.Rule.RuleModule;
1799
- 'sort-default-props': eslint.Rule.RuleModule;
1800
- 'sort-prop-types': eslint.Rule.RuleModule;
1801
- 'state-in-constructor': eslint.Rule.RuleModule;
1802
- 'static-property-placement': eslint.Rule.RuleModule;
1803
- 'style-prop-object': eslint.Rule.RuleModule;
1804
- 'void-dom-elements-no-children': eslint.Rule.RuleModule;
1829
+ readonly "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1830
+ readonly "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1831
+ readonly "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1832
+ readonly "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noArrayIndexKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1833
+ readonly "no-children-count": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenCount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1834
+ readonly "no-children-for-each": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenForEach", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1835
+ readonly "no-children-map": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenMap", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1836
+ readonly "no-children-only": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenOnly", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1837
+ readonly "no-children-prop": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenProp", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1838
+ readonly "no-children-to-array": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenToArray", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1839
+ readonly "no-class-component": _typescript_eslint_utils_ts_eslint.RuleModule<"noClassComponent", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1840
+ readonly "no-clone-element": _typescript_eslint_utils_ts_eslint.RuleModule<"noCloneElement", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1841
+ readonly "no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"noCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1842
+ readonly "no-complex-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1843
+ readonly "no-component-will-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noComponentWillMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1844
+ readonly "no-component-will-receive-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noComponentWillReceiveProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1845
+ readonly "no-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noComponentWillUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1846
+ readonly "no-context-provider": _typescript_eslint_utils_ts_eslint.RuleModule<"noContextProvider", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1847
+ readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1848
+ readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1849
+ 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
+ readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1852
+ readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1853
+ readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1854
+ readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1855
+ readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1856
+ readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1857
+ 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<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1859
+ readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1860
+ readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1861
+ readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1862
+ readonly "no-set-state-in-component-did-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1863
+ readonly "no-set-state-in-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentWillUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1864
+ readonly "no-string-refs": _typescript_eslint_utils_ts_eslint.RuleModule<"noStringRefs", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1865
+ readonly "no-unsafe-component-will-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeComponentWillMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1866
+ readonly "no-unsafe-component-will-receive-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeComponentWillReceiveProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1867
+ readonly "no-unsafe-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeComponentWillUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1868
+ readonly "no-unstable-context-value": _typescript_eslint_utils_ts_eslint.RuleModule<"unstableContextValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1869
+ readonly "no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1870
+ readonly "no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1871
+ readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1872
+ readonly "no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1873
+ readonly "no-useless-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1874
+ readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"uselessFragment", readonly [{
1875
+ allowExpressions: boolean;
1876
+ }], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1877
+ readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1878
+ readonly "prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1879
+ readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1880
+ readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1881
+ readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1882
+ readonly "use-jsx-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1883
+ 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
+ readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1887
+ readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1805
1888
  };
1889
+ };
1890
+ "@eslint-react/dom": {
1806
1891
  configs: {
1807
1892
  recommended: {
1808
- plugins: ["react"];
1809
- parserOptions: {
1810
- ecmaFeatures: {
1811
- jsx: boolean;
1893
+ plugins: {
1894
+ "react-dom": {
1895
+ readonly meta: {
1896
+ readonly name: string;
1897
+ readonly version: string;
1898
+ };
1899
+ readonly rules: {
1900
+ readonly "no-dangerously-set-innerhtml": _typescript_eslint_utils_ts_eslint.RuleModule<"noDangerouslySetInnerhtml", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1901
+ readonly "no-dangerously-set-innerhtml-with-children": _typescript_eslint_utils_ts_eslint.RuleModule<"noDangerouslySetInnerhtmlWithChildren", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1902
+ readonly "no-find-dom-node": _typescript_eslint_utils_ts_eslint.RuleModule<"noFindDomNode", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1903
+ readonly "no-flush-sync": _typescript_eslint_utils_ts_eslint.RuleModule<"noFlushSync", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1904
+ readonly "no-hydrate": _typescript_eslint_utils_ts_eslint.RuleModule<"noHydrate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1905
+ readonly "no-missing-button-type": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingButtonType", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1906
+ readonly "no-missing-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1907
+ readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1908
+ readonly "no-render": _typescript_eslint_utils_ts_eslint.RuleModule<"noRender", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1909
+ readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1910
+ readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1911
+ readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<"dataLowercaseRequired" | "invalidPropOnTag" | "unknownProp" | "unknownPropWithStandardName", unknown[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1912
+ readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1913
+ readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1914
+ readonly "no-use-form-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseFormState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1915
+ readonly "no-void-elements-with-children": _typescript_eslint_utils_ts_eslint.RuleModule<"noVoidElementsWithChildren", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1916
+ readonly "no-children-in-void-dom-elements": _typescript_eslint_utils_ts_eslint.RuleModule<"noVoidElementsWithChildren", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1917
+ };
1812
1918
  };
1813
1919
  };
1814
- rules: {
1815
- "react/display-name": 2;
1816
- "react/jsx-key": 2;
1817
- "react/jsx-no-comment-textnodes": 2;
1818
- "react/jsx-no-duplicate-props": 2;
1819
- "react/jsx-no-target-blank": 2;
1820
- "react/jsx-no-undef": 2;
1821
- "react/jsx-uses-react": 2;
1822
- "react/jsx-uses-vars": 2;
1823
- "react/no-children-prop": 2;
1824
- "react/no-danger-with-children": 2;
1825
- "react/no-deprecated": 2;
1826
- "react/no-direct-mutation-state": 2;
1827
- "react/no-find-dom-node": 2;
1828
- "react/no-is-mounted": 2;
1829
- "react/no-render-return-value": 2;
1830
- "react/no-string-refs": 2;
1831
- "react/no-unescaped-entities": 2;
1832
- "react/no-unknown-property": 2;
1833
- "react/no-unsafe": 0;
1834
- "react/prop-types": 2;
1835
- "react/react-in-jsx-scope": 2;
1836
- "react/require-render-return": 2;
1837
- };
1920
+ name: string;
1921
+ rules: _eslint_react_shared.RulePreset;
1838
1922
  };
1839
- all: {
1840
- plugins: ["react"];
1841
- parserOptions: {
1842
- ecmaFeatures: {
1843
- jsx: boolean;
1923
+ "recommended-legacy": {
1924
+ plugins: string[];
1925
+ rules: _eslint_react_shared.RulePreset;
1926
+ };
1927
+ };
1928
+ meta: {
1929
+ readonly name: string;
1930
+ readonly version: string;
1931
+ };
1932
+ rules: {
1933
+ readonly "no-dangerously-set-innerhtml": _typescript_eslint_utils_ts_eslint.RuleModule<"noDangerouslySetInnerhtml", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1934
+ readonly "no-dangerously-set-innerhtml-with-children": _typescript_eslint_utils_ts_eslint.RuleModule<"noDangerouslySetInnerhtmlWithChildren", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1935
+ readonly "no-find-dom-node": _typescript_eslint_utils_ts_eslint.RuleModule<"noFindDomNode", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1936
+ readonly "no-flush-sync": _typescript_eslint_utils_ts_eslint.RuleModule<"noFlushSync", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1937
+ readonly "no-hydrate": _typescript_eslint_utils_ts_eslint.RuleModule<"noHydrate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1938
+ readonly "no-missing-button-type": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingButtonType", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1939
+ readonly "no-missing-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1940
+ readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1941
+ readonly "no-render": _typescript_eslint_utils_ts_eslint.RuleModule<"noRender", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1942
+ readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1943
+ readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1944
+ readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<"dataLowercaseRequired" | "invalidPropOnTag" | "unknownProp" | "unknownPropWithStandardName", unknown[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1945
+ readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1946
+ readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1947
+ readonly "no-use-form-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseFormState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1948
+ readonly "no-void-elements-with-children": _typescript_eslint_utils_ts_eslint.RuleModule<"noVoidElementsWithChildren", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1949
+ readonly "no-children-in-void-dom-elements": _typescript_eslint_utils_ts_eslint.RuleModule<"noVoidElementsWithChildren", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1950
+ };
1951
+ };
1952
+ "@eslint-react/hooks-extra": {
1953
+ configs: {
1954
+ recommended: {
1955
+ plugins: {
1956
+ "react-hooks-extra": {
1957
+ readonly meta: {
1958
+ readonly name: string;
1959
+ readonly version: string;
1960
+ };
1961
+ readonly rules: {
1962
+ readonly "no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1963
+ readonly "no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1964
+ readonly "no-unnecessary-use-callback": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseCallback", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1965
+ readonly "no-unnecessary-use-memo": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseMemo", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1966
+ readonly "no-unnecessary-use-prefix": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUsePrefix", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1967
+ readonly "prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1968
+ readonly "ensure-custom-hooks-using-other-hooks": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUsePrefix", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1969
+ readonly "ensure-use-callback-has-non-empty-deps": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseCallback", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1970
+ readonly "ensure-use-memo-has-non-empty-deps": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseMemo", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1971
+ readonly "no-redundant-custom-hook": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUsePrefix", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1972
+ readonly "no-useless-custom-hooks": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUsePrefix", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1973
+ };
1844
1974
  };
1845
1975
  };
1846
- rules: Record<"boolean-prop-naming" | "button-has-type" | "checked-requires-onchange-or-readonly" | "default-props-match-prop-types" | "destructuring-assignment" | "display-name" | "forbid-component-props" | "forbid-dom-props" | "forbid-elements" | "forbid-foreign-prop-types" | "forbid-prop-types" | "prop-types" | "forward-ref-uses-ref" | "function-component-definition" | "hook-use-state" | "iframe-missing-sandbox" | "jsx-boolean-value" | "jsx-child-element-spacing" | "jsx-closing-bracket-location" | "jsx-closing-tag-location" | "jsx-curly-spacing" | "jsx-curly-newline" | "jsx-equals-spacing" | "jsx-filename-extension" | "jsx-first-prop-new-line" | "jsx-handler-names" | "jsx-indent" | "jsx-indent-props" | "jsx-key" | "jsx-max-depth" | "jsx-max-props-per-line" | "jsx-newline" | "jsx-no-bind" | "jsx-no-comment-textnodes" | "jsx-no-constructed-context-values" | "jsx-no-duplicate-props" | "jsx-no-leaked-render" | "jsx-no-literals" | "jsx-no-script-url" | "jsx-no-target-blank" | "jsx-no-useless-fragment" | "jsx-one-expression-per-line" | "jsx-no-undef" | "jsx-curly-brace-presence" | "jsx-pascal-case" | "jsx-fragments" | "jsx-props-no-multi-spaces" | "jsx-props-no-spreading" | "jsx-props-no-spread-multi" | "sort-default-props" | "jsx-sort-default-props" | "jsx-sort-props" | "jsx-tag-spacing" | "jsx-space-before-closing" | "jsx-uses-react" | "jsx-uses-vars" | "jsx-wrap-multilines" | "no-invalid-html-attribute" | "no-access-state-in-setstate" | "no-adjacent-inline-elements" | "no-array-index-key" | "no-arrow-function-lifecycle" | "no-children-prop" | "no-danger" | "no-danger-with-children" | "no-deprecated" | "no-direct-mutation-state" | "no-find-dom-node" | "no-is-mounted" | "no-multi-comp" | "no-namespace" | "no-set-state" | "no-string-refs" | "no-redundant-should-component-update" | "no-render-return-value" | "no-this-in-sfc" | "no-typos" | "no-unescaped-entities" | "no-unknown-property" | "no-unsafe" | "no-unstable-nested-components" | "no-unused-class-component-methods" | "no-unused-prop-types" | "no-unused-state" | "no-object-type-as-default-prop" | "prefer-es6-class" | "prefer-exact-props" | "prefer-read-only-props" | "prefer-stateless-function" | "react-in-jsx-scope" | "require-default-props" | "require-optimization" | "require-render-return" | "self-closing-comp" | "sort-comp" | "sort-prop-types" | "state-in-constructor" | "static-property-placement" | "style-prop-object" | "void-dom-elements-no-children" | "no-did-mount-set-state" | "no-did-update-set-state" | "no-will-update-set-state", 2 | "error">;
1976
+ name: string;
1977
+ rules: _eslint_react_shared.RulePreset;
1847
1978
  };
1848
- 'jsx-runtime': {
1849
- plugins: ["react"];
1850
- parserOptions: {
1851
- ecmaFeatures: {
1852
- jsx: boolean;
1979
+ "recommended-legacy": {
1980
+ plugins: string[];
1981
+ rules: _eslint_react_shared.RulePreset;
1982
+ };
1983
+ };
1984
+ meta: {
1985
+ readonly name: string;
1986
+ readonly version: string;
1987
+ };
1988
+ rules: {
1989
+ readonly "no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1990
+ readonly "no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1991
+ readonly "no-unnecessary-use-callback": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseCallback", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1992
+ readonly "no-unnecessary-use-memo": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseMemo", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1993
+ readonly "no-unnecessary-use-prefix": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUsePrefix", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1994
+ readonly "prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1995
+ readonly "ensure-custom-hooks-using-other-hooks": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUsePrefix", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1996
+ readonly "ensure-use-callback-has-non-empty-deps": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseCallback", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1997
+ readonly "ensure-use-memo-has-non-empty-deps": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseMemo", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1998
+ readonly "no-redundant-custom-hook": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUsePrefix", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
1999
+ readonly "no-useless-custom-hooks": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUsePrefix", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2000
+ };
2001
+ };
2002
+ "@eslint-react/web-api": {
2003
+ configs: {
2004
+ recommended: {
2005
+ plugins: {
2006
+ "react-web-api": {
2007
+ readonly meta: {
2008
+ readonly name: string;
2009
+ readonly version: string;
2010
+ };
2011
+ readonly rules: {
2012
+ readonly "no-leaked-event-listener": _typescript_eslint_utils_ts_eslint.RuleModule<"expectedRemoveEventListenerInCleanup" | "expectedRemoveEventListenerInUnmount" | "unexpectedInlineFunction", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2013
+ readonly "no-leaked-interval": _typescript_eslint_utils_ts_eslint.RuleModule<"expectedClearIntervalInCleanup" | "expectedClearIntervalInUnmount" | "expectedIntervalId", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2014
+ readonly "no-leaked-resize-observer": _typescript_eslint_utils_ts_eslint.RuleModule<"expectedDisconnectInControlFlow" | "expectedDisconnectOrUnobserveInCleanup" | "unexpectedFloatingInstance", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2015
+ readonly "no-leaked-timeout": _typescript_eslint_utils_ts_eslint.RuleModule<"expectedClearTimeoutInCleanup" | "expectedClearTimeoutInUnmount" | "expectedTimeoutId", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2016
+ };
1853
2017
  };
1854
- jsxPragma: any;
1855
- };
1856
- rules: {
1857
- "react/react-in-jsx-scope": 0;
1858
- "react/jsx-uses-react": 0;
1859
2018
  };
2019
+ name: string;
2020
+ rules: _eslint_react_shared.RulePreset;
1860
2021
  };
1861
- flat: Record<string, eslint_plugin_react.ReactFlatConfig>;
1862
- } & {
1863
- flat: Record<string, eslint_plugin_react.ReactFlatConfig>;
2022
+ "recommended-legacy": {
2023
+ plugins: string[];
2024
+ rules: _eslint_react_shared.RulePreset;
2025
+ };
2026
+ };
2027
+ meta: {
2028
+ readonly name: string;
2029
+ readonly version: string;
2030
+ };
2031
+ rules: {
2032
+ readonly "no-leaked-event-listener": _typescript_eslint_utils_ts_eslint.RuleModule<"expectedRemoveEventListenerInCleanup" | "expectedRemoveEventListenerInUnmount" | "unexpectedInlineFunction", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2033
+ readonly "no-leaked-interval": _typescript_eslint_utils_ts_eslint.RuleModule<"expectedClearIntervalInCleanup" | "expectedClearIntervalInUnmount" | "expectedIntervalId", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2034
+ readonly "no-leaked-resize-observer": _typescript_eslint_utils_ts_eslint.RuleModule<"expectedDisconnectInControlFlow" | "expectedDisconnectOrUnobserveInCleanup" | "unexpectedFloatingInstance", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2035
+ readonly "no-leaked-timeout": _typescript_eslint_utils_ts_eslint.RuleModule<"expectedClearTimeoutInCleanup" | "expectedClearTimeoutInUnmount" | "expectedTimeoutId", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
2036
+ };
2037
+ };
2038
+ "jsx-a11y": {
2039
+ configs: {
2040
+ recommended: eslint.Linter.Config<eslint.Linter.RulesRecord>;
1864
2041
  };
1865
2042
  };
1866
2043
  "react-compiler": {
@@ -1999,74 +2176,6 @@ declare function reactConfig(): Promise<{
1999
2176
  allowConstantExport: boolean;
2000
2177
  allowExportNames: string[];
2001
2178
  }];
2002
- "react/boolean-prop-naming": "off";
2003
- "react/button-has-type": "error";
2004
- "react/checked-requires-onchange-or-readonly": "error";
2005
- "react/default-props-match-prop-types": "error";
2006
- "react/destructuring-assignment": "off";
2007
- "react/forbid-component-props": "off";
2008
- "react/forbid-dom-props": "off";
2009
- "react/forbid-elements": "off";
2010
- "react/forbid-foreign-prop-types": "off";
2011
- "react/forbid-prop-types": "off";
2012
- "react/forward-ref-uses-ref": "error";
2013
- "react/function-component-definition": "off";
2014
- "react/hook-use-state": "error";
2015
- "react/iframe-missing-sandbox": "error";
2016
- "react/jsx-boolean-value": ["error", "never"];
2017
- "react/jsx-curly-brace-presence": "error";
2018
- "react/jsx-filename-extension": "off";
2019
- "react/jsx-fragments": ["error", "syntax"];
2020
- "react/jsx-handler-names": "off";
2021
- "react/jsx-max-depth": "off";
2022
- "react/jsx-no-bind": "off";
2023
- "react/jsx-no-constructed-context-values": "error";
2024
- "react/jsx-no-leaked-render": "error";
2025
- "react/jsx-no-literals": "off";
2026
- "react/jsx-no-script-url": "error";
2027
- "react/jsx-no-useless-fragment": "error";
2028
- "react/jsx-one-expression-per-line": "off";
2029
- "react/jsx-pascal-case": ["error", {
2030
- allowNamespace: true;
2031
- }];
2032
- "react/jsx-props-no-spread-multi": "off";
2033
- "react/jsx-props-no-spreading": "off";
2034
- "react/jsx-sort-default-props": "off";
2035
- "react/jsx-sort-props": "off";
2036
- "react/no-access-state-in-setstate": "error";
2037
- "react/no-adjacent-inline-elements": "off";
2038
- "react/no-array-index-key": "off";
2039
- "react/no-arrow-function-lifecycle": "error";
2040
- "react/no-danger": "off";
2041
- "react/no-did-mount-set-state": "error";
2042
- "react/no-did-update-set-state": "error";
2043
- "react/no-invalid-html-attribute": "error";
2044
- "react/no-multi-comp": "off";
2045
- "react/no-namespace": "error";
2046
- "react/no-object-type-as-default-prop": "error";
2047
- "react/no-redundant-should-component-update": "error";
2048
- "react/no-set-state": "off";
2049
- "react/no-this-in-sfc": "error";
2050
- "react/no-typos": "error";
2051
- "react/no-unstable-nested-components": "error";
2052
- "react/no-unused-class-component-methods": "error";
2053
- "react/no-unused-prop-types": "error";
2054
- "react/no-unused-state": "error";
2055
- "react/no-will-update-set-state": "error";
2056
- "react/prefer-es6-class": "off";
2057
- "react/prefer-exact-props": "off";
2058
- "react/prefer-read-only-props": "off";
2059
- "react/prefer-stateless-function": "off";
2060
- "react/require-default-props": "off";
2061
- "react/require-optimization": "off";
2062
- "react/self-closing-comp": "error";
2063
- "react/sort-comp": "off";
2064
- "react/sort-default-props": "off";
2065
- "react/sort-prop-types": "off";
2066
- "react/state-in-constructor": "off";
2067
- "react/static-property-placement": "off";
2068
- "react/style-prop-object": "error";
2069
- "react/void-dom-elements-no-children": "error";
2070
2179
  };
2071
2180
  settings: {
2072
2181
  react: {
@@ -2185,6 +2294,451 @@ interface RuleOptions {
2185
2294
  * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/require-description.html
2186
2295
  */
2187
2296
  '@eslint-community/eslint-comments/require-description'?: Linter.RuleEntry<EslintCommunityEslintCommentsRequireDescription>
2297
+ /**
2298
+ * Enforces explicit boolean values for boolean attributes.
2299
+ * @see https://eslint-react.xyz/docs/rules/avoid-shorthand-boolean
2300
+ */
2301
+ '@eslint-react/avoid-shorthand-boolean'?: Linter.RuleEntry<[]>
2302
+ /**
2303
+ * Enforces explicit `<Fragment>` components instead of the shorthand `<>` or `</>` syntax.
2304
+ * @see https://eslint-react.xyz/docs/rules/avoid-shorthand-fragment
2305
+ */
2306
+ '@eslint-react/avoid-shorthand-fragment'?: Linter.RuleEntry<[]>
2307
+ /**
2308
+ * Disallow `children` in void DOM elements.
2309
+ * @see https://eslint-react.xyz/docs/rules/dom-no-void-elements-with-children
2310
+ */
2311
+ '@eslint-react/dom/no-children-in-void-dom-elements'?: Linter.RuleEntry<[]>
2312
+ /**
2313
+ * Disallow `dangerouslySetInnerHTML`.
2314
+ * @see https://eslint-react.xyz/docs/rules/dom-no-dangerously-set-innerhtml
2315
+ */
2316
+ '@eslint-react/dom/no-dangerously-set-innerhtml'?: Linter.RuleEntry<[]>
2317
+ /**
2318
+ * Disallow `dangerouslySetInnerHTML` and `children` at the same time.
2319
+ * @see https://eslint-react.xyz/docs/rules/dom-no-dangerously-set-innerhtml-with-children
2320
+ */
2321
+ '@eslint-react/dom/no-dangerously-set-innerhtml-with-children'?: Linter.RuleEntry<[]>
2322
+ /**
2323
+ * Disallow `findDOMNode`.
2324
+ * @see https://eslint-react.xyz/docs/rules/dom-no-find-dom-node
2325
+ */
2326
+ '@eslint-react/dom/no-find-dom-node'?: Linter.RuleEntry<[]>
2327
+ /**
2328
+ * Disallow `flushSync`.
2329
+ * @see https://eslint-react.xyz/docs/rules/dom-no-flush-sync
2330
+ */
2331
+ '@eslint-react/dom/no-flush-sync'?: Linter.RuleEntry<[]>
2332
+ /**
2333
+ * Replaces usages of `ReactDom.hydrate()` with `hydrateRoot()`.
2334
+ * @see https://eslint-react.xyz/docs/rules/dom-no-hydrate
2335
+ */
2336
+ '@eslint-react/dom/no-hydrate'?: Linter.RuleEntry<[]>
2337
+ /**
2338
+ * Enforces explicit `type` attribute for `button` elements.
2339
+ * @see https://eslint-react.xyz/docs/rules/dom-no-missing-button-type
2340
+ */
2341
+ '@eslint-react/dom/no-missing-button-type'?: Linter.RuleEntry<[]>
2342
+ /**
2343
+ * Enforces explicit `sandbox` attribute for `iframe` elements.
2344
+ * @see https://eslint-react.xyz/docs/rules/dom-no-missing-iframe-sandbox
2345
+ */
2346
+ '@eslint-react/dom/no-missing-iframe-sandbox'?: Linter.RuleEntry<[]>
2347
+ /**
2348
+ * Enforces the absence of a `namespace` in React elements.
2349
+ * @see https://eslint-react.xyz/docs/rules/dom-no-namespace
2350
+ */
2351
+ '@eslint-react/dom/no-namespace'?: Linter.RuleEntry<[]>
2352
+ /**
2353
+ * Replaces usages of `ReactDom.render()` with `createRoot(node).render()`.
2354
+ * @see https://eslint-react.xyz/docs/rules/dom-no-render
2355
+ */
2356
+ '@eslint-react/dom/no-render'?: Linter.RuleEntry<[]>
2357
+ /**
2358
+ * Disallow the return value of `ReactDOM.render`.
2359
+ * @see https://eslint-react.xyz/docs/rules/dom-no-render-return-value
2360
+ */
2361
+ '@eslint-react/dom/no-render-return-value'?: Linter.RuleEntry<[]>
2362
+ /**
2363
+ * Disallow `javascript:` URLs as attribute values.
2364
+ * @see https://eslint-react.xyz/docs/rules/dom-no-script-url
2365
+ */
2366
+ '@eslint-react/dom/no-script-url'?: Linter.RuleEntry<[]>
2367
+ /**
2368
+ * Disallow unknown `DOM` property.
2369
+ * @see https://eslint-react.xyz/docs/rules/dom-no-unknown-property
2370
+ */
2371
+ '@eslint-react/dom/no-unknown-property'?: Linter.RuleEntry<EslintReactDomNoUnknownProperty>
2372
+ /**
2373
+ * Enforces `sandbox` attribute for `iframe` elements is not set to unsafe combinations.
2374
+ * @see https://eslint-react.xyz/docs/rules/dom-no-unsafe-iframe-sandbox
2375
+ */
2376
+ '@eslint-react/dom/no-unsafe-iframe-sandbox'?: Linter.RuleEntry<[]>
2377
+ /**
2378
+ * Disallow `target="_blank"` without `rel="noreferrer noopener"`.
2379
+ * @see https://eslint-react.xyz/docs/rules/dom-no-unsafe-target-blank
2380
+ */
2381
+ '@eslint-react/dom/no-unsafe-target-blank'?: Linter.RuleEntry<[]>
2382
+ /**
2383
+ * Replaces usages of `useFormState` with `useActionState`.
2384
+ * @see https://eslint-react.xyz/docs/rules/dom-no-use-form-state
2385
+ */
2386
+ '@eslint-react/dom/no-use-form-state'?: Linter.RuleEntry<[]>
2387
+ /**
2388
+ * Disallow `children` in void DOM elements.
2389
+ * @see https://eslint-react.xyz/docs/rules/dom-no-void-elements-with-children
2390
+ */
2391
+ '@eslint-react/dom/no-void-elements-with-children'?: Linter.RuleEntry<[]>
2392
+ /**
2393
+ * Disallow useless `forwardRef` calls on components that don't use `ref`s.
2394
+ * @see https://eslint-react.xyz/docs/rules/no-useless-forward-ref
2395
+ */
2396
+ '@eslint-react/ensure-forward-ref-using-ref'?: Linter.RuleEntry<[]>
2397
+ /**
2398
+ * Enforces that a function with the `use` prefix should use at least one Hook inside of it.
2399
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-prefix
2400
+ */
2401
+ '@eslint-react/hooks-extra/ensure-custom-hooks-using-other-hooks'?: Linter.RuleEntry<[]>
2402
+ /**
2403
+ * Disallow unnecessary usage of `useCallback`.
2404
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-callback
2405
+ */
2406
+ '@eslint-react/hooks-extra/ensure-use-callback-has-non-empty-deps'?: Linter.RuleEntry<[]>
2407
+ /**
2408
+ * Disallow unnecessary usage of `useMemo`.
2409
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-memo
2410
+ */
2411
+ '@eslint-react/hooks-extra/ensure-use-memo-has-non-empty-deps'?: Linter.RuleEntry<[]>
2412
+ /**
2413
+ * Disallow direct calls to the `set` function of `useState` in `useEffect`.
2414
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-effect
2415
+ */
2416
+ '@eslint-react/hooks-extra/no-direct-set-state-in-use-effect'?: Linter.RuleEntry<[]>
2417
+ /**
2418
+ * Disallow direct calls to the `set` function of `useState` in `useLayoutEffect`.
2419
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-layout-effect
2420
+ */
2421
+ '@eslint-react/hooks-extra/no-direct-set-state-in-use-layout-effect'?: Linter.RuleEntry<[]>
2422
+ /**
2423
+ * Enforces that a function with the `use` prefix should use at least one Hook inside of it.
2424
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-prefix
2425
+ */
2426
+ '@eslint-react/hooks-extra/no-redundant-custom-hook'?: Linter.RuleEntry<[]>
2427
+ /**
2428
+ * Disallow unnecessary usage of `useCallback`.
2429
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-callback
2430
+ */
2431
+ '@eslint-react/hooks-extra/no-unnecessary-use-callback'?: Linter.RuleEntry<[]>
2432
+ /**
2433
+ * Disallow unnecessary usage of `useMemo`.
2434
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-memo
2435
+ */
2436
+ '@eslint-react/hooks-extra/no-unnecessary-use-memo'?: Linter.RuleEntry<[]>
2437
+ /**
2438
+ * Enforces that a function with the `use` prefix should use at least one Hook inside of it.
2439
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-prefix
2440
+ */
2441
+ '@eslint-react/hooks-extra/no-unnecessary-use-prefix'?: Linter.RuleEntry<[]>
2442
+ /**
2443
+ * Enforces that a function with the `use` prefix should use at least one Hook inside of it.
2444
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-prefix
2445
+ */
2446
+ '@eslint-react/hooks-extra/no-useless-custom-hooks'?: Linter.RuleEntry<[]>
2447
+ /**
2448
+ * Enforces function calls made inside `useState` to be wrapped in an `initializer function`.
2449
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-prefer-use-state-lazy-initialization
2450
+ */
2451
+ '@eslint-react/hooks-extra/prefer-use-state-lazy-initialization'?: Linter.RuleEntry<[]>
2452
+ /**
2453
+ * Disallow duplicate props in JSX elements.
2454
+ * @see https://eslint-react.xyz/docs/rules/no-duplicate-jsx-props
2455
+ */
2456
+ '@eslint-react/jsx-no-duplicate-props'?: Linter.RuleEntry<[]>
2457
+ /**
2458
+ * Marks variables used in JSX as used.
2459
+ * @see https://eslint-react.xyz/docs/rules/use-jsx-vars
2460
+ */
2461
+ '@eslint-react/jsx-uses-vars'?: Linter.RuleEntry<[]>
2462
+ /**
2463
+ * Disallow accessing `this.state` inside `setState` calls.
2464
+ * @see https://eslint-react.xyz/docs/rules/no-access-state-in-setstate
2465
+ */
2466
+ '@eslint-react/no-access-state-in-setstate'?: Linter.RuleEntry<[]>
2467
+ /**
2468
+ * Disallow an item's index in the array as its key.
2469
+ * @see https://eslint-react.xyz/docs/rules/no-array-index-key
2470
+ */
2471
+ '@eslint-react/no-array-index-key'?: Linter.RuleEntry<[]>
2472
+ /**
2473
+ * Disallow `Children.count`.
2474
+ * @see https://eslint-react.xyz/docs/rules/no-children-count
2475
+ */
2476
+ '@eslint-react/no-children-count'?: Linter.RuleEntry<[]>
2477
+ /**
2478
+ * Disallow 'Children.forEach'.
2479
+ * @see https://eslint-react.xyz/docs/rules/no-children-for-each
2480
+ */
2481
+ '@eslint-react/no-children-for-each'?: Linter.RuleEntry<[]>
2482
+ /**
2483
+ * Disallow `Children.map`.
2484
+ * @see https://eslint-react.xyz/docs/rules/no-children-map
2485
+ */
2486
+ '@eslint-react/no-children-map'?: Linter.RuleEntry<[]>
2487
+ /**
2488
+ * Disallow `Children.only`.
2489
+ * @see https://eslint-react.xyz/docs/rules/no-children-only
2490
+ */
2491
+ '@eslint-react/no-children-only'?: Linter.RuleEntry<[]>
2492
+ /**
2493
+ * Disallow passing `children` as a prop.
2494
+ * @see https://eslint-react.xyz/docs/rules/no-children-prop
2495
+ */
2496
+ '@eslint-react/no-children-prop'?: Linter.RuleEntry<[]>
2497
+ /**
2498
+ * Disallow `Children.toArray`.
2499
+ * @see https://eslint-react.xyz/docs/rules/no-children-to-array
2500
+ */
2501
+ '@eslint-react/no-children-to-array'?: Linter.RuleEntry<[]>
2502
+ /**
2503
+ * Disallow class components.
2504
+ * @see https://eslint-react.xyz/docs/rules/no-class-component
2505
+ */
2506
+ '@eslint-react/no-class-component'?: Linter.RuleEntry<[]>
2507
+ /**
2508
+ * Disallow `cloneElement`.
2509
+ * @see https://eslint-react.xyz/docs/rules/no-clone-element
2510
+ */
2511
+ '@eslint-react/no-clone-element'?: Linter.RuleEntry<[]>
2512
+ /**
2513
+ * Prevents comments from being inserted as text nodes.
2514
+ * @see https://eslint-react.xyz/docs/rules/no-comment-textnodes
2515
+ */
2516
+ '@eslint-react/no-comment-textnodes'?: Linter.RuleEntry<[]>
2517
+ /**
2518
+ * Disallow complex conditional rendering in JSX expressions.
2519
+ * @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
2520
+ */
2521
+ '@eslint-react/no-complex-conditional-rendering'?: Linter.RuleEntry<[]>
2522
+ /**
2523
+ * Disallow complex conditional rendering in JSX expressions.
2524
+ * @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
2525
+ */
2526
+ '@eslint-react/no-complicated-conditional-rendering'?: Linter.RuleEntry<[]>
2527
+ /**
2528
+ * Replace usages of `componentWillMount` with `UNSAFE_componentWillMount`.
2529
+ * @see https://eslint-react.xyz/docs/rules/no-component-will-mount
2530
+ */
2531
+ '@eslint-react/no-component-will-mount'?: Linter.RuleEntry<[]>
2532
+ /**
2533
+ * Replace usages of `componentWillReceiveProps` with `UNSAFE_componentWillReceiveProps`.
2534
+ * @see https://eslint-react.xyz/docs/rules/no-component-will-receive-props
2535
+ */
2536
+ '@eslint-react/no-component-will-receive-props'?: Linter.RuleEntry<[]>
2537
+ /**
2538
+ * Replace usages of `componentWillUpdate` with `UNSAFE_componentWillUpdate`.
2539
+ * @see https://eslint-react.xyz/docs/rules/no-component-will-update
2540
+ */
2541
+ '@eslint-react/no-component-will-update'?: Linter.RuleEntry<[]>
2542
+ /**
2543
+ * Replace usages of `<Context.Provider>` with `<Context>`.
2544
+ * @see https://eslint-react.xyz/docs/rules/no-context-provider
2545
+ */
2546
+ '@eslint-react/no-context-provider'?: Linter.RuleEntry<[]>
2547
+ /**
2548
+ * Disallow `createRef` in function components.
2549
+ * @see https://eslint-react.xyz/docs/rules/no-create-ref
2550
+ */
2551
+ '@eslint-react/no-create-ref'?: Linter.RuleEntry<[]>
2552
+ /**
2553
+ * Disallow `defaultProps` property in favor of ES6 default parameters.
2554
+ * @see https://eslint-react.xyz/docs/rules/no-default-props
2555
+ */
2556
+ '@eslint-react/no-default-props'?: Linter.RuleEntry<[]>
2557
+ /**
2558
+ * Disallow direct mutation of `this.state`.
2559
+ * @see https://eslint-react.xyz/docs/rules/no-direct-mutation-state
2560
+ */
2561
+ '@eslint-react/no-direct-mutation-state'?: Linter.RuleEntry<[]>
2562
+ /**
2563
+ * Disallow duplicate props in JSX elements.
2564
+ * @see https://eslint-react.xyz/docs/rules/no-duplicate-jsx-props
2565
+ */
2566
+ '@eslint-react/no-duplicate-jsx-props'?: Linter.RuleEntry<[]>
2567
+ /**
2568
+ * Disallow duplicate `key` on elements in the same array or a list of `children`.
2569
+ * @see https://eslint-react.xyz/docs/rules/no-duplicate-key
2570
+ */
2571
+ '@eslint-react/no-duplicate-key'?: Linter.RuleEntry<[]>
2572
+ /**
2573
+ * Replaces usages of `forwardRef` with passing `ref` as a prop.
2574
+ * @see https://eslint-react.xyz/docs/rules/no-forward-ref
2575
+ */
2576
+ '@eslint-react/no-forward-ref'?: Linter.RuleEntry<[]>
2577
+ /**
2578
+ * Prevents `key` from not being explicitly specified (e.g. spreading `key` from objects).
2579
+ * @see https://eslint-react.xyz/docs/rules/no-implicit-key
2580
+ */
2581
+ '@eslint-react/no-implicit-key'?: Linter.RuleEntry<[]>
2582
+ /**
2583
+ * Prevents problematic leaked values from being rendered.
2584
+ * @see https://eslint-react.xyz/docs/rules/no-leaked-conditional-rendering
2585
+ */
2586
+ '@eslint-react/no-leaked-conditional-rendering'?: Linter.RuleEntry<[]>
2587
+ /**
2588
+ * Enforces that all components have a `displayName` which can be used in devtools.
2589
+ * @see https://eslint-react.xyz/docs/rules/no-missing-component-display-name
2590
+ */
2591
+ '@eslint-react/no-missing-component-display-name'?: Linter.RuleEntry<[]>
2592
+ /**
2593
+ * Enforces that all contexts have a `displayName` which can be used in devtools.
2594
+ * @see https://eslint-react.xyz/docs/rules/no-missing-context-display-name
2595
+ */
2596
+ '@eslint-react/no-missing-context-display-name'?: Linter.RuleEntry<[]>
2597
+ /**
2598
+ * Disallow missing `key` on items in list rendering.
2599
+ * @see https://eslint-react.xyz/docs/rules/no-missing-key
2600
+ */
2601
+ '@eslint-react/no-missing-key'?: Linter.RuleEntry<[]>
2602
+ /**
2603
+ * Disallow nesting component definitions inside other components.
2604
+ * @see https://eslint-react.xyz/docs/rules/no-nested-component-definitions
2605
+ */
2606
+ '@eslint-react/no-nested-component-definitions'?: Linter.RuleEntry<[]>
2607
+ /**
2608
+ * Disallow nesting component definitions inside other components.
2609
+ * @see https://eslint-react.xyz/docs/rules/no-nested-component-definitions
2610
+ */
2611
+ '@eslint-react/no-nested-components'?: Linter.RuleEntry<[]>
2612
+ /**
2613
+ * Disallow `propTypes` in favor of TypeScript or another type-checking solution.
2614
+ * @see https://eslint-react.xyz/docs/rules/no-prop-types
2615
+ */
2616
+ '@eslint-react/no-prop-types'?: Linter.RuleEntry<[]>
2617
+ /**
2618
+ * Disallow `shouldComponentUpdate` when extending `React.PureComponent`.
2619
+ * @see https://eslint-react.xyz/docs/rules/no-redundant-should-component-update
2620
+ */
2621
+ '@eslint-react/no-redundant-should-component-update'?: Linter.RuleEntry<[]>
2622
+ /**
2623
+ * Disallow calling `this.setState` in `componentDidMount` outside of functions, such as callbacks.
2624
+ * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-mount
2625
+ */
2626
+ '@eslint-react/no-set-state-in-component-did-mount'?: Linter.RuleEntry<[]>
2627
+ /**
2628
+ * Disallows calling `this.setState` in `componentDidUpdate` outside of functions, such as callbacks.
2629
+ * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-update
2630
+ */
2631
+ '@eslint-react/no-set-state-in-component-did-update'?: Linter.RuleEntry<[]>
2632
+ /**
2633
+ * Disallows calling `this.setState` in `componentWillUpdate` outside of functions, such as callbacks.
2634
+ * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-will-update
2635
+ */
2636
+ '@eslint-react/no-set-state-in-component-will-update'?: Linter.RuleEntry<[]>
2637
+ /**
2638
+ * Disallow deprecated string `refs`.
2639
+ * @see https://eslint-react.xyz/docs/rules/no-string-refs
2640
+ */
2641
+ '@eslint-react/no-string-refs'?: Linter.RuleEntry<[]>
2642
+ /**
2643
+ * Warns the usage of `UNSAFE_componentWillMount` in class components.
2644
+ * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-mount
2645
+ */
2646
+ '@eslint-react/no-unsafe-component-will-mount'?: Linter.RuleEntry<[]>
2647
+ /**
2648
+ * Warns the usage of `UNSAFE_componentWillReceiveProps` in class components.
2649
+ * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-receive-props
2650
+ */
2651
+ '@eslint-react/no-unsafe-component-will-receive-props'?: Linter.RuleEntry<[]>
2652
+ /**
2653
+ * Warns the usage of `UNSAFE_componentWillUpdate` in class components.
2654
+ * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-update
2655
+ */
2656
+ '@eslint-react/no-unsafe-component-will-update'?: Linter.RuleEntry<[]>
2657
+ /**
2658
+ * Prevents non-stable values (i.e. object literals) from being used as a value for `Context.Provider`.
2659
+ * @see https://eslint-react.xyz/docs/rules/no-unstable-context-value
2660
+ */
2661
+ '@eslint-react/no-unstable-context-value'?: Linter.RuleEntry<[]>
2662
+ /**
2663
+ * Prevents using referential-type values as default props in object destructuring.
2664
+ * @see https://eslint-react.xyz/docs/rules/no-unstable-default-props
2665
+ */
2666
+ '@eslint-react/no-unstable-default-props'?: Linter.RuleEntry<[]>
2667
+ /**
2668
+ * Warns unused class component methods and properties.
2669
+ * @see https://eslint-react.xyz/docs/rules/no-unused-class-component-members
2670
+ */
2671
+ '@eslint-react/no-unused-class-component-members'?: Linter.RuleEntry<[]>
2672
+ /**
2673
+ * Warns unused class component state.
2674
+ * @see https://eslint-react.xyz/docs/rules/no-unused-state
2675
+ */
2676
+ '@eslint-react/no-unused-state'?: Linter.RuleEntry<[]>
2677
+ /**
2678
+ * Replaces usages of `useContext` with `use`.
2679
+ * @see https://eslint-react.xyz/docs/rules/no-use-context
2680
+ */
2681
+ '@eslint-react/no-use-context'?: Linter.RuleEntry<[]>
2682
+ /**
2683
+ * Disallow useless `forwardRef` calls on components that don't use `ref`s.
2684
+ * @see https://eslint-react.xyz/docs/rules/no-useless-forward-ref
2685
+ */
2686
+ '@eslint-react/no-useless-forward-ref'?: Linter.RuleEntry<[]>
2687
+ /**
2688
+ * Disallow useless fragment elements.
2689
+ * @see https://eslint-react.xyz/docs/rules/no-useless-fragment
2690
+ */
2691
+ '@eslint-react/no-useless-fragment'?: Linter.RuleEntry<EslintReactNoUselessFragment>
2692
+ /**
2693
+ * Enforces destructuring assignment for component props and context.
2694
+ * @see https://eslint-react.xyz/docs/rules/prefer-destructuring-assignment
2695
+ */
2696
+ '@eslint-react/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>
2697
+ /**
2698
+ * Enforces React is imported via a namespace import.
2699
+ * @see https://eslint-react.xyz/docs/rules/prefer-react-namespace-import
2700
+ */
2701
+ '@eslint-react/prefer-react-namespace-import'?: Linter.RuleEntry<[]>
2702
+ /**
2703
+ * Enforces read-only props in components.
2704
+ * @see https://eslint-react.xyz/docs/rules/prefer-read-only-props
2705
+ */
2706
+ '@eslint-react/prefer-read-only-props'?: Linter.RuleEntry<[]>
2707
+ /**
2708
+ * Enforces shorthand syntax for boolean attributes.
2709
+ * @see https://eslint-react.xyz/docs/rules/prefer-shorthand-boolean
2710
+ */
2711
+ '@eslint-react/prefer-shorthand-boolean'?: Linter.RuleEntry<[]>
2712
+ /**
2713
+ * Enforces shorthand syntax for fragments.
2714
+ * @see https://eslint-react.xyz/docs/rules/prefer-shorthand-fragment
2715
+ */
2716
+ '@eslint-react/prefer-shorthand-fragment'?: Linter.RuleEntry<[]>
2717
+ /**
2718
+ * Marks variables used in JSX as used.
2719
+ * @see https://eslint-react.xyz/docs/rules/use-jsx-vars
2720
+ */
2721
+ '@eslint-react/use-jsx-vars'?: Linter.RuleEntry<[]>
2722
+ /**
2723
+ * Prevents leaked `addEventListener` in a component or custom Hook.
2724
+ * @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-event-listener
2725
+ */
2726
+ '@eslint-react/web-api/no-leaked-event-listener'?: Linter.RuleEntry<[]>
2727
+ /**
2728
+ * Prevents leaked `setInterval` in a component or custom Hook.
2729
+ * @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-interval
2730
+ */
2731
+ '@eslint-react/web-api/no-leaked-interval'?: Linter.RuleEntry<[]>
2732
+ /**
2733
+ * Prevents leaked `ResizeObserver` in a component or custom Hook.
2734
+ * @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-resize-observer
2735
+ */
2736
+ '@eslint-react/web-api/no-leaked-resize-observer'?: Linter.RuleEntry<[]>
2737
+ /**
2738
+ * Prevents leaked `setTimeout` in a component or custom Hook.
2739
+ * @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-timeout
2740
+ */
2741
+ '@eslint-react/web-api/no-leaked-timeout'?: Linter.RuleEntry<[]>
2188
2742
  /**
2189
2743
  * Enforce font-display behavior with Google Fonts.
2190
2744
  * @see https://nextjs.org/docs/messages/google-font-display
@@ -6725,532 +7279,15 @@ interface RuleOptions {
6725
7279
  'react-compiler/react-compiler'?: Linter.RuleEntry<ReactCompilerReactCompiler>
6726
7280
  /**
6727
7281
  * verifies the list of dependencies for Hooks like useEffect and similar
6728
- * @see https://github.com/facebook/react/issues/14920
6729
- */
6730
- 'react-hooks/exhaustive-deps'?: Linter.RuleEntry<ReactHooksExhaustiveDeps>
6731
- /**
6732
- * enforces the Rules of Hooks
6733
- * @see https://reactjs.org/docs/hooks-rules.html
6734
- */
6735
- 'react-hooks/rules-of-hooks'?: Linter.RuleEntry<[]>
6736
- 'react-refresh/only-export-components'?: Linter.RuleEntry<ReactRefreshOnlyExportComponents>
6737
- /**
6738
- * Enforces consistent naming for boolean props
6739
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/boolean-prop-naming.md
6740
- */
6741
- 'react/boolean-prop-naming'?: Linter.RuleEntry<ReactBooleanPropNaming>
6742
- /**
6743
- * Disallow usage of `button` elements without an explicit `type` attribute
6744
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/button-has-type.md
6745
- */
6746
- 'react/button-has-type'?: Linter.RuleEntry<ReactButtonHasType>
6747
- /**
6748
- * Enforce using `onChange` or `readonly` attribute when `checked` is used
6749
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/checked-requires-onchange-or-readonly.md
6750
- */
6751
- 'react/checked-requires-onchange-or-readonly'?: Linter.RuleEntry<ReactCheckedRequiresOnchangeOrReadonly>
6752
- /**
6753
- * Enforce all defaultProps have a corresponding non-required PropType
6754
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/default-props-match-prop-types.md
6755
- */
6756
- 'react/default-props-match-prop-types'?: Linter.RuleEntry<ReactDefaultPropsMatchPropTypes>
6757
- /**
6758
- * Enforce consistent usage of destructuring assignment of props, state, and context
6759
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/destructuring-assignment.md
6760
- */
6761
- 'react/destructuring-assignment'?: Linter.RuleEntry<ReactDestructuringAssignment>
6762
- /**
6763
- * Disallow missing displayName in a React component definition
6764
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/display-name.md
6765
- */
6766
- 'react/display-name'?: Linter.RuleEntry<ReactDisplayName>
6767
- /**
6768
- * Disallow certain props on components
6769
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/forbid-component-props.md
6770
- */
6771
- 'react/forbid-component-props'?: Linter.RuleEntry<ReactForbidComponentProps>
6772
- /**
6773
- * Disallow certain props on DOM Nodes
6774
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/forbid-dom-props.md
6775
- */
6776
- 'react/forbid-dom-props'?: Linter.RuleEntry<ReactForbidDomProps>
6777
- /**
6778
- * Disallow certain elements
6779
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/forbid-elements.md
6780
- */
6781
- 'react/forbid-elements'?: Linter.RuleEntry<ReactForbidElements>
6782
- /**
6783
- * Disallow using another component's propTypes
6784
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/forbid-foreign-prop-types.md
6785
- */
6786
- 'react/forbid-foreign-prop-types'?: Linter.RuleEntry<ReactForbidForeignPropTypes>
6787
- /**
6788
- * Disallow certain propTypes
6789
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/forbid-prop-types.md
6790
- */
6791
- 'react/forbid-prop-types'?: Linter.RuleEntry<ReactForbidPropTypes>
6792
- /**
6793
- * Require all forwardRef components include a ref parameter
6794
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/forward-ref-uses-ref.md
6795
- */
6796
- 'react/forward-ref-uses-ref'?: Linter.RuleEntry<[]>
6797
- /**
6798
- * Enforce a specific function type for function components
6799
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/function-component-definition.md
6800
- */
6801
- 'react/function-component-definition'?: Linter.RuleEntry<ReactFunctionComponentDefinition>
6802
- /**
6803
- * Ensure destructuring and symmetric naming of useState hook value and setter variables
6804
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/hook-use-state.md
6805
- */
6806
- 'react/hook-use-state'?: Linter.RuleEntry<ReactHookUseState>
6807
- /**
6808
- * Enforce sandbox attribute on iframe elements
6809
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/iframe-missing-sandbox.md
6810
- */
6811
- 'react/iframe-missing-sandbox'?: Linter.RuleEntry<[]>
6812
- /**
6813
- * Enforce boolean attributes notation in JSX
6814
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-boolean-value.md
6815
- */
6816
- 'react/jsx-boolean-value'?: Linter.RuleEntry<ReactJsxBooleanValue>
6817
- /**
6818
- * Enforce or disallow spaces inside of curly braces in JSX attributes and expressions
6819
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-child-element-spacing.md
6820
- */
6821
- 'react/jsx-child-element-spacing'?: Linter.RuleEntry<[]>
6822
- /**
6823
- * Enforce closing bracket location in JSX
6824
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-closing-bracket-location.md
6825
- */
6826
- 'react/jsx-closing-bracket-location'?: Linter.RuleEntry<ReactJsxClosingBracketLocation>
6827
- /**
6828
- * Enforce closing tag location for multiline JSX
6829
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-closing-tag-location.md
6830
- */
6831
- 'react/jsx-closing-tag-location'?: Linter.RuleEntry<ReactJsxClosingTagLocation>
6832
- /**
6833
- * Disallow unnecessary JSX expressions when literals alone are sufficient or enforce JSX expressions on literals in JSX children or attributes
6834
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-curly-brace-presence.md
6835
- */
6836
- 'react/jsx-curly-brace-presence'?: Linter.RuleEntry<ReactJsxCurlyBracePresence>
6837
- /**
6838
- * Enforce consistent linebreaks in curly braces in JSX attributes and expressions
6839
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-curly-newline.md
6840
- */
6841
- 'react/jsx-curly-newline'?: Linter.RuleEntry<ReactJsxCurlyNewline>
6842
- /**
6843
- * Enforce or disallow spaces inside of curly braces in JSX attributes and expressions
6844
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-curly-spacing.md
6845
- */
6846
- 'react/jsx-curly-spacing'?: Linter.RuleEntry<ReactJsxCurlySpacing>
6847
- /**
6848
- * Enforce or disallow spaces around equal signs in JSX attributes
6849
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-equals-spacing.md
6850
- */
6851
- 'react/jsx-equals-spacing'?: Linter.RuleEntry<ReactJsxEqualsSpacing>
6852
- /**
6853
- * Disallow file extensions that may contain JSX
6854
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-filename-extension.md
6855
- */
6856
- 'react/jsx-filename-extension'?: Linter.RuleEntry<ReactJsxFilenameExtension>
6857
- /**
6858
- * Enforce proper position of the first property in JSX
6859
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-first-prop-new-line.md
6860
- */
6861
- 'react/jsx-first-prop-new-line'?: Linter.RuleEntry<ReactJsxFirstPropNewLine>
6862
- /**
6863
- * Enforce shorthand or standard form for React fragments
6864
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-fragments.md
6865
- */
6866
- 'react/jsx-fragments'?: Linter.RuleEntry<ReactJsxFragments>
6867
- /**
6868
- * Enforce event handler naming conventions in JSX
6869
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-handler-names.md
6870
- */
6871
- 'react/jsx-handler-names'?: Linter.RuleEntry<ReactJsxHandlerNames>
6872
- /**
6873
- * Enforce JSX indentation
6874
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-indent.md
6875
- */
6876
- 'react/jsx-indent'?: Linter.RuleEntry<ReactJsxIndent>
6877
- /**
6878
- * Enforce props indentation in JSX
6879
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-indent-props.md
6880
- */
6881
- 'react/jsx-indent-props'?: Linter.RuleEntry<ReactJsxIndentProps>
6882
- /**
6883
- * Disallow missing `key` props in iterators/collection literals
6884
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-key.md
6885
- */
6886
- 'react/jsx-key'?: Linter.RuleEntry<ReactJsxKey>
6887
- /**
6888
- * Enforce JSX maximum depth
6889
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-max-depth.md
6890
- */
6891
- 'react/jsx-max-depth'?: Linter.RuleEntry<ReactJsxMaxDepth>
6892
- /**
6893
- * Enforce maximum of props on a single line in JSX
6894
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-max-props-per-line.md
6895
- */
6896
- 'react/jsx-max-props-per-line'?: Linter.RuleEntry<ReactJsxMaxPropsPerLine>
6897
- /**
6898
- * Require or prevent a new line after jsx elements and expressions.
6899
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-newline.md
6900
- */
6901
- 'react/jsx-newline'?: Linter.RuleEntry<ReactJsxNewline>
6902
- /**
6903
- * Disallow `.bind()` or arrow functions in JSX props
6904
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-no-bind.md
6905
- */
6906
- 'react/jsx-no-bind'?: Linter.RuleEntry<ReactJsxNoBind>
6907
- /**
6908
- * Disallow comments from being inserted as text nodes
6909
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-no-comment-textnodes.md
6910
- */
6911
- 'react/jsx-no-comment-textnodes'?: Linter.RuleEntry<[]>
6912
- /**
6913
- * Disallows JSX context provider values from taking values that will cause needless rerenders
6914
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-no-constructed-context-values.md
6915
- */
6916
- 'react/jsx-no-constructed-context-values'?: Linter.RuleEntry<[]>
6917
- /**
6918
- * Disallow duplicate properties in JSX
6919
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-no-duplicate-props.md
6920
- */
6921
- 'react/jsx-no-duplicate-props'?: Linter.RuleEntry<ReactJsxNoDuplicateProps>
6922
- /**
6923
- * Disallow problematic leaked values from being rendered
6924
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-no-leaked-render.md
6925
- */
6926
- 'react/jsx-no-leaked-render'?: Linter.RuleEntry<ReactJsxNoLeakedRender>
6927
- /**
6928
- * Disallow usage of string literals in JSX
6929
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-no-literals.md
6930
- */
6931
- 'react/jsx-no-literals'?: Linter.RuleEntry<ReactJsxNoLiterals>
6932
- /**
6933
- * Disallow usage of `javascript:` URLs
6934
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-no-script-url.md
6935
- */
6936
- 'react/jsx-no-script-url'?: Linter.RuleEntry<ReactJsxNoScriptUrl>
6937
- /**
6938
- * Disallow `target="_blank"` attribute without `rel="noreferrer"`
6939
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-no-target-blank.md
6940
- */
6941
- 'react/jsx-no-target-blank'?: Linter.RuleEntry<ReactJsxNoTargetBlank>
6942
- /**
6943
- * Disallow undeclared variables in JSX
6944
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-no-undef.md
6945
- */
6946
- 'react/jsx-no-undef'?: Linter.RuleEntry<ReactJsxNoUndef>
6947
- /**
6948
- * Disallow unnecessary fragments
6949
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-no-useless-fragment.md
6950
- */
6951
- 'react/jsx-no-useless-fragment'?: Linter.RuleEntry<ReactJsxNoUselessFragment>
6952
- /**
6953
- * Require one JSX element per line
6954
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-one-expression-per-line.md
6955
- */
6956
- 'react/jsx-one-expression-per-line'?: Linter.RuleEntry<ReactJsxOneExpressionPerLine>
6957
- /**
6958
- * Enforce PascalCase for user-defined JSX components
6959
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-pascal-case.md
6960
- */
6961
- 'react/jsx-pascal-case'?: Linter.RuleEntry<ReactJsxPascalCase>
6962
- /**
6963
- * Disallow multiple spaces between inline JSX props
6964
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-props-no-multi-spaces.md
6965
- */
6966
- 'react/jsx-props-no-multi-spaces'?: Linter.RuleEntry<[]>
6967
- /**
6968
- * Disallow JSX prop spreading the same identifier multiple times
6969
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-props-no-spread-multi.md
6970
- */
6971
- 'react/jsx-props-no-spread-multi'?: Linter.RuleEntry<[]>
6972
- /**
6973
- * Disallow JSX prop spreading
6974
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-props-no-spreading.md
6975
- */
6976
- 'react/jsx-props-no-spreading'?: Linter.RuleEntry<ReactJsxPropsNoSpreading>
6977
- /**
6978
- * Enforce defaultProps declarations alphabetical sorting
6979
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-sort-default-props.md
6980
- * @deprecated
6981
- */
6982
- 'react/jsx-sort-default-props'?: Linter.RuleEntry<ReactJsxSortDefaultProps>
6983
- /**
6984
- * Enforce props alphabetical sorting
6985
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-sort-props.md
6986
- */
6987
- 'react/jsx-sort-props'?: Linter.RuleEntry<ReactJsxSortProps>
6988
- /**
6989
- * Enforce spacing before closing bracket in JSX
6990
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-space-before-closing.md
6991
- * @deprecated
6992
- */
6993
- 'react/jsx-space-before-closing'?: Linter.RuleEntry<ReactJsxSpaceBeforeClosing>
6994
- /**
6995
- * Enforce whitespace in and around the JSX opening and closing brackets
6996
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-tag-spacing.md
6997
- */
6998
- 'react/jsx-tag-spacing'?: Linter.RuleEntry<ReactJsxTagSpacing>
6999
- /**
7000
- * Disallow React to be incorrectly marked as unused
7001
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-uses-react.md
7002
- */
7003
- 'react/jsx-uses-react'?: Linter.RuleEntry<[]>
7004
- /**
7005
- * Disallow variables used in JSX to be incorrectly marked as unused
7006
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-uses-vars.md
7007
- */
7008
- 'react/jsx-uses-vars'?: Linter.RuleEntry<[]>
7009
- /**
7010
- * Disallow missing parentheses around multiline JSX
7011
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-wrap-multilines.md
7012
- */
7013
- 'react/jsx-wrap-multilines'?: Linter.RuleEntry<ReactJsxWrapMultilines>
7014
- /**
7015
- * Disallow when this.state is accessed within setState
7016
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-access-state-in-setstate.md
7017
- */
7018
- 'react/no-access-state-in-setstate'?: Linter.RuleEntry<[]>
7019
- /**
7020
- * Disallow adjacent inline elements not separated by whitespace.
7021
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-adjacent-inline-elements.md
7022
- */
7023
- 'react/no-adjacent-inline-elements'?: Linter.RuleEntry<[]>
7024
- /**
7025
- * Disallow usage of Array index in keys
7026
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-array-index-key.md
7027
- */
7028
- 'react/no-array-index-key'?: Linter.RuleEntry<[]>
7029
- /**
7030
- * Lifecycle methods should be methods on the prototype, not class fields
7031
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-arrow-function-lifecycle.md
7032
- */
7033
- 'react/no-arrow-function-lifecycle'?: Linter.RuleEntry<[]>
7034
- /**
7035
- * Disallow passing of children as props
7036
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-children-prop.md
7037
- */
7038
- 'react/no-children-prop'?: Linter.RuleEntry<ReactNoChildrenProp>
7039
- /**
7040
- * Disallow usage of dangerous JSX properties
7041
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-danger.md
7042
- */
7043
- 'react/no-danger'?: Linter.RuleEntry<ReactNoDanger>
7044
- /**
7045
- * Disallow when a DOM element is using both children and dangerouslySetInnerHTML
7046
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-danger-with-children.md
7047
- */
7048
- 'react/no-danger-with-children'?: Linter.RuleEntry<[]>
7049
- /**
7050
- * Disallow usage of deprecated methods
7051
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-deprecated.md
7052
- */
7053
- 'react/no-deprecated'?: Linter.RuleEntry<[]>
7054
- /**
7055
- * Disallow usage of setState in componentDidMount
7056
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-did-mount-set-state.md
7057
- */
7058
- 'react/no-did-mount-set-state'?: Linter.RuleEntry<ReactNoDidMountSetState>
7059
- /**
7060
- * Disallow usage of setState in componentDidUpdate
7061
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-did-update-set-state.md
7062
- */
7063
- 'react/no-did-update-set-state'?: Linter.RuleEntry<ReactNoDidUpdateSetState>
7064
- /**
7065
- * Disallow direct mutation of this.state
7066
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-direct-mutation-state.md
7067
- */
7068
- 'react/no-direct-mutation-state'?: Linter.RuleEntry<[]>
7069
- /**
7070
- * Disallow usage of findDOMNode
7071
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-find-dom-node.md
7072
- */
7073
- 'react/no-find-dom-node'?: Linter.RuleEntry<[]>
7074
- /**
7075
- * Disallow usage of invalid attributes
7076
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-invalid-html-attribute.md
7077
- */
7078
- 'react/no-invalid-html-attribute'?: Linter.RuleEntry<ReactNoInvalidHtmlAttribute>
7079
- /**
7080
- * Disallow usage of isMounted
7081
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-is-mounted.md
7082
- */
7083
- 'react/no-is-mounted'?: Linter.RuleEntry<[]>
7084
- /**
7085
- * Disallow multiple component definition per file
7086
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-multi-comp.md
7087
- */
7088
- 'react/no-multi-comp'?: Linter.RuleEntry<ReactNoMultiComp>
7089
- /**
7090
- * Enforce that namespaces are not used in React elements
7091
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-namespace.md
7092
- */
7093
- 'react/no-namespace'?: Linter.RuleEntry<[]>
7094
- /**
7095
- * Disallow usage of referential-type variables as default param in functional component
7096
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-object-type-as-default-prop.md
7097
- */
7098
- 'react/no-object-type-as-default-prop'?: Linter.RuleEntry<[]>
7099
- /**
7100
- * Disallow usage of shouldComponentUpdate when extending React.PureComponent
7101
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-redundant-should-component-update.md
7102
- */
7103
- 'react/no-redundant-should-component-update'?: Linter.RuleEntry<[]>
7104
- /**
7105
- * Disallow usage of the return value of ReactDOM.render
7106
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-render-return-value.md
7107
- */
7108
- 'react/no-render-return-value'?: Linter.RuleEntry<[]>
7109
- /**
7110
- * Disallow usage of setState
7111
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-set-state.md
7112
- */
7113
- 'react/no-set-state'?: Linter.RuleEntry<[]>
7114
- /**
7115
- * Disallow using string references
7116
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-string-refs.md
7117
- */
7118
- 'react/no-string-refs'?: Linter.RuleEntry<ReactNoStringRefs>
7119
- /**
7120
- * Disallow `this` from being used in stateless functional components
7121
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-this-in-sfc.md
7122
- */
7123
- 'react/no-this-in-sfc'?: Linter.RuleEntry<[]>
7124
- /**
7125
- * Disallow common typos
7126
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-typos.md
7127
- */
7128
- 'react/no-typos'?: Linter.RuleEntry<[]>
7129
- /**
7130
- * Disallow unescaped HTML entities from appearing in markup
7131
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-unescaped-entities.md
7132
- */
7133
- 'react/no-unescaped-entities'?: Linter.RuleEntry<ReactNoUnescapedEntities>
7134
- /**
7135
- * Disallow usage of unknown DOM property
7136
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-unknown-property.md
7137
- */
7138
- 'react/no-unknown-property'?: Linter.RuleEntry<ReactNoUnknownProperty>
7139
- /**
7140
- * Disallow usage of unsafe lifecycle methods
7141
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-unsafe.md
7142
- */
7143
- 'react/no-unsafe'?: Linter.RuleEntry<ReactNoUnsafe>
7144
- /**
7145
- * Disallow creating unstable components inside components
7146
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-unstable-nested-components.md
7147
- */
7148
- 'react/no-unstable-nested-components'?: Linter.RuleEntry<ReactNoUnstableNestedComponents>
7149
- /**
7150
- * Disallow declaring unused methods of component class
7151
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-unused-class-component-methods.md
7152
- */
7153
- 'react/no-unused-class-component-methods'?: Linter.RuleEntry<[]>
7154
- /**
7155
- * Disallow definitions of unused propTypes
7156
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-unused-prop-types.md
7157
- */
7158
- 'react/no-unused-prop-types'?: Linter.RuleEntry<ReactNoUnusedPropTypes>
7159
- /**
7160
- * Disallow definitions of unused state
7161
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-unused-state.md
7162
- */
7163
- 'react/no-unused-state'?: Linter.RuleEntry<[]>
7164
- /**
7165
- * Disallow usage of setState in componentWillUpdate
7166
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-will-update-set-state.md
7167
- */
7168
- 'react/no-will-update-set-state'?: Linter.RuleEntry<ReactNoWillUpdateSetState>
7169
- /**
7170
- * Enforce ES5 or ES6 class for React Components
7171
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/prefer-es6-class.md
7172
- */
7173
- 'react/prefer-es6-class'?: Linter.RuleEntry<ReactPreferEs6Class>
7174
- /**
7175
- * Prefer exact proptype definitions
7176
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/prefer-exact-props.md
7177
- */
7178
- 'react/prefer-exact-props'?: Linter.RuleEntry<[]>
7179
- /**
7180
- * Enforce that props are read-only
7181
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/prefer-read-only-props.md
7182
- */
7183
- 'react/prefer-read-only-props'?: Linter.RuleEntry<[]>
7184
- /**
7185
- * Enforce stateless components to be written as a pure function
7186
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/prefer-stateless-function.md
7187
- */
7188
- 'react/prefer-stateless-function'?: Linter.RuleEntry<ReactPreferStatelessFunction>
7189
- /**
7190
- * Disallow missing props validation in a React component definition
7191
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/prop-types.md
7192
- */
7193
- 'react/prop-types'?: Linter.RuleEntry<ReactPropTypes>
7194
- /**
7195
- * Disallow missing React when using JSX
7196
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/react-in-jsx-scope.md
7197
- */
7198
- 'react/react-in-jsx-scope'?: Linter.RuleEntry<[]>
7199
- /**
7200
- * Enforce a defaultProps definition for every prop that is not a required prop
7201
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/require-default-props.md
7202
- */
7203
- 'react/require-default-props'?: Linter.RuleEntry<ReactRequireDefaultProps>
7204
- /**
7205
- * Enforce React components to have a shouldComponentUpdate method
7206
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/require-optimization.md
7207
- */
7208
- 'react/require-optimization'?: Linter.RuleEntry<ReactRequireOptimization>
7209
- /**
7210
- * Enforce ES5 or ES6 class for returning value in render function
7211
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/require-render-return.md
7212
- */
7213
- 'react/require-render-return'?: Linter.RuleEntry<[]>
7214
- /**
7215
- * Disallow extra closing tags for components without children
7216
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/self-closing-comp.md
7217
- */
7218
- 'react/self-closing-comp'?: Linter.RuleEntry<ReactSelfClosingComp>
7219
- /**
7220
- * Enforce component methods order
7221
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/sort-comp.md
7222
- */
7223
- 'react/sort-comp'?: Linter.RuleEntry<ReactSortComp>
7224
- /**
7225
- * Enforce defaultProps declarations alphabetical sorting
7226
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/sort-default-props.md
7227
- */
7228
- 'react/sort-default-props'?: Linter.RuleEntry<ReactSortDefaultProps>
7229
- /**
7230
- * Enforce propTypes declarations alphabetical sorting
7231
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/sort-prop-types.md
7232
- */
7233
- 'react/sort-prop-types'?: Linter.RuleEntry<ReactSortPropTypes>
7234
- /**
7235
- * Enforce class component state initialization style
7236
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/state-in-constructor.md
7237
- */
7238
- 'react/state-in-constructor'?: Linter.RuleEntry<ReactStateInConstructor>
7239
- /**
7240
- * Enforces where React component static properties should be positioned.
7241
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/static-property-placement.md
7242
- */
7243
- 'react/static-property-placement'?: Linter.RuleEntry<ReactStaticPropertyPlacement>
7244
- /**
7245
- * Enforce style prop value is an object
7246
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/style-prop-object.md
7282
+ * @see https://github.com/facebook/react/issues/14920
7247
7283
  */
7248
- 'react/style-prop-object'?: Linter.RuleEntry<ReactStylePropObject>
7284
+ 'react-hooks/exhaustive-deps'?: Linter.RuleEntry<ReactHooksExhaustiveDeps>
7249
7285
  /**
7250
- * Disallow void DOM elements (e.g. `<img />`, `<br />`) from receiving children
7251
- * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/void-dom-elements-no-children.md
7286
+ * enforces the Rules of Hooks
7287
+ * @see https://reactjs.org/docs/hooks-rules.html
7252
7288
  */
7253
- 'react/void-dom-elements-no-children'?: Linter.RuleEntry<[]>
7289
+ 'react-hooks/rules-of-hooks'?: Linter.RuleEntry<[]>
7290
+ 'react-refresh/only-export-components'?: Linter.RuleEntry<ReactRefreshOnlyExportComponents>
7254
7291
  /**
7255
7292
  * disallow confusing quantifiers
7256
7293
  * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/confusing-quantifier.html
@@ -9010,6 +9047,16 @@ type EslintCommunityEslintCommentsNoUse = []|[{
9010
9047
  type EslintCommunityEslintCommentsRequireDescription = []|[{
9011
9048
  ignore?: ("eslint" | "eslint-disable" | "eslint-disable-line" | "eslint-disable-next-line" | "eslint-enable" | "eslint-env" | "exported" | "global" | "globals")[]
9012
9049
  }]
9050
+ // ----- @eslint-react/dom/no-unknown-property -----
9051
+ type EslintReactDomNoUnknownProperty = []|[{
9052
+ ignore?: string[]
9053
+ requireDataLowercase?: boolean
9054
+ }]
9055
+ // ----- @eslint-react/no-useless-fragment -----
9056
+ type EslintReactNoUselessFragment = []|[{
9057
+
9058
+ allowExpressions?: boolean
9059
+ }]
9013
9060
  // ----- @next/next/no-html-link-for-pages -----
9014
9061
  type NextNextNoHtmlLinkForPages = []|[(string | string[])]
9015
9062
  // ----- @stylistic/array-bracket-newline -----
@@ -16106,470 +16153,6 @@ type ReactRefreshOnlyExportComponents = []|[{
16106
16153
  customHOCs?: string[]
16107
16154
  checkJS?: boolean
16108
16155
  }]
16109
- // ----- react/boolean-prop-naming -----
16110
- type ReactBooleanPropNaming = []|[{
16111
-
16112
- propTypeNames?: [string, ...(string)[]]
16113
- rule?: string
16114
- message?: string
16115
- validateNested?: boolean
16116
- }]
16117
- // ----- react/button-has-type -----
16118
- type ReactButtonHasType = []|[{
16119
- button?: boolean
16120
- submit?: boolean
16121
- reset?: boolean
16122
- }]
16123
- // ----- react/checked-requires-onchange-or-readonly -----
16124
- type ReactCheckedRequiresOnchangeOrReadonly = []|[{
16125
- ignoreMissingProperties?: boolean
16126
- ignoreExclusiveCheckedAttribute?: boolean
16127
- }]
16128
- // ----- react/default-props-match-prop-types -----
16129
- type ReactDefaultPropsMatchPropTypes = []|[{
16130
- allowRequiredDefaults?: boolean
16131
- }]
16132
- // ----- react/destructuring-assignment -----
16133
- type ReactDestructuringAssignment = []|[("always" | "never")]|[("always" | "never"), {
16134
- ignoreClassFields?: boolean
16135
- destructureInSignature?: ("always" | "ignore")
16136
- }]
16137
- // ----- react/display-name -----
16138
- type ReactDisplayName = []|[{
16139
- ignoreTranspilerName?: boolean
16140
- checkContextObjects?: boolean
16141
- }]
16142
- // ----- react/forbid-component-props -----
16143
- type ReactForbidComponentProps = []|[{
16144
- forbid?: (string | {
16145
- propName?: string
16146
- allowedFor?: string[]
16147
- allowedForPatterns?: string[]
16148
- message?: string
16149
- } | ({
16150
- [k: string]: unknown | undefined
16151
- } | {
16152
- [k: string]: unknown | undefined
16153
- }) | {
16154
- propNamePattern?: string
16155
- allowedFor?: string[]
16156
- allowedForPatterns?: string[]
16157
- message?: string
16158
- } | ({
16159
- [k: string]: unknown | undefined
16160
- } | {
16161
- [k: string]: unknown | undefined
16162
- }))[]
16163
- [k: string]: unknown | undefined
16164
- }]
16165
- // ----- react/forbid-dom-props -----
16166
- type ReactForbidDomProps = []|[{
16167
- forbid?: (string | {
16168
- propName?: string
16169
- disallowedFor?: string[]
16170
- message?: string
16171
- [k: string]: unknown | undefined
16172
- })[]
16173
- }]
16174
- // ----- react/forbid-elements -----
16175
- type ReactForbidElements = []|[{
16176
- forbid?: (string | {
16177
- element: string
16178
- message?: string
16179
- })[]
16180
- }]
16181
- // ----- react/forbid-foreign-prop-types -----
16182
- type ReactForbidForeignPropTypes = []|[{
16183
- allowInPropTypes?: boolean
16184
- }]
16185
- // ----- react/forbid-prop-types -----
16186
- type ReactForbidPropTypes = []|[{
16187
- forbid?: string[]
16188
- checkContextTypes?: boolean
16189
- checkChildContextTypes?: boolean
16190
- [k: string]: unknown | undefined
16191
- }]
16192
- // ----- react/function-component-definition -----
16193
- type ReactFunctionComponentDefinition = []|[{
16194
- namedComponents?: (("function-declaration" | "arrow-function" | "function-expression") | ("function-declaration" | "arrow-function" | "function-expression")[])
16195
- unnamedComponents?: (("arrow-function" | "function-expression") | ("arrow-function" | "function-expression")[])
16196
- [k: string]: unknown | undefined
16197
- }]
16198
- // ----- react/hook-use-state -----
16199
- type ReactHookUseState = []|[{
16200
- allowDestructuredState?: boolean
16201
- }]
16202
- // ----- react/jsx-boolean-value -----
16203
- type ReactJsxBooleanValue = ([]|[("always" | "never")] | []|["always"]|["always", {
16204
- never?: string[]
16205
- assumeUndefinedIsFalse?: boolean
16206
- }] | []|["never"]|["never", {
16207
- always?: string[]
16208
- assumeUndefinedIsFalse?: boolean
16209
- }])
16210
- // ----- react/jsx-closing-bracket-location -----
16211
- type ReactJsxClosingBracketLocation = []|[(("after-props" | "props-aligned" | "tag-aligned" | "line-aligned") | {
16212
- location?: ("after-props" | "props-aligned" | "tag-aligned" | "line-aligned")
16213
- } | {
16214
- nonEmpty?: ("after-props" | "props-aligned" | "tag-aligned" | "line-aligned" | false)
16215
- selfClosing?: ("after-props" | "props-aligned" | "tag-aligned" | "line-aligned" | false)
16216
- })]
16217
- // ----- react/jsx-closing-tag-location -----
16218
- type ReactJsxClosingTagLocation = []|[(("tag-aligned" | "line-aligned") | {
16219
- location?: ("tag-aligned" | "line-aligned")
16220
- })]
16221
- // ----- react/jsx-curly-brace-presence -----
16222
- type ReactJsxCurlyBracePresence = []|[({
16223
- props?: ("always" | "never" | "ignore")
16224
- children?: ("always" | "never" | "ignore")
16225
- propElementValues?: ("always" | "never" | "ignore")
16226
- } | ("always" | "never" | "ignore"))]
16227
- // ----- react/jsx-curly-newline -----
16228
- type ReactJsxCurlyNewline = []|[(("consistent" | "never") | {
16229
- singleline?: ("consistent" | "require" | "forbid")
16230
- multiline?: ("consistent" | "require" | "forbid")
16231
- })]
16232
- // ----- react/jsx-curly-spacing -----
16233
- type ReactJsxCurlySpacing = []|[((_ReactJsxCurlySpacing_BasicConfig & {
16234
- attributes?: _ReactJsxCurlySpacingBasicConfigOrBoolean
16235
- children?: _ReactJsxCurlySpacingBasicConfigOrBoolean
16236
- [k: string]: unknown | undefined
16237
- }) | ("always" | "never"))]|[((_ReactJsxCurlySpacing_BasicConfig & {
16238
- attributes?: _ReactJsxCurlySpacingBasicConfigOrBoolean
16239
- children?: _ReactJsxCurlySpacingBasicConfigOrBoolean
16240
- [k: string]: unknown | undefined
16241
- }) | ("always" | "never")), {
16242
- allowMultiline?: boolean
16243
- spacing?: {
16244
- objectLiterals?: ("always" | "never")
16245
- [k: string]: unknown | undefined
16246
- }
16247
- }]
16248
- type _ReactJsxCurlySpacingBasicConfigOrBoolean = (_ReactJsxCurlySpacing_BasicConfig | boolean)
16249
- interface _ReactJsxCurlySpacing_BasicConfig {
16250
- when?: ("always" | "never")
16251
- allowMultiline?: boolean
16252
- spacing?: {
16253
- objectLiterals?: ("always" | "never")
16254
- [k: string]: unknown | undefined
16255
- }
16256
- [k: string]: unknown | undefined
16257
- }
16258
- // ----- react/jsx-equals-spacing -----
16259
- type ReactJsxEqualsSpacing = []|[("always" | "never")]
16260
- // ----- react/jsx-filename-extension -----
16261
- type ReactJsxFilenameExtension = []|[{
16262
- allow?: ("always" | "as-needed")
16263
- extensions?: string[]
16264
- ignoreFilesWithoutCode?: boolean
16265
- }]
16266
- // ----- react/jsx-first-prop-new-line -----
16267
- type ReactJsxFirstPropNewLine = []|[("always" | "never" | "multiline" | "multiline-multiprop" | "multiprop")]
16268
- // ----- react/jsx-fragments -----
16269
- type ReactJsxFragments = []|[("syntax" | "element")]
16270
- // ----- react/jsx-handler-names -----
16271
- type ReactJsxHandlerNames = []|[({
16272
- eventHandlerPrefix?: string
16273
- eventHandlerPropPrefix?: string
16274
- checkLocalVariables?: boolean
16275
- checkInlineFunction?: boolean
16276
- ignoreComponentNames?: string[]
16277
- } | {
16278
- eventHandlerPrefix?: string
16279
- eventHandlerPropPrefix?: false
16280
- checkLocalVariables?: boolean
16281
- checkInlineFunction?: boolean
16282
- ignoreComponentNames?: string[]
16283
- } | {
16284
- eventHandlerPrefix?: false
16285
- eventHandlerPropPrefix?: string
16286
- checkLocalVariables?: boolean
16287
- checkInlineFunction?: boolean
16288
- ignoreComponentNames?: string[]
16289
- } | {
16290
- checkLocalVariables?: boolean
16291
- } | {
16292
- checkInlineFunction?: boolean
16293
- } | {
16294
- ignoreComponentNames?: string[]
16295
- [k: string]: unknown | undefined
16296
- })]
16297
- // ----- react/jsx-indent -----
16298
- type ReactJsxIndent = []|[("tab" | number)]|[("tab" | number), {
16299
- checkAttributes?: boolean
16300
- indentLogicalExpressions?: boolean
16301
- }]
16302
- // ----- react/jsx-indent-props -----
16303
- type ReactJsxIndentProps = []|[(("tab" | "first") | number | {
16304
- indentMode?: (("tab" | "first") | number)
16305
- ignoreTernaryOperator?: boolean
16306
- [k: string]: unknown | undefined
16307
- })]
16308
- // ----- react/jsx-key -----
16309
- type ReactJsxKey = []|[{
16310
- checkFragmentShorthand?: boolean
16311
- checkKeyMustBeforeSpread?: boolean
16312
- warnOnDuplicates?: boolean
16313
- }]
16314
- // ----- react/jsx-max-depth -----
16315
- type ReactJsxMaxDepth = []|[{
16316
- max?: number
16317
- }]
16318
- // ----- react/jsx-max-props-per-line -----
16319
- type ReactJsxMaxPropsPerLine = []|[({
16320
- maximum?: {
16321
- single?: number
16322
- multi?: number
16323
- [k: string]: unknown | undefined
16324
- }
16325
- } | {
16326
- maximum?: number
16327
- when?: ("always" | "multiline")
16328
- })]
16329
- // ----- react/jsx-newline -----
16330
- type ReactJsxNewline = []|[{
16331
- prevent?: boolean
16332
- allowMultilines?: boolean
16333
- }]
16334
- // ----- react/jsx-no-bind -----
16335
- type ReactJsxNoBind = []|[{
16336
- allowArrowFunctions?: boolean
16337
- allowBind?: boolean
16338
- allowFunctions?: boolean
16339
- ignoreRefs?: boolean
16340
- ignoreDOMComponents?: boolean
16341
- }]
16342
- // ----- react/jsx-no-duplicate-props -----
16343
- type ReactJsxNoDuplicateProps = []|[{
16344
- ignoreCase?: boolean
16345
- }]
16346
- // ----- react/jsx-no-leaked-render -----
16347
- type ReactJsxNoLeakedRender = []|[{
16348
- validStrategies?: ("ternary" | "coerce")[]
16349
- }]
16350
- // ----- react/jsx-no-literals -----
16351
- type ReactJsxNoLiterals = []|[{
16352
- elementOverrides?: {
16353
- [k: string]: {
16354
- applyToNestedElements?: boolean
16355
- noStrings?: boolean
16356
- allowedStrings?: string[]
16357
- ignoreProps?: boolean
16358
- noAttributeStrings?: boolean
16359
- [k: string]: unknown | undefined
16360
- }
16361
- }
16362
- noStrings?: boolean
16363
- allowedStrings?: string[]
16364
- ignoreProps?: boolean
16365
- noAttributeStrings?: boolean
16366
- }]
16367
- // ----- react/jsx-no-script-url -----
16368
- type ReactJsxNoScriptUrl = ([]|[{
16369
- name: string
16370
- props: string[]
16371
- }[]]|[{
16372
- name: string
16373
- props: string[]
16374
- }[], {
16375
- includeFromSettings?: boolean
16376
- [k: string]: unknown | undefined
16377
- }] | []|[{
16378
- includeFromSettings?: boolean
16379
- [k: string]: unknown | undefined
16380
- }])
16381
- // ----- react/jsx-no-target-blank -----
16382
- type ReactJsxNoTargetBlank = []|[{
16383
- allowReferrer?: boolean
16384
- enforceDynamicLinks?: ("always" | "never")
16385
- warnOnSpreadAttributes?: boolean
16386
- links?: boolean
16387
- forms?: boolean
16388
- }]
16389
- // ----- react/jsx-no-undef -----
16390
- type ReactJsxNoUndef = []|[{
16391
- allowGlobals?: boolean
16392
- }]
16393
- // ----- react/jsx-no-useless-fragment -----
16394
- type ReactJsxNoUselessFragment = []|[{
16395
- allowExpressions?: boolean
16396
- [k: string]: unknown | undefined
16397
- }]
16398
- // ----- react/jsx-one-expression-per-line -----
16399
- type ReactJsxOneExpressionPerLine = []|[{
16400
- allow?: ("none" | "literal" | "single-child" | "non-jsx")
16401
- }]
16402
- // ----- react/jsx-pascal-case -----
16403
- type ReactJsxPascalCase = []|[{
16404
- allowAllCaps?: boolean
16405
- allowLeadingUnderscore?: boolean
16406
- allowNamespace?: boolean
16407
-
16408
- ignore?: []|[string]
16409
- }]
16410
- // ----- react/jsx-props-no-spreading -----
16411
- type ReactJsxPropsNoSpreading = []|[({
16412
- html?: ("enforce" | "ignore")
16413
- custom?: ("enforce" | "ignore")
16414
- explicitSpread?: ("enforce" | "ignore")
16415
- exceptions?: string[]
16416
- [k: string]: unknown | undefined
16417
- } & {
16418
- [k: string]: unknown | undefined
16419
- })]
16420
- // ----- react/jsx-sort-default-props -----
16421
- type ReactJsxSortDefaultProps = []|[{
16422
- ignoreCase?: boolean
16423
- }]
16424
- // ----- react/jsx-sort-props -----
16425
- type ReactJsxSortProps = []|[{
16426
- callbacksLast?: boolean
16427
- shorthandFirst?: boolean
16428
- shorthandLast?: boolean
16429
- multiline?: ("ignore" | "first" | "last")
16430
- ignoreCase?: boolean
16431
- noSortAlphabetically?: boolean
16432
- reservedFirst?: (unknown[] | boolean)
16433
- locale?: string
16434
- }]
16435
- // ----- react/jsx-space-before-closing -----
16436
- type ReactJsxSpaceBeforeClosing = []|[("always" | "never")]
16437
- // ----- react/jsx-tag-spacing -----
16438
- type ReactJsxTagSpacing = []|[{
16439
- closingSlash?: ("always" | "never" | "allow")
16440
- beforeSelfClosing?: ("always" | "proportional-always" | "never" | "allow")
16441
- afterOpening?: ("always" | "allow-multiline" | "never" | "allow")
16442
- beforeClosing?: ("always" | "proportional-always" | "never" | "allow")
16443
- }]
16444
- // ----- react/jsx-wrap-multilines -----
16445
- type ReactJsxWrapMultilines = []|[{
16446
- declaration?: (true | false | "ignore" | "parens" | "parens-new-line" | "never")
16447
- assignment?: (true | false | "ignore" | "parens" | "parens-new-line" | "never")
16448
- return?: (true | false | "ignore" | "parens" | "parens-new-line" | "never")
16449
- arrow?: (true | false | "ignore" | "parens" | "parens-new-line" | "never")
16450
- condition?: (true | false | "ignore" | "parens" | "parens-new-line" | "never")
16451
- logical?: (true | false | "ignore" | "parens" | "parens-new-line" | "never")
16452
- prop?: (true | false | "ignore" | "parens" | "parens-new-line" | "never")
16453
- }]
16454
- // ----- react/no-children-prop -----
16455
- type ReactNoChildrenProp = []|[{
16456
- allowFunctions?: boolean
16457
- }]
16458
- // ----- react/no-danger -----
16459
- type ReactNoDanger = []|[{
16460
-
16461
- customComponentNames?: string[]
16462
- [k: string]: unknown | undefined
16463
- }]
16464
- // ----- react/no-did-mount-set-state -----
16465
- type ReactNoDidMountSetState = []|["disallow-in-func"]
16466
- // ----- react/no-did-update-set-state -----
16467
- type ReactNoDidUpdateSetState = []|["disallow-in-func"]
16468
- // ----- react/no-invalid-html-attribute -----
16469
- type ReactNoInvalidHtmlAttribute = []|[("rel")[]]
16470
- // ----- react/no-multi-comp -----
16471
- type ReactNoMultiComp = []|[{
16472
- ignoreStateless?: boolean
16473
- }]
16474
- // ----- react/no-string-refs -----
16475
- type ReactNoStringRefs = []|[{
16476
- noTemplateLiterals?: boolean
16477
- }]
16478
- // ----- react/no-unescaped-entities -----
16479
- type ReactNoUnescapedEntities = []|[{
16480
- forbid?: (string | {
16481
- char?: string
16482
- alternatives?: string[]
16483
- [k: string]: unknown | undefined
16484
- })[]
16485
- }]
16486
- // ----- react/no-unknown-property -----
16487
- type ReactNoUnknownProperty = []|[{
16488
- ignore?: string[]
16489
- requireDataLowercase?: boolean
16490
- }]
16491
- // ----- react/no-unsafe -----
16492
- type ReactNoUnsafe = []|[{
16493
- checkAliases?: boolean
16494
- }]
16495
- // ----- react/no-unstable-nested-components -----
16496
- type ReactNoUnstableNestedComponents = []|[{
16497
- customValidators?: string[]
16498
- allowAsProps?: boolean
16499
- propNamePattern?: string
16500
- }]
16501
- // ----- react/no-unused-prop-types -----
16502
- type ReactNoUnusedPropTypes = []|[{
16503
- ignore?: string[]
16504
- customValidators?: string[]
16505
- skipShapeProps?: boolean
16506
- }]
16507
- // ----- react/no-will-update-set-state -----
16508
- type ReactNoWillUpdateSetState = []|["disallow-in-func"]
16509
- // ----- react/prefer-es6-class -----
16510
- type ReactPreferEs6Class = []|[("always" | "never")]
16511
- // ----- react/prefer-stateless-function -----
16512
- type ReactPreferStatelessFunction = []|[{
16513
- ignorePureComponents?: boolean
16514
- }]
16515
- // ----- react/prop-types -----
16516
- type ReactPropTypes = []|[{
16517
- ignore?: string[]
16518
- customValidators?: string[]
16519
- skipUndeclared?: boolean
16520
- }]
16521
- // ----- react/require-default-props -----
16522
- type ReactRequireDefaultProps = []|[{
16523
- forbidDefaultForRequired?: boolean
16524
- classes?: ("defaultProps" | "ignore")
16525
- functions?: ("defaultArguments" | "defaultProps" | "ignore")
16526
- ignoreFunctionalComponents?: boolean
16527
- }]
16528
- // ----- react/require-optimization -----
16529
- type ReactRequireOptimization = []|[{
16530
- allowDecorators?: string[]
16531
- }]
16532
- // ----- react/self-closing-comp -----
16533
- type ReactSelfClosingComp = []|[{
16534
- component?: boolean
16535
- html?: boolean
16536
- }]
16537
- // ----- react/sort-comp -----
16538
- type ReactSortComp = []|[{
16539
- order?: string[]
16540
- groups?: {
16541
- [k: string]: string[]
16542
- }
16543
- }]
16544
- // ----- react/sort-default-props -----
16545
- type ReactSortDefaultProps = []|[{
16546
- ignoreCase?: boolean
16547
- }]
16548
- // ----- react/sort-prop-types -----
16549
- type ReactSortPropTypes = []|[{
16550
- requiredFirst?: boolean
16551
- callbacksLast?: boolean
16552
- ignoreCase?: boolean
16553
- noSortAlphabetically?: boolean
16554
- sortShapeProp?: boolean
16555
- checkTypes?: boolean
16556
- }]
16557
- // ----- react/state-in-constructor -----
16558
- type ReactStateInConstructor = []|[("always" | "never")]
16559
- // ----- react/static-property-placement -----
16560
- type ReactStaticPropertyPlacement = []|[("static public field" | "static getter" | "property assignment")]|[("static public field" | "static getter" | "property assignment"), {
16561
- propTypes?: ("static public field" | "static getter" | "property assignment")
16562
- defaultProps?: ("static public field" | "static getter" | "property assignment")
16563
- childContextTypes?: ("static public field" | "static getter" | "property assignment")
16564
- contextTypes?: ("static public field" | "static getter" | "property assignment")
16565
- contextType?: ("static public field" | "static getter" | "property assignment")
16566
- displayName?: ("static public field" | "static getter" | "property assignment")
16567
- }]
16568
- // ----- react/style-prop-object -----
16569
- type ReactStylePropObject = []|[{
16570
- allow?: string[]
16571
- [k: string]: unknown | undefined
16572
- }]
16573
16156
  // ----- regexp/hexadecimal-escape -----
16574
16157
  type RegexpHexadecimalEscape = []|[("always" | "never")]
16575
16158
  // ----- regexp/letter-case -----
@@ -19147,280 +18730,457 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
19147
18730
  };
19148
18731
  name: string;
19149
18732
  plugins: {
19150
- "jsx-a11y": {
18733
+ "@eslint-react": {
19151
18734
  configs: {
19152
- recommended: Linter.Config<Linter.RulesRecord>;
18735
+ recommended: {
18736
+ plugins: {
18737
+ "react-x": {
18738
+ readonly meta: {
18739
+ readonly name: string;
18740
+ readonly version: string;
18741
+ };
18742
+ readonly rules: {
18743
+ readonly "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18744
+ readonly "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18745
+ readonly "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18746
+ readonly "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noArrayIndexKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18747
+ readonly "no-children-count": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenCount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18748
+ readonly "no-children-for-each": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenForEach", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18749
+ readonly "no-children-map": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenMap", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18750
+ readonly "no-children-only": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenOnly", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18751
+ readonly "no-children-prop": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenProp", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18752
+ readonly "no-children-to-array": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenToArray", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18753
+ readonly "no-class-component": _typescript_eslint_utils_ts_eslint.RuleModule<"noClassComponent", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18754
+ readonly "no-clone-element": _typescript_eslint_utils_ts_eslint.RuleModule<"noCloneElement", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18755
+ readonly "no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"noCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18756
+ readonly "no-complex-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18757
+ readonly "no-component-will-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noComponentWillMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18758
+ readonly "no-component-will-receive-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noComponentWillReceiveProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18759
+ readonly "no-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noComponentWillUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18760
+ readonly "no-context-provider": _typescript_eslint_utils_ts_eslint.RuleModule<"noContextProvider", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18761
+ readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18762
+ readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18763
+ 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
+ readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18766
+ readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18767
+ readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18768
+ readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18769
+ readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18770
+ readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18771
+ 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<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18773
+ readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18774
+ readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18775
+ readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18776
+ readonly "no-set-state-in-component-did-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18777
+ readonly "no-set-state-in-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentWillUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18778
+ readonly "no-string-refs": _typescript_eslint_utils_ts_eslint.RuleModule<"noStringRefs", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18779
+ readonly "no-unsafe-component-will-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeComponentWillMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18780
+ readonly "no-unsafe-component-will-receive-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeComponentWillReceiveProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18781
+ readonly "no-unsafe-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeComponentWillUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18782
+ readonly "no-unstable-context-value": _typescript_eslint_utils_ts_eslint.RuleModule<"unstableContextValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18783
+ readonly "no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18784
+ readonly "no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18785
+ readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18786
+ readonly "no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18787
+ readonly "no-useless-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18788
+ readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"uselessFragment", readonly [{
18789
+ allowExpressions: boolean;
18790
+ }], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18791
+ readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18792
+ readonly "prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18793
+ readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18794
+ readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18795
+ readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18796
+ readonly "use-jsx-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18797
+ 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
+ readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18801
+ readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18802
+ };
18803
+ };
18804
+ };
18805
+ name: string;
18806
+ rules: _eslint_react_shared.RulePreset;
18807
+ };
18808
+ "recommended-legacy": {
18809
+ plugins: string[];
18810
+ rules: _eslint_react_shared.RulePreset;
18811
+ };
18812
+ "recommended-type-checked": {
18813
+ plugins: {
18814
+ "react-x": {
18815
+ readonly meta: {
18816
+ readonly name: string;
18817
+ readonly version: string;
18818
+ };
18819
+ readonly rules: {
18820
+ readonly "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18821
+ readonly "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18822
+ readonly "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18823
+ readonly "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noArrayIndexKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18824
+ readonly "no-children-count": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenCount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18825
+ readonly "no-children-for-each": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenForEach", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18826
+ readonly "no-children-map": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenMap", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18827
+ readonly "no-children-only": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenOnly", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18828
+ readonly "no-children-prop": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenProp", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18829
+ readonly "no-children-to-array": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenToArray", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18830
+ readonly "no-class-component": _typescript_eslint_utils_ts_eslint.RuleModule<"noClassComponent", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18831
+ readonly "no-clone-element": _typescript_eslint_utils_ts_eslint.RuleModule<"noCloneElement", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18832
+ readonly "no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"noCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18833
+ readonly "no-complex-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18834
+ readonly "no-component-will-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noComponentWillMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18835
+ readonly "no-component-will-receive-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noComponentWillReceiveProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18836
+ readonly "no-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noComponentWillUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18837
+ readonly "no-context-provider": _typescript_eslint_utils_ts_eslint.RuleModule<"noContextProvider", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18838
+ readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18839
+ readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18840
+ 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
+ readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18843
+ readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18844
+ readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18845
+ readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18846
+ readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18847
+ readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18848
+ 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<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18850
+ readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18851
+ readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18852
+ readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18853
+ readonly "no-set-state-in-component-did-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18854
+ readonly "no-set-state-in-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentWillUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18855
+ readonly "no-string-refs": _typescript_eslint_utils_ts_eslint.RuleModule<"noStringRefs", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18856
+ readonly "no-unsafe-component-will-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeComponentWillMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18857
+ readonly "no-unsafe-component-will-receive-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeComponentWillReceiveProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18858
+ readonly "no-unsafe-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeComponentWillUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18859
+ readonly "no-unstable-context-value": _typescript_eslint_utils_ts_eslint.RuleModule<"unstableContextValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18860
+ readonly "no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18861
+ readonly "no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18862
+ readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18863
+ readonly "no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18864
+ readonly "no-useless-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18865
+ readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"uselessFragment", readonly [{
18866
+ allowExpressions: boolean;
18867
+ }], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18868
+ readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18869
+ readonly "prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18870
+ readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18871
+ readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18872
+ readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18873
+ readonly "use-jsx-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18874
+ 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
+ readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18878
+ readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18879
+ };
18880
+ };
18881
+ };
18882
+ name: string;
18883
+ rules: _eslint_react_shared.RulePreset;
18884
+ };
18885
+ "recommended-type-checked-legacy": {
18886
+ plugins: string[];
18887
+ rules: _eslint_react_shared.RulePreset;
18888
+ };
18889
+ "recommended-typescript": {
18890
+ plugins: {
18891
+ "react-x": {
18892
+ readonly meta: {
18893
+ readonly name: string;
18894
+ readonly version: string;
18895
+ };
18896
+ readonly rules: {
18897
+ readonly "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18898
+ readonly "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18899
+ readonly "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18900
+ readonly "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noArrayIndexKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18901
+ readonly "no-children-count": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenCount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18902
+ readonly "no-children-for-each": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenForEach", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18903
+ readonly "no-children-map": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenMap", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18904
+ readonly "no-children-only": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenOnly", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18905
+ readonly "no-children-prop": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenProp", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18906
+ readonly "no-children-to-array": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenToArray", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18907
+ readonly "no-class-component": _typescript_eslint_utils_ts_eslint.RuleModule<"noClassComponent", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18908
+ readonly "no-clone-element": _typescript_eslint_utils_ts_eslint.RuleModule<"noCloneElement", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18909
+ readonly "no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"noCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18910
+ readonly "no-complex-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18911
+ readonly "no-component-will-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noComponentWillMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18912
+ readonly "no-component-will-receive-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noComponentWillReceiveProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18913
+ readonly "no-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noComponentWillUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18914
+ readonly "no-context-provider": _typescript_eslint_utils_ts_eslint.RuleModule<"noContextProvider", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18915
+ readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18916
+ readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18917
+ 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
+ readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18920
+ readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18921
+ readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18922
+ readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18923
+ readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18924
+ readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18925
+ 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<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18927
+ readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18928
+ readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18929
+ readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18930
+ readonly "no-set-state-in-component-did-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18931
+ readonly "no-set-state-in-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentWillUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18932
+ readonly "no-string-refs": _typescript_eslint_utils_ts_eslint.RuleModule<"noStringRefs", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18933
+ readonly "no-unsafe-component-will-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeComponentWillMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18934
+ readonly "no-unsafe-component-will-receive-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeComponentWillReceiveProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18935
+ readonly "no-unsafe-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeComponentWillUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18936
+ readonly "no-unstable-context-value": _typescript_eslint_utils_ts_eslint.RuleModule<"unstableContextValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18937
+ readonly "no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18938
+ readonly "no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18939
+ readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18940
+ readonly "no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18941
+ readonly "no-useless-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18942
+ readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"uselessFragment", readonly [{
18943
+ allowExpressions: boolean;
18944
+ }], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18945
+ readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18946
+ readonly "prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18947
+ readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18948
+ readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18949
+ readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18950
+ readonly "use-jsx-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18951
+ 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
+ readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18955
+ readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18956
+ };
18957
+ };
18958
+ };
18959
+ name: string;
18960
+ rules: _eslint_react_shared.RulePreset;
18961
+ };
18962
+ "recommended-typescript-legacy": {
18963
+ plugins: string[];
18964
+ rules: _eslint_react_shared.RulePreset;
18965
+ };
18966
+ };
18967
+ meta: {
18968
+ readonly name: string;
18969
+ readonly version: string;
19153
18970
  };
19154
- };
19155
- react: {
19156
- deprecatedRules: Partial<{
19157
- 'boolean-prop-naming': eslint.Rule.RuleModule;
19158
- 'button-has-type': eslint.Rule.RuleModule;
19159
- 'checked-requires-onchange-or-readonly': eslint.Rule.RuleModule;
19160
- 'default-props-match-prop-types': eslint.Rule.RuleModule;
19161
- 'destructuring-assignment': eslint.Rule.RuleModule;
19162
- 'display-name': eslint.Rule.RuleModule;
19163
- 'forbid-component-props': eslint.Rule.RuleModule;
19164
- 'forbid-dom-props': eslint.Rule.RuleModule;
19165
- 'forbid-elements': eslint.Rule.RuleModule;
19166
- 'forbid-foreign-prop-types': eslint.Rule.RuleModule;
19167
- 'forbid-prop-types': eslint.Rule.RuleModule;
19168
- 'forward-ref-uses-ref': eslint.Rule.RuleModule;
19169
- 'function-component-definition': eslint.Rule.RuleModule;
19170
- 'hook-use-state': eslint.Rule.RuleModule;
19171
- 'iframe-missing-sandbox': eslint.Rule.RuleModule;
19172
- 'jsx-boolean-value': eslint.Rule.RuleModule;
19173
- 'jsx-child-element-spacing': eslint.Rule.RuleModule;
19174
- 'jsx-closing-bracket-location': eslint.Rule.RuleModule;
19175
- 'jsx-closing-tag-location': eslint.Rule.RuleModule;
19176
- 'jsx-curly-spacing': eslint.Rule.RuleModule;
19177
- 'jsx-curly-newline': eslint.Rule.RuleModule;
19178
- 'jsx-equals-spacing': eslint.Rule.RuleModule;
19179
- 'jsx-filename-extension': eslint.Rule.RuleModule;
19180
- 'jsx-first-prop-new-line': eslint.Rule.RuleModule;
19181
- 'jsx-handler-names': eslint.Rule.RuleModule;
19182
- 'jsx-indent': eslint.Rule.RuleModule;
19183
- 'jsx-indent-props': eslint.Rule.RuleModule;
19184
- 'jsx-key': eslint.Rule.RuleModule;
19185
- 'jsx-max-depth': eslint.Rule.RuleModule;
19186
- 'jsx-max-props-per-line': eslint.Rule.RuleModule;
19187
- 'jsx-newline': eslint.Rule.RuleModule;
19188
- 'jsx-no-bind': eslint.Rule.RuleModule;
19189
- 'jsx-no-comment-textnodes': eslint.Rule.RuleModule;
19190
- 'jsx-no-constructed-context-values': eslint.Rule.RuleModule;
19191
- 'jsx-no-duplicate-props': eslint.Rule.RuleModule;
19192
- 'jsx-no-leaked-render': eslint.Rule.RuleModule;
19193
- 'jsx-no-literals': eslint.Rule.RuleModule;
19194
- 'jsx-no-script-url': eslint.Rule.RuleModule;
19195
- 'jsx-no-target-blank': eslint.Rule.RuleModule;
19196
- 'jsx-no-useless-fragment': eslint.Rule.RuleModule;
19197
- 'jsx-one-expression-per-line': eslint.Rule.RuleModule;
19198
- 'jsx-no-undef': eslint.Rule.RuleModule;
19199
- 'jsx-curly-brace-presence': eslint.Rule.RuleModule;
19200
- 'jsx-pascal-case': eslint.Rule.RuleModule;
19201
- 'jsx-fragments': eslint.Rule.RuleModule;
19202
- 'jsx-props-no-multi-spaces': eslint.Rule.RuleModule;
19203
- 'jsx-props-no-spreading': eslint.Rule.RuleModule;
19204
- 'jsx-props-no-spread-multi': eslint.Rule.RuleModule;
19205
- 'jsx-sort-default-props': eslint.Rule.RuleModule;
19206
- 'jsx-sort-props': eslint.Rule.RuleModule;
19207
- 'jsx-space-before-closing': eslint.Rule.RuleModule;
19208
- 'jsx-tag-spacing': eslint.Rule.RuleModule;
19209
- 'jsx-uses-react': eslint.Rule.RuleModule;
19210
- 'jsx-uses-vars': eslint.Rule.RuleModule;
19211
- 'jsx-wrap-multilines': eslint.Rule.RuleModule;
19212
- 'no-invalid-html-attribute': eslint.Rule.RuleModule;
19213
- 'no-access-state-in-setstate': eslint.Rule.RuleModule;
19214
- 'no-adjacent-inline-elements': eslint.Rule.RuleModule;
19215
- 'no-array-index-key': eslint.Rule.RuleModule;
19216
- 'no-arrow-function-lifecycle': eslint.Rule.RuleModule;
19217
- 'no-children-prop': eslint.Rule.RuleModule;
19218
- 'no-danger': eslint.Rule.RuleModule;
19219
- 'no-danger-with-children': eslint.Rule.RuleModule;
19220
- 'no-deprecated': eslint.Rule.RuleModule;
19221
- 'no-did-mount-set-state': eslint.Rule.RuleModule;
19222
- 'no-did-update-set-state': eslint.Rule.RuleModule;
19223
- 'no-direct-mutation-state': eslint.Rule.RuleModule;
19224
- 'no-find-dom-node': eslint.Rule.RuleModule;
19225
- 'no-is-mounted': eslint.Rule.RuleModule;
19226
- 'no-multi-comp': eslint.Rule.RuleModule;
19227
- 'no-namespace': eslint.Rule.RuleModule;
19228
- 'no-set-state': eslint.Rule.RuleModule;
19229
- 'no-string-refs': eslint.Rule.RuleModule;
19230
- 'no-redundant-should-component-update': eslint.Rule.RuleModule;
19231
- 'no-render-return-value': eslint.Rule.RuleModule;
19232
- 'no-this-in-sfc': eslint.Rule.RuleModule;
19233
- 'no-typos': eslint.Rule.RuleModule;
19234
- 'no-unescaped-entities': eslint.Rule.RuleModule;
19235
- 'no-unknown-property': eslint.Rule.RuleModule;
19236
- 'no-unsafe': eslint.Rule.RuleModule;
19237
- 'no-unstable-nested-components': eslint.Rule.RuleModule;
19238
- 'no-unused-class-component-methods': eslint.Rule.RuleModule;
19239
- 'no-unused-prop-types': eslint.Rule.RuleModule;
19240
- 'no-unused-state': eslint.Rule.RuleModule;
19241
- 'no-object-type-as-default-prop': eslint.Rule.RuleModule;
19242
- 'no-will-update-set-state': eslint.Rule.RuleModule;
19243
- 'prefer-es6-class': eslint.Rule.RuleModule;
19244
- 'prefer-exact-props': eslint.Rule.RuleModule;
19245
- 'prefer-read-only-props': eslint.Rule.RuleModule;
19246
- 'prefer-stateless-function': eslint.Rule.RuleModule;
19247
- 'prop-types': eslint.Rule.RuleModule;
19248
- 'react-in-jsx-scope': eslint.Rule.RuleModule;
19249
- 'require-default-props': eslint.Rule.RuleModule;
19250
- 'require-optimization': eslint.Rule.RuleModule;
19251
- 'require-render-return': eslint.Rule.RuleModule;
19252
- 'self-closing-comp': eslint.Rule.RuleModule;
19253
- 'sort-comp': eslint.Rule.RuleModule;
19254
- 'sort-default-props': eslint.Rule.RuleModule;
19255
- 'sort-prop-types': eslint.Rule.RuleModule;
19256
- 'state-in-constructor': eslint.Rule.RuleModule;
19257
- 'static-property-placement': eslint.Rule.RuleModule;
19258
- 'style-prop-object': eslint.Rule.RuleModule;
19259
- 'void-dom-elements-no-children': eslint.Rule.RuleModule;
19260
- }>;
19261
18971
  rules: {
19262
- 'boolean-prop-naming': eslint.Rule.RuleModule;
19263
- 'button-has-type': eslint.Rule.RuleModule;
19264
- 'checked-requires-onchange-or-readonly': eslint.Rule.RuleModule;
19265
- 'default-props-match-prop-types': eslint.Rule.RuleModule;
19266
- 'destructuring-assignment': eslint.Rule.RuleModule;
19267
- 'display-name': eslint.Rule.RuleModule;
19268
- 'forbid-component-props': eslint.Rule.RuleModule;
19269
- 'forbid-dom-props': eslint.Rule.RuleModule;
19270
- 'forbid-elements': eslint.Rule.RuleModule;
19271
- 'forbid-foreign-prop-types': eslint.Rule.RuleModule;
19272
- 'forbid-prop-types': eslint.Rule.RuleModule;
19273
- 'forward-ref-uses-ref': eslint.Rule.RuleModule;
19274
- 'function-component-definition': eslint.Rule.RuleModule;
19275
- 'hook-use-state': eslint.Rule.RuleModule;
19276
- 'iframe-missing-sandbox': eslint.Rule.RuleModule;
19277
- 'jsx-boolean-value': eslint.Rule.RuleModule;
19278
- 'jsx-child-element-spacing': eslint.Rule.RuleModule;
19279
- 'jsx-closing-bracket-location': eslint.Rule.RuleModule;
19280
- 'jsx-closing-tag-location': eslint.Rule.RuleModule;
19281
- 'jsx-curly-spacing': eslint.Rule.RuleModule;
19282
- 'jsx-curly-newline': eslint.Rule.RuleModule;
19283
- 'jsx-equals-spacing': eslint.Rule.RuleModule;
19284
- 'jsx-filename-extension': eslint.Rule.RuleModule;
19285
- 'jsx-first-prop-new-line': eslint.Rule.RuleModule;
19286
- 'jsx-handler-names': eslint.Rule.RuleModule;
19287
- 'jsx-indent': eslint.Rule.RuleModule;
19288
- 'jsx-indent-props': eslint.Rule.RuleModule;
19289
- 'jsx-key': eslint.Rule.RuleModule;
19290
- 'jsx-max-depth': eslint.Rule.RuleModule;
19291
- 'jsx-max-props-per-line': eslint.Rule.RuleModule;
19292
- 'jsx-newline': eslint.Rule.RuleModule;
19293
- 'jsx-no-bind': eslint.Rule.RuleModule;
19294
- 'jsx-no-comment-textnodes': eslint.Rule.RuleModule;
19295
- 'jsx-no-constructed-context-values': eslint.Rule.RuleModule;
19296
- 'jsx-no-duplicate-props': eslint.Rule.RuleModule;
19297
- 'jsx-no-leaked-render': eslint.Rule.RuleModule;
19298
- 'jsx-no-literals': eslint.Rule.RuleModule;
19299
- 'jsx-no-script-url': eslint.Rule.RuleModule;
19300
- 'jsx-no-target-blank': eslint.Rule.RuleModule;
19301
- 'jsx-no-useless-fragment': eslint.Rule.RuleModule;
19302
- 'jsx-one-expression-per-line': eslint.Rule.RuleModule;
19303
- 'jsx-no-undef': eslint.Rule.RuleModule;
19304
- 'jsx-curly-brace-presence': eslint.Rule.RuleModule;
19305
- 'jsx-pascal-case': eslint.Rule.RuleModule;
19306
- 'jsx-fragments': eslint.Rule.RuleModule;
19307
- 'jsx-props-no-multi-spaces': eslint.Rule.RuleModule;
19308
- 'jsx-props-no-spreading': eslint.Rule.RuleModule;
19309
- 'jsx-props-no-spread-multi': eslint.Rule.RuleModule;
19310
- 'jsx-sort-default-props': eslint.Rule.RuleModule;
19311
- 'jsx-sort-props': eslint.Rule.RuleModule;
19312
- 'jsx-space-before-closing': eslint.Rule.RuleModule;
19313
- 'jsx-tag-spacing': eslint.Rule.RuleModule;
19314
- 'jsx-uses-react': eslint.Rule.RuleModule;
19315
- 'jsx-uses-vars': eslint.Rule.RuleModule;
19316
- 'jsx-wrap-multilines': eslint.Rule.RuleModule;
19317
- 'no-invalid-html-attribute': eslint.Rule.RuleModule;
19318
- 'no-access-state-in-setstate': eslint.Rule.RuleModule;
19319
- 'no-adjacent-inline-elements': eslint.Rule.RuleModule;
19320
- 'no-array-index-key': eslint.Rule.RuleModule;
19321
- 'no-arrow-function-lifecycle': eslint.Rule.RuleModule;
19322
- 'no-children-prop': eslint.Rule.RuleModule;
19323
- 'no-danger': eslint.Rule.RuleModule;
19324
- 'no-danger-with-children': eslint.Rule.RuleModule;
19325
- 'no-deprecated': eslint.Rule.RuleModule;
19326
- 'no-did-mount-set-state': eslint.Rule.RuleModule;
19327
- 'no-did-update-set-state': eslint.Rule.RuleModule;
19328
- 'no-direct-mutation-state': eslint.Rule.RuleModule;
19329
- 'no-find-dom-node': eslint.Rule.RuleModule;
19330
- 'no-is-mounted': eslint.Rule.RuleModule;
19331
- 'no-multi-comp': eslint.Rule.RuleModule;
19332
- 'no-namespace': eslint.Rule.RuleModule;
19333
- 'no-set-state': eslint.Rule.RuleModule;
19334
- 'no-string-refs': eslint.Rule.RuleModule;
19335
- 'no-redundant-should-component-update': eslint.Rule.RuleModule;
19336
- 'no-render-return-value': eslint.Rule.RuleModule;
19337
- 'no-this-in-sfc': eslint.Rule.RuleModule;
19338
- 'no-typos': eslint.Rule.RuleModule;
19339
- 'no-unescaped-entities': eslint.Rule.RuleModule;
19340
- 'no-unknown-property': eslint.Rule.RuleModule;
19341
- 'no-unsafe': eslint.Rule.RuleModule;
19342
- 'no-unstable-nested-components': eslint.Rule.RuleModule;
19343
- 'no-unused-class-component-methods': eslint.Rule.RuleModule;
19344
- 'no-unused-prop-types': eslint.Rule.RuleModule;
19345
- 'no-unused-state': eslint.Rule.RuleModule;
19346
- 'no-object-type-as-default-prop': eslint.Rule.RuleModule;
19347
- 'no-will-update-set-state': eslint.Rule.RuleModule;
19348
- 'prefer-es6-class': eslint.Rule.RuleModule;
19349
- 'prefer-exact-props': eslint.Rule.RuleModule;
19350
- 'prefer-read-only-props': eslint.Rule.RuleModule;
19351
- 'prefer-stateless-function': eslint.Rule.RuleModule;
19352
- 'prop-types': eslint.Rule.RuleModule;
19353
- 'react-in-jsx-scope': eslint.Rule.RuleModule;
19354
- 'require-default-props': eslint.Rule.RuleModule;
19355
- 'require-optimization': eslint.Rule.RuleModule;
19356
- 'require-render-return': eslint.Rule.RuleModule;
19357
- 'self-closing-comp': eslint.Rule.RuleModule;
19358
- 'sort-comp': eslint.Rule.RuleModule;
19359
- 'sort-default-props': eslint.Rule.RuleModule;
19360
- 'sort-prop-types': eslint.Rule.RuleModule;
19361
- 'state-in-constructor': eslint.Rule.RuleModule;
19362
- 'static-property-placement': eslint.Rule.RuleModule;
19363
- 'style-prop-object': eslint.Rule.RuleModule;
19364
- 'void-dom-elements-no-children': eslint.Rule.RuleModule;
18972
+ readonly "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18973
+ readonly "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18974
+ readonly "no-access-state-in-setstate": _typescript_eslint_utils_ts_eslint.RuleModule<"noAccessStateInSetstate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18975
+ readonly "no-array-index-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noArrayIndexKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18976
+ readonly "no-children-count": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenCount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18977
+ readonly "no-children-for-each": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenForEach", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18978
+ readonly "no-children-map": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenMap", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18979
+ readonly "no-children-only": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenOnly", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18980
+ readonly "no-children-prop": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenProp", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18981
+ readonly "no-children-to-array": _typescript_eslint_utils_ts_eslint.RuleModule<"noChildrenToArray", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18982
+ readonly "no-class-component": _typescript_eslint_utils_ts_eslint.RuleModule<"noClassComponent", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18983
+ readonly "no-clone-element": _typescript_eslint_utils_ts_eslint.RuleModule<"noCloneElement", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18984
+ readonly "no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"noCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18985
+ readonly "no-complex-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18986
+ readonly "no-component-will-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noComponentWillMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18987
+ readonly "no-component-will-receive-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noComponentWillReceiveProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18988
+ readonly "no-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noComponentWillUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18989
+ readonly "no-context-provider": _typescript_eslint_utils_ts_eslint.RuleModule<"noContextProvider", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18990
+ readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18991
+ readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18992
+ 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
+ readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18995
+ readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18996
+ readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18997
+ readonly "no-leaked-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noLeakedConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18998
+ readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
18999
+ readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19000
+ 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<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19002
+ readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19003
+ readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19004
+ readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19005
+ readonly "no-set-state-in-component-did-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19006
+ readonly "no-set-state-in-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentWillUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19007
+ readonly "no-string-refs": _typescript_eslint_utils_ts_eslint.RuleModule<"noStringRefs", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19008
+ readonly "no-unsafe-component-will-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeComponentWillMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19009
+ readonly "no-unsafe-component-will-receive-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeComponentWillReceiveProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19010
+ readonly "no-unsafe-component-will-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeComponentWillUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19011
+ readonly "no-unstable-context-value": _typescript_eslint_utils_ts_eslint.RuleModule<"unstableContextValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19012
+ readonly "no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19013
+ readonly "no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19014
+ readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19015
+ readonly "no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19016
+ readonly "no-useless-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19017
+ readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"uselessFragment", readonly [{
19018
+ allowExpressions: boolean;
19019
+ }], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19020
+ readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19021
+ readonly "prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19022
+ readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19023
+ readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19024
+ readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19025
+ readonly "use-jsx-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19026
+ 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
+ readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19030
+ readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinition" | "noNestedComponentDefinitionInProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19365
19031
  };
19032
+ };
19033
+ "@eslint-react/dom": {
19366
19034
  configs: {
19367
19035
  recommended: {
19368
- plugins: ["react"];
19369
- parserOptions: {
19370
- ecmaFeatures: {
19371
- jsx: boolean;
19036
+ plugins: {
19037
+ "react-dom": {
19038
+ readonly meta: {
19039
+ readonly name: string;
19040
+ readonly version: string;
19041
+ };
19042
+ readonly rules: {
19043
+ readonly "no-dangerously-set-innerhtml": _typescript_eslint_utils_ts_eslint.RuleModule<"noDangerouslySetInnerhtml", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19044
+ readonly "no-dangerously-set-innerhtml-with-children": _typescript_eslint_utils_ts_eslint.RuleModule<"noDangerouslySetInnerhtmlWithChildren", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19045
+ readonly "no-find-dom-node": _typescript_eslint_utils_ts_eslint.RuleModule<"noFindDomNode", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19046
+ readonly "no-flush-sync": _typescript_eslint_utils_ts_eslint.RuleModule<"noFlushSync", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19047
+ readonly "no-hydrate": _typescript_eslint_utils_ts_eslint.RuleModule<"noHydrate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19048
+ readonly "no-missing-button-type": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingButtonType", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19049
+ readonly "no-missing-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19050
+ readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19051
+ readonly "no-render": _typescript_eslint_utils_ts_eslint.RuleModule<"noRender", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19052
+ readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19053
+ readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19054
+ readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<"dataLowercaseRequired" | "invalidPropOnTag" | "unknownProp" | "unknownPropWithStandardName", unknown[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19055
+ readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19056
+ readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19057
+ readonly "no-use-form-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseFormState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19058
+ readonly "no-void-elements-with-children": _typescript_eslint_utils_ts_eslint.RuleModule<"noVoidElementsWithChildren", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19059
+ readonly "no-children-in-void-dom-elements": _typescript_eslint_utils_ts_eslint.RuleModule<"noVoidElementsWithChildren", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19060
+ };
19372
19061
  };
19373
19062
  };
19374
- rules: {
19375
- "react/display-name": 2;
19376
- "react/jsx-key": 2;
19377
- "react/jsx-no-comment-textnodes": 2;
19378
- "react/jsx-no-duplicate-props": 2;
19379
- "react/jsx-no-target-blank": 2;
19380
- "react/jsx-no-undef": 2;
19381
- "react/jsx-uses-react": 2;
19382
- "react/jsx-uses-vars": 2;
19383
- "react/no-children-prop": 2;
19384
- "react/no-danger-with-children": 2;
19385
- "react/no-deprecated": 2;
19386
- "react/no-direct-mutation-state": 2;
19387
- "react/no-find-dom-node": 2;
19388
- "react/no-is-mounted": 2;
19389
- "react/no-render-return-value": 2;
19390
- "react/no-string-refs": 2;
19391
- "react/no-unescaped-entities": 2;
19392
- "react/no-unknown-property": 2;
19393
- "react/no-unsafe": 0;
19394
- "react/prop-types": 2;
19395
- "react/react-in-jsx-scope": 2;
19396
- "react/require-render-return": 2;
19397
- };
19063
+ name: string;
19064
+ rules: _eslint_react_shared.RulePreset;
19398
19065
  };
19399
- all: {
19400
- plugins: ["react"];
19401
- parserOptions: {
19402
- ecmaFeatures: {
19403
- jsx: boolean;
19066
+ "recommended-legacy": {
19067
+ plugins: string[];
19068
+ rules: _eslint_react_shared.RulePreset;
19069
+ };
19070
+ };
19071
+ meta: {
19072
+ readonly name: string;
19073
+ readonly version: string;
19074
+ };
19075
+ rules: {
19076
+ readonly "no-dangerously-set-innerhtml": _typescript_eslint_utils_ts_eslint.RuleModule<"noDangerouslySetInnerhtml", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19077
+ readonly "no-dangerously-set-innerhtml-with-children": _typescript_eslint_utils_ts_eslint.RuleModule<"noDangerouslySetInnerhtmlWithChildren", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19078
+ readonly "no-find-dom-node": _typescript_eslint_utils_ts_eslint.RuleModule<"noFindDomNode", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19079
+ readonly "no-flush-sync": _typescript_eslint_utils_ts_eslint.RuleModule<"noFlushSync", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19080
+ readonly "no-hydrate": _typescript_eslint_utils_ts_eslint.RuleModule<"noHydrate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19081
+ readonly "no-missing-button-type": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingButtonType", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19082
+ readonly "no-missing-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19083
+ readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19084
+ readonly "no-render": _typescript_eslint_utils_ts_eslint.RuleModule<"noRender", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19085
+ readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19086
+ readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19087
+ readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<"dataLowercaseRequired" | "invalidPropOnTag" | "unknownProp" | "unknownPropWithStandardName", unknown[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19088
+ readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19089
+ readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19090
+ readonly "no-use-form-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseFormState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19091
+ readonly "no-void-elements-with-children": _typescript_eslint_utils_ts_eslint.RuleModule<"noVoidElementsWithChildren", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19092
+ readonly "no-children-in-void-dom-elements": _typescript_eslint_utils_ts_eslint.RuleModule<"noVoidElementsWithChildren", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19093
+ };
19094
+ };
19095
+ "@eslint-react/hooks-extra": {
19096
+ configs: {
19097
+ recommended: {
19098
+ plugins: {
19099
+ "react-hooks-extra": {
19100
+ readonly meta: {
19101
+ readonly name: string;
19102
+ readonly version: string;
19103
+ };
19104
+ readonly rules: {
19105
+ readonly "no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19106
+ readonly "no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19107
+ readonly "no-unnecessary-use-callback": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseCallback", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19108
+ readonly "no-unnecessary-use-memo": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseMemo", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19109
+ readonly "no-unnecessary-use-prefix": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUsePrefix", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19110
+ readonly "prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19111
+ readonly "ensure-custom-hooks-using-other-hooks": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUsePrefix", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19112
+ readonly "ensure-use-callback-has-non-empty-deps": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseCallback", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19113
+ readonly "ensure-use-memo-has-non-empty-deps": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseMemo", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19114
+ readonly "no-redundant-custom-hook": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUsePrefix", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19115
+ readonly "no-useless-custom-hooks": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUsePrefix", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19116
+ };
19404
19117
  };
19405
19118
  };
19406
- rules: Record<"boolean-prop-naming" | "button-has-type" | "checked-requires-onchange-or-readonly" | "default-props-match-prop-types" | "destructuring-assignment" | "display-name" | "forbid-component-props" | "forbid-dom-props" | "forbid-elements" | "forbid-foreign-prop-types" | "forbid-prop-types" | "prop-types" | "forward-ref-uses-ref" | "function-component-definition" | "hook-use-state" | "iframe-missing-sandbox" | "jsx-boolean-value" | "jsx-child-element-spacing" | "jsx-closing-bracket-location" | "jsx-closing-tag-location" | "jsx-curly-spacing" | "jsx-curly-newline" | "jsx-equals-spacing" | "jsx-filename-extension" | "jsx-first-prop-new-line" | "jsx-handler-names" | "jsx-indent" | "jsx-indent-props" | "jsx-key" | "jsx-max-depth" | "jsx-max-props-per-line" | "jsx-newline" | "jsx-no-bind" | "jsx-no-comment-textnodes" | "jsx-no-constructed-context-values" | "jsx-no-duplicate-props" | "jsx-no-leaked-render" | "jsx-no-literals" | "jsx-no-script-url" | "jsx-no-target-blank" | "jsx-no-useless-fragment" | "jsx-one-expression-per-line" | "jsx-no-undef" | "jsx-curly-brace-presence" | "jsx-pascal-case" | "jsx-fragments" | "jsx-props-no-multi-spaces" | "jsx-props-no-spreading" | "jsx-props-no-spread-multi" | "sort-default-props" | "jsx-sort-default-props" | "jsx-sort-props" | "jsx-tag-spacing" | "jsx-space-before-closing" | "jsx-uses-react" | "jsx-uses-vars" | "jsx-wrap-multilines" | "no-invalid-html-attribute" | "no-access-state-in-setstate" | "no-adjacent-inline-elements" | "no-array-index-key" | "no-arrow-function-lifecycle" | "no-children-prop" | "no-danger" | "no-danger-with-children" | "no-deprecated" | "no-direct-mutation-state" | "no-find-dom-node" | "no-is-mounted" | "no-multi-comp" | "no-namespace" | "no-set-state" | "no-string-refs" | "no-redundant-should-component-update" | "no-render-return-value" | "no-this-in-sfc" | "no-typos" | "no-unescaped-entities" | "no-unknown-property" | "no-unsafe" | "no-unstable-nested-components" | "no-unused-class-component-methods" | "no-unused-prop-types" | "no-unused-state" | "no-object-type-as-default-prop" | "prefer-es6-class" | "prefer-exact-props" | "prefer-read-only-props" | "prefer-stateless-function" | "react-in-jsx-scope" | "require-default-props" | "require-optimization" | "require-render-return" | "self-closing-comp" | "sort-comp" | "sort-prop-types" | "state-in-constructor" | "static-property-placement" | "style-prop-object" | "void-dom-elements-no-children" | "no-did-mount-set-state" | "no-did-update-set-state" | "no-will-update-set-state", 2 | "error">;
19119
+ name: string;
19120
+ rules: _eslint_react_shared.RulePreset;
19407
19121
  };
19408
- 'jsx-runtime': {
19409
- plugins: ["react"];
19410
- parserOptions: {
19411
- ecmaFeatures: {
19412
- jsx: boolean;
19122
+ "recommended-legacy": {
19123
+ plugins: string[];
19124
+ rules: _eslint_react_shared.RulePreset;
19125
+ };
19126
+ };
19127
+ meta: {
19128
+ readonly name: string;
19129
+ readonly version: string;
19130
+ };
19131
+ rules: {
19132
+ readonly "no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19133
+ readonly "no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19134
+ readonly "no-unnecessary-use-callback": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseCallback", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19135
+ readonly "no-unnecessary-use-memo": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseMemo", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19136
+ readonly "no-unnecessary-use-prefix": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUsePrefix", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19137
+ readonly "prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19138
+ readonly "ensure-custom-hooks-using-other-hooks": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUsePrefix", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19139
+ readonly "ensure-use-callback-has-non-empty-deps": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseCallback", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19140
+ readonly "ensure-use-memo-has-non-empty-deps": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseMemo", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19141
+ readonly "no-redundant-custom-hook": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUsePrefix", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19142
+ readonly "no-useless-custom-hooks": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUsePrefix", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19143
+ };
19144
+ };
19145
+ "@eslint-react/web-api": {
19146
+ configs: {
19147
+ recommended: {
19148
+ plugins: {
19149
+ "react-web-api": {
19150
+ readonly meta: {
19151
+ readonly name: string;
19152
+ readonly version: string;
19153
+ };
19154
+ readonly rules: {
19155
+ readonly "no-leaked-event-listener": _typescript_eslint_utils_ts_eslint.RuleModule<"expectedRemoveEventListenerInCleanup" | "expectedRemoveEventListenerInUnmount" | "unexpectedInlineFunction", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19156
+ readonly "no-leaked-interval": _typescript_eslint_utils_ts_eslint.RuleModule<"expectedClearIntervalInCleanup" | "expectedClearIntervalInUnmount" | "expectedIntervalId", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19157
+ readonly "no-leaked-resize-observer": _typescript_eslint_utils_ts_eslint.RuleModule<"expectedDisconnectInControlFlow" | "expectedDisconnectOrUnobserveInCleanup" | "unexpectedFloatingInstance", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19158
+ readonly "no-leaked-timeout": _typescript_eslint_utils_ts_eslint.RuleModule<"expectedClearTimeoutInCleanup" | "expectedClearTimeoutInUnmount" | "expectedTimeoutId", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19159
+ };
19413
19160
  };
19414
- jsxPragma: any;
19415
- };
19416
- rules: {
19417
- "react/react-in-jsx-scope": 0;
19418
- "react/jsx-uses-react": 0;
19419
19161
  };
19162
+ name: string;
19163
+ rules: _eslint_react_shared.RulePreset;
19420
19164
  };
19421
- flat: Record<string, eslint_plugin_react.ReactFlatConfig>;
19422
- } & {
19423
- flat: Record<string, eslint_plugin_react.ReactFlatConfig>;
19165
+ "recommended-legacy": {
19166
+ plugins: string[];
19167
+ rules: _eslint_react_shared.RulePreset;
19168
+ };
19169
+ };
19170
+ meta: {
19171
+ readonly name: string;
19172
+ readonly version: string;
19173
+ };
19174
+ rules: {
19175
+ readonly "no-leaked-event-listener": _typescript_eslint_utils_ts_eslint.RuleModule<"expectedRemoveEventListenerInCleanup" | "expectedRemoveEventListenerInUnmount" | "unexpectedInlineFunction", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19176
+ readonly "no-leaked-interval": _typescript_eslint_utils_ts_eslint.RuleModule<"expectedClearIntervalInCleanup" | "expectedClearIntervalInUnmount" | "expectedIntervalId", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19177
+ readonly "no-leaked-resize-observer": _typescript_eslint_utils_ts_eslint.RuleModule<"expectedDisconnectInControlFlow" | "expectedDisconnectOrUnobserveInCleanup" | "unexpectedFloatingInstance", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19178
+ readonly "no-leaked-timeout": _typescript_eslint_utils_ts_eslint.RuleModule<"expectedClearTimeoutInCleanup" | "expectedClearTimeoutInUnmount" | "expectedTimeoutId", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
19179
+ };
19180
+ };
19181
+ "jsx-a11y": {
19182
+ configs: {
19183
+ recommended: Linter.Config<Linter.RulesRecord>;
19424
19184
  };
19425
19185
  };
19426
19186
  "react-compiler": {
@@ -19559,74 +19319,6 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
19559
19319
  allowConstantExport: boolean;
19560
19320
  allowExportNames: string[];
19561
19321
  }];
19562
- "react/boolean-prop-naming": "off";
19563
- "react/button-has-type": "error";
19564
- "react/checked-requires-onchange-or-readonly": "error";
19565
- "react/default-props-match-prop-types": "error";
19566
- "react/destructuring-assignment": "off";
19567
- "react/forbid-component-props": "off";
19568
- "react/forbid-dom-props": "off";
19569
- "react/forbid-elements": "off";
19570
- "react/forbid-foreign-prop-types": "off";
19571
- "react/forbid-prop-types": "off";
19572
- "react/forward-ref-uses-ref": "error";
19573
- "react/function-component-definition": "off";
19574
- "react/hook-use-state": "error";
19575
- "react/iframe-missing-sandbox": "error";
19576
- "react/jsx-boolean-value": ["error", "never"];
19577
- "react/jsx-curly-brace-presence": "error";
19578
- "react/jsx-filename-extension": "off";
19579
- "react/jsx-fragments": ["error", "syntax"];
19580
- "react/jsx-handler-names": "off";
19581
- "react/jsx-max-depth": "off";
19582
- "react/jsx-no-bind": "off";
19583
- "react/jsx-no-constructed-context-values": "error";
19584
- "react/jsx-no-leaked-render": "error";
19585
- "react/jsx-no-literals": "off";
19586
- "react/jsx-no-script-url": "error";
19587
- "react/jsx-no-useless-fragment": "error";
19588
- "react/jsx-one-expression-per-line": "off";
19589
- "react/jsx-pascal-case": ["error", {
19590
- allowNamespace: true;
19591
- }];
19592
- "react/jsx-props-no-spread-multi": "off";
19593
- "react/jsx-props-no-spreading": "off";
19594
- "react/jsx-sort-default-props": "off";
19595
- "react/jsx-sort-props": "off";
19596
- "react/no-access-state-in-setstate": "error";
19597
- "react/no-adjacent-inline-elements": "off";
19598
- "react/no-array-index-key": "off";
19599
- "react/no-arrow-function-lifecycle": "error";
19600
- "react/no-danger": "off";
19601
- "react/no-did-mount-set-state": "error";
19602
- "react/no-did-update-set-state": "error";
19603
- "react/no-invalid-html-attribute": "error";
19604
- "react/no-multi-comp": "off";
19605
- "react/no-namespace": "error";
19606
- "react/no-object-type-as-default-prop": "error";
19607
- "react/no-redundant-should-component-update": "error";
19608
- "react/no-set-state": "off";
19609
- "react/no-this-in-sfc": "error";
19610
- "react/no-typos": "error";
19611
- "react/no-unstable-nested-components": "error";
19612
- "react/no-unused-class-component-methods": "error";
19613
- "react/no-unused-prop-types": "error";
19614
- "react/no-unused-state": "error";
19615
- "react/no-will-update-set-state": "error";
19616
- "react/prefer-es6-class": "off";
19617
- "react/prefer-exact-props": "off";
19618
- "react/prefer-read-only-props": "off";
19619
- "react/prefer-stateless-function": "off";
19620
- "react/require-default-props": "off";
19621
- "react/require-optimization": "off";
19622
- "react/self-closing-comp": "error";
19623
- "react/sort-comp": "off";
19624
- "react/sort-default-props": "off";
19625
- "react/sort-prop-types": "off";
19626
- "react/state-in-constructor": "off";
19627
- "react/static-property-placement": "off";
19628
- "react/style-prop-object": "error";
19629
- "react/void-dom-elements-no-children": "error";
19630
19322
  };
19631
19323
  settings: {
19632
19324
  react: {