@jimmy.codes/eslint-config 5.7.0 → 5.9.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,14 +7,41 @@ import * as _tanstack_eslint_plugin_query from '@tanstack/eslint-plugin-query';
|
|
|
7
7
|
import * as estree from 'estree';
|
|
8
8
|
import * as eslint_plugin_react_hooks from 'eslint-plugin-react-hooks';
|
|
9
9
|
import * as eslint_plugin_react_compiler from 'eslint-plugin-react-compiler';
|
|
10
|
-
import * as
|
|
10
|
+
import * as _eslint_react_kit from '@eslint-react/kit';
|
|
11
11
|
import * as _stylistic_eslint_plugin from '@stylistic/eslint-plugin';
|
|
12
12
|
import * as eslint_plugin_regexp from 'eslint-plugin-regexp';
|
|
13
13
|
import * as eslint_plugin_n from 'eslint-plugin-n';
|
|
14
|
-
import * as
|
|
15
|
-
import * as
|
|
16
|
-
import * as
|
|
17
|
-
import * as
|
|
14
|
+
import * as eslint_plugin_import_x from 'eslint-plugin-import-x';
|
|
15
|
+
import * as eslint_plugin_import_x_rules_no_import_module_exports from 'eslint-plugin-import-x/rules/no-import-module-exports';
|
|
16
|
+
import * as eslint_plugin_import_x_rules_dynamic_import_chunkname from 'eslint-plugin-import-x/rules/dynamic-import-chunkname';
|
|
17
|
+
import * as eslint_plugin_import_x_rules_no_useless_path_segments from 'eslint-plugin-import-x/rules/no-useless-path-segments';
|
|
18
|
+
import * as eslint_plugin_import_x_rules_no_unassigned_import from 'eslint-plugin-import-x/rules/no-unassigned-import';
|
|
19
|
+
import * as eslint_plugin_import_x_rules_no_dynamic_require from 'eslint-plugin-import-x/rules/no-dynamic-require';
|
|
20
|
+
import * as eslint_plugin_import_x_rules_prefer_default_export from 'eslint-plugin-import-x/rules/prefer-default-export';
|
|
21
|
+
import * as eslint_plugin_import_x_rules_newline_after_import from 'eslint-plugin-import-x/rules/newline-after-import';
|
|
22
|
+
import * as eslint_plugin_import_x_rules_order from 'eslint-plugin-import-x/rules/order';
|
|
23
|
+
import * as eslint_plugin_import_x_rules_no_nodejs_modules from 'eslint-plugin-import-x/rules/no-nodejs-modules';
|
|
24
|
+
import * as eslint_plugin_import_x_rules_no_extraneous_dependencies from 'eslint-plugin-import-x/rules/no-extraneous-dependencies';
|
|
25
|
+
import * as eslint_plugin_import_x_rules_max_dependencies from 'eslint-plugin-import-x/rules/max-dependencies';
|
|
26
|
+
import * as eslint_plugin_import_x_rules_first from 'eslint-plugin-import-x/rules/first';
|
|
27
|
+
import * as eslint_plugin_import_x_rules_no_duplicates from 'eslint-plugin-import-x/rules/no-duplicates';
|
|
28
|
+
import * as eslint_plugin_import_x_rules_no_commonjs from 'eslint-plugin-import-x/rules/no-commonjs';
|
|
29
|
+
import * as eslint_plugin_import_x_rules_no_unused_modules from 'eslint-plugin-import-x/rules/no-unused-modules';
|
|
30
|
+
import * as eslint_plugin_import_x_rules_no_rename_default from 'eslint-plugin-import-x/rules/no-rename-default';
|
|
31
|
+
import * as eslint_plugin_import_x_rules_no_anonymous_default_export from 'eslint-plugin-import-x/rules/no-anonymous-default-export';
|
|
32
|
+
import * as eslint_plugin_import_x_rules_no_cycle from 'eslint-plugin-import-x/rules/no-cycle';
|
|
33
|
+
import * as eslint_plugin_import_x_rules_consistent_type_specifier_style from 'eslint-plugin-import-x/rules/consistent-type-specifier-style';
|
|
34
|
+
import * as eslint_plugin_import_x_rules_group_exports from 'eslint-plugin-import-x/rules/group-exports';
|
|
35
|
+
import * as eslint_plugin_import_x_rules_no_internal_modules from 'eslint-plugin-import-x/rules/no-internal-modules';
|
|
36
|
+
import * as eslint_plugin_import_x_rules_no_restricted_paths from 'eslint-plugin-import-x/rules/no-restricted-paths';
|
|
37
|
+
import * as eslint_plugin_import_x_rules_extensions from 'eslint-plugin-import-x/rules/extensions';
|
|
38
|
+
import * as eslint_plugin_import_x_rules_export from 'eslint-plugin-import-x/rules/export';
|
|
39
|
+
import * as eslint_plugin_import_x_rules_no_namespace from 'eslint-plugin-import-x/rules/no-namespace';
|
|
40
|
+
import * as eslint_plugin_import_x_rules_namespace from 'eslint-plugin-import-x/rules/namespace';
|
|
41
|
+
import * as eslint_plugin_import_x_rules_named from 'eslint-plugin-import-x/rules/named';
|
|
42
|
+
import * as eslint_plugin_import_x_utils from 'eslint-plugin-import-x/utils';
|
|
43
|
+
import * as eslint_plugin_import_x_rules_no_unresolved from 'eslint-plugin-import-x/rules/no-unresolved';
|
|
44
|
+
import * as eslint_plugin_import_x_types from 'eslint-plugin-import-x/types';
|
|
18
45
|
|
|
19
46
|
declare function nextjsConfig(): Promise<{
|
|
20
47
|
files: string[];
|
|
@@ -48,6 +75,7 @@ declare function storybookConfig(): Promise<({
|
|
|
48
75
|
name: string;
|
|
49
76
|
rules: {
|
|
50
77
|
"import-x/no-anonymous-default-export": "off";
|
|
78
|
+
"storybook/meta-satisfies-type": "error";
|
|
51
79
|
"unicorn/no-anonymous-default-export": "off";
|
|
52
80
|
};
|
|
53
81
|
plugins?: undefined;
|
|
@@ -1618,7 +1646,6 @@ declare function reactConfig(): Promise<{
|
|
|
1618
1646
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1619
1647
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1620
1648
|
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
1649
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1623
1650
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1624
1651
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1626,7 +1653,7 @@ declare function reactConfig(): Promise<{
|
|
|
1626
1653
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1627
1654
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1628
1655
|
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<"
|
|
1656
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1630
1657
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1631
1658
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1632
1659
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1650,21 +1677,24 @@ declare function reactConfig(): Promise<{
|
|
|
1650
1677
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1651
1678
|
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1652
1679
|
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1653
|
-
readonly "
|
|
1680
|
+
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1681
|
+
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1682
|
+
readonly "jsx-uses-react": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesReact", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1683
|
+
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1654
1684
|
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
1685
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1658
|
-
readonly "no-
|
|
1686
|
+
readonly "no-duplicate-jsx-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1687
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1688
|
+
readonly "use-jsx-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1659
1689
|
};
|
|
1660
1690
|
};
|
|
1661
1691
|
};
|
|
1662
1692
|
name: string;
|
|
1663
|
-
rules:
|
|
1693
|
+
rules: _eslint_react_kit.RulePreset;
|
|
1664
1694
|
};
|
|
1665
1695
|
"recommended-legacy": {
|
|
1666
1696
|
plugins: string[];
|
|
1667
|
-
rules:
|
|
1697
|
+
rules: _eslint_react_kit.RulePreset;
|
|
1668
1698
|
};
|
|
1669
1699
|
"recommended-type-checked": {
|
|
1670
1700
|
plugins: {
|
|
@@ -1695,7 +1725,6 @@ declare function reactConfig(): Promise<{
|
|
|
1695
1725
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1696
1726
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1697
1727
|
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
1728
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1700
1729
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1701
1730
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1703,7 +1732,7 @@ declare function reactConfig(): Promise<{
|
|
|
1703
1732
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1704
1733
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1705
1734
|
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<"
|
|
1735
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1707
1736
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1708
1737
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1709
1738
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1727,21 +1756,24 @@ declare function reactConfig(): Promise<{
|
|
|
1727
1756
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1728
1757
|
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1729
1758
|
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1730
|
-
readonly "
|
|
1759
|
+
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1760
|
+
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1761
|
+
readonly "jsx-uses-react": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesReact", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1762
|
+
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1731
1763
|
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
1764
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1735
|
-
readonly "no-
|
|
1765
|
+
readonly "no-duplicate-jsx-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1766
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1767
|
+
readonly "use-jsx-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1736
1768
|
};
|
|
1737
1769
|
};
|
|
1738
1770
|
};
|
|
1739
1771
|
name: string;
|
|
1740
|
-
rules:
|
|
1772
|
+
rules: _eslint_react_kit.RulePreset;
|
|
1741
1773
|
};
|
|
1742
1774
|
"recommended-type-checked-legacy": {
|
|
1743
1775
|
plugins: string[];
|
|
1744
|
-
rules:
|
|
1776
|
+
rules: _eslint_react_kit.RulePreset;
|
|
1745
1777
|
};
|
|
1746
1778
|
"recommended-typescript": {
|
|
1747
1779
|
plugins: {
|
|
@@ -1772,7 +1804,6 @@ declare function reactConfig(): Promise<{
|
|
|
1772
1804
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1773
1805
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1774
1806
|
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
1807
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1777
1808
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1778
1809
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1780,7 +1811,7 @@ declare function reactConfig(): Promise<{
|
|
|
1780
1811
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1781
1812
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1782
1813
|
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<"
|
|
1814
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1784
1815
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1785
1816
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1786
1817
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1804,21 +1835,24 @@ declare function reactConfig(): Promise<{
|
|
|
1804
1835
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1805
1836
|
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1806
1837
|
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1807
|
-
readonly "
|
|
1838
|
+
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1839
|
+
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1840
|
+
readonly "jsx-uses-react": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesReact", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1841
|
+
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1808
1842
|
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
1843
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1812
|
-
readonly "no-
|
|
1844
|
+
readonly "no-duplicate-jsx-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1845
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1846
|
+
readonly "use-jsx-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1813
1847
|
};
|
|
1814
1848
|
};
|
|
1815
1849
|
};
|
|
1816
1850
|
name: string;
|
|
1817
|
-
rules:
|
|
1851
|
+
rules: _eslint_react_kit.RulePreset;
|
|
1818
1852
|
};
|
|
1819
1853
|
"recommended-typescript-legacy": {
|
|
1820
1854
|
plugins: string[];
|
|
1821
|
-
rules:
|
|
1855
|
+
rules: _eslint_react_kit.RulePreset;
|
|
1822
1856
|
};
|
|
1823
1857
|
};
|
|
1824
1858
|
meta: {
|
|
@@ -1847,7 +1881,6 @@ declare function reactConfig(): Promise<{
|
|
|
1847
1881
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1848
1882
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1849
1883
|
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
1884
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1852
1885
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1853
1886
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1855,7 +1888,7 @@ declare function reactConfig(): Promise<{
|
|
|
1855
1888
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1856
1889
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1857
1890
|
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<"
|
|
1891
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1859
1892
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1860
1893
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1861
1894
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1879,12 +1912,15 @@ declare function reactConfig(): Promise<{
|
|
|
1879
1912
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1880
1913
|
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1881
1914
|
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1882
|
-
readonly "
|
|
1915
|
+
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1916
|
+
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1917
|
+
readonly "jsx-uses-react": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesReact", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1918
|
+
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1883
1919
|
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
1920
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1887
|
-
readonly "no-
|
|
1921
|
+
readonly "no-duplicate-jsx-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1922
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1923
|
+
readonly "use-jsx-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1888
1924
|
};
|
|
1889
1925
|
};
|
|
1890
1926
|
"@eslint-react/dom": {
|
|
@@ -1918,11 +1954,11 @@ declare function reactConfig(): Promise<{
|
|
|
1918
1954
|
};
|
|
1919
1955
|
};
|
|
1920
1956
|
name: string;
|
|
1921
|
-
rules:
|
|
1957
|
+
rules: _eslint_react_kit.RulePreset;
|
|
1922
1958
|
};
|
|
1923
1959
|
"recommended-legacy": {
|
|
1924
1960
|
plugins: string[];
|
|
1925
|
-
rules:
|
|
1961
|
+
rules: _eslint_react_kit.RulePreset;
|
|
1926
1962
|
};
|
|
1927
1963
|
};
|
|
1928
1964
|
meta: {
|
|
@@ -1974,11 +2010,11 @@ declare function reactConfig(): Promise<{
|
|
|
1974
2010
|
};
|
|
1975
2011
|
};
|
|
1976
2012
|
name: string;
|
|
1977
|
-
rules:
|
|
2013
|
+
rules: _eslint_react_kit.RulePreset;
|
|
1978
2014
|
};
|
|
1979
2015
|
"recommended-legacy": {
|
|
1980
2016
|
plugins: string[];
|
|
1981
|
-
rules:
|
|
2017
|
+
rules: _eslint_react_kit.RulePreset;
|
|
1982
2018
|
};
|
|
1983
2019
|
};
|
|
1984
2020
|
meta: {
|
|
@@ -1999,6 +2035,72 @@ declare function reactConfig(): Promise<{
|
|
|
1999
2035
|
readonly "no-useless-custom-hooks": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUsePrefix", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2000
2036
|
};
|
|
2001
2037
|
};
|
|
2038
|
+
"@eslint-react/naming-convention": {
|
|
2039
|
+
configs: {
|
|
2040
|
+
recommended: {
|
|
2041
|
+
plugins: {
|
|
2042
|
+
"react-naming-convention": {
|
|
2043
|
+
readonly meta: {
|
|
2044
|
+
readonly name: string;
|
|
2045
|
+
readonly version: string;
|
|
2046
|
+
};
|
|
2047
|
+
readonly rules: {
|
|
2048
|
+
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"invalid", readonly [("CONSTANT_CASE" | "PascalCase") | {
|
|
2049
|
+
allowAllCaps?: boolean;
|
|
2050
|
+
allowLeadingUnderscore?: boolean;
|
|
2051
|
+
allowNamespace?: boolean;
|
|
2052
|
+
excepts?: readonly string[];
|
|
2053
|
+
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
2054
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2055
|
+
readonly "context-name": _typescript_eslint_utils_ts_eslint.RuleModule<"invalid", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2056
|
+
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameEmpty" | "filenameInvalid", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
2057
|
+
excepts?: readonly string[];
|
|
2058
|
+
extensions?: readonly string[];
|
|
2059
|
+
rule?: "PascalCase" | "camelCase" | "kebab-case" | "snake_case";
|
|
2060
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2061
|
+
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxFileExtension" | "useNonJsxFileExtension", readonly [("always" | "as-needed") | {
|
|
2062
|
+
allow?: "always" | "as-needed";
|
|
2063
|
+
extensions?: readonly string[];
|
|
2064
|
+
ignoreFilesWithoutCode?: boolean;
|
|
2065
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2066
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"missingDestructuring" | "invalidSetterNaming", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2067
|
+
};
|
|
2068
|
+
};
|
|
2069
|
+
};
|
|
2070
|
+
name: string;
|
|
2071
|
+
rules: _eslint_react_kit.RulePreset;
|
|
2072
|
+
};
|
|
2073
|
+
"recommended-legacy": {
|
|
2074
|
+
plugins: string[];
|
|
2075
|
+
rules: _eslint_react_kit.RulePreset;
|
|
2076
|
+
};
|
|
2077
|
+
};
|
|
2078
|
+
meta: {
|
|
2079
|
+
readonly name: string;
|
|
2080
|
+
readonly version: string;
|
|
2081
|
+
};
|
|
2082
|
+
rules: {
|
|
2083
|
+
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"invalid", readonly [("CONSTANT_CASE" | "PascalCase") | {
|
|
2084
|
+
allowAllCaps?: boolean;
|
|
2085
|
+
allowLeadingUnderscore?: boolean;
|
|
2086
|
+
allowNamespace?: boolean;
|
|
2087
|
+
excepts?: readonly string[];
|
|
2088
|
+
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
2089
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2090
|
+
readonly "context-name": _typescript_eslint_utils_ts_eslint.RuleModule<"invalid", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2091
|
+
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameEmpty" | "filenameInvalid", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
2092
|
+
excepts?: readonly string[];
|
|
2093
|
+
extensions?: readonly string[];
|
|
2094
|
+
rule?: "PascalCase" | "camelCase" | "kebab-case" | "snake_case";
|
|
2095
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2096
|
+
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxFileExtension" | "useNonJsxFileExtension", readonly [("always" | "as-needed") | {
|
|
2097
|
+
allow?: "always" | "as-needed";
|
|
2098
|
+
extensions?: readonly string[];
|
|
2099
|
+
ignoreFilesWithoutCode?: boolean;
|
|
2100
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2101
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"missingDestructuring" | "invalidSetterNaming", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2102
|
+
};
|
|
2103
|
+
};
|
|
2002
2104
|
"@eslint-react/web-api": {
|
|
2003
2105
|
configs: {
|
|
2004
2106
|
recommended: {
|
|
@@ -2017,11 +2119,11 @@ declare function reactConfig(): Promise<{
|
|
|
2017
2119
|
};
|
|
2018
2120
|
};
|
|
2019
2121
|
name: string;
|
|
2020
|
-
rules:
|
|
2122
|
+
rules: _eslint_react_kit.RulePreset;
|
|
2021
2123
|
};
|
|
2022
2124
|
"recommended-legacy": {
|
|
2023
2125
|
plugins: string[];
|
|
2024
|
-
rules:
|
|
2126
|
+
rules: _eslint_react_kit.RulePreset;
|
|
2025
2127
|
};
|
|
2026
2128
|
};
|
|
2027
2129
|
meta: {
|
|
@@ -2052,7 +2154,7 @@ declare function reactConfig(): Promise<{
|
|
|
2052
2154
|
};
|
|
2053
2155
|
};
|
|
2054
2156
|
rules: {
|
|
2055
|
-
"react-compiler/react-compiler":
|
|
2157
|
+
"react-compiler/react-compiler": "error";
|
|
2056
2158
|
};
|
|
2057
2159
|
};
|
|
2058
2160
|
};
|
|
@@ -2177,6 +2279,7 @@ declare function reactConfig(): Promise<{
|
|
|
2177
2279
|
"@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "error";
|
|
2178
2280
|
"@eslint-react/no-children-prop": "error";
|
|
2179
2281
|
"@eslint-react/no-complex-conditional-rendering": "error";
|
|
2282
|
+
"@eslint-react/no-useless-fragment": "error";
|
|
2180
2283
|
"@eslint-react/prefer-react-namespace-import": "error";
|
|
2181
2284
|
"@eslint-react/prefer-shorthand-boolean": "error";
|
|
2182
2285
|
"@eslint-react/prefer-shorthand-fragment": "error";
|
|
@@ -2462,14 +2565,49 @@ interface RuleOptions {
|
|
|
2462
2565
|
'@eslint-react/hooks-extra/prefer-use-state-lazy-initialization'?: Linter.RuleEntry<[]>
|
|
2463
2566
|
/**
|
|
2464
2567
|
* Disallow duplicate props in JSX elements.
|
|
2465
|
-
* @see https://eslint-react.xyz/docs/rules/no-duplicate-
|
|
2568
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-no-duplicate-props
|
|
2466
2569
|
*/
|
|
2467
2570
|
'@eslint-react/jsx-no-duplicate-props'?: Linter.RuleEntry<[]>
|
|
2468
2571
|
/**
|
|
2469
|
-
*
|
|
2470
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
2572
|
+
* Disallow undefined variables in JSX.
|
|
2573
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-no-undef
|
|
2574
|
+
*/
|
|
2575
|
+
'@eslint-react/jsx-no-undef'?: Linter.RuleEntry<[]>
|
|
2576
|
+
/**
|
|
2577
|
+
* Marks React variables as used when JSX is used in the file.
|
|
2578
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-uses-react
|
|
2579
|
+
*/
|
|
2580
|
+
'@eslint-react/jsx-uses-react'?: Linter.RuleEntry<[]>
|
|
2581
|
+
/**
|
|
2582
|
+
* Marks variables used in JSX elements as used.
|
|
2583
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-uses-vars
|
|
2471
2584
|
*/
|
|
2472
2585
|
'@eslint-react/jsx-uses-vars'?: Linter.RuleEntry<[]>
|
|
2586
|
+
/**
|
|
2587
|
+
* Enforces naming conventions for components.
|
|
2588
|
+
* @see https://eslint-react.xyz/docs/rules/naming-convention-component-name
|
|
2589
|
+
*/
|
|
2590
|
+
'@eslint-react/naming-convention/component-name'?: Linter.RuleEntry<EslintReactNamingConventionComponentName>
|
|
2591
|
+
/**
|
|
2592
|
+
* Enforces context name to be a valid component name with the suffix `Context`.
|
|
2593
|
+
* @see https://eslint-react.xyz/docs/rules/naming-convention-context-name
|
|
2594
|
+
*/
|
|
2595
|
+
'@eslint-react/naming-convention/context-name'?: Linter.RuleEntry<[]>
|
|
2596
|
+
/**
|
|
2597
|
+
* Enforces consistent file naming conventions.
|
|
2598
|
+
* @see https://eslint-react.xyz/docs/rules/naming-convention-filename
|
|
2599
|
+
*/
|
|
2600
|
+
'@eslint-react/naming-convention/filename'?: Linter.RuleEntry<EslintReactNamingConventionFilename>
|
|
2601
|
+
/**
|
|
2602
|
+
* Enforces consistent file naming conventions.
|
|
2603
|
+
* @see https://eslint-react.xyz/docs/rules/naming-convention-filename-extension
|
|
2604
|
+
*/
|
|
2605
|
+
'@eslint-react/naming-convention/filename-extension'?: Linter.RuleEntry<EslintReactNamingConventionFilenameExtension>
|
|
2606
|
+
/**
|
|
2607
|
+
* Enforces destructuring and symmetric naming of `useState` hook value and setter.
|
|
2608
|
+
* @see https://eslint-react.xyz/docs/rules/naming-convention-use-state
|
|
2609
|
+
*/
|
|
2610
|
+
'@eslint-react/naming-convention/use-state'?: Linter.RuleEntry<[]>
|
|
2473
2611
|
/**
|
|
2474
2612
|
* Disallow accessing `this.state` inside `setState` calls.
|
|
2475
2613
|
* @see https://eslint-react.xyz/docs/rules/no-access-state-in-setstate
|
|
@@ -2572,7 +2710,7 @@ interface RuleOptions {
|
|
|
2572
2710
|
'@eslint-react/no-direct-mutation-state'?: Linter.RuleEntry<[]>
|
|
2573
2711
|
/**
|
|
2574
2712
|
* Disallow duplicate props in JSX elements.
|
|
2575
|
-
* @see https://eslint-react.xyz/docs/rules/no-duplicate-
|
|
2713
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-no-duplicate-props
|
|
2576
2714
|
*/
|
|
2577
2715
|
'@eslint-react/no-duplicate-jsx-props'?: Linter.RuleEntry<[]>
|
|
2578
2716
|
/**
|
|
@@ -2726,8 +2864,8 @@ interface RuleOptions {
|
|
|
2726
2864
|
*/
|
|
2727
2865
|
'@eslint-react/prefer-shorthand-fragment'?: Linter.RuleEntry<[]>
|
|
2728
2866
|
/**
|
|
2729
|
-
* Marks variables used in JSX as used.
|
|
2730
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
2867
|
+
* Marks variables used in JSX elements as used.
|
|
2868
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-uses-vars
|
|
2731
2869
|
*/
|
|
2732
2870
|
'@eslint-react/use-jsx-vars'?: Linter.RuleEntry<[]>
|
|
2733
2871
|
/**
|
|
@@ -4550,233 +4688,233 @@ interface RuleOptions {
|
|
|
4550
4688
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
4551
4689
|
/**
|
|
4552
4690
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
4553
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4691
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/consistent-type-specifier-style.md
|
|
4554
4692
|
*/
|
|
4555
4693
|
'import-x/consistent-type-specifier-style'?: Linter.RuleEntry<ImportXConsistentTypeSpecifierStyle>
|
|
4556
4694
|
/**
|
|
4557
4695
|
* Ensure a default export is present, given a default import.
|
|
4558
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4696
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/default.md
|
|
4559
4697
|
*/
|
|
4560
4698
|
'import-x/default'?: Linter.RuleEntry<[]>
|
|
4561
4699
|
/**
|
|
4562
4700
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
4563
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4701
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/dynamic-import-chunkname.md
|
|
4564
4702
|
*/
|
|
4565
4703
|
'import-x/dynamic-import-chunkname'?: Linter.RuleEntry<ImportXDynamicImportChunkname>
|
|
4566
4704
|
/**
|
|
4567
4705
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
4568
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4706
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/export.md
|
|
4569
4707
|
*/
|
|
4570
4708
|
'import-x/export'?: Linter.RuleEntry<[]>
|
|
4571
4709
|
/**
|
|
4572
4710
|
* Ensure all exports appear after other statements.
|
|
4573
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4711
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/exports-last.md
|
|
4574
4712
|
*/
|
|
4575
4713
|
'import-x/exports-last'?: Linter.RuleEntry<[]>
|
|
4576
4714
|
/**
|
|
4577
4715
|
* Ensure consistent use of file extension within the import path.
|
|
4578
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4716
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/extensions.md
|
|
4579
4717
|
*/
|
|
4580
4718
|
'import-x/extensions'?: Linter.RuleEntry<ImportXExtensions>
|
|
4581
4719
|
/**
|
|
4582
4720
|
* Ensure all imports appear before other statements.
|
|
4583
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4721
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/first.md
|
|
4584
4722
|
*/
|
|
4585
4723
|
'import-x/first'?: Linter.RuleEntry<ImportXFirst>
|
|
4586
4724
|
/**
|
|
4587
4725
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
4588
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4726
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/group-exports.md
|
|
4589
4727
|
*/
|
|
4590
4728
|
'import-x/group-exports'?: Linter.RuleEntry<[]>
|
|
4591
4729
|
/**
|
|
4592
4730
|
* Replaced by `import-x/first`.
|
|
4593
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4731
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/imports-first.md
|
|
4594
4732
|
* @deprecated
|
|
4595
4733
|
*/
|
|
4596
4734
|
'import-x/imports-first'?: Linter.RuleEntry<ImportXImportsFirst>
|
|
4597
4735
|
/**
|
|
4598
4736
|
* Enforce the maximum number of dependencies a module can have.
|
|
4599
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4737
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/max-dependencies.md
|
|
4600
4738
|
*/
|
|
4601
4739
|
'import-x/max-dependencies'?: Linter.RuleEntry<ImportXMaxDependencies>
|
|
4602
4740
|
/**
|
|
4603
4741
|
* Ensure named imports correspond to a named export in the remote file.
|
|
4604
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4742
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/named.md
|
|
4605
4743
|
*/
|
|
4606
4744
|
'import-x/named'?: Linter.RuleEntry<ImportXNamed>
|
|
4607
4745
|
/**
|
|
4608
4746
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
4609
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4747
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/namespace.md
|
|
4610
4748
|
*/
|
|
4611
4749
|
'import-x/namespace'?: Linter.RuleEntry<ImportXNamespace>
|
|
4612
4750
|
/**
|
|
4613
4751
|
* Enforce a newline after import statements.
|
|
4614
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4752
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/newline-after-import.md
|
|
4615
4753
|
*/
|
|
4616
4754
|
'import-x/newline-after-import'?: Linter.RuleEntry<ImportXNewlineAfterImport>
|
|
4617
4755
|
/**
|
|
4618
4756
|
* Forbid import of modules using absolute paths.
|
|
4619
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4757
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-absolute-path.md
|
|
4620
4758
|
*/
|
|
4621
4759
|
'import-x/no-absolute-path'?: Linter.RuleEntry<ImportXNoAbsolutePath>
|
|
4622
4760
|
/**
|
|
4623
4761
|
* Forbid AMD `require` and `define` calls.
|
|
4624
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4762
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-amd.md
|
|
4625
4763
|
*/
|
|
4626
4764
|
'import-x/no-amd'?: Linter.RuleEntry<[]>
|
|
4627
4765
|
/**
|
|
4628
4766
|
* Forbid anonymous values as default exports.
|
|
4629
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4767
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-anonymous-default-export.md
|
|
4630
4768
|
*/
|
|
4631
4769
|
'import-x/no-anonymous-default-export'?: Linter.RuleEntry<ImportXNoAnonymousDefaultExport>
|
|
4632
4770
|
/**
|
|
4633
4771
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
4634
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4772
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-commonjs.md
|
|
4635
4773
|
*/
|
|
4636
4774
|
'import-x/no-commonjs'?: Linter.RuleEntry<ImportXNoCommonjs>
|
|
4637
4775
|
/**
|
|
4638
4776
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
4639
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4777
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-cycle.md
|
|
4640
4778
|
*/
|
|
4641
4779
|
'import-x/no-cycle'?: Linter.RuleEntry<ImportXNoCycle>
|
|
4642
4780
|
/**
|
|
4643
4781
|
* Forbid default exports.
|
|
4644
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4782
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-default-export.md
|
|
4645
4783
|
*/
|
|
4646
4784
|
'import-x/no-default-export'?: Linter.RuleEntry<[]>
|
|
4647
4785
|
/**
|
|
4648
4786
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
4649
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4787
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-deprecated.md
|
|
4650
4788
|
*/
|
|
4651
4789
|
'import-x/no-deprecated'?: Linter.RuleEntry<[]>
|
|
4652
4790
|
/**
|
|
4653
4791
|
* Forbid repeated import of the same module in multiple places.
|
|
4654
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4792
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-duplicates.md
|
|
4655
4793
|
*/
|
|
4656
4794
|
'import-x/no-duplicates'?: Linter.RuleEntry<ImportXNoDuplicates>
|
|
4657
4795
|
/**
|
|
4658
4796
|
* Forbid `require()` calls with expressions.
|
|
4659
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4797
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-dynamic-require.md
|
|
4660
4798
|
*/
|
|
4661
4799
|
'import-x/no-dynamic-require'?: Linter.RuleEntry<ImportXNoDynamicRequire>
|
|
4662
4800
|
/**
|
|
4663
4801
|
* Forbid empty named import blocks.
|
|
4664
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4802
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-empty-named-blocks.md
|
|
4665
4803
|
*/
|
|
4666
4804
|
'import-x/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
4667
4805
|
/**
|
|
4668
4806
|
* Forbid the use of extraneous packages.
|
|
4669
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4807
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-extraneous-dependencies.md
|
|
4670
4808
|
*/
|
|
4671
4809
|
'import-x/no-extraneous-dependencies'?: Linter.RuleEntry<ImportXNoExtraneousDependencies>
|
|
4672
4810
|
/**
|
|
4673
4811
|
* Forbid import statements with CommonJS module.exports.
|
|
4674
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4812
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-import-module-exports.md
|
|
4675
4813
|
*/
|
|
4676
4814
|
'import-x/no-import-module-exports'?: Linter.RuleEntry<ImportXNoImportModuleExports>
|
|
4677
4815
|
/**
|
|
4678
4816
|
* Forbid importing the submodules of other modules.
|
|
4679
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4817
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-internal-modules.md
|
|
4680
4818
|
*/
|
|
4681
4819
|
'import-x/no-internal-modules'?: Linter.RuleEntry<ImportXNoInternalModules>
|
|
4682
4820
|
/**
|
|
4683
4821
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
4684
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4822
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-mutable-exports.md
|
|
4685
4823
|
*/
|
|
4686
4824
|
'import-x/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
4687
4825
|
/**
|
|
4688
4826
|
* Forbid use of exported name as identifier of default export.
|
|
4689
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4827
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-named-as-default.md
|
|
4690
4828
|
*/
|
|
4691
4829
|
'import-x/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
4692
4830
|
/**
|
|
4693
4831
|
* Forbid use of exported name as property of default export.
|
|
4694
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4832
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-named-as-default-member.md
|
|
4695
4833
|
*/
|
|
4696
4834
|
'import-x/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
4697
4835
|
/**
|
|
4698
4836
|
* Forbid named default exports.
|
|
4699
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4837
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-named-default.md
|
|
4700
4838
|
*/
|
|
4701
4839
|
'import-x/no-named-default'?: Linter.RuleEntry<[]>
|
|
4702
4840
|
/**
|
|
4703
4841
|
* Forbid named exports.
|
|
4704
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4842
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-named-export.md
|
|
4705
4843
|
*/
|
|
4706
4844
|
'import-x/no-named-export'?: Linter.RuleEntry<[]>
|
|
4707
4845
|
/**
|
|
4708
4846
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
4709
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4847
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-namespace.md
|
|
4710
4848
|
*/
|
|
4711
4849
|
'import-x/no-namespace'?: Linter.RuleEntry<ImportXNoNamespace>
|
|
4712
4850
|
/**
|
|
4713
4851
|
* Forbid Node.js builtin modules.
|
|
4714
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4852
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-nodejs-modules.md
|
|
4715
4853
|
*/
|
|
4716
4854
|
'import-x/no-nodejs-modules'?: Linter.RuleEntry<ImportXNoNodejsModules>
|
|
4717
4855
|
/**
|
|
4718
4856
|
* Forbid importing packages through relative paths.
|
|
4719
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4857
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-relative-packages.md
|
|
4720
4858
|
*/
|
|
4721
4859
|
'import-x/no-relative-packages'?: Linter.RuleEntry<ImportXNoRelativePackages>
|
|
4722
4860
|
/**
|
|
4723
4861
|
* Forbid importing modules from parent directories.
|
|
4724
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4862
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-relative-parent-imports.md
|
|
4725
4863
|
*/
|
|
4726
4864
|
'import-x/no-relative-parent-imports'?: Linter.RuleEntry<ImportXNoRelativeParentImports>
|
|
4727
4865
|
/**
|
|
4728
4866
|
* Forbid importing a default export by a different name.
|
|
4729
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4867
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-rename-default.md
|
|
4730
4868
|
*/
|
|
4731
4869
|
'import-x/no-rename-default'?: Linter.RuleEntry<ImportXNoRenameDefault>
|
|
4732
4870
|
/**
|
|
4733
4871
|
* Enforce which files can be imported in a given folder.
|
|
4734
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4872
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-restricted-paths.md
|
|
4735
4873
|
*/
|
|
4736
4874
|
'import-x/no-restricted-paths'?: Linter.RuleEntry<ImportXNoRestrictedPaths>
|
|
4737
4875
|
/**
|
|
4738
4876
|
* Forbid a module from importing itself.
|
|
4739
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4877
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-self-import.md
|
|
4740
4878
|
*/
|
|
4741
4879
|
'import-x/no-self-import'?: Linter.RuleEntry<[]>
|
|
4742
4880
|
/**
|
|
4743
4881
|
* Forbid unassigned imports.
|
|
4744
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4882
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-unassigned-import.md
|
|
4745
4883
|
*/
|
|
4746
4884
|
'import-x/no-unassigned-import'?: Linter.RuleEntry<ImportXNoUnassignedImport>
|
|
4747
4885
|
/**
|
|
4748
4886
|
* Ensure imports point to a file/module that can be resolved.
|
|
4749
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4887
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-unresolved.md
|
|
4750
4888
|
*/
|
|
4751
4889
|
'import-x/no-unresolved'?: Linter.RuleEntry<ImportXNoUnresolved>
|
|
4752
4890
|
/**
|
|
4753
4891
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
4754
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4892
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-unused-modules.md
|
|
4755
4893
|
*/
|
|
4756
4894
|
'import-x/no-unused-modules'?: Linter.RuleEntry<ImportXNoUnusedModules>
|
|
4757
4895
|
/**
|
|
4758
4896
|
* Forbid unnecessary path segments in import and require statements.
|
|
4759
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4897
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-useless-path-segments.md
|
|
4760
4898
|
*/
|
|
4761
4899
|
'import-x/no-useless-path-segments'?: Linter.RuleEntry<ImportXNoUselessPathSegments>
|
|
4762
4900
|
/**
|
|
4763
4901
|
* Forbid webpack loader syntax in imports.
|
|
4764
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4902
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/no-webpack-loader-syntax.md
|
|
4765
4903
|
*/
|
|
4766
4904
|
'import-x/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
4767
4905
|
/**
|
|
4768
4906
|
* Enforce a convention in module import order.
|
|
4769
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4907
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/order.md
|
|
4770
4908
|
*/
|
|
4771
4909
|
'import-x/order'?: Linter.RuleEntry<ImportXOrder>
|
|
4772
4910
|
/**
|
|
4773
4911
|
* Prefer a default export if module exports a single name or multiple names.
|
|
4774
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4912
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/prefer-default-export.md
|
|
4775
4913
|
*/
|
|
4776
4914
|
'import-x/prefer-default-export'?: Linter.RuleEntry<ImportXPreferDefaultExport>
|
|
4777
4915
|
/**
|
|
4778
4916
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
4779
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
4917
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.10.0/docs/rules/unambiguous.md
|
|
4780
4918
|
*/
|
|
4781
4919
|
'import-x/unambiguous'?: Linter.RuleEntry<[]>
|
|
4782
4920
|
/**
|
|
@@ -7834,6 +7972,11 @@ interface RuleOptions {
|
|
|
7834
7972
|
* @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/meta-inline-properties.md
|
|
7835
7973
|
*/
|
|
7836
7974
|
'storybook/meta-inline-properties'?: Linter.RuleEntry<StorybookMetaInlineProperties>
|
|
7975
|
+
/**
|
|
7976
|
+
* Meta should use `satisfies Meta`
|
|
7977
|
+
* @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/meta-satisfies-type.md
|
|
7978
|
+
*/
|
|
7979
|
+
'storybook/meta-satisfies-type'?: Linter.RuleEntry<[]>
|
|
7837
7980
|
/**
|
|
7838
7981
|
* A story should not have a redundant name property
|
|
7839
7982
|
* @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/no-redundant-story-name.md
|
|
@@ -8044,642 +8187,643 @@ interface RuleOptions {
|
|
|
8044
8187
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
8045
8188
|
/**
|
|
8046
8189
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
8047
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8190
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/better-regex.md
|
|
8048
8191
|
*/
|
|
8049
8192
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
8050
8193
|
/**
|
|
8051
8194
|
* Enforce a specific parameter name in catch clauses.
|
|
8052
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8195
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/catch-error-name.md
|
|
8053
8196
|
*/
|
|
8054
8197
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
8055
8198
|
/**
|
|
8056
8199
|
* Enforce consistent assertion style with `node:assert`.
|
|
8057
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8200
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-assert.md
|
|
8058
8201
|
*/
|
|
8059
8202
|
'unicorn/consistent-assert'?: Linter.RuleEntry<[]>
|
|
8060
8203
|
/**
|
|
8061
8204
|
* Prefer passing `Date` directly to the constructor when cloning.
|
|
8062
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8205
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-date-clone.md
|
|
8063
8206
|
*/
|
|
8064
8207
|
'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>
|
|
8065
8208
|
/**
|
|
8066
8209
|
* Use destructured variables over properties.
|
|
8067
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8210
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-destructuring.md
|
|
8068
8211
|
*/
|
|
8069
8212
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
|
|
8070
8213
|
/**
|
|
8071
8214
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
8072
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8215
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-empty-array-spread.md
|
|
8073
8216
|
*/
|
|
8074
8217
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
|
|
8075
8218
|
/**
|
|
8076
8219
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
8077
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8220
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-existence-index-check.md
|
|
8078
8221
|
*/
|
|
8079
8222
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
|
|
8080
8223
|
/**
|
|
8081
8224
|
* Move function definitions to the highest possible scope.
|
|
8082
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8225
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/consistent-function-scoping.md
|
|
8083
8226
|
*/
|
|
8084
8227
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
8085
8228
|
/**
|
|
8086
8229
|
* Enforce correct `Error` subclassing.
|
|
8087
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8230
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/custom-error-definition.md
|
|
8088
8231
|
*/
|
|
8089
8232
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
8090
8233
|
/**
|
|
8091
8234
|
* Enforce no spaces between braces.
|
|
8092
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8235
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/empty-brace-spaces.md
|
|
8093
8236
|
*/
|
|
8094
8237
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
8095
8238
|
/**
|
|
8096
8239
|
* Enforce passing a `message` value when creating a built-in error.
|
|
8097
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8240
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/error-message.md
|
|
8098
8241
|
*/
|
|
8099
8242
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
8100
8243
|
/**
|
|
8101
|
-
* Require escape sequences to use uppercase values.
|
|
8102
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8244
|
+
* Require escape sequences to use uppercase or lowercase values.
|
|
8245
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/escape-case.md
|
|
8103
8246
|
*/
|
|
8104
|
-
'unicorn/escape-case'?: Linter.RuleEntry<
|
|
8247
|
+
'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>
|
|
8105
8248
|
/**
|
|
8106
8249
|
* Add expiration conditions to TODO comments.
|
|
8107
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8250
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/expiring-todo-comments.md
|
|
8108
8251
|
*/
|
|
8109
8252
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
8110
8253
|
/**
|
|
8111
8254
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
8112
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8255
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/explicit-length-check.md
|
|
8113
8256
|
*/
|
|
8114
8257
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
8115
8258
|
/**
|
|
8116
8259
|
* Enforce a case style for filenames.
|
|
8117
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8260
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/filename-case.md
|
|
8118
8261
|
*/
|
|
8119
8262
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
8120
8263
|
/**
|
|
8121
8264
|
* Enforce specific import styles per module.
|
|
8122
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8265
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/import-style.md
|
|
8123
8266
|
*/
|
|
8124
8267
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
8125
8268
|
/**
|
|
8126
8269
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
8127
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8270
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/new-for-builtins.md
|
|
8128
8271
|
*/
|
|
8129
8272
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
8130
8273
|
/**
|
|
8131
8274
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
8132
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8275
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-abusive-eslint-disable.md
|
|
8133
8276
|
*/
|
|
8134
8277
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
8135
8278
|
/**
|
|
8136
8279
|
* Disallow recursive access to `this` within getters and setters.
|
|
8137
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8280
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-accessor-recursion.md
|
|
8138
8281
|
*/
|
|
8139
8282
|
'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>
|
|
8140
8283
|
/**
|
|
8141
8284
|
* Disallow anonymous functions and classes as the default export.
|
|
8142
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8285
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-anonymous-default-export.md
|
|
8143
8286
|
*/
|
|
8144
8287
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
8145
8288
|
/**
|
|
8146
8289
|
* Prevent passing a function reference directly to iterator methods.
|
|
8147
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8290
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-array-callback-reference.md
|
|
8148
8291
|
*/
|
|
8149
8292
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
8150
8293
|
/**
|
|
8151
8294
|
* Prefer `for…of` over the `forEach` method.
|
|
8152
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8295
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-array-for-each.md
|
|
8153
8296
|
*/
|
|
8154
8297
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
8155
8298
|
/**
|
|
8156
8299
|
* Disallow using the `this` argument in array methods.
|
|
8157
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8300
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-array-method-this-argument.md
|
|
8158
8301
|
*/
|
|
8159
8302
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
8160
8303
|
/**
|
|
8161
8304
|
* Enforce combining multiple `Array#push()` into one call.
|
|
8162
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8305
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-array-push-push.md
|
|
8163
8306
|
*/
|
|
8164
8307
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
|
|
8165
8308
|
/**
|
|
8166
8309
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
8167
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8310
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-array-reduce.md
|
|
8168
8311
|
*/
|
|
8169
8312
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
8170
8313
|
/**
|
|
8171
8314
|
* Disallow member access from await expression.
|
|
8172
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8315
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-await-expression-member.md
|
|
8173
8316
|
*/
|
|
8174
8317
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
8175
8318
|
/**
|
|
8176
8319
|
* Disallow using `await` in `Promise` method parameters.
|
|
8177
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8320
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-await-in-promise-methods.md
|
|
8178
8321
|
*/
|
|
8179
8322
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
8180
8323
|
/**
|
|
8181
8324
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
8182
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8325
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-console-spaces.md
|
|
8183
8326
|
*/
|
|
8184
8327
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
8185
8328
|
/**
|
|
8186
8329
|
* Do not use `document.cookie` directly.
|
|
8187
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8330
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-document-cookie.md
|
|
8188
8331
|
*/
|
|
8189
8332
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
8190
8333
|
/**
|
|
8191
8334
|
* Disallow empty files.
|
|
8192
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8335
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-empty-file.md
|
|
8193
8336
|
*/
|
|
8194
8337
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
8195
8338
|
/**
|
|
8196
8339
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
8197
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8340
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-for-loop.md
|
|
8198
8341
|
*/
|
|
8199
8342
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
8200
8343
|
/**
|
|
8201
8344
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
8202
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8345
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-hex-escape.md
|
|
8203
8346
|
*/
|
|
8204
8347
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
8205
8348
|
/**
|
|
8206
|
-
*
|
|
8349
|
+
* Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
|
|
8350
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/deprecated-rules.md#no-instanceof-array
|
|
8207
8351
|
* @deprecated
|
|
8208
8352
|
*/
|
|
8209
8353
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
|
|
8210
8354
|
/**
|
|
8211
8355
|
* Disallow `instanceof` with built-in objects
|
|
8212
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8356
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-instanceof-builtins.md
|
|
8213
8357
|
*/
|
|
8214
8358
|
'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>
|
|
8215
8359
|
/**
|
|
8216
8360
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
8217
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8361
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-invalid-fetch-options.md
|
|
8218
8362
|
*/
|
|
8219
8363
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
|
|
8220
8364
|
/**
|
|
8221
8365
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
8222
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8366
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-invalid-remove-event-listener.md
|
|
8223
8367
|
*/
|
|
8224
8368
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
8225
8369
|
/**
|
|
8226
8370
|
* Disallow identifiers starting with `new` or `class`.
|
|
8227
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8371
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-keyword-prefix.md
|
|
8228
8372
|
*/
|
|
8229
8373
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
8230
8374
|
/**
|
|
8231
8375
|
* Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
8232
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8376
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-length-as-slice-end.md
|
|
8233
8377
|
*/
|
|
8234
8378
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
|
|
8235
8379
|
/**
|
|
8236
8380
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
8237
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8381
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-lonely-if.md
|
|
8238
8382
|
*/
|
|
8239
8383
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
|
|
8240
8384
|
/**
|
|
8241
8385
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
8242
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8386
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-magic-array-flat-depth.md
|
|
8243
8387
|
*/
|
|
8244
8388
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
8245
8389
|
/**
|
|
8246
8390
|
* Disallow named usage of default import and export.
|
|
8247
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8391
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-named-default.md
|
|
8248
8392
|
*/
|
|
8249
8393
|
'unicorn/no-named-default'?: Linter.RuleEntry<[]>
|
|
8250
8394
|
/**
|
|
8251
8395
|
* Disallow negated conditions.
|
|
8252
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8396
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-negated-condition.md
|
|
8253
8397
|
*/
|
|
8254
8398
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
8255
8399
|
/**
|
|
8256
8400
|
* Disallow negated expression in equality check.
|
|
8257
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8401
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-negation-in-equality-check.md
|
|
8258
8402
|
*/
|
|
8259
8403
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
|
|
8260
8404
|
/**
|
|
8261
8405
|
* Disallow nested ternary expressions.
|
|
8262
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8406
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-nested-ternary.md
|
|
8263
8407
|
*/
|
|
8264
8408
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
8265
8409
|
/**
|
|
8266
8410
|
* Disallow `new Array()`.
|
|
8267
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8411
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-new-array.md
|
|
8268
8412
|
*/
|
|
8269
8413
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
8270
8414
|
/**
|
|
8271
8415
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
8272
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8416
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-new-buffer.md
|
|
8273
8417
|
*/
|
|
8274
8418
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
8275
8419
|
/**
|
|
8276
8420
|
* Disallow the use of the `null` literal.
|
|
8277
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8421
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-null.md
|
|
8278
8422
|
*/
|
|
8279
8423
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
8280
8424
|
/**
|
|
8281
8425
|
* Disallow the use of objects as default parameters.
|
|
8282
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8426
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-object-as-default-parameter.md
|
|
8283
8427
|
*/
|
|
8284
8428
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
8285
8429
|
/**
|
|
8286
8430
|
* Disallow `process.exit()`.
|
|
8287
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8431
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-process-exit.md
|
|
8288
8432
|
*/
|
|
8289
8433
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
8290
8434
|
/**
|
|
8291
8435
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
8292
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8436
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-single-promise-in-promise-methods.md
|
|
8293
8437
|
*/
|
|
8294
8438
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
8295
8439
|
/**
|
|
8296
8440
|
* Disallow classes that only have static members.
|
|
8297
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8441
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-static-only-class.md
|
|
8298
8442
|
*/
|
|
8299
8443
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
8300
8444
|
/**
|
|
8301
8445
|
* Disallow `then` property.
|
|
8302
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8446
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-thenable.md
|
|
8303
8447
|
*/
|
|
8304
8448
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
8305
8449
|
/**
|
|
8306
8450
|
* Disallow assigning `this` to a variable.
|
|
8307
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8451
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-this-assignment.md
|
|
8308
8452
|
*/
|
|
8309
8453
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
8310
8454
|
/**
|
|
8311
8455
|
* Disallow comparing `undefined` using `typeof`.
|
|
8312
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8456
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-typeof-undefined.md
|
|
8313
8457
|
*/
|
|
8314
8458
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
8315
8459
|
/**
|
|
8316
8460
|
* Disallow awaiting non-promise values.
|
|
8317
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8461
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-unnecessary-await.md
|
|
8318
8462
|
*/
|
|
8319
8463
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
8320
8464
|
/**
|
|
8321
8465
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
8322
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8466
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-unnecessary-polyfills.md
|
|
8323
8467
|
*/
|
|
8324
8468
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
8325
8469
|
/**
|
|
8326
8470
|
* Disallow unreadable array destructuring.
|
|
8327
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8471
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-unreadable-array-destructuring.md
|
|
8328
8472
|
*/
|
|
8329
8473
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
8330
8474
|
/**
|
|
8331
8475
|
* Disallow unreadable IIFEs.
|
|
8332
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8476
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-unreadable-iife.md
|
|
8333
8477
|
*/
|
|
8334
8478
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
8335
8479
|
/**
|
|
8336
8480
|
* Disallow unused object properties.
|
|
8337
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8481
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-unused-properties.md
|
|
8338
8482
|
*/
|
|
8339
8483
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
8340
8484
|
/**
|
|
8341
8485
|
* Disallow useless fallback when spreading in object literals.
|
|
8342
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8486
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-useless-fallback-in-spread.md
|
|
8343
8487
|
*/
|
|
8344
8488
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
8345
8489
|
/**
|
|
8346
8490
|
* Disallow useless array length check.
|
|
8347
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8491
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-useless-length-check.md
|
|
8348
8492
|
*/
|
|
8349
8493
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
8350
8494
|
/**
|
|
8351
8495
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
8352
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8496
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-useless-promise-resolve-reject.md
|
|
8353
8497
|
*/
|
|
8354
8498
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
8355
8499
|
/**
|
|
8356
8500
|
* Disallow unnecessary spread.
|
|
8357
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8501
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-useless-spread.md
|
|
8358
8502
|
*/
|
|
8359
8503
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
8360
8504
|
/**
|
|
8361
8505
|
* Disallow useless case in switch statements.
|
|
8362
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8506
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-useless-switch-case.md
|
|
8363
8507
|
*/
|
|
8364
8508
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
8365
8509
|
/**
|
|
8366
8510
|
* Disallow useless `undefined`.
|
|
8367
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8511
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-useless-undefined.md
|
|
8368
8512
|
*/
|
|
8369
8513
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
8370
8514
|
/**
|
|
8371
8515
|
* Disallow number literals with zero fractions or dangling dots.
|
|
8372
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8516
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/no-zero-fractions.md
|
|
8373
8517
|
*/
|
|
8374
8518
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
8375
8519
|
/**
|
|
8376
8520
|
* Enforce proper case for numeric literals.
|
|
8377
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8521
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/number-literal-case.md
|
|
8378
8522
|
*/
|
|
8379
|
-
'unicorn/number-literal-case'?: Linter.RuleEntry<
|
|
8523
|
+
'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>
|
|
8380
8524
|
/**
|
|
8381
8525
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
8382
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8526
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/numeric-separators-style.md
|
|
8383
8527
|
*/
|
|
8384
8528
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
8385
8529
|
/**
|
|
8386
8530
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
8387
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8531
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-add-event-listener.md
|
|
8388
8532
|
*/
|
|
8389
8533
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
8390
8534
|
/**
|
|
8391
8535
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
8392
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8536
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-array-find.md
|
|
8393
8537
|
*/
|
|
8394
8538
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
8395
8539
|
/**
|
|
8396
8540
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
8397
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8541
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-array-flat.md
|
|
8398
8542
|
*/
|
|
8399
8543
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
8400
8544
|
/**
|
|
8401
8545
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
8402
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8546
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-array-flat-map.md
|
|
8403
8547
|
*/
|
|
8404
8548
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
8405
8549
|
/**
|
|
8406
8550
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
8407
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8551
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-array-index-of.md
|
|
8408
8552
|
*/
|
|
8409
8553
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
8410
8554
|
/**
|
|
8411
8555
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
8412
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8556
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-array-some.md
|
|
8413
8557
|
*/
|
|
8414
8558
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
8415
8559
|
/**
|
|
8416
8560
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
8417
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8561
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-at.md
|
|
8418
8562
|
*/
|
|
8419
8563
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
8420
8564
|
/**
|
|
8421
8565
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
8422
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8566
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-blob-reading-methods.md
|
|
8423
8567
|
*/
|
|
8424
8568
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
8425
8569
|
/**
|
|
8426
8570
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
8427
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8571
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-code-point.md
|
|
8428
8572
|
*/
|
|
8429
8573
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
8430
8574
|
/**
|
|
8431
8575
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
8432
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8576
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-date-now.md
|
|
8433
8577
|
*/
|
|
8434
8578
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
8435
8579
|
/**
|
|
8436
8580
|
* Prefer default parameters over reassignment.
|
|
8437
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8581
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-default-parameters.md
|
|
8438
8582
|
*/
|
|
8439
8583
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
8440
8584
|
/**
|
|
8441
8585
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
8442
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8586
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-dom-node-append.md
|
|
8443
8587
|
*/
|
|
8444
8588
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
8445
8589
|
/**
|
|
8446
8590
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
8447
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8591
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-dom-node-dataset.md
|
|
8448
8592
|
*/
|
|
8449
8593
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
8450
8594
|
/**
|
|
8451
8595
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
8452
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8596
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-dom-node-remove.md
|
|
8453
8597
|
*/
|
|
8454
8598
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
8455
8599
|
/**
|
|
8456
8600
|
* Prefer `.textContent` over `.innerText`.
|
|
8457
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8601
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-dom-node-text-content.md
|
|
8458
8602
|
*/
|
|
8459
8603
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
8460
8604
|
/**
|
|
8461
8605
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
8462
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8606
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-event-target.md
|
|
8463
8607
|
*/
|
|
8464
8608
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
8465
8609
|
/**
|
|
8466
8610
|
* Prefer `export…from` when re-exporting.
|
|
8467
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8611
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-export-from.md
|
|
8468
8612
|
*/
|
|
8469
8613
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
8470
8614
|
/**
|
|
8471
8615
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
8472
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8616
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-global-this.md
|
|
8473
8617
|
*/
|
|
8474
8618
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
|
|
8475
8619
|
/**
|
|
8476
8620
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
8477
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8621
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-includes.md
|
|
8478
8622
|
*/
|
|
8479
8623
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
8480
8624
|
/**
|
|
8481
8625
|
* Prefer reading a JSON file as a buffer.
|
|
8482
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8626
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-json-parse-buffer.md
|
|
8483
8627
|
*/
|
|
8484
8628
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
8485
8629
|
/**
|
|
8486
8630
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
8487
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8631
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-keyboard-event-key.md
|
|
8488
8632
|
*/
|
|
8489
8633
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
8490
8634
|
/**
|
|
8491
8635
|
* Prefer using a logical operator over a ternary.
|
|
8492
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8636
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-logical-operator-over-ternary.md
|
|
8493
8637
|
*/
|
|
8494
8638
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
8495
8639
|
/**
|
|
8496
8640
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
8497
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8641
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-math-min-max.md
|
|
8498
8642
|
*/
|
|
8499
8643
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
|
|
8500
8644
|
/**
|
|
8501
8645
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
8502
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8646
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-math-trunc.md
|
|
8503
8647
|
*/
|
|
8504
8648
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
8505
8649
|
/**
|
|
8506
8650
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
8507
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8651
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-modern-dom-apis.md
|
|
8508
8652
|
*/
|
|
8509
8653
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
8510
8654
|
/**
|
|
8511
8655
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
8512
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8656
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-modern-math-apis.md
|
|
8513
8657
|
*/
|
|
8514
8658
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
8515
8659
|
/**
|
|
8516
8660
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
8517
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8661
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-module.md
|
|
8518
8662
|
*/
|
|
8519
8663
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
8520
8664
|
/**
|
|
8521
8665
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
8522
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8666
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-native-coercion-functions.md
|
|
8523
8667
|
*/
|
|
8524
8668
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
8525
8669
|
/**
|
|
8526
8670
|
* Prefer negative index over `.length - index` when possible.
|
|
8527
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8671
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-negative-index.md
|
|
8528
8672
|
*/
|
|
8529
8673
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
8530
8674
|
/**
|
|
8531
8675
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
8532
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8676
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-node-protocol.md
|
|
8533
8677
|
*/
|
|
8534
8678
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
8535
8679
|
/**
|
|
8536
8680
|
* Prefer `Number` static properties over global ones.
|
|
8537
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8681
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-number-properties.md
|
|
8538
8682
|
*/
|
|
8539
8683
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
8540
8684
|
/**
|
|
8541
8685
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
8542
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8686
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-object-from-entries.md
|
|
8543
8687
|
*/
|
|
8544
8688
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
8545
8689
|
/**
|
|
8546
8690
|
* Prefer omitting the `catch` binding parameter.
|
|
8547
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8691
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-optional-catch-binding.md
|
|
8548
8692
|
*/
|
|
8549
8693
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
8550
8694
|
/**
|
|
8551
8695
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
8552
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8696
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-prototype-methods.md
|
|
8553
8697
|
*/
|
|
8554
8698
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
8555
8699
|
/**
|
|
8556
8700
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
8557
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8701
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-query-selector.md
|
|
8558
8702
|
*/
|
|
8559
8703
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
8560
8704
|
/**
|
|
8561
8705
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
8562
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8706
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-reflect-apply.md
|
|
8563
8707
|
*/
|
|
8564
8708
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
8565
8709
|
/**
|
|
8566
8710
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
8567
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8711
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-regexp-test.md
|
|
8568
8712
|
*/
|
|
8569
8713
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
8570
8714
|
/**
|
|
8571
8715
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
8572
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8716
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-set-has.md
|
|
8573
8717
|
*/
|
|
8574
8718
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
8575
8719
|
/**
|
|
8576
8720
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
8577
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8721
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-set-size.md
|
|
8578
8722
|
*/
|
|
8579
8723
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
8580
8724
|
/**
|
|
8581
8725
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
8582
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8726
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-spread.md
|
|
8583
8727
|
*/
|
|
8584
8728
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
8585
8729
|
/**
|
|
8586
8730
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
8587
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8731
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-string-raw.md
|
|
8588
8732
|
*/
|
|
8589
8733
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
|
|
8590
8734
|
/**
|
|
8591
8735
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
8592
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8736
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-string-replace-all.md
|
|
8593
8737
|
*/
|
|
8594
8738
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
8595
8739
|
/**
|
|
8596
8740
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
8597
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8741
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-string-slice.md
|
|
8598
8742
|
*/
|
|
8599
8743
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
8600
8744
|
/**
|
|
8601
8745
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
8602
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8746
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-string-starts-ends-with.md
|
|
8603
8747
|
*/
|
|
8604
8748
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
8605
8749
|
/**
|
|
8606
8750
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
8607
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8751
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-string-trim-start-end.md
|
|
8608
8752
|
*/
|
|
8609
8753
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
|
|
8610
8754
|
/**
|
|
8611
8755
|
* Prefer using `structuredClone` to create a deep clone.
|
|
8612
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8756
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-structured-clone.md
|
|
8613
8757
|
*/
|
|
8614
8758
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
|
|
8615
8759
|
/**
|
|
8616
8760
|
* Prefer `switch` over multiple `else-if`.
|
|
8617
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8761
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-switch.md
|
|
8618
8762
|
*/
|
|
8619
8763
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
8620
8764
|
/**
|
|
8621
8765
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
8622
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8766
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-ternary.md
|
|
8623
8767
|
*/
|
|
8624
8768
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
8625
8769
|
/**
|
|
8626
8770
|
* Prefer top-level await over top-level promises and async function calls.
|
|
8627
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8771
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-top-level-await.md
|
|
8628
8772
|
*/
|
|
8629
8773
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
8630
8774
|
/**
|
|
8631
8775
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
8632
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8776
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prefer-type-error.md
|
|
8633
8777
|
*/
|
|
8634
8778
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
8635
8779
|
/**
|
|
8636
8780
|
* Prevent abbreviations.
|
|
8637
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8781
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/prevent-abbreviations.md
|
|
8638
8782
|
*/
|
|
8639
8783
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
8640
8784
|
/**
|
|
8641
8785
|
* Enforce consistent relative URL style.
|
|
8642
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8786
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/relative-url-style.md
|
|
8643
8787
|
*/
|
|
8644
8788
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
8645
8789
|
/**
|
|
8646
8790
|
* Enforce using the separator argument with `Array#join()`.
|
|
8647
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8791
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/require-array-join-separator.md
|
|
8648
8792
|
*/
|
|
8649
8793
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
8650
8794
|
/**
|
|
8651
8795
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
8652
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8796
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/require-number-to-fixed-digits-argument.md
|
|
8653
8797
|
*/
|
|
8654
8798
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
8655
8799
|
/**
|
|
8656
8800
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
8657
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8801
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/require-post-message-target-origin.md
|
|
8658
8802
|
*/
|
|
8659
8803
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
8660
8804
|
/**
|
|
8661
8805
|
* Enforce better string content.
|
|
8662
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8806
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/string-content.md
|
|
8663
8807
|
*/
|
|
8664
8808
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
8665
8809
|
/**
|
|
8666
8810
|
* Enforce consistent brace style for `case` clauses.
|
|
8667
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8811
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/switch-case-braces.md
|
|
8668
8812
|
*/
|
|
8669
8813
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
8670
8814
|
/**
|
|
8671
8815
|
* Fix whitespace-insensitive template indentation.
|
|
8672
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8816
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/template-indent.md
|
|
8673
8817
|
*/
|
|
8674
8818
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
8675
8819
|
/**
|
|
8676
8820
|
* Enforce consistent case for text encoding identifiers.
|
|
8677
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8821
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/text-encoding-identifier-case.md
|
|
8678
8822
|
*/
|
|
8679
8823
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
|
|
8680
8824
|
/**
|
|
8681
8825
|
* Require `new` when creating an error.
|
|
8682
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8826
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v58.0.0/docs/rules/throw-new-error.md
|
|
8683
8827
|
*/
|
|
8684
8828
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
8685
8829
|
/**
|
|
@@ -9063,6 +9207,26 @@ type EslintReactDomNoUnknownProperty = []|[{
|
|
|
9063
9207
|
ignore?: string[]
|
|
9064
9208
|
requireDataLowercase?: boolean
|
|
9065
9209
|
}]
|
|
9210
|
+
// ----- @eslint-react/naming-convention/component-name -----
|
|
9211
|
+
type EslintReactNamingConventionComponentName = []|[(("PascalCase" | "CONSTANT_CASE") | {
|
|
9212
|
+
allowAllCaps?: boolean
|
|
9213
|
+
allowLeadingUnderscore?: boolean
|
|
9214
|
+
allowNamespace?: boolean
|
|
9215
|
+
excepts?: string[]
|
|
9216
|
+
rule?: ("PascalCase" | "CONSTANT_CASE")
|
|
9217
|
+
})]
|
|
9218
|
+
// ----- @eslint-react/naming-convention/filename -----
|
|
9219
|
+
type EslintReactNamingConventionFilename = []|[(("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
9220
|
+
excepts?: string[]
|
|
9221
|
+
extensions?: string[]
|
|
9222
|
+
rule?: ("PascalCase" | "camelCase" | "kebab-case" | "snake_case")
|
|
9223
|
+
})]
|
|
9224
|
+
// ----- @eslint-react/naming-convention/filename-extension -----
|
|
9225
|
+
type EslintReactNamingConventionFilenameExtension = []|[(("always" | "as-needed") | {
|
|
9226
|
+
allow?: ("always" | "as-needed")
|
|
9227
|
+
extensions?: string[]
|
|
9228
|
+
ignoreFilesWithoutCode?: boolean
|
|
9229
|
+
})]
|
|
9066
9230
|
// ----- @eslint-react/no-useless-fragment -----
|
|
9067
9231
|
type EslintReactNoUselessFragment = []|[{
|
|
9068
9232
|
|
|
@@ -11155,6 +11319,8 @@ type TypescriptEslintPreferNullishCoalescing = []|[{
|
|
|
11155
11319
|
|
|
11156
11320
|
ignoreConditionalTests?: boolean
|
|
11157
11321
|
|
|
11322
|
+
ignoreIfStatements?: boolean
|
|
11323
|
+
|
|
11158
11324
|
ignoreMixedLogicalExpressions?: boolean
|
|
11159
11325
|
|
|
11160
11326
|
ignorePrimitives?: ({
|
|
@@ -11673,6 +11839,8 @@ type CapitalizedComments = []|[("always" | "never")]|[("always" | "never"), ({
|
|
|
11673
11839
|
type ClassMethodsUseThis = []|[{
|
|
11674
11840
|
exceptMethods?: string[]
|
|
11675
11841
|
enforceForClassFields?: boolean
|
|
11842
|
+
ignoreOverrideMethods?: boolean
|
|
11843
|
+
ignoreClassesWithImplements?: ("all" | "public-fields")
|
|
11676
11844
|
}]
|
|
11677
11845
|
// ----- comma-dangle -----
|
|
11678
11846
|
type CommaDangle = []|[(_CommaDangleValue | {
|
|
@@ -13619,7 +13787,7 @@ type NNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
13619
13787
|
type NNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
13620
13788
|
version?: string
|
|
13621
13789
|
allowExperimental?: boolean
|
|
13622
|
-
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.report.excludeEnv" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.Network.loadingFailed" | "inspector/promises.Network.loadingFinished" | "inspector/promises.Network.requestWillBeSent" | "inspector/promises.Network.responseReceived" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.findPackageJSON" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.isBuiltin" | "module.register" | "module.stripTypeScriptTypes" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.findPackageJSON" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.stripTypeScriptTypes" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.after" | "test.afterEach" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "timers/promises.scheduler.wait" | "timers/promises.scheduler.yield" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getCallSites" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib")[]
|
|
13790
|
+
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.report.excludeEnv" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.Network.loadingFailed" | "inspector/promises.Network.loadingFinished" | "inspector/promises.Network.requestWillBeSent" | "inspector/promises.Network.responseReceived" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.findPackageJSON" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.isBuiltin" | "module.register" | "module.stripTypeScriptTypes" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.findPackageJSON" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.stripTypeScriptTypes" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.after" | "test.afterEach" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "timers/promises.scheduler.wait" | "timers/promises.scheduler.yield" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getCallSites" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib" | "import.meta.resolve" | "import.meta.dirname" | "import.meta.filename")[]
|
|
13623
13791
|
}]
|
|
13624
13792
|
// ----- n/prefer-global/buffer -----
|
|
13625
13793
|
type NPreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -14615,7 +14783,7 @@ type PerfectionistSortEnums = []|[{
|
|
|
14615
14783
|
})[]
|
|
14616
14784
|
}]
|
|
14617
14785
|
// ----- perfectionist/sort-exports -----
|
|
14618
|
-
type PerfectionistSortExports =
|
|
14786
|
+
type PerfectionistSortExports = {
|
|
14619
14787
|
|
|
14620
14788
|
fallbackSort?: {
|
|
14621
14789
|
|
|
@@ -14639,6 +14807,68 @@ type PerfectionistSortExports = []|[{
|
|
|
14639
14807
|
|
|
14640
14808
|
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
14641
14809
|
|
|
14810
|
+
customGroups?: ({
|
|
14811
|
+
|
|
14812
|
+
newlinesInside?: ("always" | "never")
|
|
14813
|
+
|
|
14814
|
+
fallbackSort?: {
|
|
14815
|
+
|
|
14816
|
+
order?: ("asc" | "desc")
|
|
14817
|
+
|
|
14818
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14819
|
+
[k: string]: unknown | undefined
|
|
14820
|
+
}
|
|
14821
|
+
|
|
14822
|
+
groupName?: string
|
|
14823
|
+
|
|
14824
|
+
order?: ("asc" | "desc")
|
|
14825
|
+
|
|
14826
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14827
|
+
anyOf?: {
|
|
14828
|
+
|
|
14829
|
+
modifiers?: ("value" | "type")[]
|
|
14830
|
+
|
|
14831
|
+
selector?: "export"
|
|
14832
|
+
|
|
14833
|
+
elementNamePattern?: (({
|
|
14834
|
+
pattern?: string
|
|
14835
|
+
flags?: string
|
|
14836
|
+
} | string)[] | ({
|
|
14837
|
+
pattern?: string
|
|
14838
|
+
flags?: string
|
|
14839
|
+
} | string))
|
|
14840
|
+
}[]
|
|
14841
|
+
} | {
|
|
14842
|
+
|
|
14843
|
+
newlinesInside?: ("always" | "never")
|
|
14844
|
+
|
|
14845
|
+
fallbackSort?: {
|
|
14846
|
+
|
|
14847
|
+
order?: ("asc" | "desc")
|
|
14848
|
+
|
|
14849
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14850
|
+
[k: string]: unknown | undefined
|
|
14851
|
+
}
|
|
14852
|
+
|
|
14853
|
+
groupName?: string
|
|
14854
|
+
|
|
14855
|
+
order?: ("asc" | "desc")
|
|
14856
|
+
|
|
14857
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
14858
|
+
|
|
14859
|
+
modifiers?: ("value" | "type")[]
|
|
14860
|
+
|
|
14861
|
+
selector?: "export"
|
|
14862
|
+
|
|
14863
|
+
elementNamePattern?: (({
|
|
14864
|
+
pattern?: string
|
|
14865
|
+
flags?: string
|
|
14866
|
+
} | string)[] | ({
|
|
14867
|
+
pattern?: string
|
|
14868
|
+
flags?: string
|
|
14869
|
+
} | string))
|
|
14870
|
+
})[]
|
|
14871
|
+
|
|
14642
14872
|
partitionByComment?: (boolean | (({
|
|
14643
14873
|
pattern?: string
|
|
14644
14874
|
flags?: string
|
|
@@ -14663,7 +14893,14 @@ type PerfectionistSortExports = []|[{
|
|
|
14663
14893
|
})
|
|
14664
14894
|
|
|
14665
14895
|
partitionByNewLine?: boolean
|
|
14666
|
-
|
|
14896
|
+
|
|
14897
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
14898
|
+
|
|
14899
|
+
groups?: (string | string[] | {
|
|
14900
|
+
|
|
14901
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
14902
|
+
})[]
|
|
14903
|
+
}[]
|
|
14667
14904
|
// ----- perfectionist/sort-heritage-clauses -----
|
|
14668
14905
|
type PerfectionistSortHeritageClauses = []|[{
|
|
14669
14906
|
|
|
@@ -14891,6 +15128,8 @@ type PerfectionistSortInterfaces = {
|
|
|
14891
15128
|
} | string))
|
|
14892
15129
|
sortBy?: ("name" | "value")
|
|
14893
15130
|
})[])
|
|
15131
|
+
|
|
15132
|
+
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
14894
15133
|
useConfigurationIf?: {
|
|
14895
15134
|
|
|
14896
15135
|
allNamesMatchPattern?: (({
|
|
@@ -14910,8 +15149,6 @@ type PerfectionistSortInterfaces = {
|
|
|
14910
15149
|
} | string))
|
|
14911
15150
|
}
|
|
14912
15151
|
|
|
14913
|
-
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
14914
|
-
|
|
14915
15152
|
partitionByComment?: (boolean | (({
|
|
14916
15153
|
pattern?: string
|
|
14917
15154
|
flags?: string
|
|
@@ -15030,6 +15267,85 @@ type PerfectionistSortJsxProps = {
|
|
|
15030
15267
|
order?: ("asc" | "desc")
|
|
15031
15268
|
|
|
15032
15269
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15270
|
+
customGroups?: ({
|
|
15271
|
+
[k: string]: (string | string[]) | undefined
|
|
15272
|
+
} | ({
|
|
15273
|
+
|
|
15274
|
+
newlinesInside?: ("always" | "never")
|
|
15275
|
+
|
|
15276
|
+
fallbackSort?: {
|
|
15277
|
+
|
|
15278
|
+
order?: ("asc" | "desc")
|
|
15279
|
+
|
|
15280
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15281
|
+
[k: string]: unknown | undefined
|
|
15282
|
+
}
|
|
15283
|
+
|
|
15284
|
+
groupName?: string
|
|
15285
|
+
|
|
15286
|
+
order?: ("asc" | "desc")
|
|
15287
|
+
|
|
15288
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15289
|
+
anyOf?: {
|
|
15290
|
+
|
|
15291
|
+
modifiers?: ("shorthand" | "multiline")[]
|
|
15292
|
+
|
|
15293
|
+
selector?: ("multiline" | "prop" | "shorthand")
|
|
15294
|
+
|
|
15295
|
+
elementValuePattern?: (({
|
|
15296
|
+
pattern?: string
|
|
15297
|
+
flags?: string
|
|
15298
|
+
} | string)[] | ({
|
|
15299
|
+
pattern?: string
|
|
15300
|
+
flags?: string
|
|
15301
|
+
} | string))
|
|
15302
|
+
|
|
15303
|
+
elementNamePattern?: (({
|
|
15304
|
+
pattern?: string
|
|
15305
|
+
flags?: string
|
|
15306
|
+
} | string)[] | ({
|
|
15307
|
+
pattern?: string
|
|
15308
|
+
flags?: string
|
|
15309
|
+
} | string))
|
|
15310
|
+
}[]
|
|
15311
|
+
} | {
|
|
15312
|
+
|
|
15313
|
+
newlinesInside?: ("always" | "never")
|
|
15314
|
+
|
|
15315
|
+
fallbackSort?: {
|
|
15316
|
+
|
|
15317
|
+
order?: ("asc" | "desc")
|
|
15318
|
+
|
|
15319
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15320
|
+
[k: string]: unknown | undefined
|
|
15321
|
+
}
|
|
15322
|
+
|
|
15323
|
+
groupName?: string
|
|
15324
|
+
|
|
15325
|
+
order?: ("asc" | "desc")
|
|
15326
|
+
|
|
15327
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
15328
|
+
|
|
15329
|
+
modifiers?: ("shorthand" | "multiline")[]
|
|
15330
|
+
|
|
15331
|
+
selector?: ("multiline" | "prop" | "shorthand")
|
|
15332
|
+
|
|
15333
|
+
elementValuePattern?: (({
|
|
15334
|
+
pattern?: string
|
|
15335
|
+
flags?: string
|
|
15336
|
+
} | string)[] | ({
|
|
15337
|
+
pattern?: string
|
|
15338
|
+
flags?: string
|
|
15339
|
+
} | string))
|
|
15340
|
+
|
|
15341
|
+
elementNamePattern?: (({
|
|
15342
|
+
pattern?: string
|
|
15343
|
+
flags?: string
|
|
15344
|
+
} | string)[] | ({
|
|
15345
|
+
pattern?: string
|
|
15346
|
+
flags?: string
|
|
15347
|
+
} | string))
|
|
15348
|
+
})[])
|
|
15033
15349
|
useConfigurationIf?: {
|
|
15034
15350
|
|
|
15035
15351
|
allNamesMatchPattern?: (({
|
|
@@ -15053,10 +15369,6 @@ type PerfectionistSortJsxProps = {
|
|
|
15053
15369
|
|
|
15054
15370
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
15055
15371
|
|
|
15056
|
-
customGroups?: {
|
|
15057
|
-
[k: string]: (string | string[]) | undefined
|
|
15058
|
-
}
|
|
15059
|
-
|
|
15060
15372
|
ignorePattern?: (({
|
|
15061
15373
|
pattern?: string
|
|
15062
15374
|
flags?: string
|
|
@@ -15531,6 +15843,8 @@ type PerfectionistSortObjectTypes = {
|
|
|
15531
15843
|
} | string))
|
|
15532
15844
|
sortBy?: ("name" | "value")
|
|
15533
15845
|
})[])
|
|
15846
|
+
|
|
15847
|
+
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
15534
15848
|
useConfigurationIf?: {
|
|
15535
15849
|
|
|
15536
15850
|
allNamesMatchPattern?: (({
|
|
@@ -15550,8 +15864,6 @@ type PerfectionistSortObjectTypes = {
|
|
|
15550
15864
|
} | string))
|
|
15551
15865
|
}
|
|
15552
15866
|
|
|
15553
|
-
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
15554
|
-
|
|
15555
15867
|
partitionByComment?: (boolean | (({
|
|
15556
15868
|
pattern?: string
|
|
15557
15869
|
flags?: string
|
|
@@ -16471,6 +16783,8 @@ type UnicornCatchErrorName = []|[{
|
|
|
16471
16783
|
type UnicornConsistentFunctionScoping = []|[{
|
|
16472
16784
|
checkArrowFunctions?: boolean
|
|
16473
16785
|
}]
|
|
16786
|
+
// ----- unicorn/escape-case -----
|
|
16787
|
+
type UnicornEscapeCase = []|[("uppercase" | "lowercase")]
|
|
16474
16788
|
// ----- unicorn/expiring-todo-comments -----
|
|
16475
16789
|
type UnicornExpiringTodoComments = []|[{
|
|
16476
16790
|
terms?: string[]
|
|
@@ -16555,6 +16869,10 @@ type UnicornNoUselessUndefined = []|[{
|
|
|
16555
16869
|
checkArguments?: boolean
|
|
16556
16870
|
checkArrowFunctionBody?: boolean
|
|
16557
16871
|
}]
|
|
16872
|
+
// ----- unicorn/number-literal-case -----
|
|
16873
|
+
type UnicornNumberLiteralCase = []|[{
|
|
16874
|
+
hexadecimalValue?: ("uppercase" | "lowercase")
|
|
16875
|
+
}]
|
|
16558
16876
|
// ----- unicorn/numeric-separators-style -----
|
|
16559
16877
|
type UnicornNumericSeparatorsStyle = []|[{
|
|
16560
16878
|
binary?: {
|
|
@@ -16926,7 +17244,7 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
16926
17244
|
"import-x/resolver-next": {
|
|
16927
17245
|
interfaceVersion: number;
|
|
16928
17246
|
name: string;
|
|
16929
|
-
resolve(source: string, file: string):
|
|
17247
|
+
resolve(source: string, file: string): ResolvedResult;
|
|
16930
17248
|
}[];
|
|
16931
17249
|
};
|
|
16932
17250
|
} | {
|
|
@@ -16970,16 +17288,14 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
16970
17288
|
"import-x/no-duplicates": 1;
|
|
16971
17289
|
};
|
|
16972
17290
|
};
|
|
16973
|
-
"stage-0":
|
|
17291
|
+
"stage-0": eslint_plugin_import_x_types.PluginConfig;
|
|
16974
17292
|
react: {
|
|
16975
17293
|
settings: {
|
|
16976
17294
|
"import-x/extensions": (".js" | ".jsx")[];
|
|
16977
17295
|
};
|
|
16978
|
-
|
|
16979
|
-
|
|
16980
|
-
|
|
16981
|
-
jsx: true;
|
|
16982
|
-
};
|
|
17296
|
+
parserOptions: {
|
|
17297
|
+
ecmaFeatures: {
|
|
17298
|
+
jsx: true;
|
|
16983
17299
|
};
|
|
16984
17300
|
};
|
|
16985
17301
|
};
|
|
@@ -17014,300 +17330,65 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
17014
17330
|
};
|
|
17015
17331
|
};
|
|
17016
17332
|
flatConfigs: {
|
|
17017
|
-
recommended:
|
|
17018
|
-
errors:
|
|
17019
|
-
warnings:
|
|
17020
|
-
"stage-0":
|
|
17021
|
-
react:
|
|
17022
|
-
"react-native":
|
|
17023
|
-
electron:
|
|
17024
|
-
typescript:
|
|
17333
|
+
recommended: eslint_plugin_import_x_types.PluginFlatConfig;
|
|
17334
|
+
errors: eslint_plugin_import_x_types.PluginFlatConfig;
|
|
17335
|
+
warnings: eslint_plugin_import_x_types.PluginFlatConfig;
|
|
17336
|
+
"stage-0": eslint_plugin_import_x_types.PluginFlatConfig;
|
|
17337
|
+
react: eslint_plugin_import_x_types.PluginFlatConfig;
|
|
17338
|
+
"react-native": eslint_plugin_import_x_types.PluginFlatConfig;
|
|
17339
|
+
electron: eslint_plugin_import_x_types.PluginFlatConfig;
|
|
17340
|
+
typescript: eslint_plugin_import_x_types.PluginFlatConfig;
|
|
17025
17341
|
};
|
|
17026
17342
|
rules: {
|
|
17027
|
-
"no-unresolved": _typescript_eslint_utils_ts_eslint.RuleModule<
|
|
17028
|
-
|
|
17029
|
-
|
|
17030
|
-
|
|
17031
|
-
|
|
17032
|
-
|
|
17033
|
-
|
|
17034
|
-
|
|
17035
|
-
|
|
17036
|
-
|
|
17037
|
-
|
|
17038
|
-
|
|
17039
|
-
|
|
17040
|
-
|
|
17041
|
-
|
|
17042
|
-
|
|
17043
|
-
|
|
17044
|
-
|
|
17045
|
-
|
|
17046
|
-
|
|
17047
|
-
|
|
17048
|
-
"no-
|
|
17049
|
-
|
|
17050
|
-
|
|
17051
|
-
|
|
17052
|
-
|
|
17053
|
-
|
|
17054
|
-
|
|
17055
|
-
|
|
17056
|
-
|
|
17057
|
-
|
|
17058
|
-
|
|
17059
|
-
|
|
17060
|
-
|
|
17061
|
-
|
|
17062
|
-
|
|
17063
|
-
|
|
17064
|
-
|
|
17065
|
-
|
|
17066
|
-
|
|
17067
|
-
|
|
17068
|
-
|
|
17069
|
-
|
|
17070
|
-
|
|
17071
|
-
|
|
17072
|
-
|
|
17073
|
-
"no-restricted-paths": _typescript_eslint_utils_ts_eslint.RuleModule<"path" | "mixedGlob" | "glob" | "zone", [({
|
|
17074
|
-
basePath?: string;
|
|
17075
|
-
zones?: Array<{
|
|
17076
|
-
from: eslint_plugin_import_x_types_js.Arrayable<string>;
|
|
17077
|
-
target: eslint_plugin_import_x_types_js.Arrayable<string>;
|
|
17078
|
-
message?: string;
|
|
17079
|
-
except?: string[];
|
|
17080
|
-
}>;
|
|
17081
|
-
} | undefined)?], {
|
|
17082
|
-
category?: string;
|
|
17083
|
-
recommended?: true;
|
|
17084
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17085
|
-
"no-internal-modules": _typescript_eslint_utils_ts_eslint.RuleModule<"noAllowed", [({
|
|
17086
|
-
allow?: string[];
|
|
17087
|
-
forbid?: string[];
|
|
17088
|
-
} | undefined)?], {
|
|
17089
|
-
category?: string;
|
|
17090
|
-
recommended?: true;
|
|
17091
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17092
|
-
"group-exports": _typescript_eslint_utils_ts_eslint.RuleModule<"ExportNamedDeclaration" | "AssignmentExpression", [], {
|
|
17093
|
-
category?: string;
|
|
17094
|
-
recommended?: true;
|
|
17095
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17096
|
-
"no-relative-packages": _typescript_eslint_utils_ts_eslint.RuleModule<"noAllowed", [(eslint_plugin_import_x_utils_module_visitor_js.ModuleOptions | undefined)?], {
|
|
17097
|
-
category?: string;
|
|
17098
|
-
recommended?: true;
|
|
17099
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17100
|
-
"no-relative-parent-imports": _typescript_eslint_utils_ts_eslint.RuleModule<"noAllowed", [(eslint_plugin_import_x_utils_module_visitor_js.ModuleOptions | undefined)?], {
|
|
17101
|
-
category?: string;
|
|
17102
|
-
recommended?: true;
|
|
17103
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17104
|
-
"consistent-type-specifier-style": _typescript_eslint_utils_ts_eslint.RuleModule<"inline" | "topLevel", [(("prefer-inline" | "prefer-top-level") | undefined)?], {
|
|
17105
|
-
category?: string;
|
|
17106
|
-
recommended?: true;
|
|
17107
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17108
|
-
"no-self-import": _typescript_eslint_utils_ts_eslint.RuleModule<"self", [], {
|
|
17109
|
-
category?: string;
|
|
17110
|
-
recommended?: true;
|
|
17111
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17112
|
-
"no-cycle": _typescript_eslint_utils_ts_eslint.RuleModule<"cycle" | "cycleSource", [(({
|
|
17113
|
-
allowUnsafeDynamicCyclicDependency?: boolean;
|
|
17114
|
-
ignoreExternal?: boolean;
|
|
17115
|
-
maxDepth?: number | "\u221E";
|
|
17116
|
-
} & eslint_plugin_import_x_utils_module_visitor_js.ModuleOptions) | undefined)?], {
|
|
17117
|
-
category?: string;
|
|
17118
|
-
recommended?: true;
|
|
17119
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17120
|
-
"no-named-default": _typescript_eslint_utils_ts_eslint.RuleModule<"default", [], {
|
|
17121
|
-
category?: string;
|
|
17122
|
-
recommended?: true;
|
|
17123
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17124
|
-
"no-named-as-default": _typescript_eslint_utils_ts_eslint.RuleModule<"default", [], {
|
|
17125
|
-
category?: string;
|
|
17126
|
-
recommended?: true;
|
|
17127
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17128
|
-
"no-named-as-default-member": _typescript_eslint_utils_ts_eslint.RuleModule<"member", [], {
|
|
17129
|
-
category?: string;
|
|
17130
|
-
recommended?: true;
|
|
17131
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17132
|
-
"no-anonymous-default-export": _typescript_eslint_utils_ts_eslint.RuleModule<"assign" | "anonymous", [({
|
|
17133
|
-
allowArray?: boolean;
|
|
17134
|
-
allowArrowFunction?: boolean;
|
|
17135
|
-
allowCallExpression?: boolean;
|
|
17136
|
-
allowAnonymousClass?: boolean;
|
|
17137
|
-
allowAnonymousFunction?: boolean;
|
|
17138
|
-
allowLiteral?: boolean;
|
|
17139
|
-
allowObject?: boolean;
|
|
17140
|
-
allowNew?: boolean;
|
|
17141
|
-
} | undefined)?], {
|
|
17142
|
-
category?: string;
|
|
17143
|
-
recommended?: true;
|
|
17144
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17145
|
-
"no-rename-default": _typescript_eslint_utils_ts_eslint.RuleModule<"renameDefault", [((eslint_plugin_import_x_utils_module_visitor_js.ModuleOptions & {
|
|
17146
|
-
preventRenamingBindings?: boolean;
|
|
17147
|
-
}) | undefined)?], {
|
|
17148
|
-
category?: string;
|
|
17149
|
-
recommended?: true;
|
|
17150
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17151
|
-
"no-unused-modules": _typescript_eslint_utils_ts_eslint.RuleModule<"notFound" | "unused", {
|
|
17152
|
-
src?: string[];
|
|
17153
|
-
ignoreExports?: string[];
|
|
17154
|
-
missingExports?: true;
|
|
17155
|
-
unusedExports?: boolean;
|
|
17156
|
-
ignoreUnusedTypeExports?: boolean;
|
|
17157
|
-
}[], {
|
|
17158
|
-
category?: string;
|
|
17159
|
-
recommended?: true;
|
|
17160
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17161
|
-
"no-commonjs": _typescript_eslint_utils_ts_eslint.RuleModule<"import" | "export", [(({
|
|
17162
|
-
allowPrimitiveModules?: boolean;
|
|
17163
|
-
allowRequire?: boolean;
|
|
17164
|
-
allowConditionalRequire?: boolean;
|
|
17165
|
-
} | "allow-primitive-modules") | undefined)?], {
|
|
17166
|
-
category?: string;
|
|
17167
|
-
recommended?: true;
|
|
17168
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17169
|
-
"no-amd": _typescript_eslint_utils_ts_eslint.RuleModule<"amd", [], {
|
|
17170
|
-
category?: string;
|
|
17171
|
-
recommended?: true;
|
|
17172
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17173
|
-
"no-duplicates": _typescript_eslint_utils_ts_eslint.RuleModule<"duplicate", [({
|
|
17174
|
-
considerQueryString?: boolean;
|
|
17175
|
-
"prefer-inline"?: boolean;
|
|
17176
|
-
} | undefined)?], {
|
|
17177
|
-
category?: string;
|
|
17178
|
-
recommended?: true;
|
|
17179
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17180
|
-
first: _typescript_eslint_utils_ts_eslint.RuleModule<"absolute" | "order", [(("absolute-first" | "disable-absolute-first") | undefined)?], {
|
|
17181
|
-
category?: string;
|
|
17182
|
-
recommended?: true;
|
|
17183
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17184
|
-
"max-dependencies": _typescript_eslint_utils_ts_eslint.RuleModule<"max", [({
|
|
17185
|
-
ignoreTypeImports?: boolean;
|
|
17186
|
-
max?: number;
|
|
17187
|
-
} | undefined)?], {
|
|
17188
|
-
category?: string;
|
|
17189
|
-
recommended?: true;
|
|
17190
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17191
|
-
"no-extraneous-dependencies": _typescript_eslint_utils_ts_eslint.RuleModule<"missing" | "pkgNotFound" | "pkgUnparsable" | "devDep" | "optDep", [({
|
|
17192
|
-
packageDir?: string | string[];
|
|
17193
|
-
devDependencies?: boolean | string[];
|
|
17194
|
-
optionalDependencies?: boolean | string[];
|
|
17195
|
-
peerDependencies?: boolean | string[];
|
|
17196
|
-
bundledDependencies?: boolean | string[];
|
|
17197
|
-
includeInternal?: boolean;
|
|
17198
|
-
includeTypes?: boolean;
|
|
17199
|
-
whitelist?: string[];
|
|
17200
|
-
} | undefined)?], {
|
|
17201
|
-
category?: string;
|
|
17202
|
-
recommended?: true;
|
|
17203
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17204
|
-
"no-absolute-path": _typescript_eslint_utils_ts_eslint.RuleModule<"absolute", [(eslint_plugin_import_x_utils_module_visitor_js.ModuleOptions | undefined)?], {
|
|
17205
|
-
category?: string;
|
|
17206
|
-
recommended?: true;
|
|
17207
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17208
|
-
"no-nodejs-modules": _typescript_eslint_utils_ts_eslint.RuleModule<"builtin", [({
|
|
17209
|
-
allow?: string[];
|
|
17210
|
-
} | undefined)?], {
|
|
17211
|
-
category?: string;
|
|
17212
|
-
recommended?: true;
|
|
17213
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17214
|
-
"no-webpack-loader-syntax": _typescript_eslint_utils_ts_eslint.RuleModule<"unexpected", [], {
|
|
17215
|
-
category?: string;
|
|
17216
|
-
recommended?: true;
|
|
17217
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17218
|
-
order: _typescript_eslint_utils_ts_eslint.RuleModule<"error" | "order" | "noLineWithinGroup" | "noLineBetweenGroups" | "oneLineBetweenGroups" | "oneLineBetweenTheMultiLineImport" | "oneLineBetweenThisMultiLineImport" | "noLineBetweenSingleLineImport", [({
|
|
17219
|
-
"newlines-between"?: eslint_plugin_import_x_types_js.NewLinesOptions;
|
|
17220
|
-
"newlines-between-types"?: eslint_plugin_import_x_types_js.NewLinesOptions;
|
|
17221
|
-
named?: boolean | eslint_plugin_import_x_types_js.NamedOptions;
|
|
17222
|
-
alphabetize?: Partial<eslint_plugin_import_x_types_js.AlphabetizeOptions>;
|
|
17223
|
-
consolidateIslands?: "inside-groups" | "never";
|
|
17224
|
-
distinctGroup?: boolean;
|
|
17225
|
-
groups?: ReadonlyArray<eslint_plugin_import_x_types_js.Arrayable<eslint_plugin_import_x_types_js.ImportType>>;
|
|
17226
|
-
pathGroupsExcludedImportTypes?: eslint_plugin_import_x_types_js.ImportType[];
|
|
17227
|
-
pathGroups?: eslint_plugin_import_x_types_js.PathGroup[];
|
|
17228
|
-
sortTypesGroup?: boolean;
|
|
17229
|
-
warnOnUnassignedImports?: boolean;
|
|
17230
|
-
} | undefined)?], {
|
|
17231
|
-
category?: string;
|
|
17232
|
-
recommended?: true;
|
|
17233
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17234
|
-
"newline-after-import": _typescript_eslint_utils_ts_eslint.RuleModule<"newline", [({
|
|
17235
|
-
count?: number;
|
|
17236
|
-
exactCount?: boolean;
|
|
17237
|
-
considerComments?: boolean;
|
|
17238
|
-
} | undefined)?], {
|
|
17239
|
-
category?: string;
|
|
17240
|
-
recommended?: true;
|
|
17241
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17242
|
-
"prefer-default-export": _typescript_eslint_utils_ts_eslint.RuleModule<"any" | "single", [({
|
|
17243
|
-
target?: "single" | "any";
|
|
17244
|
-
} | undefined)?], {
|
|
17245
|
-
category?: string;
|
|
17246
|
-
recommended?: true;
|
|
17247
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17248
|
-
"no-default-export": _typescript_eslint_utils_ts_eslint.RuleModule<"preferNamed" | "noAliasDefault", [], {
|
|
17249
|
-
category?: string;
|
|
17250
|
-
recommended?: true;
|
|
17251
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17252
|
-
"no-named-export": _typescript_eslint_utils_ts_eslint.RuleModule<"noAllowed", [], {
|
|
17253
|
-
category?: string;
|
|
17254
|
-
recommended?: true;
|
|
17255
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17256
|
-
"no-dynamic-require": _typescript_eslint_utils_ts_eslint.RuleModule<"import" | "require", [({
|
|
17257
|
-
esmodule?: boolean;
|
|
17258
|
-
} | undefined)?], {
|
|
17259
|
-
category?: string;
|
|
17260
|
-
recommended?: true;
|
|
17261
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17262
|
-
unambiguous: _typescript_eslint_utils_ts_eslint.RuleModule<"module", [], {
|
|
17263
|
-
category?: string;
|
|
17264
|
-
recommended?: true;
|
|
17265
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17266
|
-
"no-unassigned-import": _typescript_eslint_utils_ts_eslint.RuleModule<"unassigned", [({
|
|
17267
|
-
allow?: string[];
|
|
17268
|
-
} | undefined)?], {
|
|
17269
|
-
category?: string;
|
|
17270
|
-
recommended?: true;
|
|
17271
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17272
|
-
"no-useless-path-segments": _typescript_eslint_utils_ts_eslint.RuleModule<"useless", [((eslint_plugin_import_x_utils_module_visitor_js.ModuleOptions & {
|
|
17273
|
-
noUselessIndex?: boolean;
|
|
17274
|
-
}) | undefined)?], {
|
|
17275
|
-
category?: string;
|
|
17276
|
-
recommended?: true;
|
|
17277
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17278
|
-
"dynamic-import-chunkname": _typescript_eslint_utils_ts_eslint.RuleModule<"leadingComment" | "blockComment" | "paddedSpaces" | "webpackComment" | "chunknameFormat" | "webpackEagerModeNoChunkName" | "webpackRemoveEagerMode" | "webpackRemoveChunkName", [({
|
|
17279
|
-
allowEmpty?: boolean;
|
|
17280
|
-
importFunctions?: readonly string[];
|
|
17281
|
-
webpackChunknameFormat?: string;
|
|
17282
|
-
} | undefined)?], {
|
|
17283
|
-
category?: string;
|
|
17284
|
-
recommended?: true;
|
|
17285
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17286
|
-
"no-import-module-exports": _typescript_eslint_utils_ts_eslint.RuleModule<"notAllowed", [({
|
|
17287
|
-
exceptions?: string[];
|
|
17288
|
-
} | undefined)?], {
|
|
17289
|
-
category?: string;
|
|
17290
|
-
recommended?: true;
|
|
17291
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17292
|
-
"no-empty-named-blocks": _typescript_eslint_utils_ts_eslint.RuleModule<"emptyNamed" | "unused" | "emptyImport", [], {
|
|
17293
|
-
category?: string;
|
|
17294
|
-
recommended?: true;
|
|
17295
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17296
|
-
"exports-last": _typescript_eslint_utils_ts_eslint.RuleModule<"end", [], {
|
|
17297
|
-
category?: string;
|
|
17298
|
-
recommended?: true;
|
|
17299
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17300
|
-
"no-deprecated": _typescript_eslint_utils_ts_eslint.RuleModule<"deprecated" | "deprecatedDesc", [], {
|
|
17301
|
-
category?: string;
|
|
17302
|
-
recommended?: true;
|
|
17303
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17304
|
-
"imports-first": _typescript_eslint_utils_ts_eslint.RuleModule<"absolute" | "order", [(("absolute-first" | "disable-absolute-first") | undefined)?], {
|
|
17305
|
-
category?: string;
|
|
17306
|
-
recommended?: true;
|
|
17307
|
-
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17343
|
+
"no-unresolved": _typescript_eslint_utils_ts_eslint.RuleModule<eslint_plugin_import_x_rules_no_unresolved.MessageId, [(eslint_plugin_import_x_rules_no_unresolved.Options | undefined)?], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17344
|
+
named: _typescript_eslint_utils_ts_eslint.RuleModule<eslint_plugin_import_x_rules_named.MessageId, [(eslint_plugin_import_x_utils.ModuleOptions | undefined)?], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17345
|
+
default: _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultExport", [], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17346
|
+
namespace: _typescript_eslint_utils_ts_eslint.RuleModule<eslint_plugin_import_x_rules_namespace.MessageId, [eslint_plugin_import_x_rules_namespace.Options], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17347
|
+
"no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [(eslint_plugin_import_x_rules_no_namespace.Options | undefined)?], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17348
|
+
export: _typescript_eslint_utils_ts_eslint.RuleModule<eslint_plugin_import_x_rules_export.MessageId, [], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17349
|
+
"no-mutable-exports": _typescript_eslint_utils_ts_eslint.RuleModule<"noMutable", [], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17350
|
+
extensions: _typescript_eslint_utils_ts_eslint.RuleModule<eslint_plugin_import_x_rules_extensions.MessageId, eslint_plugin_import_x_rules_extensions.Options, eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17351
|
+
"no-restricted-paths": _typescript_eslint_utils_ts_eslint.RuleModule<eslint_plugin_import_x_rules_no_restricted_paths.MessageId, [(eslint_plugin_import_x_rules_no_restricted_paths.Options | undefined)?], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17352
|
+
"no-internal-modules": _typescript_eslint_utils_ts_eslint.RuleModule<"noAllowed", [(eslint_plugin_import_x_rules_no_internal_modules.Options | undefined)?], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17353
|
+
"group-exports": _typescript_eslint_utils_ts_eslint.RuleModule<eslint_plugin_import_x_rules_group_exports.MessageId, [], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17354
|
+
"no-relative-packages": _typescript_eslint_utils_ts_eslint.RuleModule<"noAllowed", [(eslint_plugin_import_x_utils.ModuleOptions | undefined)?], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17355
|
+
"no-relative-parent-imports": _typescript_eslint_utils_ts_eslint.RuleModule<"noAllowed", [(eslint_plugin_import_x_utils.ModuleOptions | undefined)?], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17356
|
+
"consistent-type-specifier-style": _typescript_eslint_utils_ts_eslint.RuleModule<"inline" | "topLevel", [(eslint_plugin_import_x_rules_consistent_type_specifier_style.Options | undefined)?], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17357
|
+
"no-self-import": _typescript_eslint_utils_ts_eslint.RuleModule<"self", [], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17358
|
+
"no-cycle": _typescript_eslint_utils_ts_eslint.RuleModule<eslint_plugin_import_x_rules_no_cycle.MessageId, [(eslint_plugin_import_x_rules_no_cycle.Options | undefined)?], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17359
|
+
"no-named-default": _typescript_eslint_utils_ts_eslint.RuleModule<"default", [], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17360
|
+
"no-named-as-default": _typescript_eslint_utils_ts_eslint.RuleModule<"default", [], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17361
|
+
"no-named-as-default-member": _typescript_eslint_utils_ts_eslint.RuleModule<"member", [], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17362
|
+
"no-anonymous-default-export": _typescript_eslint_utils_ts_eslint.RuleModule<"assign" | "anonymous", [(eslint_plugin_import_x_rules_no_anonymous_default_export.Options | undefined)?], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17363
|
+
"no-rename-default": _typescript_eslint_utils_ts_eslint.RuleModule<"renameDefault", [(eslint_plugin_import_x_rules_no_rename_default.Options | undefined)?], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17364
|
+
"no-unused-modules": _typescript_eslint_utils_ts_eslint.RuleModule<"notFound" | "unused", eslint_plugin_import_x_rules_no_unused_modules.Options[], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17365
|
+
"no-commonjs": _typescript_eslint_utils_ts_eslint.RuleModule<"import" | "export", [(eslint_plugin_import_x_rules_no_commonjs.Options | undefined)?], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17366
|
+
"no-amd": _typescript_eslint_utils_ts_eslint.RuleModule<"amd", [], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17367
|
+
"no-duplicates": _typescript_eslint_utils_ts_eslint.RuleModule<"duplicate", [(eslint_plugin_import_x_rules_no_duplicates.Options | undefined)?], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17368
|
+
first: _typescript_eslint_utils_ts_eslint.RuleModule<eslint_plugin_import_x_rules_first.MessageId, [(eslint_plugin_import_x_rules_first.Options | undefined)?], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17369
|
+
"max-dependencies": _typescript_eslint_utils_ts_eslint.RuleModule<"max", [(eslint_plugin_import_x_rules_max_dependencies.Options | undefined)?], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17370
|
+
"no-extraneous-dependencies": _typescript_eslint_utils_ts_eslint.RuleModule<eslint_plugin_import_x_rules_no_extraneous_dependencies.MessageId, [(eslint_plugin_import_x_rules_no_extraneous_dependencies.Options | undefined)?], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17371
|
+
"no-absolute-path": _typescript_eslint_utils_ts_eslint.RuleModule<"absolute", [(eslint_plugin_import_x_utils.ModuleOptions | undefined)?], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17372
|
+
"no-nodejs-modules": _typescript_eslint_utils_ts_eslint.RuleModule<"builtin", [(eslint_plugin_import_x_rules_no_nodejs_modules.Options | undefined)?], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17373
|
+
"no-webpack-loader-syntax": _typescript_eslint_utils_ts_eslint.RuleModule<"unexpected", [], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17374
|
+
order: _typescript_eslint_utils_ts_eslint.RuleModule<"error" | "order" | "noLineWithinGroup" | "noLineBetweenGroups" | "oneLineBetweenGroups" | "oneLineBetweenTheMultiLineImport" | "oneLineBetweenThisMultiLineImport" | "noLineBetweenSingleLineImport", [(eslint_plugin_import_x_rules_order.Options | undefined)?], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17375
|
+
"newline-after-import": _typescript_eslint_utils_ts_eslint.RuleModule<"newline", [(eslint_plugin_import_x_rules_newline_after_import.Options | undefined)?], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17376
|
+
"prefer-default-export": _typescript_eslint_utils_ts_eslint.RuleModule<"any" | "single", [(eslint_plugin_import_x_rules_prefer_default_export.Options | undefined)?], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17377
|
+
"no-default-export": _typescript_eslint_utils_ts_eslint.RuleModule<"preferNamed" | "noAliasDefault", [], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17378
|
+
"no-named-export": _typescript_eslint_utils_ts_eslint.RuleModule<"noAllowed", [], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17379
|
+
"no-dynamic-require": _typescript_eslint_utils_ts_eslint.RuleModule<eslint_plugin_import_x_rules_no_dynamic_require.MessageId, [(eslint_plugin_import_x_rules_no_dynamic_require.Options | undefined)?], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17380
|
+
unambiguous: _typescript_eslint_utils_ts_eslint.RuleModule<"module", [], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17381
|
+
"no-unassigned-import": _typescript_eslint_utils_ts_eslint.RuleModule<"unassigned", [(eslint_plugin_import_x_rules_no_unassigned_import.Options | undefined)?], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17382
|
+
"no-useless-path-segments": _typescript_eslint_utils_ts_eslint.RuleModule<"useless", [(eslint_plugin_import_x_rules_no_useless_path_segments.Options | undefined)?], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17383
|
+
"dynamic-import-chunkname": _typescript_eslint_utils_ts_eslint.RuleModule<eslint_plugin_import_x_rules_dynamic_import_chunkname.MessageId, [(eslint_plugin_import_x_rules_dynamic_import_chunkname.Options | undefined)?], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17384
|
+
"no-import-module-exports": _typescript_eslint_utils_ts_eslint.RuleModule<"notAllowed", [(eslint_plugin_import_x_rules_no_import_module_exports.Options | undefined)?], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17385
|
+
"no-empty-named-blocks": _typescript_eslint_utils_ts_eslint.RuleModule<"emptyNamed" | "unused" | "emptyImport", [], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17386
|
+
"exports-last": _typescript_eslint_utils_ts_eslint.RuleModule<"end", [], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17387
|
+
"no-deprecated": _typescript_eslint_utils_ts_eslint.RuleModule<"deprecated" | "deprecatedDesc", [], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17388
|
+
"imports-first": _typescript_eslint_utils_ts_eslint.RuleModule<eslint_plugin_import_x_rules_first.MessageId, [(eslint_plugin_import_x_rules_first.Options | undefined)?], eslint_plugin_import_x_utils.ImportXPluginDocs, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
17308
17389
|
};
|
|
17309
|
-
importXResolverCompat: typeof
|
|
17310
|
-
createNodeResolver: typeof
|
|
17390
|
+
importXResolverCompat: typeof eslint_plugin_import_x.importXResolverCompat;
|
|
17391
|
+
createNodeResolver: typeof eslint_plugin_import_x.createNodeResolver;
|
|
17311
17392
|
};
|
|
17312
17393
|
readonly n: eslint.ESLint.Plugin & {
|
|
17313
17394
|
configs: eslint_plugin_n.Configs;
|
|
@@ -18772,7 +18853,6 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
18772
18853
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18773
18854
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18774
18855
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18775
|
-
readonly "no-duplicate-jsx-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18776
18856
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18777
18857
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18778
18858
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -18780,7 +18860,7 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
18780
18860
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18781
18861
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18782
18862
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18783
|
-
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
18863
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18784
18864
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18785
18865
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18786
18866
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -18804,21 +18884,24 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
18804
18884
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18805
18885
|
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18806
18886
|
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18807
|
-
readonly "
|
|
18887
|
+
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18888
|
+
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18889
|
+
readonly "jsx-uses-react": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesReact", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18890
|
+
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18808
18891
|
readonly "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18809
|
-
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18810
|
-
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18811
18892
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18812
|
-
readonly "no-
|
|
18893
|
+
readonly "no-duplicate-jsx-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18894
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18895
|
+
readonly "use-jsx-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18813
18896
|
};
|
|
18814
18897
|
};
|
|
18815
18898
|
};
|
|
18816
18899
|
name: string;
|
|
18817
|
-
rules:
|
|
18900
|
+
rules: _eslint_react_kit.RulePreset;
|
|
18818
18901
|
};
|
|
18819
18902
|
"recommended-legacy": {
|
|
18820
18903
|
plugins: string[];
|
|
18821
|
-
rules:
|
|
18904
|
+
rules: _eslint_react_kit.RulePreset;
|
|
18822
18905
|
};
|
|
18823
18906
|
"recommended-type-checked": {
|
|
18824
18907
|
plugins: {
|
|
@@ -18849,7 +18932,6 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
18849
18932
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18850
18933
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18851
18934
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18852
|
-
readonly "no-duplicate-jsx-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18853
18935
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18854
18936
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18855
18937
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -18857,7 +18939,7 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
18857
18939
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18858
18940
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18859
18941
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18860
|
-
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
18942
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18861
18943
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18862
18944
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18863
18945
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -18881,21 +18963,24 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
18881
18963
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18882
18964
|
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18883
18965
|
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18884
|
-
readonly "
|
|
18966
|
+
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18967
|
+
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18968
|
+
readonly "jsx-uses-react": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesReact", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18969
|
+
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18885
18970
|
readonly "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18886
|
-
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18887
|
-
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18888
18971
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18889
|
-
readonly "no-
|
|
18972
|
+
readonly "no-duplicate-jsx-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18973
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18974
|
+
readonly "use-jsx-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18890
18975
|
};
|
|
18891
18976
|
};
|
|
18892
18977
|
};
|
|
18893
18978
|
name: string;
|
|
18894
|
-
rules:
|
|
18979
|
+
rules: _eslint_react_kit.RulePreset;
|
|
18895
18980
|
};
|
|
18896
18981
|
"recommended-type-checked-legacy": {
|
|
18897
18982
|
plugins: string[];
|
|
18898
|
-
rules:
|
|
18983
|
+
rules: _eslint_react_kit.RulePreset;
|
|
18899
18984
|
};
|
|
18900
18985
|
"recommended-typescript": {
|
|
18901
18986
|
plugins: {
|
|
@@ -18926,7 +19011,6 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
18926
19011
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18927
19012
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18928
19013
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18929
|
-
readonly "no-duplicate-jsx-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18930
19014
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18931
19015
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18932
19016
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -18934,7 +19018,7 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
18934
19018
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18935
19019
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18936
19020
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18937
|
-
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
19021
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18938
19022
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18939
19023
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18940
19024
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -18958,21 +19042,24 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
18958
19042
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18959
19043
|
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18960
19044
|
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18961
|
-
readonly "
|
|
19045
|
+
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19046
|
+
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19047
|
+
readonly "jsx-uses-react": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesReact", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19048
|
+
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18962
19049
|
readonly "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18963
|
-
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18964
|
-
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18965
19050
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18966
|
-
readonly "no-
|
|
19051
|
+
readonly "no-duplicate-jsx-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19052
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19053
|
+
readonly "use-jsx-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
18967
19054
|
};
|
|
18968
19055
|
};
|
|
18969
19056
|
};
|
|
18970
19057
|
name: string;
|
|
18971
|
-
rules:
|
|
19058
|
+
rules: _eslint_react_kit.RulePreset;
|
|
18972
19059
|
};
|
|
18973
19060
|
"recommended-typescript-legacy": {
|
|
18974
19061
|
plugins: string[];
|
|
18975
|
-
rules:
|
|
19062
|
+
rules: _eslint_react_kit.RulePreset;
|
|
18976
19063
|
};
|
|
18977
19064
|
};
|
|
18978
19065
|
meta: {
|
|
@@ -19001,7 +19088,6 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
19001
19088
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19002
19089
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19003
19090
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19004
|
-
readonly "no-duplicate-jsx-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19005
19091
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19006
19092
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19007
19093
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -19009,7 +19095,7 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
19009
19095
|
readonly "no-missing-component-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingComponentDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19010
19096
|
readonly "no-missing-context-display-name": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingContextDisplayName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19011
19097
|
readonly "no-missing-key": _typescript_eslint_utils_ts_eslint.RuleModule<"missingKey" | "unexpectedFragmentSyntax", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19012
|
-
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"
|
|
19098
|
+
readonly "no-nested-component-definitions": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19013
19099
|
readonly "no-prop-types": _typescript_eslint_utils_ts_eslint.RuleModule<"noPropTypes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19014
19100
|
readonly "no-redundant-should-component-update": _typescript_eslint_utils_ts_eslint.RuleModule<"noRedundantShouldComponentUpdate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19015
19101
|
readonly "no-set-state-in-component-did-mount": _typescript_eslint_utils_ts_eslint.RuleModule<"noSetStateInComponentDidMount", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -19033,12 +19119,15 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
19033
19119
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19034
19120
|
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19035
19121
|
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19036
|
-
readonly "
|
|
19122
|
+
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19123
|
+
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19124
|
+
readonly "jsx-uses-react": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesReact", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19125
|
+
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19037
19126
|
readonly "ensure-forward-ref-using-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19038
|
-
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateJsxProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19039
|
-
readonly "jsx-uses-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19040
19127
|
readonly "no-complicated-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19041
|
-
readonly "no-
|
|
19128
|
+
readonly "no-duplicate-jsx-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19129
|
+
readonly "no-nested-components": _typescript_eslint_utils_ts_eslint.RuleModule<"noNestedComponentDefinitions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19130
|
+
readonly "use-jsx-vars": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxUsesVars", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19042
19131
|
};
|
|
19043
19132
|
};
|
|
19044
19133
|
"@eslint-react/dom": {
|
|
@@ -19072,11 +19161,11 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
19072
19161
|
};
|
|
19073
19162
|
};
|
|
19074
19163
|
name: string;
|
|
19075
|
-
rules:
|
|
19164
|
+
rules: _eslint_react_kit.RulePreset;
|
|
19076
19165
|
};
|
|
19077
19166
|
"recommended-legacy": {
|
|
19078
19167
|
plugins: string[];
|
|
19079
|
-
rules:
|
|
19168
|
+
rules: _eslint_react_kit.RulePreset;
|
|
19080
19169
|
};
|
|
19081
19170
|
};
|
|
19082
19171
|
meta: {
|
|
@@ -19128,11 +19217,11 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
19128
19217
|
};
|
|
19129
19218
|
};
|
|
19130
19219
|
name: string;
|
|
19131
|
-
rules:
|
|
19220
|
+
rules: _eslint_react_kit.RulePreset;
|
|
19132
19221
|
};
|
|
19133
19222
|
"recommended-legacy": {
|
|
19134
19223
|
plugins: string[];
|
|
19135
|
-
rules:
|
|
19224
|
+
rules: _eslint_react_kit.RulePreset;
|
|
19136
19225
|
};
|
|
19137
19226
|
};
|
|
19138
19227
|
meta: {
|
|
@@ -19153,6 +19242,72 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
19153
19242
|
readonly "no-useless-custom-hooks": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUsePrefix", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19154
19243
|
};
|
|
19155
19244
|
};
|
|
19245
|
+
"@eslint-react/naming-convention": {
|
|
19246
|
+
configs: {
|
|
19247
|
+
recommended: {
|
|
19248
|
+
plugins: {
|
|
19249
|
+
"react-naming-convention": {
|
|
19250
|
+
readonly meta: {
|
|
19251
|
+
readonly name: string;
|
|
19252
|
+
readonly version: string;
|
|
19253
|
+
};
|
|
19254
|
+
readonly rules: {
|
|
19255
|
+
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"invalid", readonly [("CONSTANT_CASE" | "PascalCase") | {
|
|
19256
|
+
allowAllCaps?: boolean;
|
|
19257
|
+
allowLeadingUnderscore?: boolean;
|
|
19258
|
+
allowNamespace?: boolean;
|
|
19259
|
+
excepts?: readonly string[];
|
|
19260
|
+
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
19261
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19262
|
+
readonly "context-name": _typescript_eslint_utils_ts_eslint.RuleModule<"invalid", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19263
|
+
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameEmpty" | "filenameInvalid", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
19264
|
+
excepts?: readonly string[];
|
|
19265
|
+
extensions?: readonly string[];
|
|
19266
|
+
rule?: "PascalCase" | "camelCase" | "kebab-case" | "snake_case";
|
|
19267
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19268
|
+
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxFileExtension" | "useNonJsxFileExtension", readonly [("always" | "as-needed") | {
|
|
19269
|
+
allow?: "always" | "as-needed";
|
|
19270
|
+
extensions?: readonly string[];
|
|
19271
|
+
ignoreFilesWithoutCode?: boolean;
|
|
19272
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19273
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"missingDestructuring" | "invalidSetterNaming", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19274
|
+
};
|
|
19275
|
+
};
|
|
19276
|
+
};
|
|
19277
|
+
name: string;
|
|
19278
|
+
rules: _eslint_react_kit.RulePreset;
|
|
19279
|
+
};
|
|
19280
|
+
"recommended-legacy": {
|
|
19281
|
+
plugins: string[];
|
|
19282
|
+
rules: _eslint_react_kit.RulePreset;
|
|
19283
|
+
};
|
|
19284
|
+
};
|
|
19285
|
+
meta: {
|
|
19286
|
+
readonly name: string;
|
|
19287
|
+
readonly version: string;
|
|
19288
|
+
};
|
|
19289
|
+
rules: {
|
|
19290
|
+
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"invalid", readonly [("CONSTANT_CASE" | "PascalCase") | {
|
|
19291
|
+
allowAllCaps?: boolean;
|
|
19292
|
+
allowLeadingUnderscore?: boolean;
|
|
19293
|
+
allowNamespace?: boolean;
|
|
19294
|
+
excepts?: readonly string[];
|
|
19295
|
+
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
19296
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19297
|
+
readonly "context-name": _typescript_eslint_utils_ts_eslint.RuleModule<"invalid", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19298
|
+
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameEmpty" | "filenameInvalid", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
19299
|
+
excepts?: readonly string[];
|
|
19300
|
+
extensions?: readonly string[];
|
|
19301
|
+
rule?: "PascalCase" | "camelCase" | "kebab-case" | "snake_case";
|
|
19302
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19303
|
+
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxFileExtension" | "useNonJsxFileExtension", readonly [("always" | "as-needed") | {
|
|
19304
|
+
allow?: "always" | "as-needed";
|
|
19305
|
+
extensions?: readonly string[];
|
|
19306
|
+
ignoreFilesWithoutCode?: boolean;
|
|
19307
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19308
|
+
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"missingDestructuring" | "invalidSetterNaming", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
19309
|
+
};
|
|
19310
|
+
};
|
|
19156
19311
|
"@eslint-react/web-api": {
|
|
19157
19312
|
configs: {
|
|
19158
19313
|
recommended: {
|
|
@@ -19171,11 +19326,11 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
19171
19326
|
};
|
|
19172
19327
|
};
|
|
19173
19328
|
name: string;
|
|
19174
|
-
rules:
|
|
19329
|
+
rules: _eslint_react_kit.RulePreset;
|
|
19175
19330
|
};
|
|
19176
19331
|
"recommended-legacy": {
|
|
19177
19332
|
plugins: string[];
|
|
19178
|
-
rules:
|
|
19333
|
+
rules: _eslint_react_kit.RulePreset;
|
|
19179
19334
|
};
|
|
19180
19335
|
};
|
|
19181
19336
|
meta: {
|
|
@@ -19206,7 +19361,7 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
19206
19361
|
};
|
|
19207
19362
|
};
|
|
19208
19363
|
rules: {
|
|
19209
|
-
"react-compiler/react-compiler":
|
|
19364
|
+
"react-compiler/react-compiler": "error";
|
|
19210
19365
|
};
|
|
19211
19366
|
};
|
|
19212
19367
|
};
|
|
@@ -19331,6 +19486,7 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
19331
19486
|
"@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "error";
|
|
19332
19487
|
"@eslint-react/no-children-prop": "error";
|
|
19333
19488
|
"@eslint-react/no-complex-conditional-rendering": "error";
|
|
19489
|
+
"@eslint-react/no-useless-fragment": "error";
|
|
19334
19490
|
"@eslint-react/prefer-react-namespace-import": "error";
|
|
19335
19491
|
"@eslint-react/prefer-shorthand-boolean": "error";
|
|
19336
19492
|
"@eslint-react/prefer-shorthand-fragment": "error";
|
|
@@ -19541,6 +19697,7 @@ declare const defineConfig: ({ astro, autoDetect, ignores, jest, nextjs, overrid
|
|
|
19541
19697
|
name: string;
|
|
19542
19698
|
rules: {
|
|
19543
19699
|
"import-x/no-anonymous-default-export": "off";
|
|
19700
|
+
"storybook/meta-satisfies-type": "error";
|
|
19544
19701
|
"unicorn/no-anonymous-default-export": "off";
|
|
19545
19702
|
};
|
|
19546
19703
|
plugins?: undefined;
|