@eienjs/eslint-config 1.2.2 → 1.3.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/cli/constants.js +74 -0
- package/dist/cli/constants_generated.js +13 -0
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +3 -268
- package/dist/cli/run.js +77 -0
- package/dist/cli/stages/update_eslint_files.js +41 -0
- package/dist/cli/stages/update_package_json.js +46 -0
- package/dist/cli/stages/update_vscode_settings.js +30 -0
- package/dist/cli/utils.js +23 -0
- package/dist/configs/adonisjs.d.ts +6 -0
- package/dist/configs/adonisjs.js +115 -0
- package/dist/configs/astro.d.ts +6 -0
- package/dist/configs/astro.js +52 -0
- package/dist/configs/command.d.ts +6 -0
- package/dist/configs/command.js +12 -0
- package/dist/configs/comments.d.ts +6 -0
- package/dist/configs/comments.js +19 -0
- package/dist/configs/disables.d.ts +6 -0
- package/dist/configs/disables.js +85 -0
- package/dist/configs/formatters.d.ts +6 -0
- package/dist/configs/formatters.js +134 -0
- package/dist/configs/ignores.d.ts +6 -0
- package/dist/configs/ignores.js +12 -0
- package/dist/configs/imports.d.ts +6 -0
- package/dist/configs/imports.js +28 -0
- package/dist/configs/index.d.ts +25 -95
- package/dist/configs/index.js +25 -1
- package/dist/configs/javascript.d.ts +6 -0
- package/dist/configs/javascript.js +289 -0
- package/dist/configs/jsdoc.d.ts +6 -0
- package/dist/configs/jsdoc.js +34 -0
- package/dist/configs/jsonc.d.ts +6 -0
- package/dist/configs/jsonc.js +71 -0
- package/dist/configs/markdown.d.ts +6 -0
- package/dist/configs/markdown.js +67 -0
- package/dist/configs/node.d.ts +6 -0
- package/dist/configs/node.js +22 -0
- package/dist/configs/nuxt.d.ts +6 -0
- package/dist/configs/nuxt.js +137 -0
- package/dist/configs/perfectionist.d.ts +12 -0
- package/dist/configs/perfectionist.js +56 -0
- package/dist/configs/pnpm.d.ts +6 -0
- package/dist/configs/pnpm.js +33 -0
- package/dist/configs/regexp.d.ts +6 -0
- package/dist/configs/regexp.js +21 -0
- package/dist/configs/sort.d.ts +18 -0
- package/dist/configs/sort.js +239 -0
- package/dist/configs/stylistic.d.ts +8 -0
- package/dist/configs/stylistic.js +76 -0
- package/dist/configs/test.d.ts +6 -0
- package/dist/configs/test.js +42 -0
- package/dist/configs/toml.d.ts +6 -0
- package/dist/configs/toml.js +45 -0
- package/dist/configs/typescript.d.ts +6 -0
- package/dist/configs/typescript.js +213 -0
- package/dist/configs/unicorn.d.ts +6 -0
- package/dist/configs/unicorn.js +42 -0
- package/dist/configs/vue.d.ts +6 -0
- package/dist/configs/vue.js +206 -0
- package/dist/configs/yaml.d.ts +6 -0
- package/dist/configs/yaml.js +83 -0
- package/dist/factory.d.ts +17 -0
- package/dist/factory.js +161 -0
- package/dist/globs.d.ts +32 -0
- package/dist/globs.js +89 -0
- package/dist/index.d.ts +5 -85
- package/dist/index.js +3 -133
- package/dist/package.js +5 -0
- package/dist/plugins.js +9 -0
- package/dist/{types-ClRJcxpY.d.ts → typegen.d.ts} +379 -745
- package/dist/types.d.ts +404 -0
- package/dist/utils.d.ts +42 -0
- package/dist/utils.js +62 -0
- package/dist/vendored/prettier_types.d.ts +121 -0
- package/package.json +31 -24
- package/dist/configs-D_4UWxl6.js +0 -2192
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import { StylisticCustomizeOptions } from "@stylistic/eslint-plugin";
|
|
2
|
-
import { ParserOptions } from "@typescript-eslint/parser";
|
|
3
|
-
import { FlatGitignoreOptions } from "eslint-config-flat-gitignore";
|
|
4
|
-
import { Options } from "eslint-processor-vue-blocks";
|
|
5
1
|
import { Linter } from "eslint";
|
|
6
2
|
|
|
7
3
|
//#region src/typegen.d.ts
|
|
4
|
+
|
|
8
5
|
interface RuleOptions {
|
|
9
6
|
/**
|
|
10
7
|
* (Needed for HMR) Prefer lazy controller import over standard import
|
|
@@ -1856,9 +1853,9 @@ interface RuleOptions {
|
|
|
1856
1853
|
* Reports invalid alignment of JSDoc block asterisks.
|
|
1857
1854
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-alignment.md#repos-sticky-header
|
|
1858
1855
|
*/
|
|
1859
|
-
'jsdoc/check-alignment'?: Linter.RuleEntry<
|
|
1856
|
+
'jsdoc/check-alignment'?: Linter.RuleEntry<JsdocCheckAlignment>;
|
|
1860
1857
|
/**
|
|
1861
|
-
*
|
|
1858
|
+
* @deprecated - Use `getJsdocProcessorPlugin` processor; ensures that (JavaScript) samples within `@example` tags adhere to ESLint rules.
|
|
1862
1859
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-examples.md#repos-sticky-header
|
|
1863
1860
|
*/
|
|
1864
1861
|
'jsdoc/check-examples'?: Linter.RuleEntry<JsdocCheckExamples>;
|
|
@@ -1873,7 +1870,7 @@ interface RuleOptions {
|
|
|
1873
1870
|
*/
|
|
1874
1871
|
'jsdoc/check-line-alignment'?: Linter.RuleEntry<JsdocCheckLineAlignment>;
|
|
1875
1872
|
/**
|
|
1876
|
-
*
|
|
1873
|
+
* Checks for dupe `@param` names, that nested param names have roots, and that parameter names in function declarations match JSDoc param names.
|
|
1877
1874
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-param-names.md#repos-sticky-header
|
|
1878
1875
|
*/
|
|
1879
1876
|
'jsdoc/check-param-names'?: Linter.RuleEntry<JsdocCheckParamNames>;
|
|
@@ -1898,7 +1895,7 @@ interface RuleOptions {
|
|
|
1898
1895
|
*/
|
|
1899
1896
|
'jsdoc/check-template-names'?: Linter.RuleEntry<[]>;
|
|
1900
1897
|
/**
|
|
1901
|
-
* Reports invalid
|
|
1898
|
+
* Reports types deemed invalid (customizable and with defaults, for preventing and/or recommending replacements).
|
|
1902
1899
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-types.md#repos-sticky-header
|
|
1903
1900
|
*/
|
|
1904
1901
|
'jsdoc/check-types'?: Linter.RuleEntry<JsdocCheckTypes>;
|
|
@@ -1913,12 +1910,12 @@ interface RuleOptions {
|
|
|
1913
1910
|
*/
|
|
1914
1911
|
'jsdoc/convert-to-jsdoc-comments'?: Linter.RuleEntry<JsdocConvertToJsdocComments>;
|
|
1915
1912
|
/**
|
|
1916
|
-
*
|
|
1913
|
+
* Checks tags that are expected to be empty (e.g., `@abstract` or `@async`), reporting if they have content
|
|
1917
1914
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/empty-tags.md#repos-sticky-header
|
|
1918
1915
|
*/
|
|
1919
1916
|
'jsdoc/empty-tags'?: Linter.RuleEntry<JsdocEmptyTags>;
|
|
1920
1917
|
/**
|
|
1921
|
-
*
|
|
1918
|
+
* Prohibits use of `@implements` on non-constructor functions (to enforce the tag only being used on classes/constructors).
|
|
1922
1919
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/implements-on-classes.md#repos-sticky-header
|
|
1923
1920
|
*/
|
|
1924
1921
|
'jsdoc/implements-on-classes'?: Linter.RuleEntry<JsdocImplementsOnClasses>;
|
|
@@ -1948,17 +1945,17 @@ interface RuleOptions {
|
|
|
1948
1945
|
*/
|
|
1949
1946
|
'jsdoc/match-name'?: Linter.RuleEntry<JsdocMatchName>;
|
|
1950
1947
|
/**
|
|
1951
|
-
* Controls how and whether
|
|
1948
|
+
* Controls how and whether JSDoc blocks can be expressed as single or multiple line blocks.
|
|
1952
1949
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/multiline-blocks.md#repos-sticky-header
|
|
1953
1950
|
*/
|
|
1954
1951
|
'jsdoc/multiline-blocks'?: Linter.RuleEntry<JsdocMultilineBlocks>;
|
|
1955
1952
|
/**
|
|
1956
|
-
* This rule checks for multi-line-style comments which fail to meet the criteria of a
|
|
1953
|
+
* This rule checks for multi-line-style comments which fail to meet the criteria of a JSDoc block.
|
|
1957
1954
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-bad-blocks.md#repos-sticky-header
|
|
1958
1955
|
*/
|
|
1959
1956
|
'jsdoc/no-bad-blocks'?: Linter.RuleEntry<JsdocNoBadBlocks>;
|
|
1960
1957
|
/**
|
|
1961
|
-
*
|
|
1958
|
+
* If tags are present, this rule will prevent empty lines in the block description. If no tags are present, this rule will prevent extra empty lines in the block description.
|
|
1962
1959
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-blank-block-descriptions.md#repos-sticky-header
|
|
1963
1960
|
*/
|
|
1964
1961
|
'jsdoc/no-blank-block-descriptions'?: Linter.RuleEntry<[]>;
|
|
@@ -1988,22 +1985,32 @@ interface RuleOptions {
|
|
|
1988
1985
|
*/
|
|
1989
1986
|
'jsdoc/no-restricted-syntax'?: Linter.RuleEntry<JsdocNoRestrictedSyntax>;
|
|
1990
1987
|
/**
|
|
1991
|
-
* This rule reports types being used on `@param` or `@returns
|
|
1988
|
+
* This rule reports types being used on `@param` or `@returns` (redundant with TypeScript).
|
|
1992
1989
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-types.md#repos-sticky-header
|
|
1993
1990
|
*/
|
|
1994
1991
|
'jsdoc/no-types'?: Linter.RuleEntry<JsdocNoTypes>;
|
|
1995
1992
|
/**
|
|
1996
|
-
*
|
|
1993
|
+
* Besides some expected built-in types, prohibits any types not specified as globals or within `@typedef`.
|
|
1997
1994
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-undefined-types.md#repos-sticky-header
|
|
1998
1995
|
*/
|
|
1999
1996
|
'jsdoc/no-undefined-types'?: Linter.RuleEntry<JsdocNoUndefinedTypes>;
|
|
1997
|
+
/**
|
|
1998
|
+
* Reports use of `any` or `*` type
|
|
1999
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/reject-any-type.md#repos-sticky-header
|
|
2000
|
+
*/
|
|
2001
|
+
'jsdoc/reject-any-type'?: Linter.RuleEntry<[]>;
|
|
2002
|
+
/**
|
|
2003
|
+
* Reports use of `Function` type
|
|
2004
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/reject-function-type.md#repos-sticky-header
|
|
2005
|
+
*/
|
|
2006
|
+
'jsdoc/reject-function-type'?: Linter.RuleEntry<[]>;
|
|
2000
2007
|
/**
|
|
2001
2008
|
* Requires that each JSDoc line starts with an `*`.
|
|
2002
2009
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-asterisk-prefix.md#repos-sticky-header
|
|
2003
2010
|
*/
|
|
2004
2011
|
'jsdoc/require-asterisk-prefix'?: Linter.RuleEntry<JsdocRequireAsteriskPrefix>;
|
|
2005
2012
|
/**
|
|
2006
|
-
* Requires that all functions have a description.
|
|
2013
|
+
* Requires that all functions (and potentially other contexts) have a description.
|
|
2007
2014
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-description.md#repos-sticky-header
|
|
2008
2015
|
*/
|
|
2009
2016
|
'jsdoc/require-description'?: Linter.RuleEntry<JsdocRequireDescription>;
|
|
@@ -2013,7 +2020,7 @@ interface RuleOptions {
|
|
|
2013
2020
|
*/
|
|
2014
2021
|
'jsdoc/require-description-complete-sentence'?: Linter.RuleEntry<JsdocRequireDescriptionCompleteSentence>;
|
|
2015
2022
|
/**
|
|
2016
|
-
* Requires that all functions have examples.
|
|
2023
|
+
* Requires that all functions (and potentially other contexts) have examples.
|
|
2017
2024
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-example.md#repos-sticky-header
|
|
2018
2025
|
*/
|
|
2019
2026
|
'jsdoc/require-example'?: Linter.RuleEntry<JsdocRequireExample>;
|
|
@@ -2023,17 +2030,27 @@ interface RuleOptions {
|
|
|
2023
2030
|
*/
|
|
2024
2031
|
'jsdoc/require-file-overview'?: Linter.RuleEntry<JsdocRequireFileOverview>;
|
|
2025
2032
|
/**
|
|
2026
|
-
* Requires a hyphen before the `@param` description.
|
|
2033
|
+
* Requires a hyphen before the `@param` description (and optionally before `@property` descriptions).
|
|
2027
2034
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-hyphen-before-param-description.md#repos-sticky-header
|
|
2028
2035
|
*/
|
|
2029
2036
|
'jsdoc/require-hyphen-before-param-description'?: Linter.RuleEntry<JsdocRequireHyphenBeforeParamDescription>;
|
|
2030
2037
|
/**
|
|
2031
|
-
*
|
|
2038
|
+
* Checks for presence of JSDoc comments, on functions and potentially other contexts (optionally limited to exports).
|
|
2032
2039
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-jsdoc.md#repos-sticky-header
|
|
2033
2040
|
*/
|
|
2034
2041
|
'jsdoc/require-jsdoc'?: Linter.RuleEntry<JsdocRequireJsdoc>;
|
|
2035
2042
|
/**
|
|
2036
|
-
* Requires
|
|
2043
|
+
* Requires a description for `@next` tags
|
|
2044
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-next-description.md#repos-sticky-header
|
|
2045
|
+
*/
|
|
2046
|
+
'jsdoc/require-next-description'?: Linter.RuleEntry<[]>;
|
|
2047
|
+
/**
|
|
2048
|
+
* Requires a type for `@next` tags
|
|
2049
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-next-type.md#repos-sticky-header
|
|
2050
|
+
*/
|
|
2051
|
+
'jsdoc/require-next-type'?: Linter.RuleEntry<[]>;
|
|
2052
|
+
/**
|
|
2053
|
+
* Requires that all function parameters are documented with a `@param` tag.
|
|
2037
2054
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-param.md#repos-sticky-header
|
|
2038
2055
|
*/
|
|
2039
2056
|
'jsdoc/require-param'?: Linter.RuleEntry<JsdocRequireParam>;
|
|
@@ -2043,12 +2060,12 @@ interface RuleOptions {
|
|
|
2043
2060
|
*/
|
|
2044
2061
|
'jsdoc/require-param-description'?: Linter.RuleEntry<JsdocRequireParamDescription>;
|
|
2045
2062
|
/**
|
|
2046
|
-
* Requires that all
|
|
2063
|
+
* Requires that all `@param` tags have names.
|
|
2047
2064
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-param-name.md#repos-sticky-header
|
|
2048
2065
|
*/
|
|
2049
2066
|
'jsdoc/require-param-name'?: Linter.RuleEntry<JsdocRequireParamName>;
|
|
2050
2067
|
/**
|
|
2051
|
-
* Requires that each `@param` tag has a
|
|
2068
|
+
* Requires that each `@param` tag has a type value (in curly brackets).
|
|
2052
2069
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-param-type.md#repos-sticky-header
|
|
2053
2070
|
*/
|
|
2054
2071
|
'jsdoc/require-param-type'?: Linter.RuleEntry<JsdocRequireParamType>;
|
|
@@ -2063,62 +2080,87 @@ interface RuleOptions {
|
|
|
2063
2080
|
*/
|
|
2064
2081
|
'jsdoc/require-property-description'?: Linter.RuleEntry<[]>;
|
|
2065
2082
|
/**
|
|
2066
|
-
* Requires that all
|
|
2083
|
+
* Requires that all `@property` tags have names.
|
|
2067
2084
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-property-name.md#repos-sticky-header
|
|
2068
2085
|
*/
|
|
2069
2086
|
'jsdoc/require-property-name'?: Linter.RuleEntry<[]>;
|
|
2070
2087
|
/**
|
|
2071
|
-
* Requires that each `@property` tag has a
|
|
2088
|
+
* Requires that each `@property` tag has a type value (in curly brackets).
|
|
2072
2089
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-property-type.md#repos-sticky-header
|
|
2073
2090
|
*/
|
|
2074
2091
|
'jsdoc/require-property-type'?: Linter.RuleEntry<[]>;
|
|
2075
2092
|
/**
|
|
2076
|
-
* Requires that returns are documented
|
|
2093
|
+
* Requires that returns are documented with `@returns`.
|
|
2077
2094
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns.md#repos-sticky-header
|
|
2078
2095
|
*/
|
|
2079
2096
|
'jsdoc/require-returns'?: Linter.RuleEntry<JsdocRequireReturns>;
|
|
2080
2097
|
/**
|
|
2081
|
-
* Requires a return statement in function body if a `@returns` tag is specified in
|
|
2098
|
+
* Requires a return statement in function body if a `@returns` tag is specified in JSDoc comment(and reports if multiple `@returns` tags are present).
|
|
2082
2099
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-check.md#repos-sticky-header
|
|
2083
2100
|
*/
|
|
2084
2101
|
'jsdoc/require-returns-check'?: Linter.RuleEntry<JsdocRequireReturnsCheck>;
|
|
2085
2102
|
/**
|
|
2086
|
-
* Requires that the `@returns` tag has a `description` value.
|
|
2103
|
+
* Requires that the `@returns` tag has a `description` value (not including `void`/`undefined` type returns).
|
|
2087
2104
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-description.md#repos-sticky-header
|
|
2088
2105
|
*/
|
|
2089
2106
|
'jsdoc/require-returns-description'?: Linter.RuleEntry<JsdocRequireReturnsDescription>;
|
|
2090
2107
|
/**
|
|
2091
|
-
* Requires that `@returns` tag has
|
|
2108
|
+
* Requires that `@returns` tag has type value (in curly brackets).
|
|
2092
2109
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-type.md#repos-sticky-header
|
|
2093
2110
|
*/
|
|
2094
2111
|
'jsdoc/require-returns-type'?: Linter.RuleEntry<JsdocRequireReturnsType>;
|
|
2095
2112
|
/**
|
|
2096
|
-
* Requires
|
|
2113
|
+
* Requires tags be present, optionally for specific contexts
|
|
2114
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-tags.md#repos-sticky-header
|
|
2115
|
+
*/
|
|
2116
|
+
'jsdoc/require-tags'?: Linter.RuleEntry<JsdocRequireTags>;
|
|
2117
|
+
/**
|
|
2118
|
+
* Requires `@template` tags be present when type parameters are used.
|
|
2097
2119
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template.md#repos-sticky-header
|
|
2098
2120
|
*/
|
|
2099
2121
|
'jsdoc/require-template'?: Linter.RuleEntry<JsdocRequireTemplate>;
|
|
2100
2122
|
/**
|
|
2101
|
-
* Requires that throw statements are documented.
|
|
2123
|
+
* Requires that throw statements are documented with `@throws` tags.
|
|
2102
2124
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws.md#repos-sticky-header
|
|
2103
2125
|
*/
|
|
2104
2126
|
'jsdoc/require-throws'?: Linter.RuleEntry<JsdocRequireThrows>;
|
|
2105
2127
|
/**
|
|
2106
|
-
* Requires
|
|
2128
|
+
* Requires a description for `@throws` tags
|
|
2129
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws-description.md#repos-sticky-header
|
|
2130
|
+
*/
|
|
2131
|
+
'jsdoc/require-throws-description'?: Linter.RuleEntry<[]>;
|
|
2132
|
+
/**
|
|
2133
|
+
* Requires a type for `@throws` tags
|
|
2134
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws-type.md#repos-sticky-header
|
|
2135
|
+
*/
|
|
2136
|
+
'jsdoc/require-throws-type'?: Linter.RuleEntry<[]>;
|
|
2137
|
+
/**
|
|
2138
|
+
* Requires yields are documented with `@yields` tags.
|
|
2107
2139
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields.md#repos-sticky-header
|
|
2108
2140
|
*/
|
|
2109
2141
|
'jsdoc/require-yields'?: Linter.RuleEntry<JsdocRequireYields>;
|
|
2110
2142
|
/**
|
|
2111
|
-
*
|
|
2143
|
+
* Ensures that if a `@yields` is present that a `yield` (or `yield` with a value) is present in the function body (or that if a `@next` is present that there is a yield with a return value present).
|
|
2112
2144
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields-check.md#repos-sticky-header
|
|
2113
2145
|
*/
|
|
2114
2146
|
'jsdoc/require-yields-check'?: Linter.RuleEntry<JsdocRequireYieldsCheck>;
|
|
2115
2147
|
/**
|
|
2116
|
-
*
|
|
2148
|
+
* Requires a description for `@yields` tags
|
|
2149
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields-description.md#repos-sticky-header
|
|
2150
|
+
*/
|
|
2151
|
+
'jsdoc/require-yields-description'?: Linter.RuleEntry<[]>;
|
|
2152
|
+
/**
|
|
2153
|
+
* Requires a type for `@yields` tags
|
|
2154
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields-type.md#repos-sticky-header
|
|
2155
|
+
*/
|
|
2156
|
+
'jsdoc/require-yields-type'?: Linter.RuleEntry<[]>;
|
|
2157
|
+
/**
|
|
2158
|
+
* Sorts tags by a specified sequence according to tag name, optionally adding line breaks between tag groups.
|
|
2117
2159
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/sort-tags.md#repos-sticky-header
|
|
2118
2160
|
*/
|
|
2119
2161
|
'jsdoc/sort-tags'?: Linter.RuleEntry<JsdocSortTags>;
|
|
2120
2162
|
/**
|
|
2121
|
-
* Enforces lines (or no lines) between tags.
|
|
2163
|
+
* Enforces lines (or no lines) before, after, or between tags.
|
|
2122
2164
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/tag-lines.md#repos-sticky-header
|
|
2123
2165
|
*/
|
|
2124
2166
|
'jsdoc/tag-lines'?: Linter.RuleEntry<JsdocTagLines>;
|
|
@@ -2128,7 +2170,12 @@ interface RuleOptions {
|
|
|
2128
2170
|
*/
|
|
2129
2171
|
'jsdoc/text-escaping'?: Linter.RuleEntry<JsdocTextEscaping>;
|
|
2130
2172
|
/**
|
|
2131
|
-
*
|
|
2173
|
+
* Formats JSDoc type values.
|
|
2174
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/type-formatting.md#repos-sticky-header
|
|
2175
|
+
*/
|
|
2176
|
+
'jsdoc/type-formatting'?: Linter.RuleEntry<JsdocTypeFormatting>;
|
|
2177
|
+
/**
|
|
2178
|
+
* Requires all types/namepaths to be valid JSDoc, Closure compiler, or TypeScript types (configurable in settings).
|
|
2132
2179
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/valid-types.md#repos-sticky-header
|
|
2133
2180
|
*/
|
|
2134
2181
|
'jsdoc/valid-types'?: Linter.RuleEntry<JsdocValidTypes>;
|
|
@@ -2464,7 +2511,7 @@ interface RuleOptions {
|
|
|
2464
2511
|
* Disallow missing label references
|
|
2465
2512
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-label-refs.md
|
|
2466
2513
|
*/
|
|
2467
|
-
'markdown/no-missing-label-refs'?: Linter.RuleEntry<
|
|
2514
|
+
'markdown/no-missing-label-refs'?: Linter.RuleEntry<MarkdownNoMissingLabelRefs>;
|
|
2468
2515
|
/**
|
|
2469
2516
|
* Disallow link fragments that do not reference valid headings
|
|
2470
2517
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-link-fragments.md
|
|
@@ -2475,6 +2522,11 @@ interface RuleOptions {
|
|
|
2475
2522
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-multiple-h1.md
|
|
2476
2523
|
*/
|
|
2477
2524
|
'markdown/no-multiple-h1'?: Linter.RuleEntry<MarkdownNoMultipleH1>;
|
|
2525
|
+
/**
|
|
2526
|
+
* Disallow URLs that match defined reference identifiers
|
|
2527
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-reference-like-urls.md
|
|
2528
|
+
*/
|
|
2529
|
+
'markdown/no-reference-like-urls'?: Linter.RuleEntry<[]>;
|
|
2478
2530
|
/**
|
|
2479
2531
|
* Disallow reversed link and image syntax
|
|
2480
2532
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-reversed-media-syntax.md
|
|
@@ -2621,12 +2673,12 @@ interface RuleOptions {
|
|
|
2621
2673
|
*/
|
|
2622
2674
|
'n/no-hide-core-modules'?: Linter.RuleEntry<NNoHideCoreModules>;
|
|
2623
2675
|
/**
|
|
2624
|
-
* disallow `import` declarations which import
|
|
2676
|
+
* disallow `import` declarations which import missing modules
|
|
2625
2677
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-missing-import.md
|
|
2626
2678
|
*/
|
|
2627
2679
|
'n/no-missing-import'?: Linter.RuleEntry<NNoMissingImport>;
|
|
2628
2680
|
/**
|
|
2629
|
-
* disallow `require()` expressions which import
|
|
2681
|
+
* disallow `require()` expressions which import missing modules
|
|
2630
2682
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-missing-require.md
|
|
2631
2683
|
*/
|
|
2632
2684
|
'n/no-missing-require'?: Linter.RuleEntry<NNoMissingRequire>;
|
|
@@ -3845,6 +3897,11 @@ interface RuleOptions {
|
|
|
3845
3897
|
* @see https://eslint.org/docs/latest/rules/prefer-template
|
|
3846
3898
|
*/
|
|
3847
3899
|
'prefer-template'?: Linter.RuleEntry<[]>;
|
|
3900
|
+
/**
|
|
3901
|
+
* Disallow losing originally caught error when re-throwing custom errors
|
|
3902
|
+
* @see https://eslint.org/docs/latest/rules/preserve-caught-error
|
|
3903
|
+
*/
|
|
3904
|
+
'preserve-caught-error'?: Linter.RuleEntry<PreserveCaughtError>;
|
|
3848
3905
|
/**
|
|
3849
3906
|
* Require quotes around object literal property names
|
|
3850
3907
|
* @see https://eslint.org/docs/latest/rules/quote-props
|
|
@@ -4415,6 +4472,11 @@ interface RuleOptions {
|
|
|
4415
4472
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/expect-expect.md
|
|
4416
4473
|
*/
|
|
4417
4474
|
'test/expect-expect'?: Linter.RuleEntry<TestExpectExpect>;
|
|
4475
|
+
/**
|
|
4476
|
+
* enforce hoisted APIs to be on top of the file
|
|
4477
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/hoisted-apis-on-top.md
|
|
4478
|
+
*/
|
|
4479
|
+
'test/hoisted-apis-on-top'?: Linter.RuleEntry<[]>;
|
|
4418
4480
|
/**
|
|
4419
4481
|
* enforce a maximum number of expect per test
|
|
4420
4482
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/max-expects.md
|
|
@@ -4879,690 +4941,710 @@ interface RuleOptions {
|
|
|
4879
4941
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>;
|
|
4880
4942
|
/**
|
|
4881
4943
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
4882
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4944
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/better-regex.md
|
|
4883
4945
|
*/
|
|
4884
4946
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>;
|
|
4885
4947
|
/**
|
|
4886
4948
|
* Enforce a specific parameter name in catch clauses.
|
|
4887
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4949
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/catch-error-name.md
|
|
4888
4950
|
*/
|
|
4889
4951
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>;
|
|
4890
4952
|
/**
|
|
4891
4953
|
* Enforce consistent assertion style with `node:assert`.
|
|
4892
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4954
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-assert.md
|
|
4893
4955
|
*/
|
|
4894
4956
|
'unicorn/consistent-assert'?: Linter.RuleEntry<[]>;
|
|
4895
4957
|
/**
|
|
4896
4958
|
* Prefer passing `Date` directly to the constructor when cloning.
|
|
4897
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4959
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-date-clone.md
|
|
4898
4960
|
*/
|
|
4899
4961
|
'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>;
|
|
4900
4962
|
/**
|
|
4901
4963
|
* Use destructured variables over properties.
|
|
4902
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4964
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-destructuring.md
|
|
4903
4965
|
*/
|
|
4904
4966
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>;
|
|
4905
4967
|
/**
|
|
4906
4968
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
4907
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4969
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-empty-array-spread.md
|
|
4908
4970
|
*/
|
|
4909
4971
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>;
|
|
4910
4972
|
/**
|
|
4911
4973
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
4912
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4974
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-existence-index-check.md
|
|
4913
4975
|
*/
|
|
4914
4976
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>;
|
|
4915
4977
|
/**
|
|
4916
4978
|
* Move function definitions to the highest possible scope.
|
|
4917
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4979
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-function-scoping.md
|
|
4918
4980
|
*/
|
|
4919
4981
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
|
|
4920
4982
|
/**
|
|
4921
4983
|
* Enforce correct `Error` subclassing.
|
|
4922
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4984
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/custom-error-definition.md
|
|
4923
4985
|
*/
|
|
4924
4986
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>;
|
|
4925
4987
|
/**
|
|
4926
4988
|
* Enforce no spaces between braces.
|
|
4927
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4989
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/empty-brace-spaces.md
|
|
4928
4990
|
*/
|
|
4929
4991
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>;
|
|
4930
4992
|
/**
|
|
4931
4993
|
* Enforce passing a `message` value when creating a built-in error.
|
|
4932
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4994
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/error-message.md
|
|
4933
4995
|
*/
|
|
4934
4996
|
'unicorn/error-message'?: Linter.RuleEntry<[]>;
|
|
4935
4997
|
/**
|
|
4936
4998
|
* Require escape sequences to use uppercase or lowercase values.
|
|
4937
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4999
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/escape-case.md
|
|
4938
5000
|
*/
|
|
4939
5001
|
'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>;
|
|
4940
5002
|
/**
|
|
4941
5003
|
* Add expiration conditions to TODO comments.
|
|
4942
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5004
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/expiring-todo-comments.md
|
|
4943
5005
|
*/
|
|
4944
5006
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>;
|
|
4945
5007
|
/**
|
|
4946
5008
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
4947
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5009
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/explicit-length-check.md
|
|
4948
5010
|
*/
|
|
4949
5011
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
|
|
4950
5012
|
/**
|
|
4951
5013
|
* Enforce a case style for filenames.
|
|
4952
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5014
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/filename-case.md
|
|
4953
5015
|
*/
|
|
4954
5016
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>;
|
|
4955
5017
|
/**
|
|
4956
5018
|
* Enforce specific import styles per module.
|
|
4957
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5019
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/import-style.md
|
|
4958
5020
|
*/
|
|
4959
5021
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>;
|
|
4960
5022
|
/**
|
|
4961
5023
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
4962
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5024
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/new-for-builtins.md
|
|
4963
5025
|
*/
|
|
4964
5026
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>;
|
|
4965
5027
|
/**
|
|
4966
5028
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
4967
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5029
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-abusive-eslint-disable.md
|
|
4968
5030
|
*/
|
|
4969
5031
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>;
|
|
4970
5032
|
/**
|
|
4971
5033
|
* Disallow recursive access to `this` within getters and setters.
|
|
4972
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5034
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-accessor-recursion.md
|
|
4973
5035
|
*/
|
|
4974
5036
|
'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>;
|
|
4975
5037
|
/**
|
|
4976
5038
|
* Disallow anonymous functions and classes as the default export.
|
|
4977
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5039
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-anonymous-default-export.md
|
|
4978
5040
|
*/
|
|
4979
5041
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>;
|
|
4980
5042
|
/**
|
|
4981
5043
|
* Prevent passing a function reference directly to iterator methods.
|
|
4982
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5044
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-callback-reference.md
|
|
4983
5045
|
*/
|
|
4984
5046
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>;
|
|
4985
5047
|
/**
|
|
4986
5048
|
* Prefer `for…of` over the `forEach` method.
|
|
4987
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5049
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-for-each.md
|
|
4988
5050
|
*/
|
|
4989
5051
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>;
|
|
4990
5052
|
/**
|
|
4991
5053
|
* Disallow using the `this` argument in array methods.
|
|
4992
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5054
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-method-this-argument.md
|
|
4993
5055
|
*/
|
|
4994
5056
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>;
|
|
4995
5057
|
/**
|
|
4996
5058
|
* Replaced by `unicorn/prefer-single-call` which covers more cases.
|
|
4997
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5059
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/deprecated-rules.md#no-array-push-push
|
|
4998
5060
|
* @deprecated
|
|
4999
5061
|
*/
|
|
5000
5062
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>;
|
|
5001
5063
|
/**
|
|
5002
5064
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
5003
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5065
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-reduce.md
|
|
5004
5066
|
*/
|
|
5005
5067
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>;
|
|
5006
5068
|
/**
|
|
5007
5069
|
* Prefer `Array#toReversed()` over `Array#reverse()`.
|
|
5008
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5070
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-reverse.md
|
|
5009
5071
|
*/
|
|
5010
5072
|
'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>;
|
|
5073
|
+
/**
|
|
5074
|
+
* Prefer `Array#toSorted()` over `Array#sort()`.
|
|
5075
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-sort.md
|
|
5076
|
+
*/
|
|
5077
|
+
'unicorn/no-array-sort'?: Linter.RuleEntry<UnicornNoArraySort>;
|
|
5011
5078
|
/**
|
|
5012
5079
|
* Disallow member access from await expression.
|
|
5013
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5080
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-await-expression-member.md
|
|
5014
5081
|
*/
|
|
5015
5082
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>;
|
|
5016
5083
|
/**
|
|
5017
5084
|
* Disallow using `await` in `Promise` method parameters.
|
|
5018
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5085
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-await-in-promise-methods.md
|
|
5019
5086
|
*/
|
|
5020
5087
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
5021
5088
|
/**
|
|
5022
5089
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
5023
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5090
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-console-spaces.md
|
|
5024
5091
|
*/
|
|
5025
5092
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>;
|
|
5026
5093
|
/**
|
|
5027
5094
|
* Do not use `document.cookie` directly.
|
|
5028
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5095
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-document-cookie.md
|
|
5029
5096
|
*/
|
|
5030
5097
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>;
|
|
5031
5098
|
/**
|
|
5032
5099
|
* Disallow empty files.
|
|
5033
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5100
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-empty-file.md
|
|
5034
5101
|
*/
|
|
5035
5102
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>;
|
|
5036
5103
|
/**
|
|
5037
5104
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
5038
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5105
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-for-loop.md
|
|
5039
5106
|
*/
|
|
5040
5107
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>;
|
|
5041
5108
|
/**
|
|
5042
5109
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
5043
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5110
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-hex-escape.md
|
|
5044
5111
|
*/
|
|
5045
5112
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>;
|
|
5046
5113
|
/**
|
|
5047
5114
|
* Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
|
|
5048
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5115
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/deprecated-rules.md#no-instanceof-array
|
|
5049
5116
|
* @deprecated
|
|
5050
5117
|
*/
|
|
5051
5118
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>;
|
|
5052
5119
|
/**
|
|
5053
5120
|
* Disallow `instanceof` with built-in objects
|
|
5054
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5121
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-instanceof-builtins.md
|
|
5055
5122
|
*/
|
|
5056
5123
|
'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
|
|
5057
5124
|
/**
|
|
5058
5125
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
5059
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5126
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-invalid-fetch-options.md
|
|
5060
5127
|
*/
|
|
5061
5128
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>;
|
|
5062
5129
|
/**
|
|
5063
5130
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
5064
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5131
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-invalid-remove-event-listener.md
|
|
5065
5132
|
*/
|
|
5066
5133
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>;
|
|
5067
5134
|
/**
|
|
5068
5135
|
* Disallow identifiers starting with `new` or `class`.
|
|
5069
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5136
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-keyword-prefix.md
|
|
5070
5137
|
*/
|
|
5071
5138
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
|
|
5072
5139
|
/**
|
|
5073
5140
|
* Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
|
|
5074
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5141
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/deprecated-rules.md#no-length-as-slice-end
|
|
5075
5142
|
* @deprecated
|
|
5076
5143
|
*/
|
|
5077
5144
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>;
|
|
5078
5145
|
/**
|
|
5079
5146
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
5080
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5147
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-lonely-if.md
|
|
5081
5148
|
*/
|
|
5082
5149
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>;
|
|
5083
5150
|
/**
|
|
5084
5151
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
5085
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5152
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-magic-array-flat-depth.md
|
|
5086
5153
|
*/
|
|
5087
5154
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>;
|
|
5088
5155
|
/**
|
|
5089
5156
|
* Disallow named usage of default import and export.
|
|
5090
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5157
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-named-default.md
|
|
5091
5158
|
*/
|
|
5092
5159
|
'unicorn/no-named-default'?: Linter.RuleEntry<[]>;
|
|
5093
5160
|
/**
|
|
5094
5161
|
* Disallow negated conditions.
|
|
5095
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5162
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-negated-condition.md
|
|
5096
5163
|
*/
|
|
5097
5164
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>;
|
|
5098
5165
|
/**
|
|
5099
5166
|
* Disallow negated expression in equality check.
|
|
5100
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5167
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-negation-in-equality-check.md
|
|
5101
5168
|
*/
|
|
5102
5169
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>;
|
|
5103
5170
|
/**
|
|
5104
5171
|
* Disallow nested ternary expressions.
|
|
5105
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5172
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-nested-ternary.md
|
|
5106
5173
|
*/
|
|
5107
5174
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>;
|
|
5108
5175
|
/**
|
|
5109
5176
|
* Disallow `new Array()`.
|
|
5110
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5177
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-new-array.md
|
|
5111
5178
|
*/
|
|
5112
5179
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>;
|
|
5113
5180
|
/**
|
|
5114
5181
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
5115
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5182
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-new-buffer.md
|
|
5116
5183
|
*/
|
|
5117
5184
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>;
|
|
5118
5185
|
/**
|
|
5119
5186
|
* Disallow the use of the `null` literal.
|
|
5120
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5187
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-null.md
|
|
5121
5188
|
*/
|
|
5122
5189
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>;
|
|
5123
5190
|
/**
|
|
5124
5191
|
* Disallow the use of objects as default parameters.
|
|
5125
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5192
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-object-as-default-parameter.md
|
|
5126
5193
|
*/
|
|
5127
5194
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>;
|
|
5128
5195
|
/**
|
|
5129
5196
|
* Disallow `process.exit()`.
|
|
5130
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5197
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-process-exit.md
|
|
5131
5198
|
*/
|
|
5132
5199
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>;
|
|
5133
5200
|
/**
|
|
5134
5201
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
5135
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5202
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-single-promise-in-promise-methods.md
|
|
5136
5203
|
*/
|
|
5137
5204
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
5138
5205
|
/**
|
|
5139
5206
|
* Disallow classes that only have static members.
|
|
5140
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5207
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-static-only-class.md
|
|
5141
5208
|
*/
|
|
5142
5209
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>;
|
|
5143
5210
|
/**
|
|
5144
5211
|
* Disallow `then` property.
|
|
5145
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5212
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-thenable.md
|
|
5146
5213
|
*/
|
|
5147
5214
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>;
|
|
5148
5215
|
/**
|
|
5149
5216
|
* Disallow assigning `this` to a variable.
|
|
5150
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5217
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-this-assignment.md
|
|
5151
5218
|
*/
|
|
5152
5219
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>;
|
|
5153
5220
|
/**
|
|
5154
5221
|
* Disallow comparing `undefined` using `typeof`.
|
|
5155
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5222
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-typeof-undefined.md
|
|
5156
5223
|
*/
|
|
5157
5224
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
|
|
5158
5225
|
/**
|
|
5159
5226
|
* Disallow using `1` as the `depth` argument of `Array#flat()`.
|
|
5160
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5227
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-array-flat-depth.md
|
|
5161
5228
|
*/
|
|
5162
5229
|
'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>;
|
|
5163
5230
|
/**
|
|
5164
5231
|
* Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
|
|
5165
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5232
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-array-splice-count.md
|
|
5166
5233
|
*/
|
|
5167
5234
|
'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>;
|
|
5168
5235
|
/**
|
|
5169
5236
|
* Disallow awaiting non-promise values.
|
|
5170
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5237
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-await.md
|
|
5171
5238
|
*/
|
|
5172
5239
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>;
|
|
5173
5240
|
/**
|
|
5174
5241
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
5175
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5242
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-polyfills.md
|
|
5176
5243
|
*/
|
|
5177
5244
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
|
|
5178
5245
|
/**
|
|
5179
5246
|
* Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
5180
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5247
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-slice-end.md
|
|
5181
5248
|
*/
|
|
5182
5249
|
'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>;
|
|
5183
5250
|
/**
|
|
5184
5251
|
* Disallow unreadable array destructuring.
|
|
5185
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5252
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unreadable-array-destructuring.md
|
|
5186
5253
|
*/
|
|
5187
5254
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>;
|
|
5188
5255
|
/**
|
|
5189
5256
|
* Disallow unreadable IIFEs.
|
|
5190
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5257
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unreadable-iife.md
|
|
5191
5258
|
*/
|
|
5192
5259
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>;
|
|
5193
5260
|
/**
|
|
5194
5261
|
* Disallow unused object properties.
|
|
5195
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5262
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unused-properties.md
|
|
5196
5263
|
*/
|
|
5197
5264
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>;
|
|
5198
5265
|
/**
|
|
5199
5266
|
* Disallow unnecessary `Error.captureStackTrace(…)`.
|
|
5200
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5267
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-error-capture-stack-trace.md
|
|
5201
5268
|
*/
|
|
5202
5269
|
'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>;
|
|
5203
5270
|
/**
|
|
5204
5271
|
* Disallow useless fallback when spreading in object literals.
|
|
5205
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5272
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-fallback-in-spread.md
|
|
5206
5273
|
*/
|
|
5207
5274
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>;
|
|
5208
5275
|
/**
|
|
5209
5276
|
* Disallow useless array length check.
|
|
5210
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5277
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-length-check.md
|
|
5211
5278
|
*/
|
|
5212
5279
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>;
|
|
5213
5280
|
/**
|
|
5214
5281
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
5215
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5282
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-promise-resolve-reject.md
|
|
5216
5283
|
*/
|
|
5217
5284
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>;
|
|
5218
5285
|
/**
|
|
5219
5286
|
* Disallow unnecessary spread.
|
|
5220
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5287
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-spread.md
|
|
5221
5288
|
*/
|
|
5222
5289
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>;
|
|
5223
5290
|
/**
|
|
5224
5291
|
* Disallow useless case in switch statements.
|
|
5225
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5292
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-switch-case.md
|
|
5226
5293
|
*/
|
|
5227
5294
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>;
|
|
5228
5295
|
/**
|
|
5229
5296
|
* Disallow useless `undefined`.
|
|
5230
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5297
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-undefined.md
|
|
5231
5298
|
*/
|
|
5232
5299
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>;
|
|
5233
5300
|
/**
|
|
5234
5301
|
* Disallow number literals with zero fractions or dangling dots.
|
|
5235
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5302
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-zero-fractions.md
|
|
5236
5303
|
*/
|
|
5237
5304
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>;
|
|
5238
5305
|
/**
|
|
5239
5306
|
* Enforce proper case for numeric literals.
|
|
5240
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5307
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/number-literal-case.md
|
|
5241
5308
|
*/
|
|
5242
5309
|
'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>;
|
|
5243
5310
|
/**
|
|
5244
5311
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
5245
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5312
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/numeric-separators-style.md
|
|
5246
5313
|
*/
|
|
5247
5314
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
|
|
5248
5315
|
/**
|
|
5249
5316
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
5250
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5317
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-add-event-listener.md
|
|
5251
5318
|
*/
|
|
5252
5319
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>;
|
|
5253
5320
|
/**
|
|
5254
5321
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
5255
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5322
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-find.md
|
|
5256
5323
|
*/
|
|
5257
5324
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>;
|
|
5258
5325
|
/**
|
|
5259
5326
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
5260
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5327
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-flat.md
|
|
5261
5328
|
*/
|
|
5262
5329
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>;
|
|
5263
5330
|
/**
|
|
5264
5331
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
5265
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5332
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-flat-map.md
|
|
5266
5333
|
*/
|
|
5267
5334
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>;
|
|
5268
5335
|
/**
|
|
5269
5336
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
5270
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5337
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-index-of.md
|
|
5271
5338
|
*/
|
|
5272
5339
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>;
|
|
5273
5340
|
/**
|
|
5274
5341
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
5275
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5342
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-some.md
|
|
5276
5343
|
*/
|
|
5277
5344
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>;
|
|
5278
5345
|
/**
|
|
5279
5346
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
5280
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5347
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-at.md
|
|
5281
5348
|
*/
|
|
5282
5349
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>;
|
|
5350
|
+
/**
|
|
5351
|
+
* Prefer `BigInt` literals over the constructor.
|
|
5352
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-bigint-literals.md
|
|
5353
|
+
*/
|
|
5354
|
+
'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>;
|
|
5283
5355
|
/**
|
|
5284
5356
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
5285
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5357
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-blob-reading-methods.md
|
|
5286
5358
|
*/
|
|
5287
5359
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>;
|
|
5288
5360
|
/**
|
|
5289
5361
|
* Prefer class field declarations over `this` assignments in constructors.
|
|
5290
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5362
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-class-fields.md
|
|
5291
5363
|
*/
|
|
5292
5364
|
'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>;
|
|
5365
|
+
/**
|
|
5366
|
+
* Prefer using `Element#classList.toggle()` to toggle class names.
|
|
5367
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-classlist-toggle.md
|
|
5368
|
+
*/
|
|
5369
|
+
'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>;
|
|
5293
5370
|
/**
|
|
5294
5371
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
5295
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5372
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-code-point.md
|
|
5296
5373
|
*/
|
|
5297
5374
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>;
|
|
5298
5375
|
/**
|
|
5299
5376
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
5300
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5377
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-date-now.md
|
|
5301
5378
|
*/
|
|
5302
5379
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>;
|
|
5303
5380
|
/**
|
|
5304
5381
|
* Prefer default parameters over reassignment.
|
|
5305
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5382
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-default-parameters.md
|
|
5306
5383
|
*/
|
|
5307
5384
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>;
|
|
5308
5385
|
/**
|
|
5309
5386
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
5310
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5387
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-append.md
|
|
5311
5388
|
*/
|
|
5312
5389
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>;
|
|
5313
5390
|
/**
|
|
5314
5391
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
5315
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5392
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-dataset.md
|
|
5316
5393
|
*/
|
|
5317
5394
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>;
|
|
5318
5395
|
/**
|
|
5319
5396
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
5320
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5397
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-remove.md
|
|
5321
5398
|
*/
|
|
5322
5399
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>;
|
|
5323
5400
|
/**
|
|
5324
5401
|
* Prefer `.textContent` over `.innerText`.
|
|
5325
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5402
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-text-content.md
|
|
5326
5403
|
*/
|
|
5327
5404
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>;
|
|
5328
5405
|
/**
|
|
5329
5406
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
5330
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5407
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-event-target.md
|
|
5331
5408
|
*/
|
|
5332
5409
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>;
|
|
5333
5410
|
/**
|
|
5334
5411
|
* Prefer `export…from` when re-exporting.
|
|
5335
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5412
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-export-from.md
|
|
5336
5413
|
*/
|
|
5337
5414
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>;
|
|
5338
5415
|
/**
|
|
5339
5416
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
5340
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5417
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-global-this.md
|
|
5341
5418
|
*/
|
|
5342
5419
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>;
|
|
5343
5420
|
/**
|
|
5344
5421
|
* Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
|
|
5345
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5422
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-import-meta-properties.md
|
|
5346
5423
|
*/
|
|
5347
5424
|
'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>;
|
|
5348
5425
|
/**
|
|
5349
5426
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
5350
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5427
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-includes.md
|
|
5351
5428
|
*/
|
|
5352
5429
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>;
|
|
5353
5430
|
/**
|
|
5354
5431
|
* Prefer reading a JSON file as a buffer.
|
|
5355
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5432
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-json-parse-buffer.md
|
|
5356
5433
|
*/
|
|
5357
5434
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>;
|
|
5358
5435
|
/**
|
|
5359
5436
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
5360
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5437
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-keyboard-event-key.md
|
|
5361
5438
|
*/
|
|
5362
5439
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>;
|
|
5363
5440
|
/**
|
|
5364
5441
|
* Prefer using a logical operator over a ternary.
|
|
5365
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5442
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-logical-operator-over-ternary.md
|
|
5366
5443
|
*/
|
|
5367
5444
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>;
|
|
5368
5445
|
/**
|
|
5369
5446
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
5370
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5447
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-math-min-max.md
|
|
5371
5448
|
*/
|
|
5372
5449
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>;
|
|
5373
5450
|
/**
|
|
5374
5451
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
5375
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5452
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-math-trunc.md
|
|
5376
5453
|
*/
|
|
5377
5454
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>;
|
|
5378
5455
|
/**
|
|
5379
5456
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
5380
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5457
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-modern-dom-apis.md
|
|
5381
5458
|
*/
|
|
5382
5459
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>;
|
|
5383
5460
|
/**
|
|
5384
5461
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
5385
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5462
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-modern-math-apis.md
|
|
5386
5463
|
*/
|
|
5387
5464
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>;
|
|
5388
5465
|
/**
|
|
5389
5466
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
5390
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5467
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-module.md
|
|
5391
5468
|
*/
|
|
5392
5469
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>;
|
|
5393
5470
|
/**
|
|
5394
5471
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
5395
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5472
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-native-coercion-functions.md
|
|
5396
5473
|
*/
|
|
5397
5474
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>;
|
|
5398
5475
|
/**
|
|
5399
5476
|
* Prefer negative index over `.length - index` when possible.
|
|
5400
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5477
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-negative-index.md
|
|
5401
5478
|
*/
|
|
5402
5479
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>;
|
|
5403
5480
|
/**
|
|
5404
5481
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
5405
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5482
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-node-protocol.md
|
|
5406
5483
|
*/
|
|
5407
5484
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>;
|
|
5408
5485
|
/**
|
|
5409
5486
|
* Prefer `Number` static properties over global ones.
|
|
5410
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5487
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-number-properties.md
|
|
5411
5488
|
*/
|
|
5412
5489
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>;
|
|
5413
5490
|
/**
|
|
5414
5491
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
5415
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5492
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-object-from-entries.md
|
|
5416
5493
|
*/
|
|
5417
5494
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
|
|
5418
5495
|
/**
|
|
5419
5496
|
* Prefer omitting the `catch` binding parameter.
|
|
5420
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5497
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-optional-catch-binding.md
|
|
5421
5498
|
*/
|
|
5422
5499
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>;
|
|
5423
5500
|
/**
|
|
5424
5501
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
5425
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5502
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-prototype-methods.md
|
|
5426
5503
|
*/
|
|
5427
5504
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>;
|
|
5428
5505
|
/**
|
|
5429
5506
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
5430
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5507
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-query-selector.md
|
|
5431
5508
|
*/
|
|
5432
5509
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>;
|
|
5433
5510
|
/**
|
|
5434
5511
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
5435
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5512
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-reflect-apply.md
|
|
5436
5513
|
*/
|
|
5437
5514
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>;
|
|
5438
5515
|
/**
|
|
5439
5516
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
5440
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5517
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-regexp-test.md
|
|
5441
5518
|
*/
|
|
5442
5519
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>;
|
|
5443
5520
|
/**
|
|
5444
5521
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
5445
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5522
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-set-has.md
|
|
5446
5523
|
*/
|
|
5447
5524
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>;
|
|
5448
5525
|
/**
|
|
5449
5526
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
5450
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5527
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-set-size.md
|
|
5451
5528
|
*/
|
|
5452
5529
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>;
|
|
5453
5530
|
/**
|
|
5454
5531
|
* Enforce combining multiple `Array#push()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
|
|
5455
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5532
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-single-call.md
|
|
5456
5533
|
*/
|
|
5457
5534
|
'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>;
|
|
5458
5535
|
/**
|
|
5459
5536
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
5460
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5537
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-spread.md
|
|
5461
5538
|
*/
|
|
5462
5539
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>;
|
|
5463
5540
|
/**
|
|
5464
5541
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
5465
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5542
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-raw.md
|
|
5466
5543
|
*/
|
|
5467
5544
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>;
|
|
5468
5545
|
/**
|
|
5469
5546
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
5470
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5547
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-replace-all.md
|
|
5471
5548
|
*/
|
|
5472
5549
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>;
|
|
5473
5550
|
/**
|
|
5474
5551
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
5475
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5552
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-slice.md
|
|
5476
5553
|
*/
|
|
5477
5554
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>;
|
|
5478
5555
|
/**
|
|
5479
5556
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
5480
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5557
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-starts-ends-with.md
|
|
5481
5558
|
*/
|
|
5482
5559
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>;
|
|
5483
5560
|
/**
|
|
5484
5561
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
5485
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5562
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-trim-start-end.md
|
|
5486
5563
|
*/
|
|
5487
5564
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>;
|
|
5488
5565
|
/**
|
|
5489
5566
|
* Prefer using `structuredClone` to create a deep clone.
|
|
5490
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5567
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-structured-clone.md
|
|
5491
5568
|
*/
|
|
5492
5569
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>;
|
|
5493
5570
|
/**
|
|
5494
5571
|
* Prefer `switch` over multiple `else-if`.
|
|
5495
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5572
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-switch.md
|
|
5496
5573
|
*/
|
|
5497
5574
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>;
|
|
5498
5575
|
/**
|
|
5499
5576
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
5500
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5577
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-ternary.md
|
|
5501
5578
|
*/
|
|
5502
5579
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>;
|
|
5503
5580
|
/**
|
|
5504
5581
|
* Prefer top-level await over top-level promises and async function calls.
|
|
5505
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5582
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-top-level-await.md
|
|
5506
5583
|
*/
|
|
5507
5584
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>;
|
|
5508
5585
|
/**
|
|
5509
5586
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
5510
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5587
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-type-error.md
|
|
5511
5588
|
*/
|
|
5512
5589
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>;
|
|
5513
5590
|
/**
|
|
5514
5591
|
* Prevent abbreviations.
|
|
5515
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5592
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prevent-abbreviations.md
|
|
5516
5593
|
*/
|
|
5517
5594
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>;
|
|
5518
5595
|
/**
|
|
5519
5596
|
* Enforce consistent relative URL style.
|
|
5520
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5597
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/relative-url-style.md
|
|
5521
5598
|
*/
|
|
5522
5599
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
|
|
5523
5600
|
/**
|
|
5524
5601
|
* Enforce using the separator argument with `Array#join()`.
|
|
5525
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5602
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-array-join-separator.md
|
|
5526
5603
|
*/
|
|
5527
5604
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>;
|
|
5605
|
+
/**
|
|
5606
|
+
* Require non-empty module attributes for imports and exports
|
|
5607
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-module-attributes.md
|
|
5608
|
+
*/
|
|
5609
|
+
'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>;
|
|
5528
5610
|
/**
|
|
5529
5611
|
* Require non-empty specifier list in import and export statements.
|
|
5530
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5612
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-module-specifiers.md
|
|
5531
5613
|
*/
|
|
5532
5614
|
'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>;
|
|
5533
5615
|
/**
|
|
5534
5616
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
5535
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5617
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-number-to-fixed-digits-argument.md
|
|
5536
5618
|
*/
|
|
5537
5619
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>;
|
|
5538
5620
|
/**
|
|
5539
5621
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
5540
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5622
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-post-message-target-origin.md
|
|
5541
5623
|
*/
|
|
5542
5624
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>;
|
|
5543
5625
|
/**
|
|
5544
5626
|
* Enforce better string content.
|
|
5545
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5627
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/string-content.md
|
|
5546
5628
|
*/
|
|
5547
5629
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>;
|
|
5548
5630
|
/**
|
|
5549
5631
|
* Enforce consistent brace style for `case` clauses.
|
|
5550
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5632
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/switch-case-braces.md
|
|
5551
5633
|
*/
|
|
5552
5634
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
|
|
5553
5635
|
/**
|
|
5554
5636
|
* Fix whitespace-insensitive template indentation.
|
|
5555
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5637
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/template-indent.md
|
|
5556
5638
|
*/
|
|
5557
5639
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>;
|
|
5558
5640
|
/**
|
|
5559
5641
|
* Enforce consistent case for text encoding identifiers.
|
|
5560
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5642
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/text-encoding-identifier-case.md
|
|
5561
5643
|
*/
|
|
5562
5644
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>;
|
|
5563
5645
|
/**
|
|
5564
5646
|
* Require `new` when creating an error.
|
|
5565
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5647
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/throw-new-error.md
|
|
5566
5648
|
*/
|
|
5567
5649
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>;
|
|
5568
5650
|
/**
|
|
@@ -5884,7 +5966,7 @@ interface RuleOptions {
|
|
|
5884
5966
|
* disallow asynchronous actions in computed properties
|
|
5885
5967
|
* @see https://eslint.vuejs.org/rules/no-async-in-computed-properties.html
|
|
5886
5968
|
*/
|
|
5887
|
-
'vue/no-async-in-computed-properties'?: Linter.RuleEntry<
|
|
5969
|
+
'vue/no-async-in-computed-properties'?: Linter.RuleEntry<VueNoAsyncInComputedProperties>;
|
|
5888
5970
|
/**
|
|
5889
5971
|
* disallow the use of bare strings in `<template>`
|
|
5890
5972
|
* @see https://eslint.vuejs.org/rules/no-bare-strings-in-template.html
|
|
@@ -6385,7 +6467,7 @@ interface RuleOptions {
|
|
|
6385
6467
|
* disallow use of v-html to prevent XSS attack
|
|
6386
6468
|
* @see https://eslint.vuejs.org/rules/no-v-html.html
|
|
6387
6469
|
*/
|
|
6388
|
-
'vue/no-v-html'?: Linter.RuleEntry<
|
|
6470
|
+
'vue/no-v-html'?: Linter.RuleEntry<VueNoVHtml>;
|
|
6389
6471
|
/**
|
|
6390
6472
|
* disallow adding an argument to `v-model` used in custom component
|
|
6391
6473
|
* @see https://eslint.vuejs.org/rules/no-v-model-argument.html
|
|
@@ -6993,7 +7075,6 @@ interface RuleOptions {
|
|
|
6993
7075
|
*/
|
|
6994
7076
|
'yoda'?: Linter.RuleEntry<Yoda>;
|
|
6995
7077
|
}
|
|
6996
|
-
|
|
6997
7078
|
/* ======= Declarations ======= */
|
|
6998
7079
|
// ----- @eslint-community/eslint-comments/disable-enable-pair -----
|
|
6999
7080
|
type EslintCommunityEslintCommentsDisableEnablePair = [] | [{
|
|
@@ -7220,6 +7301,10 @@ type StylisticGeneratorStarSpacing = [] | [(("before" | "after" | "both" | "neit
|
|
|
7220
7301
|
before?: boolean;
|
|
7221
7302
|
after?: boolean;
|
|
7222
7303
|
});
|
|
7304
|
+
shorthand?: (("before" | "after" | "both" | "neither") | {
|
|
7305
|
+
before?: boolean;
|
|
7306
|
+
after?: boolean;
|
|
7307
|
+
});
|
|
7223
7308
|
})];
|
|
7224
7309
|
// ----- @stylistic/implicit-arrow-linebreak -----
|
|
7225
7310
|
type StylisticImplicitArrowLinebreak = [] | [("beside" | "below")];
|
|
@@ -7465,22 +7550,6 @@ type StylisticKeywordSpacing = [] | [{
|
|
|
7465
7550
|
before?: boolean;
|
|
7466
7551
|
after?: boolean;
|
|
7467
7552
|
};
|
|
7468
|
-
arguments?: {
|
|
7469
|
-
before?: boolean;
|
|
7470
|
-
after?: boolean;
|
|
7471
|
-
};
|
|
7472
|
-
as?: {
|
|
7473
|
-
before?: boolean;
|
|
7474
|
-
after?: boolean;
|
|
7475
|
-
};
|
|
7476
|
-
async?: {
|
|
7477
|
-
before?: boolean;
|
|
7478
|
-
after?: boolean;
|
|
7479
|
-
};
|
|
7480
|
-
await?: {
|
|
7481
|
-
before?: boolean;
|
|
7482
|
-
after?: boolean;
|
|
7483
|
-
};
|
|
7484
7553
|
boolean?: {
|
|
7485
7554
|
before?: boolean;
|
|
7486
7555
|
after?: boolean;
|
|
@@ -7545,10 +7614,6 @@ type StylisticKeywordSpacing = [] | [{
|
|
|
7545
7614
|
before?: boolean;
|
|
7546
7615
|
after?: boolean;
|
|
7547
7616
|
};
|
|
7548
|
-
eval?: {
|
|
7549
|
-
before?: boolean;
|
|
7550
|
-
after?: boolean;
|
|
7551
|
-
};
|
|
7552
7617
|
export?: {
|
|
7553
7618
|
before?: boolean;
|
|
7554
7619
|
after?: boolean;
|
|
@@ -7577,18 +7642,10 @@ type StylisticKeywordSpacing = [] | [{
|
|
|
7577
7642
|
before?: boolean;
|
|
7578
7643
|
after?: boolean;
|
|
7579
7644
|
};
|
|
7580
|
-
from?: {
|
|
7581
|
-
before?: boolean;
|
|
7582
|
-
after?: boolean;
|
|
7583
|
-
};
|
|
7584
7645
|
function?: {
|
|
7585
7646
|
before?: boolean;
|
|
7586
7647
|
after?: boolean;
|
|
7587
7648
|
};
|
|
7588
|
-
get?: {
|
|
7589
|
-
before?: boolean;
|
|
7590
|
-
after?: boolean;
|
|
7591
|
-
};
|
|
7592
7649
|
goto?: {
|
|
7593
7650
|
before?: boolean;
|
|
7594
7651
|
after?: boolean;
|
|
@@ -7621,10 +7678,6 @@ type StylisticKeywordSpacing = [] | [{
|
|
|
7621
7678
|
before?: boolean;
|
|
7622
7679
|
after?: boolean;
|
|
7623
7680
|
};
|
|
7624
|
-
let?: {
|
|
7625
|
-
before?: boolean;
|
|
7626
|
-
after?: boolean;
|
|
7627
|
-
};
|
|
7628
7681
|
long?: {
|
|
7629
7682
|
before?: boolean;
|
|
7630
7683
|
after?: boolean;
|
|
@@ -7641,10 +7694,6 @@ type StylisticKeywordSpacing = [] | [{
|
|
|
7641
7694
|
before?: boolean;
|
|
7642
7695
|
after?: boolean;
|
|
7643
7696
|
};
|
|
7644
|
-
of?: {
|
|
7645
|
-
before?: boolean;
|
|
7646
|
-
after?: boolean;
|
|
7647
|
-
};
|
|
7648
7697
|
package?: {
|
|
7649
7698
|
before?: boolean;
|
|
7650
7699
|
after?: boolean;
|
|
@@ -7665,10 +7714,6 @@ type StylisticKeywordSpacing = [] | [{
|
|
|
7665
7714
|
before?: boolean;
|
|
7666
7715
|
after?: boolean;
|
|
7667
7716
|
};
|
|
7668
|
-
set?: {
|
|
7669
|
-
before?: boolean;
|
|
7670
|
-
after?: boolean;
|
|
7671
|
-
};
|
|
7672
7717
|
short?: {
|
|
7673
7718
|
before?: boolean;
|
|
7674
7719
|
after?: boolean;
|
|
@@ -7713,18 +7758,10 @@ type StylisticKeywordSpacing = [] | [{
|
|
|
7713
7758
|
before?: boolean;
|
|
7714
7759
|
after?: boolean;
|
|
7715
7760
|
};
|
|
7716
|
-
type?: {
|
|
7717
|
-
before?: boolean;
|
|
7718
|
-
after?: boolean;
|
|
7719
|
-
};
|
|
7720
7761
|
typeof?: {
|
|
7721
7762
|
before?: boolean;
|
|
7722
7763
|
after?: boolean;
|
|
7723
7764
|
};
|
|
7724
|
-
using?: {
|
|
7725
|
-
before?: boolean;
|
|
7726
|
-
after?: boolean;
|
|
7727
|
-
};
|
|
7728
7765
|
var?: {
|
|
7729
7766
|
before?: boolean;
|
|
7730
7767
|
after?: boolean;
|
|
@@ -7745,6 +7782,54 @@ type StylisticKeywordSpacing = [] | [{
|
|
|
7745
7782
|
before?: boolean;
|
|
7746
7783
|
after?: boolean;
|
|
7747
7784
|
};
|
|
7785
|
+
arguments?: {
|
|
7786
|
+
before?: boolean;
|
|
7787
|
+
after?: boolean;
|
|
7788
|
+
};
|
|
7789
|
+
as?: {
|
|
7790
|
+
before?: boolean;
|
|
7791
|
+
after?: boolean;
|
|
7792
|
+
};
|
|
7793
|
+
async?: {
|
|
7794
|
+
before?: boolean;
|
|
7795
|
+
after?: boolean;
|
|
7796
|
+
};
|
|
7797
|
+
await?: {
|
|
7798
|
+
before?: boolean;
|
|
7799
|
+
after?: boolean;
|
|
7800
|
+
};
|
|
7801
|
+
eval?: {
|
|
7802
|
+
before?: boolean;
|
|
7803
|
+
after?: boolean;
|
|
7804
|
+
};
|
|
7805
|
+
from?: {
|
|
7806
|
+
before?: boolean;
|
|
7807
|
+
after?: boolean;
|
|
7808
|
+
};
|
|
7809
|
+
get?: {
|
|
7810
|
+
before?: boolean;
|
|
7811
|
+
after?: boolean;
|
|
7812
|
+
};
|
|
7813
|
+
let?: {
|
|
7814
|
+
before?: boolean;
|
|
7815
|
+
after?: boolean;
|
|
7816
|
+
};
|
|
7817
|
+
of?: {
|
|
7818
|
+
before?: boolean;
|
|
7819
|
+
after?: boolean;
|
|
7820
|
+
};
|
|
7821
|
+
set?: {
|
|
7822
|
+
before?: boolean;
|
|
7823
|
+
after?: boolean;
|
|
7824
|
+
};
|
|
7825
|
+
type?: {
|
|
7826
|
+
before?: boolean;
|
|
7827
|
+
after?: boolean;
|
|
7828
|
+
};
|
|
7829
|
+
using?: {
|
|
7830
|
+
before?: boolean;
|
|
7831
|
+
after?: boolean;
|
|
7832
|
+
};
|
|
7748
7833
|
yield?: {
|
|
7749
7834
|
before?: boolean;
|
|
7750
7835
|
after?: boolean;
|
|
@@ -8044,6 +8129,18 @@ type StylisticObjectCurlyNewline = [] | [((("always" | "never") | {
|
|
|
8044
8129
|
type StylisticObjectCurlySpacing = [] | [("always" | "never")] | [("always" | "never"), {
|
|
8045
8130
|
arraysInObjects?: boolean;
|
|
8046
8131
|
objectsInObjects?: boolean;
|
|
8132
|
+
overrides?: {
|
|
8133
|
+
ObjectPattern?: ("always" | "never");
|
|
8134
|
+
ObjectExpression?: ("always" | "never");
|
|
8135
|
+
ImportDeclaration?: ("always" | "never");
|
|
8136
|
+
ImportAttributes?: ("always" | "never");
|
|
8137
|
+
ExportNamedDeclaration?: ("always" | "never");
|
|
8138
|
+
ExportAllDeclaration?: ("always" | "never");
|
|
8139
|
+
TSMappedType?: ("always" | "never");
|
|
8140
|
+
TSTypeLiteral?: ("always" | "never");
|
|
8141
|
+
TSInterfaceBody?: ("always" | "never");
|
|
8142
|
+
TSEnumBody?: ("always" | "never");
|
|
8143
|
+
};
|
|
8047
8144
|
}];
|
|
8048
8145
|
// ----- @stylistic/object-property-newline -----
|
|
8049
8146
|
type StylisticObjectPropertyNewline = [] | [{
|
|
@@ -9491,6 +9588,10 @@ type IndentLegacy = [] | [("tab" | number)] | [("tab" | number), {
|
|
|
9491
9588
|
type InitDeclarations = ([] | ["always"] | [] | ["never"] | ["never", {
|
|
9492
9589
|
ignoreForLoopInit?: boolean;
|
|
9493
9590
|
}]);
|
|
9591
|
+
// ----- jsdoc/check-alignment -----
|
|
9592
|
+
type JsdocCheckAlignment = [] | [{
|
|
9593
|
+
innerIndent?: number;
|
|
9594
|
+
}];
|
|
9494
9595
|
// ----- jsdoc/check-examples -----
|
|
9495
9596
|
type JsdocCheckExamples = [] | [{
|
|
9496
9597
|
allowInlineConfig?: boolean;
|
|
@@ -9780,6 +9881,7 @@ type JsdocRequireJsdoc = [] | [{
|
|
|
9780
9881
|
enableFixer?: boolean;
|
|
9781
9882
|
exemptEmptyConstructors?: boolean;
|
|
9782
9883
|
exemptEmptyFunctions?: boolean;
|
|
9884
|
+
exemptOverloadedImplementations?: boolean;
|
|
9783
9885
|
fixerMessage?: string;
|
|
9784
9886
|
minLineCount?: number;
|
|
9785
9887
|
publicOnly?: (boolean | {
|
|
@@ -9796,6 +9898,7 @@ type JsdocRequireJsdoc = [] | [{
|
|
|
9796
9898
|
FunctionExpression?: boolean;
|
|
9797
9899
|
MethodDefinition?: boolean;
|
|
9798
9900
|
};
|
|
9901
|
+
skipInterveningOverloadedDeclarations?: boolean;
|
|
9799
9902
|
}];
|
|
9800
9903
|
// ----- jsdoc/require-param -----
|
|
9801
9904
|
type JsdocRequireParam = [] | [{
|
|
@@ -9816,6 +9919,7 @@ type JsdocRequireParam = [] | [{
|
|
|
9816
9919
|
enableRootFixer?: boolean;
|
|
9817
9920
|
exemptedBy?: string[];
|
|
9818
9921
|
ignoreWhenAllParamsMissing?: boolean;
|
|
9922
|
+
interfaceExemptsParamsCheck?: boolean;
|
|
9819
9923
|
unnamedRootBase?: string[];
|
|
9820
9924
|
useDefaultObjectProperties?: boolean;
|
|
9821
9925
|
}];
|
|
@@ -9884,8 +9988,17 @@ type JsdocRequireReturnsType = [] | [{
|
|
|
9884
9988
|
context?: string;
|
|
9885
9989
|
})[];
|
|
9886
9990
|
}];
|
|
9991
|
+
// ----- jsdoc/require-tags -----
|
|
9992
|
+
type JsdocRequireTags = [] | [{
|
|
9993
|
+
tags?: (string | {
|
|
9994
|
+
context?: string;
|
|
9995
|
+
tag?: string;
|
|
9996
|
+
[k: string]: unknown | undefined;
|
|
9997
|
+
})[];
|
|
9998
|
+
}];
|
|
9887
9999
|
// ----- jsdoc/require-template -----
|
|
9888
10000
|
type JsdocRequireTemplate = [] | [{
|
|
10001
|
+
exemptedBy?: string[];
|
|
9889
10002
|
requireSeparateTemplates?: boolean;
|
|
9890
10003
|
}];
|
|
9891
10004
|
// ----- jsdoc/require-throws -----
|
|
@@ -9916,7 +10029,6 @@ type JsdocRequireYieldsCheck = [] | [{
|
|
|
9916
10029
|
comment?: string;
|
|
9917
10030
|
context?: string;
|
|
9918
10031
|
})[];
|
|
9919
|
-
exemptedBy?: string[];
|
|
9920
10032
|
next?: boolean;
|
|
9921
10033
|
}];
|
|
9922
10034
|
// ----- jsdoc/sort-tags -----
|
|
@@ -9934,6 +10046,7 @@ type JsdocTagLines = [] | [("always" | "any" | "never")] | [("always" | "any" |
|
|
|
9934
10046
|
applyToEndTag?: boolean;
|
|
9935
10047
|
count?: number;
|
|
9936
10048
|
endLines?: (number | null);
|
|
10049
|
+
maxBlockLines?: (number | null);
|
|
9937
10050
|
startLines?: (number | null);
|
|
9938
10051
|
tags?: {
|
|
9939
10052
|
[k: string]: {
|
|
@@ -9947,6 +10060,21 @@ type JsdocTextEscaping = [] | [{
|
|
|
9947
10060
|
escapeHTML?: boolean;
|
|
9948
10061
|
escapeMarkdown?: boolean;
|
|
9949
10062
|
}];
|
|
10063
|
+
// ----- jsdoc/type-formatting -----
|
|
10064
|
+
type JsdocTypeFormatting = [] | [{
|
|
10065
|
+
arrayBrackets?: ("angle" | "square");
|
|
10066
|
+
enableFixer?: boolean;
|
|
10067
|
+
genericDot?: boolean;
|
|
10068
|
+
objectFieldIndent?: string;
|
|
10069
|
+
objectFieldQuote?: ("double" | "single" | null);
|
|
10070
|
+
objectFieldSeparator?: ("comma" | "comma-and-linebreak" | "linebreak" | "semicolon" | "semicolon-and-linebreak");
|
|
10071
|
+
objectFieldSeparatorOptionalLinebreak?: boolean;
|
|
10072
|
+
objectFieldSeparatorTrailingPunctuation?: boolean;
|
|
10073
|
+
separatorForSingleObjectField?: boolean;
|
|
10074
|
+
stringQuotes?: ("double" | "single");
|
|
10075
|
+
typeBracketSpacing?: string;
|
|
10076
|
+
unionSpacing?: string;
|
|
10077
|
+
}];
|
|
9950
10078
|
// ----- jsdoc/valid-types -----
|
|
9951
10079
|
type JsdocValidTypes = [] | [{
|
|
9952
10080
|
allowEmptyNamepaths?: boolean;
|
|
@@ -10635,6 +10763,10 @@ type MarkdownNoHtml = [] | [{
|
|
|
10635
10763
|
type MarkdownNoMissingAtxHeadingSpace = [] | [{
|
|
10636
10764
|
checkClosedHeadings?: boolean;
|
|
10637
10765
|
}];
|
|
10766
|
+
// ----- markdown/no-missing-label-refs -----
|
|
10767
|
+
type MarkdownNoMissingLabelRefs = [] | [{
|
|
10768
|
+
allowLabels?: string[];
|
|
10769
|
+
}];
|
|
10638
10770
|
// ----- markdown/no-missing-link-fragments -----
|
|
10639
10771
|
type MarkdownNoMissingLinkFragments = [] | [{
|
|
10640
10772
|
ignoreCase?: boolean;
|
|
@@ -10813,7 +10945,7 @@ type NHashbang = [] | [{
|
|
|
10813
10945
|
// ----- n/no-deprecated-api -----
|
|
10814
10946
|
type NNoDeprecatedApi = [] | [{
|
|
10815
10947
|
version?: string;
|
|
10816
|
-
ignoreModuleItems?: ("_linklist" | "_stream_wrap" | "async_hooks.currentId" | "async_hooks.triggerId" | "buffer.Buffer()" | "new buffer.Buffer()" | "buffer.SlowBuffer" | "constants" | "crypto._toBuf" | "crypto.Credentials" | "crypto.DEFAULT_ENCODING" | "crypto.createCipher" | "crypto.createCredentials" | "crypto.createDecipher" | "crypto.fips" | "crypto.prng" | "crypto.pseudoRandomBytes" | "crypto.rng" | "domain" | "events.EventEmitter.listenerCount" | "events.listenerCount" | "freelist" | "fs.SyncWriteStream" | "fs.exists" | "fs.lchmod" | "fs.lchmodSync" | "http.createClient" | "module.Module.createRequireFromPath" | "module.Module.requireRepl" | "module.Module._debug" | "module.createRequireFromPath" | "module.requireRepl" | "module._debug" | "net._setSimultaneousAccepts" | "os.getNetworkInterfaces" | "os.tmpDir" | "path._makeLong" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport" | "punycode" | "readline.codePointAt" | "readline.getStringWidth" | "readline.isFullWidthCodePoint" | "readline.stripVTControlCharacters" | "repl.REPLServer" | "repl.Recoverable" | "repl.REPL_MODE_MAGIC" | "safe-buffer.Buffer()" | "new safe-buffer.Buffer()" | "safe-buffer.SlowBuffer" | "sys" | "timers.enroll" | "timers.unenroll" | "tls.CleartextStream" | "tls.CryptoStream" | "tls.SecurePair" | "tls.convertNPNProtocols" | "tls.createSecurePair" | "tls.parseCertString" | "tty.setRawMode" | "url.parse" | "url.resolve" | "util.debug" | "util.error" | "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.print" | "util.pump" | "util.puts" | "util._extend" | "vm.runInDebugContext" | "zlib.BrotliCompress()" | "zlib.BrotliDecompress()" | "zlib.Deflate()" | "zlib.DeflateRaw()" | "zlib.Gunzip()" | "zlib.Gzip()" | "zlib.Inflate()" | "zlib.InflateRaw()" | "zlib.Unzip()")[];
|
|
10948
|
+
ignoreModuleItems?: ("_linklist" | "_stream_wrap" | "async_hooks.currentId" | "async_hooks.triggerId" | "buffer.Buffer()" | "new buffer.Buffer()" | "buffer.SlowBuffer" | "constants" | "crypto._toBuf" | "crypto.Credentials" | "crypto.DEFAULT_ENCODING" | "crypto.createCipher" | "crypto.createCredentials" | "crypto.createDecipher" | "crypto.fips" | "crypto.prng" | "crypto.pseudoRandomBytes" | "crypto.rng" | "domain" | "events.EventEmitter.listenerCount" | "events.listenerCount" | "freelist" | "fs.SyncWriteStream" | "fs.exists" | "fs.lchmod" | "fs.lchmodSync" | "http.createClient" | "module.Module.createRequireFromPath" | "module.Module.requireRepl" | "module.Module._debug" | "module.createRequireFromPath" | "module.requireRepl" | "module._debug" | "net._setSimultaneousAccepts" | "os.getNetworkInterfaces" | "os.tmpDir" | "path._makeLong" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport" | "punycode" | "readline.codePointAt" | "readline.getStringWidth" | "readline.isFullWidthCodePoint" | "readline.stripVTControlCharacters" | "repl.REPLServer" | "repl.Recoverable" | "repl.REPL_MODE_MAGIC" | "repl.builtinModules" | "safe-buffer.Buffer()" | "new safe-buffer.Buffer()" | "safe-buffer.SlowBuffer" | "sys" | "timers.enroll" | "timers.unenroll" | "tls.CleartextStream" | "tls.CryptoStream" | "tls.SecurePair" | "tls.convertNPNProtocols" | "tls.createSecurePair" | "tls.parseCertString" | "tty.setRawMode" | "url.parse" | "url.resolve" | "util.debug" | "util.error" | "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.print" | "util.pump" | "util.puts" | "util._extend" | "vm.runInDebugContext" | "zlib.BrotliCompress()" | "zlib.BrotliDecompress()" | "zlib.Deflate()" | "zlib.DeflateRaw()" | "zlib.Gunzip()" | "zlib.Gzip()" | "zlib.Inflate()" | "zlib.InflateRaw()" | "zlib.Unzip()")[];
|
|
10817
10949
|
ignoreGlobalItems?: ("Buffer()" | "new Buffer()" | "COUNTER_NET_SERVER_CONNECTION" | "COUNTER_NET_SERVER_CONNECTION_CLOSE" | "COUNTER_HTTP_SERVER_REQUEST" | "COUNTER_HTTP_SERVER_RESPONSE" | "COUNTER_HTTP_CLIENT_REQUEST" | "COUNTER_HTTP_CLIENT_RESPONSE" | "GLOBAL" | "Intl.v8BreakIterator" | "require.extensions" | "root" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport")[];
|
|
10818
10950
|
ignoreIndirectDependencies?: boolean;
|
|
10819
10951
|
}];
|
|
@@ -11007,7 +11139,7 @@ type NNoUnsupportedFeaturesEsSyntax = [] | [{
|
|
|
11007
11139
|
type NNoUnsupportedFeaturesNodeBuiltins = [] | [{
|
|
11008
11140
|
version?: string;
|
|
11009
11141
|
allowExperimental?: boolean;
|
|
11010
|
-
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.METHODS" | "http.STATUS_CODES" | "http.globalAgent" | "http.maxHeaderSize" | "http.createServer" | "http.get" | "http.request" | "http.validateHeaderName" | "http.validateHeaderValue" | "http.setMaxIdleHTTPParsers" | "http.Agent" | "http.ClientRequest" | "http.Server" | "http.ServerResponse" | "http.IncomingMessage" | "http.OutgoingMessage" | "http.WebSocket" | "https" | "https.globalAgent" | "https.createServer" | "https.get" | "https.request" | "https.Agent" | "https.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" | "sqlite" | "sqlite.DatabaseSync" | "sqlite.StatementSync" | "sqlite.SQLITE_CHANGESET_OMIT" | "sqlite.SQLITE_CHANGESET_REPLACE" | "sqlite.SQLITE_CHANGESET_ABORT" | "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")[];
|
|
11142
|
+
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.execve" | "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.ref" | "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.threadCpuUsage" | "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.unref" | "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.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.partialDeepStrictEqual" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.Assert" | "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.partialDeepStrictEqual" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.Assert" | "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.partialDeepStrictEqual" | "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.resolveTlsa" | "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.resolveTlsa" | "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.resolveTlsa" | "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.METHODS" | "http.STATUS_CODES" | "http.globalAgent" | "http.maxHeaderSize" | "http.createServer" | "http.get" | "http.request" | "http.validateHeaderName" | "http.validateHeaderValue" | "http.setMaxIdleHTTPParsers" | "http.Agent" | "http.ClientRequest" | "http.Server" | "http.ServerResponse" | "http.IncomingMessage" | "http.OutgoingMessage" | "http.WebSocket" | "_http_agent" | "_http_client" | "_http_common" | "_http_incoming" | "_http_outgoing" | "_http_server" | "https" | "https.globalAgent" | "https.createServer" | "https.get" | "https.request" | "https.Agent" | "https.Server" | "inspector" | "inspector.Session" | "inspector.Network.dataReceived" | "inspector.Network.dataSent" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.NetworkResources.put" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.Network.dataReceived" | "inspector/promises.Network.dataSent" | "inspector/promises.Network.loadingFailed" | "inspector/promises.Network.loadingFinished" | "inspector/promises.Network.requestWillBeSent" | "inspector/promises.Network.responseReceived" | "inspector/promises.NetworkResources.put" | "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.getSourceMapsSupport" | "module.isBuiltin" | "module.registerHooks" | "module.register" | "module.setSourceMapsSupport" | "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.getSourceMapsSupport" | "module.Module.isBuiltin" | "module.Module.registerHooks" | "module.Module.register" | "module.Module.setSourceMapsSupport" | "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.BlockList.isBlockList" | "net.SocketAddress" | "net.SocketAddress.parse" | "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" | "sqlite" | "sqlite.constants" | "sqlite.constants.SQLITE_CHANGESET_OMIT" | "sqlite.constants.SQLITE_CHANGESET_REPLACE" | "sqlite.constants.SQLITE_CHANGESET_ABORT" | "sqlite.backup" | "sqlite.DatabaseSync" | "sqlite.StatementSync" | "sqlite.SQLITE_CHANGESET_OMIT" | "sqlite.SQLITE_CHANGESET_REPLACE" | "sqlite.SQLITE_CHANGESET_ABORT" | "test" | "test.after" | "test.afterEach" | "test.assert" | "test.assert.register" | "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.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.CryptoStream" | "tls.DEFAULT_CIPHERS" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.getCACertificates" | "tls.getCiphers" | "tls.rootCertificates" | "tls.SecureContext" | "tls.SecurePair" | "tls.Server" | "tls.setDefaultCACertificates" | "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.URLPattern" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.diff" | "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.setTraceSigInt" | "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.isFloat16Array" | "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.isFloat16Array" | "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.isStringOneByteRepresentation" | "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.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.getHeapStatistics" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isInternalThread" | "worker_threads.isMainThread" | "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.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.constants" | "zlib.constants.ZSTD_e_continue" | "zlib.constants.ZSTD_e_flush" | "zlib.constants.ZSTD_e_end" | "zlib.constants.ZSTD_fast" | "zlib.constants.ZSTD_dfast" | "zlib.constants.ZSTD_greedy" | "zlib.constants.ZSTD_lazy" | "zlib.constants.ZSTD_lazy2" | "zlib.constants.ZSTD_btlazy2" | "zlib.constants.ZSTD_btopt" | "zlib.constants.ZSTD_btultra" | "zlib.constants.ZSTD_btultra2" | "zlib.constants.ZSTD_c_compressionLevel" | "zlib.constants.ZSTD_c_windowLog" | "zlib.constants.ZSTD_c_hashLog" | "zlib.constants.ZSTD_c_chainLog" | "zlib.constants.ZSTD_c_searchLog" | "zlib.constants.ZSTD_c_minMatch" | "zlib.constants.ZSTD_c_targetLength" | "zlib.constants.ZSTD_c_strategy" | "zlib.constants.ZSTD_c_enableLongDistanceMatching" | "zlib.constants.ZSTD_c_ldmHashLog" | "zlib.constants.ZSTD_c_ldmMinMatch" | "zlib.constants.ZSTD_c_ldmBucketSizeLog" | "zlib.constants.ZSTD_c_ldmHashRateLog" | "zlib.constants.ZSTD_c_contentSizeFlag" | "zlib.constants.ZSTD_c_checksumFlag" | "zlib.constants.ZSTD_c_dictIDFlag" | "zlib.constants.ZSTD_c_nbWorkers" | "zlib.constants.ZSTD_c_jobSize" | "zlib.constants.ZSTD_c_overlapLog" | "zlib.constants.ZSTD_d_windowLogMax" | "zlib.constants.ZSTD_CLEVEL_DEFAULT" | "zlib.constants.ZSTD_error_no_error" | "zlib.constants.ZSTD_error_GENERIC" | "zlib.constants.ZSTD_error_prefix_unknown" | "zlib.constants.ZSTD_error_version_unsupported" | "zlib.constants.ZSTD_error_frameParameter_unsupported" | "zlib.constants.ZSTD_error_frameParameter_windowTooLarge" | "zlib.constants.ZSTD_error_corruption_detected" | "zlib.constants.ZSTD_error_checksum_wrong" | "zlib.constants.ZSTD_error_literals_headerWrong" | "zlib.constants.ZSTD_error_dictionary_corrupted" | "zlib.constants.ZSTD_error_dictionary_wrong" | "zlib.constants.ZSTD_error_dictionaryCreation_failed" | "zlib.constants.ZSTD_error_parameter_unsupported" | "zlib.constants.ZSTD_error_parameter_combination_unsupported" | "zlib.constants.ZSTD_error_parameter_outOfBound" | "zlib.constants.ZSTD_error_tableLog_tooLarge" | "zlib.constants.ZSTD_error_maxSymbolValue_tooLarge" | "zlib.constants.ZSTD_error_maxSymbolValue_tooSmall" | "zlib.constants.ZSTD_error_stabilityCondition_notRespected" | "zlib.constants.ZSTD_error_stage_wrong" | "zlib.constants.ZSTD_error_init_missing" | "zlib.constants.ZSTD_error_memory_allocation" | "zlib.constants.ZSTD_error_workSpace_tooSmall" | "zlib.constants.ZSTD_error_dstSize_tooSmall" | "zlib.constants.ZSTD_error_srcSize_wrong" | "zlib.constants.ZSTD_error_dstBuffer_null" | "zlib.constants.ZSTD_error_noForwardProgress_destFull" | "zlib.constants.ZSTD_error_noForwardProgress_inputEmpty" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.createZstdCompress" | "zlib.createZstdDecompress" | "zlib.deflate" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.deflateSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.inflateSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.zstdCompress" | "zlib.zstdCompressSync" | "zlib.zstdDecompress" | "zlib.zstdDecompressSync" | "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.ZstdCompress" | "zlib.ZstdDecompress" | "zlib.ZstdOptions" | "zlib" | "import.meta.resolve" | "import.meta.dirname" | "import.meta.filename" | "import.meta.main")[];
|
|
11011
11143
|
}];
|
|
11012
11144
|
// ----- n/prefer-global/buffer -----
|
|
11013
11145
|
type NPreferGlobalBuffer = [] | [("always" | "never")];
|
|
@@ -13306,6 +13438,10 @@ type PreferReflect = [] | [{
|
|
|
13306
13438
|
type PreferRegexLiterals = [] | [{
|
|
13307
13439
|
disallowRedundantWrapping?: boolean;
|
|
13308
13440
|
}];
|
|
13441
|
+
// ----- preserve-caught-error -----
|
|
13442
|
+
type PreserveCaughtError = [] | [{
|
|
13443
|
+
requireCatchParameter?: boolean;
|
|
13444
|
+
}];
|
|
13309
13445
|
// ----- quote-props -----
|
|
13310
13446
|
type QuoteProps = ([] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
|
|
13311
13447
|
keywords?: boolean;
|
|
@@ -13834,6 +13970,10 @@ type UnicornNoArrayReduce = [] | [{
|
|
|
13834
13970
|
type UnicornNoArrayReverse = [] | [{
|
|
13835
13971
|
allowExpressionStatement?: boolean;
|
|
13836
13972
|
}];
|
|
13973
|
+
// ----- unicorn/no-array-sort -----
|
|
13974
|
+
type UnicornNoArraySort = [] | [{
|
|
13975
|
+
allowExpressionStatement?: boolean;
|
|
13976
|
+
}];
|
|
13837
13977
|
// ----- unicorn/no-instanceof-builtins -----
|
|
13838
13978
|
type UnicornNoInstanceofBuiltins = [] | [{
|
|
13839
13979
|
useErrorIsError?: boolean;
|
|
@@ -14055,6 +14195,7 @@ type VueAttributeHyphenation = [] | [("always" | "never")] | [("always" | "never
|
|
|
14055
14195
|
type VueAttributesOrder = [] | [{
|
|
14056
14196
|
order?: (("DEFINITION" | "LIST_RENDERING" | "CONDITIONALS" | "RENDER_MODIFIERS" | "GLOBAL" | "UNIQUE" | "SLOT" | "TWO_WAY_BINDING" | "OTHER_DIRECTIVES" | "OTHER_ATTR" | "ATTR_STATIC" | "ATTR_DYNAMIC" | "ATTR_SHORTHAND_BOOL" | "EVENTS" | "CONTENT") | ("DEFINITION" | "LIST_RENDERING" | "CONDITIONALS" | "RENDER_MODIFIERS" | "GLOBAL" | "UNIQUE" | "SLOT" | "TWO_WAY_BINDING" | "OTHER_DIRECTIVES" | "OTHER_ATTR" | "ATTR_STATIC" | "ATTR_DYNAMIC" | "ATTR_SHORTHAND_BOOL" | "EVENTS" | "CONTENT")[])[];
|
|
14057
14197
|
alphabetical?: boolean;
|
|
14198
|
+
sortLineLength?: boolean;
|
|
14058
14199
|
}];
|
|
14059
14200
|
// ----- vue/block-lang -----
|
|
14060
14201
|
type VueBlockLang = [] | [{
|
|
@@ -14701,6 +14842,10 @@ type VueNewLineBetweenMultiLineProperty = [] | [{
|
|
|
14701
14842
|
}];
|
|
14702
14843
|
// ----- vue/next-tick-style -----
|
|
14703
14844
|
type VueNextTickStyle = [] | [("promise" | "callback")];
|
|
14845
|
+
// ----- vue/no-async-in-computed-properties -----
|
|
14846
|
+
type VueNoAsyncInComputedProperties = [] | [{
|
|
14847
|
+
ignoredObjectNames?: string[];
|
|
14848
|
+
}];
|
|
14704
14849
|
// ----- vue/no-bare-strings-in-template -----
|
|
14705
14850
|
type VueNoBareStringsInTemplate = [] | [{
|
|
14706
14851
|
allowlist?: string[];
|
|
@@ -14985,6 +15130,10 @@ type VueNoUselessVBind = [] | [{
|
|
|
14985
15130
|
ignoreIncludesComment?: boolean;
|
|
14986
15131
|
ignoreStringEscape?: boolean;
|
|
14987
15132
|
}];
|
|
15133
|
+
// ----- vue/no-v-html -----
|
|
15134
|
+
type VueNoVHtml = [] | [{
|
|
15135
|
+
ignorePattern?: string;
|
|
15136
|
+
}];
|
|
14988
15137
|
// ----- vue/no-v-text-v-html-on-component -----
|
|
14989
15138
|
type VueNoVTextVHtmlOnComponent = [] | [{
|
|
14990
15139
|
allow?: string[];
|
|
@@ -15419,519 +15568,4 @@ type Yoda = [] | [("always" | "never")] | [("always" | "never"), {
|
|
|
15419
15568
|
// Names of all the configs
|
|
15420
15569
|
type ConfigNames = 'eienjs/adonisjs/rules' | 'eienjs/adonisjs/disables' | 'eienjs/adonisjs/database-disables' | 'eienjs/adonisjs/bin-disables' | 'eienjs/adonisjs/commands-disables' | 'eienjs/adonisjs/middleware-disables' | 'eienjs/adonisjs/exceptions-disables' | 'eienjs/adonisjs/controllers-disables' | 'eienjs/adonisjs/config-disables' | 'eienjs/adonisjs/providers-disables' | 'eienjs/adonisjs/tests-disables' | 'eienjs/astro/setup' | 'eienjs/astro/rules' | 'eienjs/eslint-comments/rules' | 'eienjs/formatter/setup' | 'eienjs/imports/rules' | 'eienjs/javascript/setup' | 'eienjs/javascript/rules' | 'eienjs/jsdoc/rules' | 'eienjs/jsonc/setup' | 'eienjs/jsonc/rules' | 'eienjs/markdown/setup' | 'eienjs/markdown/processor' | 'eienjs/markdown/parser' | 'eienjs/markdown/disables' | 'eienjs/node/rules' | 'eienjs/nuxt/setup' | 'eienjs/nuxt/vue/single-root' | 'eienjs/nuxt/rules' | 'eienjs/nuxt/utils-disables' | 'eienjs/nuxt/sort-config' | 'eienjs/nuxt/vue/rules' | 'eienjs/perfectionist/setup' | 'eienjs/sort/package-json' | 'eienjs/stylistic/rules' | 'eienjs/test/setup' | 'eienjs/test/rules' | 'eienjs/toml/setup' | 'eienjs/toml/rules' | 'eienjs/regexp/rules' | 'eienjs/typescript/setup' | 'eienjs/typescript/parser' | 'eienjs/typescript/rules' | 'eienjs/unicorn/rules' | 'eienjs/unicorn/special-rules' | 'eienjs/vue/setup' | 'eienjs/vue/rules' | 'eienjs/vue/composables-disables' | 'eienjs/yaml/setup' | 'eienjs/yaml/rules' | 'eienjs/yaml/pnpm-workspace';
|
|
15421
15570
|
//#endregion
|
|
15422
|
-
|
|
15423
|
-
/**
|
|
15424
|
-
* Vendor types from Prettier so we don't rely on the dependency.
|
|
15425
|
-
*/
|
|
15426
|
-
type VendoredPrettierOptions = Partial<VendoredPrettierOptionsRequired>;
|
|
15427
|
-
interface VendoredPrettierOptionsRequired {
|
|
15428
|
-
/**
|
|
15429
|
-
* Specify the line length that the printer will wrap on.
|
|
15430
|
-
* @default 120
|
|
15431
|
-
*/
|
|
15432
|
-
printWidth: number;
|
|
15433
|
-
/**
|
|
15434
|
-
* Specify the number of spaces per indentation-level.
|
|
15435
|
-
*/
|
|
15436
|
-
tabWidth: number;
|
|
15437
|
-
/**
|
|
15438
|
-
* Indent lines with tabs instead of spaces
|
|
15439
|
-
*/
|
|
15440
|
-
useTabs?: boolean;
|
|
15441
|
-
/**
|
|
15442
|
-
* Print semicolons at the ends of statements.
|
|
15443
|
-
*/
|
|
15444
|
-
semi: boolean;
|
|
15445
|
-
/**
|
|
15446
|
-
* Use single quotes instead of double quotes.
|
|
15447
|
-
*/
|
|
15448
|
-
singleQuote: boolean;
|
|
15449
|
-
/**
|
|
15450
|
-
* Use single quotes in JSX.
|
|
15451
|
-
*/
|
|
15452
|
-
jsxSingleQuote: boolean;
|
|
15453
|
-
/**
|
|
15454
|
-
* Print trailing commas wherever possible.
|
|
15455
|
-
*/
|
|
15456
|
-
trailingComma: 'none' | 'es5' | 'all';
|
|
15457
|
-
/**
|
|
15458
|
-
* Print spaces between brackets in object literals.
|
|
15459
|
-
*/
|
|
15460
|
-
bracketSpacing: boolean;
|
|
15461
|
-
/**
|
|
15462
|
-
* Put the `>` of a multi-line HTML (HTML, XML, JSX, Vue, Angular) element at the end of the last line instead of being
|
|
15463
|
-
* alone on the next line (does not apply to self closing elements).
|
|
15464
|
-
*/
|
|
15465
|
-
bracketSameLine: boolean;
|
|
15466
|
-
/**
|
|
15467
|
-
* Put the `>` of a multi-line JSX element at the end of the last line instead of being alone on the next line.
|
|
15468
|
-
* @deprecated use bracketSameLine instead
|
|
15469
|
-
*/
|
|
15470
|
-
jsxBracketSameLine: boolean;
|
|
15471
|
-
/**
|
|
15472
|
-
* Format only a segment of a file.
|
|
15473
|
-
*/
|
|
15474
|
-
rangeStart: number;
|
|
15475
|
-
/**
|
|
15476
|
-
* Format only a segment of a file.
|
|
15477
|
-
* @default Number.POSITIVE_INFINITY
|
|
15478
|
-
*/
|
|
15479
|
-
rangeEnd: number;
|
|
15480
|
-
/**
|
|
15481
|
-
* By default, Prettier will wrap markdown text as-is since some services use a linebreak-sensitive renderer.
|
|
15482
|
-
* In some cases you may want to rely on editor/viewer soft wrapping instead, so this option allows you to opt out.
|
|
15483
|
-
* @default "preserve"
|
|
15484
|
-
*/
|
|
15485
|
-
proseWrap: 'always' | 'never' | 'preserve';
|
|
15486
|
-
/**
|
|
15487
|
-
* Include parentheses around a sole arrow function parameter.
|
|
15488
|
-
* @default "always"
|
|
15489
|
-
*/
|
|
15490
|
-
arrowParens: 'avoid' | 'always';
|
|
15491
|
-
/**
|
|
15492
|
-
* Provide ability to support new languages to prettier.
|
|
15493
|
-
*/
|
|
15494
|
-
plugins: unknown[];
|
|
15495
|
-
/**
|
|
15496
|
-
* How to handle whitespaces in HTML.
|
|
15497
|
-
* @default "css"
|
|
15498
|
-
*/
|
|
15499
|
-
htmlWhitespaceSensitivity: 'css' | 'strict' | 'ignore';
|
|
15500
|
-
/**
|
|
15501
|
-
* Which end of line characters to apply.
|
|
15502
|
-
* @default "lf"
|
|
15503
|
-
*/
|
|
15504
|
-
endOfLine: 'auto' | 'lf' | 'crlf' | 'cr';
|
|
15505
|
-
/**
|
|
15506
|
-
* Change when properties in objects are quoted.
|
|
15507
|
-
* @default "as-needed"
|
|
15508
|
-
*/
|
|
15509
|
-
quoteProps: 'as-needed' | 'consistent' | 'preserve';
|
|
15510
|
-
/**
|
|
15511
|
-
* Whether or not to indent the code inside <script> and <style> tags in Vue files.
|
|
15512
|
-
* @default false
|
|
15513
|
-
*/
|
|
15514
|
-
vueIndentScriptAndStyle: boolean;
|
|
15515
|
-
/**
|
|
15516
|
-
* Enforce single attribute per line in HTML, XML, Vue and JSX.
|
|
15517
|
-
* @default false
|
|
15518
|
-
*/
|
|
15519
|
-
singleAttributePerLine: boolean;
|
|
15520
|
-
/**
|
|
15521
|
-
* How to handle whitespaces in XML.
|
|
15522
|
-
* @default "preserve"
|
|
15523
|
-
*/
|
|
15524
|
-
xmlQuoteAttributes: 'single' | 'double' | 'preserve';
|
|
15525
|
-
/**
|
|
15526
|
-
* Whether to put a space inside the brackets of self-closing XML elements.
|
|
15527
|
-
* @default true
|
|
15528
|
-
*/
|
|
15529
|
-
xmlSelfClosingSpace: boolean;
|
|
15530
|
-
/**
|
|
15531
|
-
* Whether to sort attributes by key in XML elements.
|
|
15532
|
-
* @default false
|
|
15533
|
-
*/
|
|
15534
|
-
xmlSortAttributesByKey: boolean;
|
|
15535
|
-
/**
|
|
15536
|
-
* How to handle whitespaces in XML.
|
|
15537
|
-
* @default "ignore"
|
|
15538
|
-
*/
|
|
15539
|
-
xmlWhitespaceSensitivity: 'ignore' | 'strict' | 'preserve';
|
|
15540
|
-
}
|
|
15541
|
-
//#endregion
|
|
15542
|
-
//#region src/types.d.ts
|
|
15543
|
-
type Awaitable<T> = T | Promise<T>;
|
|
15544
|
-
type Rules = Record<string, Linter.RuleEntry | undefined> & RuleOptions;
|
|
15545
|
-
/**
|
|
15546
|
-
* An updated version of ESLint's `Linter.Config`, which provides autocompletion
|
|
15547
|
-
* for `rules` and relaxes type limitations for `plugins` and `rules`, because
|
|
15548
|
-
* many plugins still lack proper type definitions.
|
|
15549
|
-
*/
|
|
15550
|
-
type TypedFlatConfigItem = Omit<Linter.Config, 'plugins' | 'rules'> & {
|
|
15551
|
-
/**
|
|
15552
|
-
* An object containing a name-value mapping of plugin names to plugin objects.
|
|
15553
|
-
* When `files` is specified, these plugins are only available to the matching files.
|
|
15554
|
-
*
|
|
15555
|
-
* @see [Using plugins in your configuration](https://eslint.org/docs/latest/user-guide/configuring/configuration-files-new#using-plugins-in-your-configuration)
|
|
15556
|
-
*/
|
|
15557
|
-
plugins?: Record<string, unknown>;
|
|
15558
|
-
/**
|
|
15559
|
-
* An object containing the configured rules. When `files` or `ignores` are
|
|
15560
|
-
* specified, these rule configurations are only available to the matching files.
|
|
15561
|
-
*/
|
|
15562
|
-
rules?: Rules;
|
|
15563
|
-
};
|
|
15564
|
-
interface OptionsNuxt extends OptionsOverrides {
|
|
15565
|
-
/**
|
|
15566
|
-
* Version of Nuxt
|
|
15567
|
-
*
|
|
15568
|
-
* @default 4
|
|
15569
|
-
*/
|
|
15570
|
-
version?: 3 | 4;
|
|
15571
|
-
/**
|
|
15572
|
-
* Sort keys in nuxt.config to maintain a consistent order
|
|
15573
|
-
*
|
|
15574
|
-
* @default true when `stylistic` is enabled
|
|
15575
|
-
*/
|
|
15576
|
-
sortConfigKeys?: boolean;
|
|
15577
|
-
dirs?: {
|
|
15578
|
-
/**
|
|
15579
|
-
* Nuxt source directory
|
|
15580
|
-
*/
|
|
15581
|
-
src?: string[];
|
|
15582
|
-
/**
|
|
15583
|
-
* Root directory for nuxt project
|
|
15584
|
-
*/
|
|
15585
|
-
root?: string[];
|
|
15586
|
-
/**
|
|
15587
|
-
* Directory for pages
|
|
15588
|
-
*/
|
|
15589
|
-
pages?: string[];
|
|
15590
|
-
/**
|
|
15591
|
-
* Directory for layouts
|
|
15592
|
-
*/
|
|
15593
|
-
layouts?: string[];
|
|
15594
|
-
/**
|
|
15595
|
-
* Directory for components
|
|
15596
|
-
*/
|
|
15597
|
-
components?: string[];
|
|
15598
|
-
/**
|
|
15599
|
-
* Directory for components with prefix
|
|
15600
|
-
* Ignore `vue/multi-word-component-names`
|
|
15601
|
-
*/
|
|
15602
|
-
componentsPrefixed?: string[];
|
|
15603
|
-
/**
|
|
15604
|
-
* Directory for composobles
|
|
15605
|
-
*/
|
|
15606
|
-
composables?: string[];
|
|
15607
|
-
/**
|
|
15608
|
-
* Directory for plugins
|
|
15609
|
-
*/
|
|
15610
|
-
plugins?: string[];
|
|
15611
|
-
/**
|
|
15612
|
-
* Directory for modules
|
|
15613
|
-
*/
|
|
15614
|
-
modules?: string[];
|
|
15615
|
-
/**
|
|
15616
|
-
* Directory for middleware
|
|
15617
|
-
*/
|
|
15618
|
-
middleware?: string[];
|
|
15619
|
-
/**
|
|
15620
|
-
* Directory for server
|
|
15621
|
-
*/
|
|
15622
|
-
servers?: string[];
|
|
15623
|
-
/**
|
|
15624
|
-
* Directory for utils
|
|
15625
|
-
*/
|
|
15626
|
-
utils?: string[];
|
|
15627
|
-
};
|
|
15628
|
-
}
|
|
15629
|
-
interface OptionsAdonisJS extends OptionsOverrides {
|
|
15630
|
-
/**
|
|
15631
|
-
* Override the `dirs` option to provide custom directories of adonisjs app.
|
|
15632
|
-
*/
|
|
15633
|
-
dirs?: {
|
|
15634
|
-
root?: string;
|
|
15635
|
-
bin?: string;
|
|
15636
|
-
controllers?: string;
|
|
15637
|
-
exceptions?: string;
|
|
15638
|
-
models?: string;
|
|
15639
|
-
mails?: string;
|
|
15640
|
-
services?: string;
|
|
15641
|
-
listeners?: string;
|
|
15642
|
-
events?: string;
|
|
15643
|
-
middleware?: string;
|
|
15644
|
-
validators?: string;
|
|
15645
|
-
providers?: string;
|
|
15646
|
-
policies?: string;
|
|
15647
|
-
abilities?: string;
|
|
15648
|
-
database?: string;
|
|
15649
|
-
start?: string;
|
|
15650
|
-
tests?: string;
|
|
15651
|
-
config?: string;
|
|
15652
|
-
commands?: string;
|
|
15653
|
-
};
|
|
15654
|
-
}
|
|
15655
|
-
interface OptionsVue extends OptionsOverrides {
|
|
15656
|
-
/**
|
|
15657
|
-
* Create virtual files for Vue SFC blocks to enable linting.
|
|
15658
|
-
*
|
|
15659
|
-
* @see https://github.com/antfu/eslint-processor-vue-blocks
|
|
15660
|
-
* @default true
|
|
15661
|
-
*/
|
|
15662
|
-
sfcBlocks?: boolean | Options;
|
|
15663
|
-
/**
|
|
15664
|
-
* Only check registered components in template casing.
|
|
15665
|
-
*
|
|
15666
|
-
* @default false
|
|
15667
|
-
*/
|
|
15668
|
-
componentNameInTemplateCasingOnlyRegistered?: boolean;
|
|
15669
|
-
/**
|
|
15670
|
-
* Ignored components in template casing.
|
|
15671
|
-
*
|
|
15672
|
-
* @default []
|
|
15673
|
-
*/
|
|
15674
|
-
componentNameInTemplateCasingIgnores?: string[];
|
|
15675
|
-
/**
|
|
15676
|
-
* Global components in template casing.
|
|
15677
|
-
*
|
|
15678
|
-
* @default []
|
|
15679
|
-
*/
|
|
15680
|
-
componentNameInTemplateCasingGlobals?: string[];
|
|
15681
|
-
}
|
|
15682
|
-
type OptionsTypescript = (OptionsTypeScriptWithTypes & OptionsOverrides) | (OptionsTypeScriptParserOptions & OptionsOverrides);
|
|
15683
|
-
interface OptionsFormatters {
|
|
15684
|
-
/**
|
|
15685
|
-
* Enable formatting support for CSS, Less, Sass, and SCSS.
|
|
15686
|
-
*
|
|
15687
|
-
* Currently only support Prettier.
|
|
15688
|
-
*/
|
|
15689
|
-
css?: 'prettier' | boolean;
|
|
15690
|
-
/**
|
|
15691
|
-
* Enable formatting support for HTML.
|
|
15692
|
-
*
|
|
15693
|
-
* Currently only support Prettier.
|
|
15694
|
-
*/
|
|
15695
|
-
html?: 'prettier' | boolean;
|
|
15696
|
-
/**
|
|
15697
|
-
* Enable formatting support for XML.
|
|
15698
|
-
*
|
|
15699
|
-
* Currently only support Prettier.
|
|
15700
|
-
*/
|
|
15701
|
-
xml?: 'prettier' | boolean;
|
|
15702
|
-
/**
|
|
15703
|
-
* Enable formatting support for SVG.
|
|
15704
|
-
*
|
|
15705
|
-
* Currently only support Prettier.
|
|
15706
|
-
*/
|
|
15707
|
-
svg?: 'prettier' | boolean;
|
|
15708
|
-
/**
|
|
15709
|
-
* Enable formatting support for Markdown.
|
|
15710
|
-
*
|
|
15711
|
-
* Support both Prettier and dprint.
|
|
15712
|
-
*
|
|
15713
|
-
* When set to `true`, it will use Prettier.
|
|
15714
|
-
*/
|
|
15715
|
-
markdown?: 'prettier' | boolean;
|
|
15716
|
-
/**
|
|
15717
|
-
* Custom options for Prettier.
|
|
15718
|
-
*
|
|
15719
|
-
* By default it's controlled by our own config.
|
|
15720
|
-
*/
|
|
15721
|
-
prettierOptions?: VendoredPrettierOptions;
|
|
15722
|
-
/**
|
|
15723
|
-
* Enable formatting support for Astro.
|
|
15724
|
-
*
|
|
15725
|
-
* Currently only support Prettier.
|
|
15726
|
-
*/
|
|
15727
|
-
astro?: 'prettier' | boolean;
|
|
15728
|
-
}
|
|
15729
|
-
interface OptionsComponentExts {
|
|
15730
|
-
/**
|
|
15731
|
-
* Additional extensions for components.
|
|
15732
|
-
*
|
|
15733
|
-
* @example ['vue']
|
|
15734
|
-
* @default []
|
|
15735
|
-
*/
|
|
15736
|
-
componentExts?: string[];
|
|
15737
|
-
}
|
|
15738
|
-
interface OptionsTypeScriptParserOptions {
|
|
15739
|
-
/**
|
|
15740
|
-
* Additional parser options for TypeScript.
|
|
15741
|
-
*/
|
|
15742
|
-
parserOptions?: Partial<ParserOptions>;
|
|
15743
|
-
/**
|
|
15744
|
-
* Glob patterns for files that should be type aware.
|
|
15745
|
-
* @default ['**\/*.{ts,tsx}']
|
|
15746
|
-
*/
|
|
15747
|
-
filesTypeAware?: string[];
|
|
15748
|
-
/**
|
|
15749
|
-
* Glob patterns for files that should not be type aware.
|
|
15750
|
-
* @default ['**\/*.md\/**', '**\/*.astro/*.ts']
|
|
15751
|
-
*/
|
|
15752
|
-
ignoresTypeAware?: string[];
|
|
15753
|
-
}
|
|
15754
|
-
interface OptionsTypeScriptWithTypes {
|
|
15755
|
-
/**
|
|
15756
|
-
* When this options is provided, type aware rules will be enabled.
|
|
15757
|
-
* @see https://typescript-eslint.io/linting/typed-linting/
|
|
15758
|
-
*/
|
|
15759
|
-
tsconfigPath?: string;
|
|
15760
|
-
/**
|
|
15761
|
-
* Override type aware rules.
|
|
15762
|
-
*/
|
|
15763
|
-
overridesTypeAware?: TypedFlatConfigItem['rules'];
|
|
15764
|
-
}
|
|
15765
|
-
interface OptionsHasTypeScript {
|
|
15766
|
-
typescript?: boolean;
|
|
15767
|
-
}
|
|
15768
|
-
interface OptionsStylistic {
|
|
15769
|
-
stylistic?: boolean | StylisticConfig;
|
|
15770
|
-
}
|
|
15771
|
-
interface StylisticConfig extends Pick<StylisticCustomizeOptions, 'indent' | 'quotes'> {
|
|
15772
|
-
maxLineLength?: number;
|
|
15773
|
-
}
|
|
15774
|
-
interface OptionsOverrides {
|
|
15775
|
-
overrides?: TypedFlatConfigItem['rules'];
|
|
15776
|
-
}
|
|
15777
|
-
interface OptionsFiles {
|
|
15778
|
-
/**
|
|
15779
|
-
* Override the `files` option to provide custom globs.
|
|
15780
|
-
*/
|
|
15781
|
-
files?: string[];
|
|
15782
|
-
}
|
|
15783
|
-
interface OptionsRegExp {
|
|
15784
|
-
/**
|
|
15785
|
-
* Override rulelevels
|
|
15786
|
-
*/
|
|
15787
|
-
level?: 'error' | 'warn';
|
|
15788
|
-
}
|
|
15789
|
-
interface OptionsIsInEditor {
|
|
15790
|
-
isInEditor?: boolean;
|
|
15791
|
-
}
|
|
15792
|
-
interface OptionsConfig extends OptionsComponentExts {
|
|
15793
|
-
/**
|
|
15794
|
-
* Enable gitignore support.
|
|
15795
|
-
*
|
|
15796
|
-
* Passing an object to configure the options.
|
|
15797
|
-
*
|
|
15798
|
-
* @see https://github.com/antfu/eslint-config-flat-gitignore
|
|
15799
|
-
* @default true
|
|
15800
|
-
*/
|
|
15801
|
-
gitignore?: boolean | FlatGitignoreOptions;
|
|
15802
|
-
/**
|
|
15803
|
-
* Core rules. Can't be disabled.
|
|
15804
|
-
*/
|
|
15805
|
-
javascript?: OptionsOverrides;
|
|
15806
|
-
/**
|
|
15807
|
-
* Enable TypeScript support.
|
|
15808
|
-
*
|
|
15809
|
-
* Passing an object to enable TypeScript Language Server support.
|
|
15810
|
-
*
|
|
15811
|
-
* @default auto-detect based on the dependencies
|
|
15812
|
-
*/
|
|
15813
|
-
typescript?: boolean | OptionsTypescript;
|
|
15814
|
-
/**
|
|
15815
|
-
* Options for eslint-plugin-unicorn.
|
|
15816
|
-
*
|
|
15817
|
-
* @default true
|
|
15818
|
-
*/
|
|
15819
|
-
unicorn?: boolean | OptionsOverrides;
|
|
15820
|
-
/**
|
|
15821
|
-
* Options for eslint-plugin-import-lite.
|
|
15822
|
-
*
|
|
15823
|
-
* @default true
|
|
15824
|
-
*/
|
|
15825
|
-
imports?: boolean | OptionsOverrides;
|
|
15826
|
-
/**
|
|
15827
|
-
* Enable test support.
|
|
15828
|
-
*
|
|
15829
|
-
* @default true
|
|
15830
|
-
*/
|
|
15831
|
-
test?: boolean | OptionsOverrides;
|
|
15832
|
-
/**
|
|
15833
|
-
* Enable Vue support.
|
|
15834
|
-
*
|
|
15835
|
-
* @default auto-detect based on the dependencies
|
|
15836
|
-
*/
|
|
15837
|
-
vue?: boolean | OptionsVue;
|
|
15838
|
-
/**
|
|
15839
|
-
* Enable JSONC support.
|
|
15840
|
-
*
|
|
15841
|
-
* @default true
|
|
15842
|
-
*/
|
|
15843
|
-
jsonc?: boolean | OptionsOverrides;
|
|
15844
|
-
/**
|
|
15845
|
-
* Enable YAML support.
|
|
15846
|
-
*
|
|
15847
|
-
* @default true
|
|
15848
|
-
*/
|
|
15849
|
-
yaml?: boolean | OptionsOverrides;
|
|
15850
|
-
/**
|
|
15851
|
-
* Enable TOML support.
|
|
15852
|
-
*
|
|
15853
|
-
* @default true
|
|
15854
|
-
*/
|
|
15855
|
-
toml?: boolean | OptionsOverrides;
|
|
15856
|
-
/**
|
|
15857
|
-
* Enable ASTRO support.
|
|
15858
|
-
*
|
|
15859
|
-
* Requires installing:
|
|
15860
|
-
* - `eslint-plugin-astro`
|
|
15861
|
-
*
|
|
15862
|
-
* Requires installing for formatting .astro:
|
|
15863
|
-
* - `prettier-plugin-astro`
|
|
15864
|
-
*
|
|
15865
|
-
* @default false
|
|
15866
|
-
*/
|
|
15867
|
-
astro?: boolean | OptionsOverrides;
|
|
15868
|
-
/**
|
|
15869
|
-
* Enable linting for **code snippets** in Markdown.
|
|
15870
|
-
*
|
|
15871
|
-
* For formatting Markdown content, enable also `formatters.markdown`.
|
|
15872
|
-
*
|
|
15873
|
-
* @default true
|
|
15874
|
-
*/
|
|
15875
|
-
markdown?: boolean | OptionsOverrides;
|
|
15876
|
-
/**
|
|
15877
|
-
* Enable stylistic rules.
|
|
15878
|
-
*
|
|
15879
|
-
* @see https://eslint.style/
|
|
15880
|
-
* @default true
|
|
15881
|
-
*/
|
|
15882
|
-
stylistic?: boolean | (StylisticConfig & OptionsOverrides);
|
|
15883
|
-
/**
|
|
15884
|
-
* Enable regexp rules.
|
|
15885
|
-
*
|
|
15886
|
-
* @see https://ota-meshi.github.io/eslint-plugin-regexp/
|
|
15887
|
-
* @default true
|
|
15888
|
-
*/
|
|
15889
|
-
regexp?: boolean | (OptionsRegExp & OptionsOverrides);
|
|
15890
|
-
/**
|
|
15891
|
-
* Enable pnpm (workspace/catalogs) support.
|
|
15892
|
-
*
|
|
15893
|
-
* Currently it's disabled by default, as it's still experimental.
|
|
15894
|
-
* In the future it will be smartly enabled based on the project usage.
|
|
15895
|
-
*
|
|
15896
|
-
* @see https://github.com/antfu/pnpm-workspace-utils
|
|
15897
|
-
* @experimental
|
|
15898
|
-
* @default false
|
|
15899
|
-
*/
|
|
15900
|
-
pnpm?: boolean;
|
|
15901
|
-
/**
|
|
15902
|
-
* Use external formatters to format files.
|
|
15903
|
-
*
|
|
15904
|
-
* Requires installing:
|
|
15905
|
-
* - `eslint-plugin-format`
|
|
15906
|
-
*
|
|
15907
|
-
* When set to `true`, it will enable all formatters.
|
|
15908
|
-
*
|
|
15909
|
-
* @default false
|
|
15910
|
-
*/
|
|
15911
|
-
formatters?: boolean | OptionsFormatters;
|
|
15912
|
-
/**
|
|
15913
|
-
* Control to disable some rules in editors.
|
|
15914
|
-
* @default auto-detect based on the process.env
|
|
15915
|
-
*/
|
|
15916
|
-
isInEditor?: boolean;
|
|
15917
|
-
/**
|
|
15918
|
-
* Enable AdonisJS support.
|
|
15919
|
-
*
|
|
15920
|
-
* Requires installing:
|
|
15921
|
-
* - `@adonisjs/eslint-plugin`
|
|
15922
|
-
*
|
|
15923
|
-
* @default false
|
|
15924
|
-
*/
|
|
15925
|
-
adonisjs?: boolean | OptionsAdonisJS;
|
|
15926
|
-
/**
|
|
15927
|
-
* Enable Nuxt support.
|
|
15928
|
-
*
|
|
15929
|
-
* Requires installing:
|
|
15930
|
-
* - `@nuxt/eslint-plugin`
|
|
15931
|
-
*
|
|
15932
|
-
* @default false
|
|
15933
|
-
*/
|
|
15934
|
-
nuxt?: boolean | OptionsNuxt;
|
|
15935
|
-
}
|
|
15936
|
-
//#endregion
|
|
15937
|
-
export { Awaitable, type ConfigNames, OptionsAdonisJS, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsFormatters, OptionsHasTypeScript, OptionsIsInEditor, OptionsNuxt, OptionsOverrides, OptionsRegExp, OptionsStylistic, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, OptionsVue, RuleOptions, Rules, StylisticConfig, TypedFlatConfigItem };
|
|
15571
|
+
export { ConfigNames, RuleOptions };
|