@fabdeh/eslint-config 0.9.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1246 -262
- package/dist/index.mjs +121 -48
- package/package.json +51 -58
package/dist/index.d.mts
CHANGED
|
@@ -21,6 +21,11 @@ interface RuleOptions {
|
|
|
21
21
|
* @see https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin/docs/rules/component-selector.md
|
|
22
22
|
*/
|
|
23
23
|
'@angular-eslint/component-selector'?: Linter.RuleEntry<AngularEslintComponentSelector>;
|
|
24
|
+
/**
|
|
25
|
+
* Ensures that computed() returns a value. Omitting the value is likely a mistake.
|
|
26
|
+
* @see https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin/docs/rules/computed-must-return.md
|
|
27
|
+
*/
|
|
28
|
+
'@angular-eslint/computed-must-return'?: Linter.RuleEntry<[]>;
|
|
24
29
|
/**
|
|
25
30
|
* Ensures consistent usage of `styles`/`styleUrls`/`styleUrl` within Component metadata
|
|
26
31
|
* @see https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin/docs/rules/consistent-component-styles.md
|
|
@@ -333,10 +338,15 @@ interface RuleOptions {
|
|
|
333
338
|
*/
|
|
334
339
|
'@angular-eslint/template/no-negated-async'?: Linter.RuleEntry<[]>;
|
|
335
340
|
/**
|
|
336
|
-
* Denies nesting of
|
|
341
|
+
* Denies nesting of `<p>` and `<a>` tags.
|
|
337
342
|
* @see https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin-template/docs/rules/no-nested-tags.md
|
|
338
343
|
*/
|
|
339
344
|
'@angular-eslint/template/no-nested-tags'?: Linter.RuleEntry<[]>;
|
|
345
|
+
/**
|
|
346
|
+
* Disallows the non-null assertion operator (!) in templates
|
|
347
|
+
* @see https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin-template/docs/rules/no-non-null-assertion.md
|
|
348
|
+
*/
|
|
349
|
+
'@angular-eslint/template/no-non-null-assertion'?: Linter.RuleEntry<[]>;
|
|
340
350
|
/**
|
|
341
351
|
* Ensures that the `tabindex` attribute is not positive
|
|
342
352
|
* @see https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin-template/docs/rules/no-positive-tabindex.md
|
|
@@ -465,6 +475,7 @@ interface RuleOptions {
|
|
|
465
475
|
/**
|
|
466
476
|
* disallow unused `eslint-disable` comments
|
|
467
477
|
* @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-unused-disable.html
|
|
478
|
+
* @deprecated
|
|
468
479
|
*/
|
|
469
480
|
'@eslint-community/eslint-comments/no-unused-disable'?: Linter.RuleEntry<[]>;
|
|
470
481
|
/**
|
|
@@ -552,6 +563,11 @@ interface RuleOptions {
|
|
|
552
563
|
* @see https://eslint.style/rules/eol-last
|
|
553
564
|
*/
|
|
554
565
|
'@stylistic/eol-last'?: Linter.RuleEntry<StylisticEolLast>;
|
|
566
|
+
/**
|
|
567
|
+
* Enforce consistent line break styles for JSX props
|
|
568
|
+
* @see https://eslint.style/rules/jsx-props-style
|
|
569
|
+
*/
|
|
570
|
+
'@stylistic/exp-jsx-props-style'?: Linter.RuleEntry<StylisticExpJsxPropsStyle>;
|
|
555
571
|
/**
|
|
556
572
|
* Enforce consistent spacing and line break styles inside brackets.
|
|
557
573
|
* @see https://eslint.style/rules/list-style
|
|
@@ -1432,7 +1448,7 @@ interface RuleOptions {
|
|
|
1432
1448
|
* Disallow default values that will never be used
|
|
1433
1449
|
* @see https://typescript-eslint.io/rules/no-useless-default-assignment
|
|
1434
1450
|
*/
|
|
1435
|
-
'@typescript-eslint/no-useless-default-assignment'?: Linter.RuleEntry<
|
|
1451
|
+
'@typescript-eslint/no-useless-default-assignment'?: Linter.RuleEntry<TypescriptEslintNoUselessDefaultAssignment>;
|
|
1436
1452
|
/**
|
|
1437
1453
|
* Disallow empty exports that don't change anything in a module file
|
|
1438
1454
|
* @see https://typescript-eslint.io/rules/no-useless-empty-export
|
|
@@ -1880,6 +1896,10 @@ interface RuleOptions {
|
|
|
1880
1896
|
* Use dprint to format code
|
|
1881
1897
|
*/
|
|
1882
1898
|
'format/dprint'?: Linter.RuleEntry<FormatDprint>;
|
|
1899
|
+
/**
|
|
1900
|
+
* Use oxfmt to format code
|
|
1901
|
+
*/
|
|
1902
|
+
'format/oxfmt'?: Linter.RuleEntry<FormatOxfmt>;
|
|
1883
1903
|
/**
|
|
1884
1904
|
* Use Prettier to format code
|
|
1885
1905
|
*/
|
|
@@ -1979,238 +1999,238 @@ interface RuleOptions {
|
|
|
1979
1999
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>;
|
|
1980
2000
|
/**
|
|
1981
2001
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
1982
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2002
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/consistent-type-specifier-style.md
|
|
1983
2003
|
*/
|
|
1984
2004
|
'import-x/consistent-type-specifier-style'?: Linter.RuleEntry<ImportXConsistentTypeSpecifierStyle>;
|
|
1985
2005
|
/**
|
|
1986
2006
|
* Ensure a default export is present, given a default import.
|
|
1987
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2007
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/default.md
|
|
1988
2008
|
*/
|
|
1989
2009
|
'import-x/default'?: Linter.RuleEntry<[]>;
|
|
1990
2010
|
/**
|
|
1991
2011
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
1992
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2012
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/dynamic-import-chunkname.md
|
|
1993
2013
|
*/
|
|
1994
2014
|
'import-x/dynamic-import-chunkname'?: Linter.RuleEntry<ImportXDynamicImportChunkname>;
|
|
1995
2015
|
/**
|
|
1996
2016
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
1997
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2017
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/export.md
|
|
1998
2018
|
*/
|
|
1999
2019
|
'import-x/export'?: Linter.RuleEntry<[]>;
|
|
2000
2020
|
/**
|
|
2001
2021
|
* Ensure all exports appear after other statements.
|
|
2002
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2022
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/exports-last.md
|
|
2003
2023
|
*/
|
|
2004
2024
|
'import-x/exports-last'?: Linter.RuleEntry<[]>;
|
|
2005
2025
|
/**
|
|
2006
2026
|
* Ensure consistent use of file extension within the import path.
|
|
2007
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2027
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/extensions.md
|
|
2008
2028
|
*/
|
|
2009
2029
|
'import-x/extensions'?: Linter.RuleEntry<ImportXExtensions>;
|
|
2010
2030
|
/**
|
|
2011
2031
|
* Ensure all imports appear before other statements.
|
|
2012
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2032
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/first.md
|
|
2013
2033
|
*/
|
|
2014
2034
|
'import-x/first'?: Linter.RuleEntry<ImportXFirst>;
|
|
2015
2035
|
/**
|
|
2016
2036
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
2017
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2037
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/group-exports.md
|
|
2018
2038
|
*/
|
|
2019
2039
|
'import-x/group-exports'?: Linter.RuleEntry<[]>;
|
|
2020
2040
|
/**
|
|
2021
2041
|
* Replaced by `import-x/first`.
|
|
2022
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2042
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/imports-first.md
|
|
2023
2043
|
* @deprecated
|
|
2024
2044
|
*/
|
|
2025
2045
|
'import-x/imports-first'?: Linter.RuleEntry<ImportXImportsFirst>;
|
|
2026
2046
|
/**
|
|
2027
2047
|
* Enforce the maximum number of dependencies a module can have.
|
|
2028
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2048
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/max-dependencies.md
|
|
2029
2049
|
*/
|
|
2030
2050
|
'import-x/max-dependencies'?: Linter.RuleEntry<ImportXMaxDependencies>;
|
|
2031
2051
|
/**
|
|
2032
2052
|
* Ensure named imports correspond to a named export in the remote file.
|
|
2033
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2053
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/named.md
|
|
2034
2054
|
*/
|
|
2035
2055
|
'import-x/named'?: Linter.RuleEntry<ImportXNamed>;
|
|
2036
2056
|
/**
|
|
2037
2057
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
2038
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2058
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/namespace.md
|
|
2039
2059
|
*/
|
|
2040
2060
|
'import-x/namespace'?: Linter.RuleEntry<ImportXNamespace>;
|
|
2041
2061
|
/**
|
|
2042
2062
|
* Enforce a newline after import statements.
|
|
2043
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2063
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/newline-after-import.md
|
|
2044
2064
|
*/
|
|
2045
2065
|
'import-x/newline-after-import'?: Linter.RuleEntry<ImportXNewlineAfterImport>;
|
|
2046
2066
|
/**
|
|
2047
2067
|
* Forbid import of modules using absolute paths.
|
|
2048
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2068
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-absolute-path.md
|
|
2049
2069
|
*/
|
|
2050
2070
|
'import-x/no-absolute-path'?: Linter.RuleEntry<ImportXNoAbsolutePath>;
|
|
2051
2071
|
/**
|
|
2052
2072
|
* Forbid AMD `require` and `define` calls.
|
|
2053
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2073
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-amd.md
|
|
2054
2074
|
*/
|
|
2055
2075
|
'import-x/no-amd'?: Linter.RuleEntry<[]>;
|
|
2056
2076
|
/**
|
|
2057
2077
|
* Forbid anonymous values as default exports.
|
|
2058
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2078
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-anonymous-default-export.md
|
|
2059
2079
|
*/
|
|
2060
2080
|
'import-x/no-anonymous-default-export'?: Linter.RuleEntry<ImportXNoAnonymousDefaultExport>;
|
|
2061
2081
|
/**
|
|
2062
2082
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
2063
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2083
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-commonjs.md
|
|
2064
2084
|
*/
|
|
2065
2085
|
'import-x/no-commonjs'?: Linter.RuleEntry<ImportXNoCommonjs>;
|
|
2066
2086
|
/**
|
|
2067
2087
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
2068
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2088
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-cycle.md
|
|
2069
2089
|
*/
|
|
2070
2090
|
'import-x/no-cycle'?: Linter.RuleEntry<ImportXNoCycle>;
|
|
2071
2091
|
/**
|
|
2072
2092
|
* Forbid default exports.
|
|
2073
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2093
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-default-export.md
|
|
2074
2094
|
*/
|
|
2075
2095
|
'import-x/no-default-export'?: Linter.RuleEntry<[]>;
|
|
2076
2096
|
/**
|
|
2077
2097
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
2078
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2098
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-deprecated.md
|
|
2079
2099
|
*/
|
|
2080
2100
|
'import-x/no-deprecated'?: Linter.RuleEntry<[]>;
|
|
2081
2101
|
/**
|
|
2082
2102
|
* Forbid repeated import of the same module in multiple places.
|
|
2083
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2103
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-duplicates.md
|
|
2084
2104
|
*/
|
|
2085
2105
|
'import-x/no-duplicates'?: Linter.RuleEntry<ImportXNoDuplicates>;
|
|
2086
2106
|
/**
|
|
2087
2107
|
* Forbid `require()` calls with expressions.
|
|
2088
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2108
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-dynamic-require.md
|
|
2089
2109
|
*/
|
|
2090
2110
|
'import-x/no-dynamic-require'?: Linter.RuleEntry<ImportXNoDynamicRequire>;
|
|
2091
2111
|
/**
|
|
2092
2112
|
* Forbid empty named import blocks.
|
|
2093
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2113
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-empty-named-blocks.md
|
|
2094
2114
|
*/
|
|
2095
2115
|
'import-x/no-empty-named-blocks'?: Linter.RuleEntry<[]>;
|
|
2096
2116
|
/**
|
|
2097
2117
|
* Forbid the use of extraneous packages.
|
|
2098
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2118
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-extraneous-dependencies.md
|
|
2099
2119
|
*/
|
|
2100
2120
|
'import-x/no-extraneous-dependencies'?: Linter.RuleEntry<ImportXNoExtraneousDependencies>;
|
|
2101
2121
|
/**
|
|
2102
2122
|
* Forbid import statements with CommonJS module.exports.
|
|
2103
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2123
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-import-module-exports.md
|
|
2104
2124
|
*/
|
|
2105
2125
|
'import-x/no-import-module-exports'?: Linter.RuleEntry<ImportXNoImportModuleExports>;
|
|
2106
2126
|
/**
|
|
2107
2127
|
* Forbid importing the submodules of other modules.
|
|
2108
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2128
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-internal-modules.md
|
|
2109
2129
|
*/
|
|
2110
2130
|
'import-x/no-internal-modules'?: Linter.RuleEntry<ImportXNoInternalModules>;
|
|
2111
2131
|
/**
|
|
2112
2132
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
2113
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2133
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-mutable-exports.md
|
|
2114
2134
|
*/
|
|
2115
2135
|
'import-x/no-mutable-exports'?: Linter.RuleEntry<[]>;
|
|
2116
2136
|
/**
|
|
2117
2137
|
* Forbid use of exported name as identifier of default export.
|
|
2118
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2138
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-named-as-default.md
|
|
2119
2139
|
*/
|
|
2120
2140
|
'import-x/no-named-as-default'?: Linter.RuleEntry<[]>;
|
|
2121
2141
|
/**
|
|
2122
2142
|
* Forbid use of exported name as property of default export.
|
|
2123
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2143
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-named-as-default-member.md
|
|
2124
2144
|
*/
|
|
2125
2145
|
'import-x/no-named-as-default-member'?: Linter.RuleEntry<[]>;
|
|
2126
2146
|
/**
|
|
2127
2147
|
* Forbid named default exports.
|
|
2128
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2148
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-named-default.md
|
|
2129
2149
|
*/
|
|
2130
2150
|
'import-x/no-named-default'?: Linter.RuleEntry<[]>;
|
|
2131
2151
|
/**
|
|
2132
2152
|
* Forbid named exports.
|
|
2133
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2153
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-named-export.md
|
|
2134
2154
|
*/
|
|
2135
2155
|
'import-x/no-named-export'?: Linter.RuleEntry<[]>;
|
|
2136
2156
|
/**
|
|
2137
2157
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
2138
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2158
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-namespace.md
|
|
2139
2159
|
*/
|
|
2140
2160
|
'import-x/no-namespace'?: Linter.RuleEntry<ImportXNoNamespace>;
|
|
2141
2161
|
/**
|
|
2142
2162
|
* Forbid Node.js builtin modules.
|
|
2143
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2163
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-nodejs-modules.md
|
|
2144
2164
|
*/
|
|
2145
2165
|
'import-x/no-nodejs-modules'?: Linter.RuleEntry<ImportXNoNodejsModules>;
|
|
2146
2166
|
/**
|
|
2147
2167
|
* Forbid importing packages through relative paths.
|
|
2148
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2168
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-relative-packages.md
|
|
2149
2169
|
*/
|
|
2150
2170
|
'import-x/no-relative-packages'?: Linter.RuleEntry<ImportXNoRelativePackages>;
|
|
2151
2171
|
/**
|
|
2152
2172
|
* Forbid importing modules from parent directories.
|
|
2153
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2173
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-relative-parent-imports.md
|
|
2154
2174
|
*/
|
|
2155
2175
|
'import-x/no-relative-parent-imports'?: Linter.RuleEntry<ImportXNoRelativeParentImports>;
|
|
2156
2176
|
/**
|
|
2157
2177
|
* Forbid importing a default export by a different name.
|
|
2158
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2178
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-rename-default.md
|
|
2159
2179
|
*/
|
|
2160
2180
|
'import-x/no-rename-default'?: Linter.RuleEntry<ImportXNoRenameDefault>;
|
|
2161
2181
|
/**
|
|
2162
2182
|
* Enforce which files can be imported in a given folder.
|
|
2163
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2183
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-restricted-paths.md
|
|
2164
2184
|
*/
|
|
2165
2185
|
'import-x/no-restricted-paths'?: Linter.RuleEntry<ImportXNoRestrictedPaths>;
|
|
2166
2186
|
/**
|
|
2167
2187
|
* Forbid a module from importing itself.
|
|
2168
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2188
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-self-import.md
|
|
2169
2189
|
*/
|
|
2170
2190
|
'import-x/no-self-import'?: Linter.RuleEntry<[]>;
|
|
2171
2191
|
/**
|
|
2172
2192
|
* Forbid unassigned imports.
|
|
2173
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2193
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-unassigned-import.md
|
|
2174
2194
|
*/
|
|
2175
2195
|
'import-x/no-unassigned-import'?: Linter.RuleEntry<ImportXNoUnassignedImport>;
|
|
2176
2196
|
/**
|
|
2177
2197
|
* Ensure imports point to a file/module that can be resolved.
|
|
2178
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2198
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-unresolved.md
|
|
2179
2199
|
*/
|
|
2180
2200
|
'import-x/no-unresolved'?: Linter.RuleEntry<ImportXNoUnresolved>;
|
|
2181
2201
|
/**
|
|
2182
2202
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
2183
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2203
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-unused-modules.md
|
|
2184
2204
|
*/
|
|
2185
2205
|
'import-x/no-unused-modules'?: Linter.RuleEntry<ImportXNoUnusedModules>;
|
|
2186
2206
|
/**
|
|
2187
2207
|
* Forbid unnecessary path segments in import and require statements.
|
|
2188
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2208
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-useless-path-segments.md
|
|
2189
2209
|
*/
|
|
2190
2210
|
'import-x/no-useless-path-segments'?: Linter.RuleEntry<ImportXNoUselessPathSegments>;
|
|
2191
2211
|
/**
|
|
2192
2212
|
* Forbid webpack loader syntax in imports.
|
|
2193
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2213
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-webpack-loader-syntax.md
|
|
2194
2214
|
*/
|
|
2195
2215
|
'import-x/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>;
|
|
2196
2216
|
/**
|
|
2197
2217
|
* Enforce a convention in module import order.
|
|
2198
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2218
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/order.md
|
|
2199
2219
|
*/
|
|
2200
2220
|
'import-x/order'?: Linter.RuleEntry<ImportXOrder>;
|
|
2201
2221
|
/**
|
|
2202
2222
|
* Prefer a default export if module exports a single name or multiple names.
|
|
2203
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2223
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/prefer-default-export.md
|
|
2204
2224
|
*/
|
|
2205
2225
|
'import-x/prefer-default-export'?: Linter.RuleEntry<ImportXPreferDefaultExport>;
|
|
2206
2226
|
/**
|
|
2207
2227
|
* Enforce using namespace imports for specific modules, like `react`/`react-dom`, etc.
|
|
2208
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2228
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/prefer-namespace-import.md
|
|
2209
2229
|
*/
|
|
2210
2230
|
'import-x/prefer-namespace-import'?: Linter.RuleEntry<ImportXPreferNamespaceImport>;
|
|
2211
2231
|
/**
|
|
2212
2232
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
2213
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2233
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/unambiguous.md
|
|
2214
2234
|
*/
|
|
2215
2235
|
'import-x/unambiguous'?: Linter.RuleEntry<[]>;
|
|
2216
2236
|
/**
|
|
@@ -3248,6 +3268,11 @@ interface RuleOptions {
|
|
|
3248
3268
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/console.md
|
|
3249
3269
|
*/
|
|
3250
3270
|
'n/prefer-global/console'?: Linter.RuleEntry<NPreferGlobalConsole>;
|
|
3271
|
+
/**
|
|
3272
|
+
* enforce either `crypto` or `require("crypto").webcrypto`
|
|
3273
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/crypto.md
|
|
3274
|
+
*/
|
|
3275
|
+
'n/prefer-global/crypto'?: Linter.RuleEntry<NPreferGlobalCrypto>;
|
|
3251
3276
|
/**
|
|
3252
3277
|
* enforce either `process` or `require("process")`
|
|
3253
3278
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/process.md
|
|
@@ -3263,6 +3288,11 @@ interface RuleOptions {
|
|
|
3263
3288
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/text-encoder.md
|
|
3264
3289
|
*/
|
|
3265
3290
|
'n/prefer-global/text-encoder'?: Linter.RuleEntry<NPreferGlobalTextEncoder>;
|
|
3291
|
+
/**
|
|
3292
|
+
* enforce either global timer functions or `require("timers")`
|
|
3293
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/timers.md
|
|
3294
|
+
*/
|
|
3295
|
+
'n/prefer-global/timers'?: Linter.RuleEntry<NPreferGlobalTimers>;
|
|
3266
3296
|
/**
|
|
3267
3297
|
* enforce either `URL` or `require("url").URL`
|
|
3268
3298
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/url.md
|
|
@@ -4401,7 +4431,7 @@ interface RuleOptions {
|
|
|
4401
4431
|
*/
|
|
4402
4432
|
'quotes'?: Linter.RuleEntry<Quotes>;
|
|
4403
4433
|
/**
|
|
4404
|
-
* Enforce the
|
|
4434
|
+
* Enforce the use of the radix argument when using `parseInt()`
|
|
4405
4435
|
* @see https://eslint.org/docs/latest/rules/radix
|
|
4406
4436
|
*/
|
|
4407
4437
|
'radix'?: Linter.RuleEntry<Radix>;
|
|
@@ -5108,11 +5138,21 @@ interface RuleOptions {
|
|
|
5108
5138
|
* @see https://ota-meshi.github.io/eslint-plugin-toml/rules/indent.html
|
|
5109
5139
|
*/
|
|
5110
5140
|
'toml/indent'?: Linter.RuleEntry<TomlIndent>;
|
|
5141
|
+
/**
|
|
5142
|
+
* enforce linebreaks after opening and before closing braces
|
|
5143
|
+
* @see https://ota-meshi.github.io/eslint-plugin-toml/rules/inline-table-curly-newline.html
|
|
5144
|
+
*/
|
|
5145
|
+
'toml/inline-table-curly-newline'?: Linter.RuleEntry<TomlInlineTableCurlyNewline>;
|
|
5111
5146
|
/**
|
|
5112
5147
|
* enforce consistent spacing inside braces
|
|
5113
5148
|
* @see https://ota-meshi.github.io/eslint-plugin-toml/rules/inline-table-curly-spacing.html
|
|
5114
5149
|
*/
|
|
5115
5150
|
'toml/inline-table-curly-spacing'?: Linter.RuleEntry<TomlInlineTableCurlySpacing>;
|
|
5151
|
+
/**
|
|
5152
|
+
* enforce placing inline table key-value pairs on separate lines
|
|
5153
|
+
* @see https://ota-meshi.github.io/eslint-plugin-toml/rules/inline-table-key-value-newline.html
|
|
5154
|
+
*/
|
|
5155
|
+
'toml/inline-table-key-value-newline'?: Linter.RuleEntry<TomlInlineTableKeyValueNewline>;
|
|
5116
5156
|
/**
|
|
5117
5157
|
* enforce consistent spacing between keys and values in key/value pairs
|
|
5118
5158
|
* @see https://ota-meshi.github.io/eslint-plugin-toml/rules/key-spacing.html
|
|
@@ -5201,725 +5241,730 @@ interface RuleOptions {
|
|
|
5201
5241
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>;
|
|
5202
5242
|
/**
|
|
5203
5243
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
5204
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5244
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/better-regex.md
|
|
5205
5245
|
*/
|
|
5206
5246
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>;
|
|
5207
5247
|
/**
|
|
5208
5248
|
* Enforce a specific parameter name in catch clauses.
|
|
5209
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5249
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/catch-error-name.md
|
|
5210
5250
|
*/
|
|
5211
5251
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>;
|
|
5212
5252
|
/**
|
|
5213
5253
|
* Enforce consistent assertion style with `node:assert`.
|
|
5214
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5254
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-assert.md
|
|
5215
5255
|
*/
|
|
5216
5256
|
'unicorn/consistent-assert'?: Linter.RuleEntry<[]>;
|
|
5217
5257
|
/**
|
|
5218
5258
|
* Prefer passing `Date` directly to the constructor when cloning.
|
|
5219
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5259
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-date-clone.md
|
|
5220
5260
|
*/
|
|
5221
5261
|
'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>;
|
|
5222
5262
|
/**
|
|
5223
5263
|
* Use destructured variables over properties.
|
|
5224
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5264
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-destructuring.md
|
|
5225
5265
|
*/
|
|
5226
5266
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>;
|
|
5227
5267
|
/**
|
|
5228
5268
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
5229
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5269
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-empty-array-spread.md
|
|
5230
5270
|
*/
|
|
5231
5271
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>;
|
|
5232
5272
|
/**
|
|
5233
5273
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
5234
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5274
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-existence-index-check.md
|
|
5235
5275
|
*/
|
|
5236
5276
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>;
|
|
5237
5277
|
/**
|
|
5238
5278
|
* Move function definitions to the highest possible scope.
|
|
5239
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5279
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-function-scoping.md
|
|
5240
5280
|
*/
|
|
5241
5281
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
|
|
5242
5282
|
/**
|
|
5243
5283
|
* Enforce correct `Error` subclassing.
|
|
5244
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5284
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/custom-error-definition.md
|
|
5245
5285
|
*/
|
|
5246
5286
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>;
|
|
5247
5287
|
/**
|
|
5248
5288
|
* Enforce no spaces between braces.
|
|
5249
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5289
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/empty-brace-spaces.md
|
|
5250
5290
|
*/
|
|
5251
5291
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>;
|
|
5252
5292
|
/**
|
|
5253
5293
|
* Enforce passing a `message` value when creating a built-in error.
|
|
5254
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5294
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/error-message.md
|
|
5255
5295
|
*/
|
|
5256
5296
|
'unicorn/error-message'?: Linter.RuleEntry<[]>;
|
|
5257
5297
|
/**
|
|
5258
5298
|
* Require escape sequences to use uppercase or lowercase values.
|
|
5259
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5299
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/escape-case.md
|
|
5260
5300
|
*/
|
|
5261
5301
|
'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>;
|
|
5262
5302
|
/**
|
|
5263
5303
|
* Add expiration conditions to TODO comments.
|
|
5264
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5304
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/expiring-todo-comments.md
|
|
5265
5305
|
*/
|
|
5266
5306
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>;
|
|
5267
5307
|
/**
|
|
5268
5308
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
5269
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5309
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/explicit-length-check.md
|
|
5270
5310
|
*/
|
|
5271
5311
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
|
|
5272
5312
|
/**
|
|
5273
5313
|
* Enforce a case style for filenames.
|
|
5274
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5314
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/filename-case.md
|
|
5275
5315
|
*/
|
|
5276
5316
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>;
|
|
5277
5317
|
/**
|
|
5278
5318
|
* Enforce specific import styles per module.
|
|
5279
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5319
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/import-style.md
|
|
5280
5320
|
*/
|
|
5281
5321
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>;
|
|
5322
|
+
/**
|
|
5323
|
+
* Prevent usage of variables from outside the scope of isolated functions.
|
|
5324
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/isolated-functions.md
|
|
5325
|
+
*/
|
|
5326
|
+
'unicorn/isolated-functions'?: Linter.RuleEntry<UnicornIsolatedFunctions>;
|
|
5282
5327
|
/**
|
|
5283
5328
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
5284
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5329
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/new-for-builtins.md
|
|
5285
5330
|
*/
|
|
5286
5331
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>;
|
|
5287
5332
|
/**
|
|
5288
5333
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
5289
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5334
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-abusive-eslint-disable.md
|
|
5290
5335
|
*/
|
|
5291
5336
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>;
|
|
5292
5337
|
/**
|
|
5293
5338
|
* Disallow recursive access to `this` within getters and setters.
|
|
5294
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5339
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-accessor-recursion.md
|
|
5295
5340
|
*/
|
|
5296
5341
|
'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>;
|
|
5297
5342
|
/**
|
|
5298
5343
|
* Disallow anonymous functions and classes as the default export.
|
|
5299
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5344
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-anonymous-default-export.md
|
|
5300
5345
|
*/
|
|
5301
5346
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>;
|
|
5302
5347
|
/**
|
|
5303
5348
|
* Prevent passing a function reference directly to iterator methods.
|
|
5304
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5349
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-callback-reference.md
|
|
5305
5350
|
*/
|
|
5306
5351
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>;
|
|
5307
5352
|
/**
|
|
5308
5353
|
* Prefer `for…of` over the `forEach` method.
|
|
5309
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5354
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-for-each.md
|
|
5310
5355
|
*/
|
|
5311
5356
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>;
|
|
5312
5357
|
/**
|
|
5313
5358
|
* Disallow using the `this` argument in array methods.
|
|
5314
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5359
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-method-this-argument.md
|
|
5315
5360
|
*/
|
|
5316
5361
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>;
|
|
5317
5362
|
/**
|
|
5318
5363
|
* Replaced by `unicorn/prefer-single-call` which covers more cases.
|
|
5319
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5364
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
|
|
5320
5365
|
* @deprecated
|
|
5321
5366
|
*/
|
|
5322
5367
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>;
|
|
5323
5368
|
/**
|
|
5324
5369
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
5325
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5370
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-reduce.md
|
|
5326
5371
|
*/
|
|
5327
5372
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>;
|
|
5328
5373
|
/**
|
|
5329
5374
|
* Prefer `Array#toReversed()` over `Array#reverse()`.
|
|
5330
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5375
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-reverse.md
|
|
5331
5376
|
*/
|
|
5332
5377
|
'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>;
|
|
5333
5378
|
/**
|
|
5334
5379
|
* Prefer `Array#toSorted()` over `Array#sort()`.
|
|
5335
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5380
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-sort.md
|
|
5336
5381
|
*/
|
|
5337
5382
|
'unicorn/no-array-sort'?: Linter.RuleEntry<UnicornNoArraySort>;
|
|
5338
5383
|
/**
|
|
5339
5384
|
* Disallow member access from await expression.
|
|
5340
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5385
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-await-expression-member.md
|
|
5341
5386
|
*/
|
|
5342
5387
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>;
|
|
5343
5388
|
/**
|
|
5344
5389
|
* Disallow using `await` in `Promise` method parameters.
|
|
5345
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5390
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-await-in-promise-methods.md
|
|
5346
5391
|
*/
|
|
5347
5392
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
5348
5393
|
/**
|
|
5349
5394
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
5350
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5395
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-console-spaces.md
|
|
5351
5396
|
*/
|
|
5352
5397
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>;
|
|
5353
5398
|
/**
|
|
5354
5399
|
* Do not use `document.cookie` directly.
|
|
5355
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5400
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-document-cookie.md
|
|
5356
5401
|
*/
|
|
5357
5402
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>;
|
|
5358
5403
|
/**
|
|
5359
5404
|
* Disallow empty files.
|
|
5360
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5405
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-empty-file.md
|
|
5361
5406
|
*/
|
|
5362
5407
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>;
|
|
5363
5408
|
/**
|
|
5364
5409
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
5365
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5410
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-for-loop.md
|
|
5366
5411
|
*/
|
|
5367
5412
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>;
|
|
5368
5413
|
/**
|
|
5369
5414
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
5370
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5415
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-hex-escape.md
|
|
5371
5416
|
*/
|
|
5372
5417
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>;
|
|
5373
5418
|
/**
|
|
5374
5419
|
* Disallow immediate mutation after variable assignment.
|
|
5375
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5420
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-immediate-mutation.md
|
|
5376
5421
|
*/
|
|
5377
5422
|
'unicorn/no-immediate-mutation'?: Linter.RuleEntry<[]>;
|
|
5378
5423
|
/**
|
|
5379
5424
|
* Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
|
|
5380
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5425
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
|
|
5381
5426
|
* @deprecated
|
|
5382
5427
|
*/
|
|
5383
5428
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>;
|
|
5384
5429
|
/**
|
|
5385
5430
|
* Disallow `instanceof` with built-in objects
|
|
5386
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5431
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-instanceof-builtins.md
|
|
5387
5432
|
*/
|
|
5388
5433
|
'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
|
|
5389
5434
|
/**
|
|
5390
5435
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
5391
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5436
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-invalid-fetch-options.md
|
|
5392
5437
|
*/
|
|
5393
5438
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>;
|
|
5394
5439
|
/**
|
|
5395
5440
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
5396
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5441
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-invalid-remove-event-listener.md
|
|
5397
5442
|
*/
|
|
5398
5443
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>;
|
|
5399
5444
|
/**
|
|
5400
5445
|
* Disallow identifiers starting with `new` or `class`.
|
|
5401
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5446
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-keyword-prefix.md
|
|
5402
5447
|
*/
|
|
5403
5448
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
|
|
5404
5449
|
/**
|
|
5405
5450
|
* Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
|
|
5406
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5451
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
|
|
5407
5452
|
* @deprecated
|
|
5408
5453
|
*/
|
|
5409
5454
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>;
|
|
5410
5455
|
/**
|
|
5411
5456
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
5412
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5457
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-lonely-if.md
|
|
5413
5458
|
*/
|
|
5414
5459
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>;
|
|
5415
5460
|
/**
|
|
5416
5461
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
5417
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5462
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-magic-array-flat-depth.md
|
|
5418
5463
|
*/
|
|
5419
5464
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>;
|
|
5420
5465
|
/**
|
|
5421
5466
|
* Disallow named usage of default import and export.
|
|
5422
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5467
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-named-default.md
|
|
5423
5468
|
*/
|
|
5424
5469
|
'unicorn/no-named-default'?: Linter.RuleEntry<[]>;
|
|
5425
5470
|
/**
|
|
5426
5471
|
* Disallow negated conditions.
|
|
5427
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5472
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-negated-condition.md
|
|
5428
5473
|
*/
|
|
5429
5474
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>;
|
|
5430
5475
|
/**
|
|
5431
5476
|
* Disallow negated expression in equality check.
|
|
5432
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5477
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-negation-in-equality-check.md
|
|
5433
5478
|
*/
|
|
5434
5479
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>;
|
|
5435
5480
|
/**
|
|
5436
5481
|
* Disallow nested ternary expressions.
|
|
5437
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5482
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-nested-ternary.md
|
|
5438
5483
|
*/
|
|
5439
5484
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>;
|
|
5440
5485
|
/**
|
|
5441
5486
|
* Disallow `new Array()`.
|
|
5442
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5487
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-new-array.md
|
|
5443
5488
|
*/
|
|
5444
5489
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>;
|
|
5445
5490
|
/**
|
|
5446
5491
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
5447
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5492
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-new-buffer.md
|
|
5448
5493
|
*/
|
|
5449
5494
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>;
|
|
5450
5495
|
/**
|
|
5451
5496
|
* Disallow the use of the `null` literal.
|
|
5452
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5497
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-null.md
|
|
5453
5498
|
*/
|
|
5454
5499
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>;
|
|
5455
5500
|
/**
|
|
5456
5501
|
* Disallow the use of objects as default parameters.
|
|
5457
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5502
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-object-as-default-parameter.md
|
|
5458
5503
|
*/
|
|
5459
5504
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>;
|
|
5460
5505
|
/**
|
|
5461
5506
|
* Disallow `process.exit()`.
|
|
5462
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5507
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-process-exit.md
|
|
5463
5508
|
*/
|
|
5464
5509
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>;
|
|
5465
5510
|
/**
|
|
5466
5511
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
5467
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5512
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-single-promise-in-promise-methods.md
|
|
5468
5513
|
*/
|
|
5469
5514
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
5470
5515
|
/**
|
|
5471
5516
|
* Disallow classes that only have static members.
|
|
5472
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5517
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-static-only-class.md
|
|
5473
5518
|
*/
|
|
5474
5519
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>;
|
|
5475
5520
|
/**
|
|
5476
5521
|
* Disallow `then` property.
|
|
5477
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5522
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-thenable.md
|
|
5478
5523
|
*/
|
|
5479
5524
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>;
|
|
5480
5525
|
/**
|
|
5481
5526
|
* Disallow assigning `this` to a variable.
|
|
5482
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5527
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-this-assignment.md
|
|
5483
5528
|
*/
|
|
5484
5529
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>;
|
|
5485
5530
|
/**
|
|
5486
5531
|
* Disallow comparing `undefined` using `typeof`.
|
|
5487
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5532
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-typeof-undefined.md
|
|
5488
5533
|
*/
|
|
5489
5534
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
|
|
5490
5535
|
/**
|
|
5491
5536
|
* Disallow using `1` as the `depth` argument of `Array#flat()`.
|
|
5492
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5537
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-array-flat-depth.md
|
|
5493
5538
|
*/
|
|
5494
5539
|
'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>;
|
|
5495
5540
|
/**
|
|
5496
5541
|
* Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
|
|
5497
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5542
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-array-splice-count.md
|
|
5498
5543
|
*/
|
|
5499
5544
|
'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>;
|
|
5500
5545
|
/**
|
|
5501
5546
|
* Disallow awaiting non-promise values.
|
|
5502
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5547
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-await.md
|
|
5503
5548
|
*/
|
|
5504
5549
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>;
|
|
5505
5550
|
/**
|
|
5506
5551
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
5507
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5552
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-polyfills.md
|
|
5508
5553
|
*/
|
|
5509
5554
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
|
|
5510
5555
|
/**
|
|
5511
5556
|
* Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
5512
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5557
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-slice-end.md
|
|
5513
5558
|
*/
|
|
5514
5559
|
'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>;
|
|
5515
5560
|
/**
|
|
5516
5561
|
* Disallow unreadable array destructuring.
|
|
5517
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5562
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unreadable-array-destructuring.md
|
|
5518
5563
|
*/
|
|
5519
5564
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>;
|
|
5520
5565
|
/**
|
|
5521
5566
|
* Disallow unreadable IIFEs.
|
|
5522
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5567
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unreadable-iife.md
|
|
5523
5568
|
*/
|
|
5524
5569
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>;
|
|
5525
5570
|
/**
|
|
5526
5571
|
* Disallow unused object properties.
|
|
5527
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5572
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unused-properties.md
|
|
5528
5573
|
*/
|
|
5529
5574
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>;
|
|
5530
5575
|
/**
|
|
5531
5576
|
* Disallow useless values or fallbacks in `Set`, `Map`, `WeakSet`, or `WeakMap`.
|
|
5532
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5577
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-collection-argument.md
|
|
5533
5578
|
*/
|
|
5534
5579
|
'unicorn/no-useless-collection-argument'?: Linter.RuleEntry<[]>;
|
|
5535
5580
|
/**
|
|
5536
5581
|
* Disallow unnecessary `Error.captureStackTrace(…)`.
|
|
5537
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5582
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-error-capture-stack-trace.md
|
|
5538
5583
|
*/
|
|
5539
5584
|
'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>;
|
|
5540
5585
|
/**
|
|
5541
5586
|
* Disallow useless fallback when spreading in object literals.
|
|
5542
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5587
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-fallback-in-spread.md
|
|
5543
5588
|
*/
|
|
5544
5589
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>;
|
|
5545
5590
|
/**
|
|
5546
5591
|
* Disallow useless array length check.
|
|
5547
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5592
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-length-check.md
|
|
5548
5593
|
*/
|
|
5549
5594
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>;
|
|
5550
5595
|
/**
|
|
5551
5596
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
5552
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5597
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-promise-resolve-reject.md
|
|
5553
5598
|
*/
|
|
5554
5599
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>;
|
|
5555
5600
|
/**
|
|
5556
5601
|
* Disallow unnecessary spread.
|
|
5557
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5602
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-spread.md
|
|
5558
5603
|
*/
|
|
5559
5604
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>;
|
|
5560
5605
|
/**
|
|
5561
5606
|
* Disallow useless case in switch statements.
|
|
5562
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5607
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-switch-case.md
|
|
5563
5608
|
*/
|
|
5564
5609
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>;
|
|
5565
5610
|
/**
|
|
5566
5611
|
* Disallow useless `undefined`.
|
|
5567
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5612
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-undefined.md
|
|
5568
5613
|
*/
|
|
5569
5614
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>;
|
|
5570
5615
|
/**
|
|
5571
5616
|
* Disallow number literals with zero fractions or dangling dots.
|
|
5572
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5617
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-zero-fractions.md
|
|
5573
5618
|
*/
|
|
5574
5619
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>;
|
|
5575
5620
|
/**
|
|
5576
5621
|
* Enforce proper case for numeric literals.
|
|
5577
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5622
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/number-literal-case.md
|
|
5578
5623
|
*/
|
|
5579
5624
|
'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>;
|
|
5580
5625
|
/**
|
|
5581
5626
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
5582
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5627
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/numeric-separators-style.md
|
|
5583
5628
|
*/
|
|
5584
5629
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
|
|
5585
5630
|
/**
|
|
5586
5631
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
5587
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5632
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-add-event-listener.md
|
|
5588
5633
|
*/
|
|
5589
5634
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>;
|
|
5590
5635
|
/**
|
|
5591
5636
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
5592
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5637
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-find.md
|
|
5593
5638
|
*/
|
|
5594
5639
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>;
|
|
5595
5640
|
/**
|
|
5596
5641
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
5597
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5642
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-flat.md
|
|
5598
5643
|
*/
|
|
5599
5644
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>;
|
|
5600
5645
|
/**
|
|
5601
5646
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
5602
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5647
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-flat-map.md
|
|
5603
5648
|
*/
|
|
5604
5649
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>;
|
|
5605
5650
|
/**
|
|
5606
5651
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
5607
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5652
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-index-of.md
|
|
5608
5653
|
*/
|
|
5609
5654
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>;
|
|
5610
5655
|
/**
|
|
5611
5656
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
5612
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5657
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-some.md
|
|
5613
5658
|
*/
|
|
5614
5659
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>;
|
|
5615
5660
|
/**
|
|
5616
5661
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
5617
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5662
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-at.md
|
|
5618
5663
|
*/
|
|
5619
5664
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>;
|
|
5620
5665
|
/**
|
|
5621
5666
|
* Prefer `BigInt` literals over the constructor.
|
|
5622
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5667
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-bigint-literals.md
|
|
5623
5668
|
*/
|
|
5624
5669
|
'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>;
|
|
5625
5670
|
/**
|
|
5626
5671
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
5627
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5672
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-blob-reading-methods.md
|
|
5628
5673
|
*/
|
|
5629
5674
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>;
|
|
5630
5675
|
/**
|
|
5631
5676
|
* Prefer class field declarations over `this` assignments in constructors.
|
|
5632
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5677
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-class-fields.md
|
|
5633
5678
|
*/
|
|
5634
5679
|
'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>;
|
|
5635
5680
|
/**
|
|
5636
5681
|
* Prefer using `Element#classList.toggle()` to toggle class names.
|
|
5637
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5682
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-classlist-toggle.md
|
|
5638
5683
|
*/
|
|
5639
5684
|
'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>;
|
|
5640
5685
|
/**
|
|
5641
5686
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
5642
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5687
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-code-point.md
|
|
5643
5688
|
*/
|
|
5644
5689
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>;
|
|
5645
5690
|
/**
|
|
5646
5691
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
5647
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5692
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-date-now.md
|
|
5648
5693
|
*/
|
|
5649
5694
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>;
|
|
5650
5695
|
/**
|
|
5651
5696
|
* Prefer default parameters over reassignment.
|
|
5652
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5697
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-default-parameters.md
|
|
5653
5698
|
*/
|
|
5654
5699
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>;
|
|
5655
5700
|
/**
|
|
5656
5701
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
5657
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5702
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-dom-node-append.md
|
|
5658
5703
|
*/
|
|
5659
5704
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>;
|
|
5660
5705
|
/**
|
|
5661
5706
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
5662
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5707
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-dom-node-dataset.md
|
|
5663
5708
|
*/
|
|
5664
5709
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>;
|
|
5665
5710
|
/**
|
|
5666
5711
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
5667
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5712
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-dom-node-remove.md
|
|
5668
5713
|
*/
|
|
5669
5714
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>;
|
|
5670
5715
|
/**
|
|
5671
5716
|
* Prefer `.textContent` over `.innerText`.
|
|
5672
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5717
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-dom-node-text-content.md
|
|
5673
5718
|
*/
|
|
5674
5719
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>;
|
|
5675
5720
|
/**
|
|
5676
5721
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
5677
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5722
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-event-target.md
|
|
5678
5723
|
*/
|
|
5679
5724
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>;
|
|
5680
5725
|
/**
|
|
5681
5726
|
* Prefer `export…from` when re-exporting.
|
|
5682
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5727
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-export-from.md
|
|
5683
5728
|
*/
|
|
5684
5729
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>;
|
|
5685
5730
|
/**
|
|
5686
5731
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
5687
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5732
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-global-this.md
|
|
5688
5733
|
*/
|
|
5689
5734
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>;
|
|
5690
5735
|
/**
|
|
5691
5736
|
* Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
|
|
5692
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5737
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-import-meta-properties.md
|
|
5693
5738
|
*/
|
|
5694
5739
|
'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>;
|
|
5695
5740
|
/**
|
|
5696
5741
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
5697
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5742
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-includes.md
|
|
5698
5743
|
*/
|
|
5699
5744
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>;
|
|
5700
5745
|
/**
|
|
5701
5746
|
* Prefer reading a JSON file as a buffer.
|
|
5702
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5747
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-json-parse-buffer.md
|
|
5703
5748
|
*/
|
|
5704
5749
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>;
|
|
5705
5750
|
/**
|
|
5706
5751
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
5707
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5752
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-keyboard-event-key.md
|
|
5708
5753
|
*/
|
|
5709
5754
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>;
|
|
5710
5755
|
/**
|
|
5711
5756
|
* Prefer using a logical operator over a ternary.
|
|
5712
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5757
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-logical-operator-over-ternary.md
|
|
5713
5758
|
*/
|
|
5714
5759
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>;
|
|
5715
5760
|
/**
|
|
5716
5761
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
5717
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5762
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-math-min-max.md
|
|
5718
5763
|
*/
|
|
5719
5764
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>;
|
|
5720
5765
|
/**
|
|
5721
5766
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
5722
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5767
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-math-trunc.md
|
|
5723
5768
|
*/
|
|
5724
5769
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>;
|
|
5725
5770
|
/**
|
|
5726
5771
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
5727
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5772
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-modern-dom-apis.md
|
|
5728
5773
|
*/
|
|
5729
5774
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>;
|
|
5730
5775
|
/**
|
|
5731
5776
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
5732
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5777
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-modern-math-apis.md
|
|
5733
5778
|
*/
|
|
5734
5779
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>;
|
|
5735
5780
|
/**
|
|
5736
5781
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
5737
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5782
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-module.md
|
|
5738
5783
|
*/
|
|
5739
5784
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>;
|
|
5740
5785
|
/**
|
|
5741
5786
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
5742
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5787
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-native-coercion-functions.md
|
|
5743
5788
|
*/
|
|
5744
5789
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>;
|
|
5745
5790
|
/**
|
|
5746
5791
|
* Prefer negative index over `.length - index` when possible.
|
|
5747
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5792
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-negative-index.md
|
|
5748
5793
|
*/
|
|
5749
5794
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>;
|
|
5750
5795
|
/**
|
|
5751
5796
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
5752
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5797
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-node-protocol.md
|
|
5753
5798
|
*/
|
|
5754
5799
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>;
|
|
5755
5800
|
/**
|
|
5756
5801
|
* Prefer `Number` static properties over global ones.
|
|
5757
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5802
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-number-properties.md
|
|
5758
5803
|
*/
|
|
5759
5804
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>;
|
|
5760
5805
|
/**
|
|
5761
5806
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
5762
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5807
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-object-from-entries.md
|
|
5763
5808
|
*/
|
|
5764
5809
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
|
|
5765
5810
|
/**
|
|
5766
5811
|
* Prefer omitting the `catch` binding parameter.
|
|
5767
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5812
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-optional-catch-binding.md
|
|
5768
5813
|
*/
|
|
5769
5814
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>;
|
|
5770
5815
|
/**
|
|
5771
5816
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
5772
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5817
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-prototype-methods.md
|
|
5773
5818
|
*/
|
|
5774
5819
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>;
|
|
5775
5820
|
/**
|
|
5776
5821
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
5777
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5822
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-query-selector.md
|
|
5778
5823
|
*/
|
|
5779
5824
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>;
|
|
5780
5825
|
/**
|
|
5781
5826
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
5782
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5827
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-reflect-apply.md
|
|
5783
5828
|
*/
|
|
5784
5829
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>;
|
|
5785
5830
|
/**
|
|
5786
5831
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
5787
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5832
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-regexp-test.md
|
|
5788
5833
|
*/
|
|
5789
5834
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>;
|
|
5790
5835
|
/**
|
|
5791
5836
|
* Prefer `Response.json()` over `new Response(JSON.stringify())`.
|
|
5792
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5837
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-response-static-json.md
|
|
5793
5838
|
*/
|
|
5794
5839
|
'unicorn/prefer-response-static-json'?: Linter.RuleEntry<[]>;
|
|
5795
5840
|
/**
|
|
5796
5841
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
5797
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5842
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-set-has.md
|
|
5798
5843
|
*/
|
|
5799
5844
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>;
|
|
5800
5845
|
/**
|
|
5801
5846
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
5802
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5847
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-set-size.md
|
|
5803
5848
|
*/
|
|
5804
5849
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>;
|
|
5805
5850
|
/**
|
|
5806
5851
|
* Enforce combining multiple `Array#push()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
|
|
5807
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5852
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-single-call.md
|
|
5808
5853
|
*/
|
|
5809
5854
|
'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>;
|
|
5810
5855
|
/**
|
|
5811
5856
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
5812
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5857
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-spread.md
|
|
5813
5858
|
*/
|
|
5814
5859
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>;
|
|
5815
5860
|
/**
|
|
5816
5861
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
5817
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5862
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-raw.md
|
|
5818
5863
|
*/
|
|
5819
5864
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>;
|
|
5820
5865
|
/**
|
|
5821
5866
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
5822
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5867
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-replace-all.md
|
|
5823
5868
|
*/
|
|
5824
5869
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>;
|
|
5825
5870
|
/**
|
|
5826
5871
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
5827
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5872
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-slice.md
|
|
5828
5873
|
*/
|
|
5829
5874
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>;
|
|
5830
5875
|
/**
|
|
5831
5876
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
5832
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5877
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-starts-ends-with.md
|
|
5833
5878
|
*/
|
|
5834
5879
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>;
|
|
5835
5880
|
/**
|
|
5836
5881
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
5837
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5882
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-trim-start-end.md
|
|
5838
5883
|
*/
|
|
5839
5884
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>;
|
|
5840
5885
|
/**
|
|
5841
5886
|
* Prefer using `structuredClone` to create a deep clone.
|
|
5842
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5887
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-structured-clone.md
|
|
5843
5888
|
*/
|
|
5844
5889
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>;
|
|
5845
5890
|
/**
|
|
5846
5891
|
* Prefer `switch` over multiple `else-if`.
|
|
5847
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5892
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-switch.md
|
|
5848
5893
|
*/
|
|
5849
5894
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>;
|
|
5850
5895
|
/**
|
|
5851
5896
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
5852
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5897
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-ternary.md
|
|
5853
5898
|
*/
|
|
5854
5899
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>;
|
|
5855
5900
|
/**
|
|
5856
5901
|
* Prefer top-level await over top-level promises and async function calls.
|
|
5857
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5902
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-top-level-await.md
|
|
5858
5903
|
*/
|
|
5859
5904
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>;
|
|
5860
5905
|
/**
|
|
5861
5906
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
5862
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5907
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-type-error.md
|
|
5863
5908
|
*/
|
|
5864
5909
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>;
|
|
5865
5910
|
/**
|
|
5866
5911
|
* Prevent abbreviations.
|
|
5867
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5912
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prevent-abbreviations.md
|
|
5868
5913
|
*/
|
|
5869
5914
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>;
|
|
5870
5915
|
/**
|
|
5871
5916
|
* Enforce consistent relative URL style.
|
|
5872
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5917
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/relative-url-style.md
|
|
5873
5918
|
*/
|
|
5874
5919
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
|
|
5875
5920
|
/**
|
|
5876
5921
|
* Enforce using the separator argument with `Array#join()`.
|
|
5877
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5922
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-array-join-separator.md
|
|
5878
5923
|
*/
|
|
5879
5924
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>;
|
|
5880
5925
|
/**
|
|
5881
5926
|
* Require non-empty module attributes for imports and exports
|
|
5882
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5927
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-module-attributes.md
|
|
5883
5928
|
*/
|
|
5884
5929
|
'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>;
|
|
5885
5930
|
/**
|
|
5886
5931
|
* Require non-empty specifier list in import and export statements.
|
|
5887
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5932
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-module-specifiers.md
|
|
5888
5933
|
*/
|
|
5889
5934
|
'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>;
|
|
5890
5935
|
/**
|
|
5891
5936
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
5892
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5937
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-number-to-fixed-digits-argument.md
|
|
5893
5938
|
*/
|
|
5894
5939
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>;
|
|
5895
5940
|
/**
|
|
5896
5941
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
5897
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5942
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-post-message-target-origin.md
|
|
5898
5943
|
*/
|
|
5899
5944
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>;
|
|
5900
5945
|
/**
|
|
5901
5946
|
* Enforce better string content.
|
|
5902
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5947
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/string-content.md
|
|
5903
5948
|
*/
|
|
5904
5949
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>;
|
|
5905
5950
|
/**
|
|
5906
5951
|
* Enforce consistent brace style for `case` clauses.
|
|
5907
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5952
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/switch-case-braces.md
|
|
5908
5953
|
*/
|
|
5909
5954
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
|
|
5910
5955
|
/**
|
|
5911
5956
|
* Fix whitespace-insensitive template indentation.
|
|
5912
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5957
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/template-indent.md
|
|
5913
5958
|
*/
|
|
5914
5959
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>;
|
|
5915
5960
|
/**
|
|
5916
5961
|
* Enforce consistent case for text encoding identifiers.
|
|
5917
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5962
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/text-encoding-identifier-case.md
|
|
5918
5963
|
*/
|
|
5919
5964
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<UnicornTextEncodingIdentifierCase>;
|
|
5920
5965
|
/**
|
|
5921
5966
|
* Require `new` when creating an error.
|
|
5922
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5967
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/throw-new-error.md
|
|
5923
5968
|
*/
|
|
5924
5969
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>;
|
|
5925
5970
|
/**
|
|
@@ -6328,6 +6373,11 @@ interface RuleOptions {
|
|
|
6328
6373
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-top-level-describe.md
|
|
6329
6374
|
*/
|
|
6330
6375
|
'vitest/require-top-level-describe'?: Linter.RuleEntry<VitestRequireTopLevelDescribe>;
|
|
6376
|
+
/**
|
|
6377
|
+
* enforce unbound methods are called with their expected scope
|
|
6378
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/unbound-method.md
|
|
6379
|
+
*/
|
|
6380
|
+
'vitest/unbound-method'?: Linter.RuleEntry<VitestUnboundMethod>;
|
|
6331
6381
|
/**
|
|
6332
6382
|
* enforce valid describe callback
|
|
6333
6383
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-describe-callback.md
|
|
@@ -6853,37 +6903,47 @@ type StylisticCurlyNewline = [] | [(("always" | "never") | {
|
|
|
6853
6903
|
consistent?: boolean;
|
|
6854
6904
|
})]; // ----- @stylistic/dot-location -----
|
|
6855
6905
|
type StylisticDotLocation = [] | [("object" | "property")]; // ----- @stylistic/eol-last -----
|
|
6856
|
-
type StylisticEolLast = [] | [("always" | "never" | "unix" | "windows")]; // ----- @stylistic/exp-
|
|
6906
|
+
type StylisticEolLast = [] | [("always" | "never" | "unix" | "windows")]; // ----- @stylistic/exp-jsx-props-style -----
|
|
6907
|
+
type StylisticExpJsxPropsStyle = [] | [{
|
|
6908
|
+
singleLine?: {
|
|
6909
|
+
maxItems?: number;
|
|
6910
|
+
};
|
|
6911
|
+
multiLine?: {
|
|
6912
|
+
minItems?: number;
|
|
6913
|
+
maxItemsPerLine?: number;
|
|
6914
|
+
};
|
|
6915
|
+
}]; // ----- @stylistic/exp-list-style -----
|
|
6857
6916
|
type StylisticExpListStyle = [] | [{
|
|
6858
6917
|
singleLine?: _StylisticExpListStyle_SingleLineConfig;
|
|
6859
6918
|
multiLine?: _StylisticExpListStyle_MultiLineConfig;
|
|
6860
6919
|
overrides?: {
|
|
6861
|
-
"
|
|
6862
|
-
"
|
|
6863
|
-
"
|
|
6864
|
-
"
|
|
6865
|
-
ArrayExpression?: _StylisticExpListStyle_BaseConfig;
|
|
6866
|
-
ArrayPattern?: _StylisticExpListStyle_BaseConfig;
|
|
6867
|
-
ArrowFunctionExpression?: _StylisticExpListStyle_BaseConfig;
|
|
6868
|
-
CallExpression?: _StylisticExpListStyle_BaseConfig;
|
|
6869
|
-
ExportNamedDeclaration?: _StylisticExpListStyle_BaseConfig;
|
|
6870
|
-
FunctionDeclaration?: _StylisticExpListStyle_BaseConfig;
|
|
6871
|
-
FunctionExpression?: _StylisticExpListStyle_BaseConfig;
|
|
6872
|
-
|
|
6873
|
-
ImportAttributes?: _StylisticExpListStyle_BaseConfig;
|
|
6874
|
-
|
|
6875
|
-
|
|
6876
|
-
|
|
6877
|
-
|
|
6878
|
-
|
|
6879
|
-
|
|
6880
|
-
|
|
6881
|
-
|
|
6882
|
-
|
|
6883
|
-
|
|
6884
|
-
|
|
6885
|
-
|
|
6886
|
-
|
|
6920
|
+
"()"?: (_StylisticExpListStyle_BaseConfig | "off");
|
|
6921
|
+
"[]"?: (_StylisticExpListStyle_BaseConfig | "off");
|
|
6922
|
+
"{}"?: (_StylisticExpListStyle_BaseConfig | "off");
|
|
6923
|
+
"<>"?: (_StylisticExpListStyle_BaseConfig | "off");
|
|
6924
|
+
ArrayExpression?: (_StylisticExpListStyle_BaseConfig | "off");
|
|
6925
|
+
ArrayPattern?: (_StylisticExpListStyle_BaseConfig | "off");
|
|
6926
|
+
ArrowFunctionExpression?: (_StylisticExpListStyle_BaseConfig | "off");
|
|
6927
|
+
CallExpression?: (_StylisticExpListStyle_BaseConfig | "off");
|
|
6928
|
+
ExportNamedDeclaration?: (_StylisticExpListStyle_BaseConfig | "off");
|
|
6929
|
+
FunctionDeclaration?: (_StylisticExpListStyle_BaseConfig | "off");
|
|
6930
|
+
FunctionExpression?: (_StylisticExpListStyle_BaseConfig | "off");
|
|
6931
|
+
IfStatement?: (_StylisticExpListStyle_BaseConfig | "off");
|
|
6932
|
+
ImportAttributes?: (_StylisticExpListStyle_BaseConfig | "off");
|
|
6933
|
+
ImportDeclaration?: (_StylisticExpListStyle_BaseConfig | "off");
|
|
6934
|
+
JSONArrayExpression?: (_StylisticExpListStyle_BaseConfig | "off");
|
|
6935
|
+
JSONObjectExpression?: (_StylisticExpListStyle_BaseConfig | "off");
|
|
6936
|
+
NewExpression?: (_StylisticExpListStyle_BaseConfig | "off");
|
|
6937
|
+
ObjectExpression?: (_StylisticExpListStyle_BaseConfig | "off");
|
|
6938
|
+
ObjectPattern?: (_StylisticExpListStyle_BaseConfig | "off");
|
|
6939
|
+
TSDeclareFunction?: (_StylisticExpListStyle_BaseConfig | "off");
|
|
6940
|
+
TSEnumBody?: (_StylisticExpListStyle_BaseConfig | "off");
|
|
6941
|
+
TSFunctionType?: (_StylisticExpListStyle_BaseConfig | "off");
|
|
6942
|
+
TSInterfaceBody?: (_StylisticExpListStyle_BaseConfig | "off");
|
|
6943
|
+
TSTupleType?: (_StylisticExpListStyle_BaseConfig | "off");
|
|
6944
|
+
TSTypeLiteral?: (_StylisticExpListStyle_BaseConfig | "off");
|
|
6945
|
+
TSTypeParameterDeclaration?: (_StylisticExpListStyle_BaseConfig | "off");
|
|
6946
|
+
TSTypeParameterInstantiation?: (_StylisticExpListStyle_BaseConfig | "off");
|
|
6887
6947
|
};
|
|
6888
6948
|
}];
|
|
6889
6949
|
interface _StylisticExpListStyle_SingleLineConfig {
|
|
@@ -7744,13 +7804,18 @@ type StylisticPaddedBlocks = [] | [(("always" | "never" | "start" | "end") | {
|
|
|
7744
7804
|
allowSingleLineBlocks?: boolean;
|
|
7745
7805
|
}]; // ----- @stylistic/padding-line-between-statements -----
|
|
7746
7806
|
type _StylisticPaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always");
|
|
7747
|
-
type _StylisticPaddingLineBetweenStatementsStatementOption = (
|
|
7807
|
+
type _StylisticPaddingLineBetweenStatementsStatementOption = (_StylisticPaddingLineBetweenStatementsStatementMatcher | [_StylisticPaddingLineBetweenStatementsStatementMatcher, ...(_StylisticPaddingLineBetweenStatementsStatementMatcher)[]]);
|
|
7808
|
+
type _StylisticPaddingLineBetweenStatementsStatementMatcher = (_StylisticPaddingLineBetweenStatementsStatementType | _StylisticPaddingLineBetweenStatements_SelectorOption);
|
|
7748
7809
|
type _StylisticPaddingLineBetweenStatementsStatementType = ("*" | "exports" | "require" | "directive" | "iife" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "continue" | "debugger" | "default" | "do" | "for" | "if" | "import" | "switch" | "throw" | "try" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "function-overload" | "block-like" | "singleline-block-like" | "multiline-block-like" | "expression" | "singleline-expression" | "multiline-expression" | "return" | "singleline-return" | "multiline-return" | "export" | "singleline-export" | "multiline-export" | "var" | "singleline-var" | "multiline-var" | "let" | "singleline-let" | "multiline-let" | "const" | "singleline-const" | "multiline-const" | "using" | "singleline-using" | "multiline-using" | "type" | "singleline-type" | "multiline-type");
|
|
7749
7810
|
type StylisticPaddingLineBetweenStatements = {
|
|
7750
7811
|
blankLine: _StylisticPaddingLineBetweenStatementsPaddingType;
|
|
7751
7812
|
prev: _StylisticPaddingLineBetweenStatementsStatementOption;
|
|
7752
7813
|
next: _StylisticPaddingLineBetweenStatementsStatementOption;
|
|
7753
|
-
}[];
|
|
7814
|
+
}[];
|
|
7815
|
+
interface _StylisticPaddingLineBetweenStatements_SelectorOption {
|
|
7816
|
+
selector: string;
|
|
7817
|
+
lineMode?: ("any" | "singleline" | "multiline");
|
|
7818
|
+
} // ----- @stylistic/quote-props -----
|
|
7754
7819
|
type StylisticQuoteProps = ([] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
|
|
7755
7820
|
keywords?: boolean;
|
|
7756
7821
|
unnecessary?: boolean;
|
|
@@ -8524,7 +8589,10 @@ type TypescriptEslintNoUseBeforeDefine = [] | [("nofunc" | {
|
|
|
8524
8589
|
ignoreTypeReferences?: boolean;
|
|
8525
8590
|
typedefs?: boolean;
|
|
8526
8591
|
variables?: boolean;
|
|
8527
|
-
})]; // ----- @typescript-eslint/no-
|
|
8592
|
+
})]; // ----- @typescript-eslint/no-useless-default-assignment -----
|
|
8593
|
+
type TypescriptEslintNoUselessDefaultAssignment = [] | [{
|
|
8594
|
+
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean;
|
|
8595
|
+
}]; // ----- @typescript-eslint/no-var-requires -----
|
|
8528
8596
|
type TypescriptEslintNoVarRequires = [] | [{
|
|
8529
8597
|
allow?: string[];
|
|
8530
8598
|
}]; // ----- @typescript-eslint/only-throw-error -----
|
|
@@ -8605,6 +8673,18 @@ type TypescriptEslintPreferOptionalChain = [] | [{
|
|
|
8605
8673
|
requireNullish?: boolean;
|
|
8606
8674
|
}]; // ----- @typescript-eslint/prefer-promise-reject-errors -----
|
|
8607
8675
|
type TypescriptEslintPreferPromiseRejectErrors = [] | [{
|
|
8676
|
+
allow?: (string | {
|
|
8677
|
+
from: "file";
|
|
8678
|
+
name: (string | [string, ...(string)[]]);
|
|
8679
|
+
path?: string;
|
|
8680
|
+
} | {
|
|
8681
|
+
from: "lib";
|
|
8682
|
+
name: (string | [string, ...(string)[]]);
|
|
8683
|
+
} | {
|
|
8684
|
+
from: "package";
|
|
8685
|
+
name: (string | [string, ...(string)[]]);
|
|
8686
|
+
package: string;
|
|
8687
|
+
})[];
|
|
8608
8688
|
allowEmptyReject?: boolean;
|
|
8609
8689
|
allowThrowingAny?: boolean;
|
|
8610
8690
|
allowThrowingUnknown?: boolean;
|
|
@@ -8760,6 +8840,71 @@ type ArrowSpacing = [] | [{
|
|
|
8760
8840
|
after?: boolean;
|
|
8761
8841
|
}]; // ----- better-tailwindcss/enforce-canonical-classes -----
|
|
8762
8842
|
type BetterTailwindcssEnforceCanonicalClasses = [] | [{
|
|
8843
|
+
selectors?: ({
|
|
8844
|
+
kind: "attribute";
|
|
8845
|
+
match?: ({
|
|
8846
|
+
type: "strings";
|
|
8847
|
+
} | {
|
|
8848
|
+
path?: string;
|
|
8849
|
+
type: "objectKeys";
|
|
8850
|
+
} | {
|
|
8851
|
+
path?: string;
|
|
8852
|
+
type: "objectValues";
|
|
8853
|
+
})[];
|
|
8854
|
+
name: string;
|
|
8855
|
+
} | ({
|
|
8856
|
+
callTarget?: ("all" | "first" | "last" | number);
|
|
8857
|
+
kind: "callee";
|
|
8858
|
+
match?: ({
|
|
8859
|
+
type: "strings";
|
|
8860
|
+
} | {
|
|
8861
|
+
path?: string;
|
|
8862
|
+
type: "objectKeys";
|
|
8863
|
+
} | {
|
|
8864
|
+
path?: string;
|
|
8865
|
+
type: "objectValues";
|
|
8866
|
+
})[];
|
|
8867
|
+
name: string;
|
|
8868
|
+
path?: string;
|
|
8869
|
+
} | {
|
|
8870
|
+
callTarget?: ("all" | "first" | "last" | number);
|
|
8871
|
+
kind: "callee";
|
|
8872
|
+
match?: ({
|
|
8873
|
+
type: "strings";
|
|
8874
|
+
} | {
|
|
8875
|
+
path?: string;
|
|
8876
|
+
type: "objectKeys";
|
|
8877
|
+
} | {
|
|
8878
|
+
path?: string;
|
|
8879
|
+
type: "objectValues";
|
|
8880
|
+
})[];
|
|
8881
|
+
name?: string;
|
|
8882
|
+
path: string;
|
|
8883
|
+
}) | {
|
|
8884
|
+
kind: "tag";
|
|
8885
|
+
match?: ({
|
|
8886
|
+
type: "strings";
|
|
8887
|
+
} | {
|
|
8888
|
+
path?: string;
|
|
8889
|
+
type: "objectKeys";
|
|
8890
|
+
} | {
|
|
8891
|
+
path?: string;
|
|
8892
|
+
type: "objectValues";
|
|
8893
|
+
})[];
|
|
8894
|
+
name: string;
|
|
8895
|
+
} | {
|
|
8896
|
+
kind: "variable";
|
|
8897
|
+
match?: ({
|
|
8898
|
+
type: "strings";
|
|
8899
|
+
} | {
|
|
8900
|
+
path?: string;
|
|
8901
|
+
type: "objectKeys";
|
|
8902
|
+
} | {
|
|
8903
|
+
path?: string;
|
|
8904
|
+
type: "objectValues";
|
|
8905
|
+
})[];
|
|
8906
|
+
name: string;
|
|
8907
|
+
})[];
|
|
8763
8908
|
callees?: ([string, ({
|
|
8764
8909
|
match: "strings";
|
|
8765
8910
|
} | {
|
|
@@ -8806,6 +8951,71 @@ type BetterTailwindcssEnforceCanonicalClasses = [] | [{
|
|
|
8806
8951
|
logical?: boolean;
|
|
8807
8952
|
}]; // ----- better-tailwindcss/enforce-consistent-class-order -----
|
|
8808
8953
|
type BetterTailwindcssEnforceConsistentClassOrder = [] | [{
|
|
8954
|
+
selectors?: ({
|
|
8955
|
+
kind: "attribute";
|
|
8956
|
+
match?: ({
|
|
8957
|
+
type: "strings";
|
|
8958
|
+
} | {
|
|
8959
|
+
path?: string;
|
|
8960
|
+
type: "objectKeys";
|
|
8961
|
+
} | {
|
|
8962
|
+
path?: string;
|
|
8963
|
+
type: "objectValues";
|
|
8964
|
+
})[];
|
|
8965
|
+
name: string;
|
|
8966
|
+
} | ({
|
|
8967
|
+
callTarget?: ("all" | "first" | "last" | number);
|
|
8968
|
+
kind: "callee";
|
|
8969
|
+
match?: ({
|
|
8970
|
+
type: "strings";
|
|
8971
|
+
} | {
|
|
8972
|
+
path?: string;
|
|
8973
|
+
type: "objectKeys";
|
|
8974
|
+
} | {
|
|
8975
|
+
path?: string;
|
|
8976
|
+
type: "objectValues";
|
|
8977
|
+
})[];
|
|
8978
|
+
name: string;
|
|
8979
|
+
path?: string;
|
|
8980
|
+
} | {
|
|
8981
|
+
callTarget?: ("all" | "first" | "last" | number);
|
|
8982
|
+
kind: "callee";
|
|
8983
|
+
match?: ({
|
|
8984
|
+
type: "strings";
|
|
8985
|
+
} | {
|
|
8986
|
+
path?: string;
|
|
8987
|
+
type: "objectKeys";
|
|
8988
|
+
} | {
|
|
8989
|
+
path?: string;
|
|
8990
|
+
type: "objectValues";
|
|
8991
|
+
})[];
|
|
8992
|
+
name?: string;
|
|
8993
|
+
path: string;
|
|
8994
|
+
}) | {
|
|
8995
|
+
kind: "tag";
|
|
8996
|
+
match?: ({
|
|
8997
|
+
type: "strings";
|
|
8998
|
+
} | {
|
|
8999
|
+
path?: string;
|
|
9000
|
+
type: "objectKeys";
|
|
9001
|
+
} | {
|
|
9002
|
+
path?: string;
|
|
9003
|
+
type: "objectValues";
|
|
9004
|
+
})[];
|
|
9005
|
+
name: string;
|
|
9006
|
+
} | {
|
|
9007
|
+
kind: "variable";
|
|
9008
|
+
match?: ({
|
|
9009
|
+
type: "strings";
|
|
9010
|
+
} | {
|
|
9011
|
+
path?: string;
|
|
9012
|
+
type: "objectKeys";
|
|
9013
|
+
} | {
|
|
9014
|
+
path?: string;
|
|
9015
|
+
type: "objectValues";
|
|
9016
|
+
})[];
|
|
9017
|
+
name: string;
|
|
9018
|
+
})[];
|
|
8809
9019
|
callees?: ([string, ({
|
|
8810
9020
|
match: "strings";
|
|
8811
9021
|
} | {
|
|
@@ -8855,6 +9065,71 @@ type BetterTailwindcssEnforceConsistentClassOrder = [] | [{
|
|
|
8855
9065
|
unknownClassPosition?: ("start" | "end");
|
|
8856
9066
|
}]; // ----- better-tailwindcss/enforce-consistent-important-position -----
|
|
8857
9067
|
type BetterTailwindcssEnforceConsistentImportantPosition = [] | [{
|
|
9068
|
+
selectors?: ({
|
|
9069
|
+
kind: "attribute";
|
|
9070
|
+
match?: ({
|
|
9071
|
+
type: "strings";
|
|
9072
|
+
} | {
|
|
9073
|
+
path?: string;
|
|
9074
|
+
type: "objectKeys";
|
|
9075
|
+
} | {
|
|
9076
|
+
path?: string;
|
|
9077
|
+
type: "objectValues";
|
|
9078
|
+
})[];
|
|
9079
|
+
name: string;
|
|
9080
|
+
} | ({
|
|
9081
|
+
callTarget?: ("all" | "first" | "last" | number);
|
|
9082
|
+
kind: "callee";
|
|
9083
|
+
match?: ({
|
|
9084
|
+
type: "strings";
|
|
9085
|
+
} | {
|
|
9086
|
+
path?: string;
|
|
9087
|
+
type: "objectKeys";
|
|
9088
|
+
} | {
|
|
9089
|
+
path?: string;
|
|
9090
|
+
type: "objectValues";
|
|
9091
|
+
})[];
|
|
9092
|
+
name: string;
|
|
9093
|
+
path?: string;
|
|
9094
|
+
} | {
|
|
9095
|
+
callTarget?: ("all" | "first" | "last" | number);
|
|
9096
|
+
kind: "callee";
|
|
9097
|
+
match?: ({
|
|
9098
|
+
type: "strings";
|
|
9099
|
+
} | {
|
|
9100
|
+
path?: string;
|
|
9101
|
+
type: "objectKeys";
|
|
9102
|
+
} | {
|
|
9103
|
+
path?: string;
|
|
9104
|
+
type: "objectValues";
|
|
9105
|
+
})[];
|
|
9106
|
+
name?: string;
|
|
9107
|
+
path: string;
|
|
9108
|
+
}) | {
|
|
9109
|
+
kind: "tag";
|
|
9110
|
+
match?: ({
|
|
9111
|
+
type: "strings";
|
|
9112
|
+
} | {
|
|
9113
|
+
path?: string;
|
|
9114
|
+
type: "objectKeys";
|
|
9115
|
+
} | {
|
|
9116
|
+
path?: string;
|
|
9117
|
+
type: "objectValues";
|
|
9118
|
+
})[];
|
|
9119
|
+
name: string;
|
|
9120
|
+
} | {
|
|
9121
|
+
kind: "variable";
|
|
9122
|
+
match?: ({
|
|
9123
|
+
type: "strings";
|
|
9124
|
+
} | {
|
|
9125
|
+
path?: string;
|
|
9126
|
+
type: "objectKeys";
|
|
9127
|
+
} | {
|
|
9128
|
+
path?: string;
|
|
9129
|
+
type: "objectValues";
|
|
9130
|
+
})[];
|
|
9131
|
+
name: string;
|
|
9132
|
+
})[];
|
|
8858
9133
|
callees?: ([string, ({
|
|
8859
9134
|
match: "strings";
|
|
8860
9135
|
} | {
|
|
@@ -8900,6 +9175,71 @@ type BetterTailwindcssEnforceConsistentImportantPosition = [] | [{
|
|
|
8900
9175
|
position?: ("legacy" | "recommended");
|
|
8901
9176
|
}]; // ----- better-tailwindcss/enforce-consistent-line-wrapping -----
|
|
8902
9177
|
type BetterTailwindcssEnforceConsistentLineWrapping = [] | [{
|
|
9178
|
+
selectors?: ({
|
|
9179
|
+
kind: "attribute";
|
|
9180
|
+
match?: ({
|
|
9181
|
+
type: "strings";
|
|
9182
|
+
} | {
|
|
9183
|
+
path?: string;
|
|
9184
|
+
type: "objectKeys";
|
|
9185
|
+
} | {
|
|
9186
|
+
path?: string;
|
|
9187
|
+
type: "objectValues";
|
|
9188
|
+
})[];
|
|
9189
|
+
name: string;
|
|
9190
|
+
} | ({
|
|
9191
|
+
callTarget?: ("all" | "first" | "last" | number);
|
|
9192
|
+
kind: "callee";
|
|
9193
|
+
match?: ({
|
|
9194
|
+
type: "strings";
|
|
9195
|
+
} | {
|
|
9196
|
+
path?: string;
|
|
9197
|
+
type: "objectKeys";
|
|
9198
|
+
} | {
|
|
9199
|
+
path?: string;
|
|
9200
|
+
type: "objectValues";
|
|
9201
|
+
})[];
|
|
9202
|
+
name: string;
|
|
9203
|
+
path?: string;
|
|
9204
|
+
} | {
|
|
9205
|
+
callTarget?: ("all" | "first" | "last" | number);
|
|
9206
|
+
kind: "callee";
|
|
9207
|
+
match?: ({
|
|
9208
|
+
type: "strings";
|
|
9209
|
+
} | {
|
|
9210
|
+
path?: string;
|
|
9211
|
+
type: "objectKeys";
|
|
9212
|
+
} | {
|
|
9213
|
+
path?: string;
|
|
9214
|
+
type: "objectValues";
|
|
9215
|
+
})[];
|
|
9216
|
+
name?: string;
|
|
9217
|
+
path: string;
|
|
9218
|
+
}) | {
|
|
9219
|
+
kind: "tag";
|
|
9220
|
+
match?: ({
|
|
9221
|
+
type: "strings";
|
|
9222
|
+
} | {
|
|
9223
|
+
path?: string;
|
|
9224
|
+
type: "objectKeys";
|
|
9225
|
+
} | {
|
|
9226
|
+
path?: string;
|
|
9227
|
+
type: "objectValues";
|
|
9228
|
+
})[];
|
|
9229
|
+
name: string;
|
|
9230
|
+
} | {
|
|
9231
|
+
kind: "variable";
|
|
9232
|
+
match?: ({
|
|
9233
|
+
type: "strings";
|
|
9234
|
+
} | {
|
|
9235
|
+
path?: string;
|
|
9236
|
+
type: "objectKeys";
|
|
9237
|
+
} | {
|
|
9238
|
+
path?: string;
|
|
9239
|
+
type: "objectValues";
|
|
9240
|
+
})[];
|
|
9241
|
+
name: string;
|
|
9242
|
+
})[];
|
|
8903
9243
|
callees?: ([string, ({
|
|
8904
9244
|
match: "strings";
|
|
8905
9245
|
} | {
|
|
@@ -8951,6 +9291,71 @@ type BetterTailwindcssEnforceConsistentLineWrapping = [] | [{
|
|
|
8951
9291
|
strictness?: ("strict" | "loose");
|
|
8952
9292
|
}]; // ----- better-tailwindcss/enforce-consistent-variable-syntax -----
|
|
8953
9293
|
type BetterTailwindcssEnforceConsistentVariableSyntax = [] | [{
|
|
9294
|
+
selectors?: ({
|
|
9295
|
+
kind: "attribute";
|
|
9296
|
+
match?: ({
|
|
9297
|
+
type: "strings";
|
|
9298
|
+
} | {
|
|
9299
|
+
path?: string;
|
|
9300
|
+
type: "objectKeys";
|
|
9301
|
+
} | {
|
|
9302
|
+
path?: string;
|
|
9303
|
+
type: "objectValues";
|
|
9304
|
+
})[];
|
|
9305
|
+
name: string;
|
|
9306
|
+
} | ({
|
|
9307
|
+
callTarget?: ("all" | "first" | "last" | number);
|
|
9308
|
+
kind: "callee";
|
|
9309
|
+
match?: ({
|
|
9310
|
+
type: "strings";
|
|
9311
|
+
} | {
|
|
9312
|
+
path?: string;
|
|
9313
|
+
type: "objectKeys";
|
|
9314
|
+
} | {
|
|
9315
|
+
path?: string;
|
|
9316
|
+
type: "objectValues";
|
|
9317
|
+
})[];
|
|
9318
|
+
name: string;
|
|
9319
|
+
path?: string;
|
|
9320
|
+
} | {
|
|
9321
|
+
callTarget?: ("all" | "first" | "last" | number);
|
|
9322
|
+
kind: "callee";
|
|
9323
|
+
match?: ({
|
|
9324
|
+
type: "strings";
|
|
9325
|
+
} | {
|
|
9326
|
+
path?: string;
|
|
9327
|
+
type: "objectKeys";
|
|
9328
|
+
} | {
|
|
9329
|
+
path?: string;
|
|
9330
|
+
type: "objectValues";
|
|
9331
|
+
})[];
|
|
9332
|
+
name?: string;
|
|
9333
|
+
path: string;
|
|
9334
|
+
}) | {
|
|
9335
|
+
kind: "tag";
|
|
9336
|
+
match?: ({
|
|
9337
|
+
type: "strings";
|
|
9338
|
+
} | {
|
|
9339
|
+
path?: string;
|
|
9340
|
+
type: "objectKeys";
|
|
9341
|
+
} | {
|
|
9342
|
+
path?: string;
|
|
9343
|
+
type: "objectValues";
|
|
9344
|
+
})[];
|
|
9345
|
+
name: string;
|
|
9346
|
+
} | {
|
|
9347
|
+
kind: "variable";
|
|
9348
|
+
match?: ({
|
|
9349
|
+
type: "strings";
|
|
9350
|
+
} | {
|
|
9351
|
+
path?: string;
|
|
9352
|
+
type: "objectKeys";
|
|
9353
|
+
} | {
|
|
9354
|
+
path?: string;
|
|
9355
|
+
type: "objectValues";
|
|
9356
|
+
})[];
|
|
9357
|
+
name: string;
|
|
9358
|
+
})[];
|
|
8954
9359
|
callees?: ([string, ({
|
|
8955
9360
|
match: "strings";
|
|
8956
9361
|
} | {
|
|
@@ -8996,6 +9401,71 @@ type BetterTailwindcssEnforceConsistentVariableSyntax = [] | [{
|
|
|
8996
9401
|
syntax?: ("shorthand" | "variable");
|
|
8997
9402
|
}]; // ----- better-tailwindcss/enforce-shorthand-classes -----
|
|
8998
9403
|
type BetterTailwindcssEnforceShorthandClasses = [] | [{
|
|
9404
|
+
selectors?: ({
|
|
9405
|
+
kind: "attribute";
|
|
9406
|
+
match?: ({
|
|
9407
|
+
type: "strings";
|
|
9408
|
+
} | {
|
|
9409
|
+
path?: string;
|
|
9410
|
+
type: "objectKeys";
|
|
9411
|
+
} | {
|
|
9412
|
+
path?: string;
|
|
9413
|
+
type: "objectValues";
|
|
9414
|
+
})[];
|
|
9415
|
+
name: string;
|
|
9416
|
+
} | ({
|
|
9417
|
+
callTarget?: ("all" | "first" | "last" | number);
|
|
9418
|
+
kind: "callee";
|
|
9419
|
+
match?: ({
|
|
9420
|
+
type: "strings";
|
|
9421
|
+
} | {
|
|
9422
|
+
path?: string;
|
|
9423
|
+
type: "objectKeys";
|
|
9424
|
+
} | {
|
|
9425
|
+
path?: string;
|
|
9426
|
+
type: "objectValues";
|
|
9427
|
+
})[];
|
|
9428
|
+
name: string;
|
|
9429
|
+
path?: string;
|
|
9430
|
+
} | {
|
|
9431
|
+
callTarget?: ("all" | "first" | "last" | number);
|
|
9432
|
+
kind: "callee";
|
|
9433
|
+
match?: ({
|
|
9434
|
+
type: "strings";
|
|
9435
|
+
} | {
|
|
9436
|
+
path?: string;
|
|
9437
|
+
type: "objectKeys";
|
|
9438
|
+
} | {
|
|
9439
|
+
path?: string;
|
|
9440
|
+
type: "objectValues";
|
|
9441
|
+
})[];
|
|
9442
|
+
name?: string;
|
|
9443
|
+
path: string;
|
|
9444
|
+
}) | {
|
|
9445
|
+
kind: "tag";
|
|
9446
|
+
match?: ({
|
|
9447
|
+
type: "strings";
|
|
9448
|
+
} | {
|
|
9449
|
+
path?: string;
|
|
9450
|
+
type: "objectKeys";
|
|
9451
|
+
} | {
|
|
9452
|
+
path?: string;
|
|
9453
|
+
type: "objectValues";
|
|
9454
|
+
})[];
|
|
9455
|
+
name: string;
|
|
9456
|
+
} | {
|
|
9457
|
+
kind: "variable";
|
|
9458
|
+
match?: ({
|
|
9459
|
+
type: "strings";
|
|
9460
|
+
} | {
|
|
9461
|
+
path?: string;
|
|
9462
|
+
type: "objectKeys";
|
|
9463
|
+
} | {
|
|
9464
|
+
path?: string;
|
|
9465
|
+
type: "objectValues";
|
|
9466
|
+
})[];
|
|
9467
|
+
name: string;
|
|
9468
|
+
})[];
|
|
8999
9469
|
callees?: ([string, ({
|
|
9000
9470
|
match: "strings";
|
|
9001
9471
|
} | {
|
|
@@ -9040,6 +9510,71 @@ type BetterTailwindcssEnforceShorthandClasses = [] | [{
|
|
|
9040
9510
|
rootFontSize?: number;
|
|
9041
9511
|
}]; // ----- better-tailwindcss/no-conflicting-classes -----
|
|
9042
9512
|
type BetterTailwindcssNoConflictingClasses = [] | [{
|
|
9513
|
+
selectors?: ({
|
|
9514
|
+
kind: "attribute";
|
|
9515
|
+
match?: ({
|
|
9516
|
+
type: "strings";
|
|
9517
|
+
} | {
|
|
9518
|
+
path?: string;
|
|
9519
|
+
type: "objectKeys";
|
|
9520
|
+
} | {
|
|
9521
|
+
path?: string;
|
|
9522
|
+
type: "objectValues";
|
|
9523
|
+
})[];
|
|
9524
|
+
name: string;
|
|
9525
|
+
} | ({
|
|
9526
|
+
callTarget?: ("all" | "first" | "last" | number);
|
|
9527
|
+
kind: "callee";
|
|
9528
|
+
match?: ({
|
|
9529
|
+
type: "strings";
|
|
9530
|
+
} | {
|
|
9531
|
+
path?: string;
|
|
9532
|
+
type: "objectKeys";
|
|
9533
|
+
} | {
|
|
9534
|
+
path?: string;
|
|
9535
|
+
type: "objectValues";
|
|
9536
|
+
})[];
|
|
9537
|
+
name: string;
|
|
9538
|
+
path?: string;
|
|
9539
|
+
} | {
|
|
9540
|
+
callTarget?: ("all" | "first" | "last" | number);
|
|
9541
|
+
kind: "callee";
|
|
9542
|
+
match?: ({
|
|
9543
|
+
type: "strings";
|
|
9544
|
+
} | {
|
|
9545
|
+
path?: string;
|
|
9546
|
+
type: "objectKeys";
|
|
9547
|
+
} | {
|
|
9548
|
+
path?: string;
|
|
9549
|
+
type: "objectValues";
|
|
9550
|
+
})[];
|
|
9551
|
+
name?: string;
|
|
9552
|
+
path: string;
|
|
9553
|
+
}) | {
|
|
9554
|
+
kind: "tag";
|
|
9555
|
+
match?: ({
|
|
9556
|
+
type: "strings";
|
|
9557
|
+
} | {
|
|
9558
|
+
path?: string;
|
|
9559
|
+
type: "objectKeys";
|
|
9560
|
+
} | {
|
|
9561
|
+
path?: string;
|
|
9562
|
+
type: "objectValues";
|
|
9563
|
+
})[];
|
|
9564
|
+
name: string;
|
|
9565
|
+
} | {
|
|
9566
|
+
kind: "variable";
|
|
9567
|
+
match?: ({
|
|
9568
|
+
type: "strings";
|
|
9569
|
+
} | {
|
|
9570
|
+
path?: string;
|
|
9571
|
+
type: "objectKeys";
|
|
9572
|
+
} | {
|
|
9573
|
+
path?: string;
|
|
9574
|
+
type: "objectValues";
|
|
9575
|
+
})[];
|
|
9576
|
+
name: string;
|
|
9577
|
+
})[];
|
|
9043
9578
|
callees?: ([string, ({
|
|
9044
9579
|
match: "strings";
|
|
9045
9580
|
} | {
|
|
@@ -9084,6 +9619,71 @@ type BetterTailwindcssNoConflictingClasses = [] | [{
|
|
|
9084
9619
|
rootFontSize?: number;
|
|
9085
9620
|
}]; // ----- better-tailwindcss/no-deprecated-classes -----
|
|
9086
9621
|
type BetterTailwindcssNoDeprecatedClasses = [] | [{
|
|
9622
|
+
selectors?: ({
|
|
9623
|
+
kind: "attribute";
|
|
9624
|
+
match?: ({
|
|
9625
|
+
type: "strings";
|
|
9626
|
+
} | {
|
|
9627
|
+
path?: string;
|
|
9628
|
+
type: "objectKeys";
|
|
9629
|
+
} | {
|
|
9630
|
+
path?: string;
|
|
9631
|
+
type: "objectValues";
|
|
9632
|
+
})[];
|
|
9633
|
+
name: string;
|
|
9634
|
+
} | ({
|
|
9635
|
+
callTarget?: ("all" | "first" | "last" | number);
|
|
9636
|
+
kind: "callee";
|
|
9637
|
+
match?: ({
|
|
9638
|
+
type: "strings";
|
|
9639
|
+
} | {
|
|
9640
|
+
path?: string;
|
|
9641
|
+
type: "objectKeys";
|
|
9642
|
+
} | {
|
|
9643
|
+
path?: string;
|
|
9644
|
+
type: "objectValues";
|
|
9645
|
+
})[];
|
|
9646
|
+
name: string;
|
|
9647
|
+
path?: string;
|
|
9648
|
+
} | {
|
|
9649
|
+
callTarget?: ("all" | "first" | "last" | number);
|
|
9650
|
+
kind: "callee";
|
|
9651
|
+
match?: ({
|
|
9652
|
+
type: "strings";
|
|
9653
|
+
} | {
|
|
9654
|
+
path?: string;
|
|
9655
|
+
type: "objectKeys";
|
|
9656
|
+
} | {
|
|
9657
|
+
path?: string;
|
|
9658
|
+
type: "objectValues";
|
|
9659
|
+
})[];
|
|
9660
|
+
name?: string;
|
|
9661
|
+
path: string;
|
|
9662
|
+
}) | {
|
|
9663
|
+
kind: "tag";
|
|
9664
|
+
match?: ({
|
|
9665
|
+
type: "strings";
|
|
9666
|
+
} | {
|
|
9667
|
+
path?: string;
|
|
9668
|
+
type: "objectKeys";
|
|
9669
|
+
} | {
|
|
9670
|
+
path?: string;
|
|
9671
|
+
type: "objectValues";
|
|
9672
|
+
})[];
|
|
9673
|
+
name: string;
|
|
9674
|
+
} | {
|
|
9675
|
+
kind: "variable";
|
|
9676
|
+
match?: ({
|
|
9677
|
+
type: "strings";
|
|
9678
|
+
} | {
|
|
9679
|
+
path?: string;
|
|
9680
|
+
type: "objectKeys";
|
|
9681
|
+
} | {
|
|
9682
|
+
path?: string;
|
|
9683
|
+
type: "objectValues";
|
|
9684
|
+
})[];
|
|
9685
|
+
name: string;
|
|
9686
|
+
})[];
|
|
9087
9687
|
callees?: ([string, ({
|
|
9088
9688
|
match: "strings";
|
|
9089
9689
|
} | {
|
|
@@ -9128,6 +9728,71 @@ type BetterTailwindcssNoDeprecatedClasses = [] | [{
|
|
|
9128
9728
|
rootFontSize?: number;
|
|
9129
9729
|
}]; // ----- better-tailwindcss/no-duplicate-classes -----
|
|
9130
9730
|
type BetterTailwindcssNoDuplicateClasses = [] | [{
|
|
9731
|
+
selectors?: ({
|
|
9732
|
+
kind: "attribute";
|
|
9733
|
+
match?: ({
|
|
9734
|
+
type: "strings";
|
|
9735
|
+
} | {
|
|
9736
|
+
path?: string;
|
|
9737
|
+
type: "objectKeys";
|
|
9738
|
+
} | {
|
|
9739
|
+
path?: string;
|
|
9740
|
+
type: "objectValues";
|
|
9741
|
+
})[];
|
|
9742
|
+
name: string;
|
|
9743
|
+
} | ({
|
|
9744
|
+
callTarget?: ("all" | "first" | "last" | number);
|
|
9745
|
+
kind: "callee";
|
|
9746
|
+
match?: ({
|
|
9747
|
+
type: "strings";
|
|
9748
|
+
} | {
|
|
9749
|
+
path?: string;
|
|
9750
|
+
type: "objectKeys";
|
|
9751
|
+
} | {
|
|
9752
|
+
path?: string;
|
|
9753
|
+
type: "objectValues";
|
|
9754
|
+
})[];
|
|
9755
|
+
name: string;
|
|
9756
|
+
path?: string;
|
|
9757
|
+
} | {
|
|
9758
|
+
callTarget?: ("all" | "first" | "last" | number);
|
|
9759
|
+
kind: "callee";
|
|
9760
|
+
match?: ({
|
|
9761
|
+
type: "strings";
|
|
9762
|
+
} | {
|
|
9763
|
+
path?: string;
|
|
9764
|
+
type: "objectKeys";
|
|
9765
|
+
} | {
|
|
9766
|
+
path?: string;
|
|
9767
|
+
type: "objectValues";
|
|
9768
|
+
})[];
|
|
9769
|
+
name?: string;
|
|
9770
|
+
path: string;
|
|
9771
|
+
}) | {
|
|
9772
|
+
kind: "tag";
|
|
9773
|
+
match?: ({
|
|
9774
|
+
type: "strings";
|
|
9775
|
+
} | {
|
|
9776
|
+
path?: string;
|
|
9777
|
+
type: "objectKeys";
|
|
9778
|
+
} | {
|
|
9779
|
+
path?: string;
|
|
9780
|
+
type: "objectValues";
|
|
9781
|
+
})[];
|
|
9782
|
+
name: string;
|
|
9783
|
+
} | {
|
|
9784
|
+
kind: "variable";
|
|
9785
|
+
match?: ({
|
|
9786
|
+
type: "strings";
|
|
9787
|
+
} | {
|
|
9788
|
+
path?: string;
|
|
9789
|
+
type: "objectKeys";
|
|
9790
|
+
} | {
|
|
9791
|
+
path?: string;
|
|
9792
|
+
type: "objectValues";
|
|
9793
|
+
})[];
|
|
9794
|
+
name: string;
|
|
9795
|
+
})[];
|
|
9131
9796
|
callees?: ([string, ({
|
|
9132
9797
|
match: "strings";
|
|
9133
9798
|
} | {
|
|
@@ -9172,6 +9837,71 @@ type BetterTailwindcssNoDuplicateClasses = [] | [{
|
|
|
9172
9837
|
rootFontSize?: number;
|
|
9173
9838
|
}]; // ----- better-tailwindcss/no-restricted-classes -----
|
|
9174
9839
|
type BetterTailwindcssNoRestrictedClasses = [] | [{
|
|
9840
|
+
selectors?: ({
|
|
9841
|
+
kind: "attribute";
|
|
9842
|
+
match?: ({
|
|
9843
|
+
type: "strings";
|
|
9844
|
+
} | {
|
|
9845
|
+
path?: string;
|
|
9846
|
+
type: "objectKeys";
|
|
9847
|
+
} | {
|
|
9848
|
+
path?: string;
|
|
9849
|
+
type: "objectValues";
|
|
9850
|
+
})[];
|
|
9851
|
+
name: string;
|
|
9852
|
+
} | ({
|
|
9853
|
+
callTarget?: ("all" | "first" | "last" | number);
|
|
9854
|
+
kind: "callee";
|
|
9855
|
+
match?: ({
|
|
9856
|
+
type: "strings";
|
|
9857
|
+
} | {
|
|
9858
|
+
path?: string;
|
|
9859
|
+
type: "objectKeys";
|
|
9860
|
+
} | {
|
|
9861
|
+
path?: string;
|
|
9862
|
+
type: "objectValues";
|
|
9863
|
+
})[];
|
|
9864
|
+
name: string;
|
|
9865
|
+
path?: string;
|
|
9866
|
+
} | {
|
|
9867
|
+
callTarget?: ("all" | "first" | "last" | number);
|
|
9868
|
+
kind: "callee";
|
|
9869
|
+
match?: ({
|
|
9870
|
+
type: "strings";
|
|
9871
|
+
} | {
|
|
9872
|
+
path?: string;
|
|
9873
|
+
type: "objectKeys";
|
|
9874
|
+
} | {
|
|
9875
|
+
path?: string;
|
|
9876
|
+
type: "objectValues";
|
|
9877
|
+
})[];
|
|
9878
|
+
name?: string;
|
|
9879
|
+
path: string;
|
|
9880
|
+
}) | {
|
|
9881
|
+
kind: "tag";
|
|
9882
|
+
match?: ({
|
|
9883
|
+
type: "strings";
|
|
9884
|
+
} | {
|
|
9885
|
+
path?: string;
|
|
9886
|
+
type: "objectKeys";
|
|
9887
|
+
} | {
|
|
9888
|
+
path?: string;
|
|
9889
|
+
type: "objectValues";
|
|
9890
|
+
})[];
|
|
9891
|
+
name: string;
|
|
9892
|
+
} | {
|
|
9893
|
+
kind: "variable";
|
|
9894
|
+
match?: ({
|
|
9895
|
+
type: "strings";
|
|
9896
|
+
} | {
|
|
9897
|
+
path?: string;
|
|
9898
|
+
type: "objectKeys";
|
|
9899
|
+
} | {
|
|
9900
|
+
path?: string;
|
|
9901
|
+
type: "objectValues";
|
|
9902
|
+
})[];
|
|
9903
|
+
name: string;
|
|
9904
|
+
})[];
|
|
9175
9905
|
callees?: ([string, ({
|
|
9176
9906
|
match: "strings";
|
|
9177
9907
|
} | {
|
|
@@ -9221,6 +9951,71 @@ type BetterTailwindcssNoRestrictedClasses = [] | [{
|
|
|
9221
9951
|
} | string)[];
|
|
9222
9952
|
}]; // ----- better-tailwindcss/no-unknown-classes -----
|
|
9223
9953
|
type BetterTailwindcssNoUnknownClasses = [] | [{
|
|
9954
|
+
selectors?: ({
|
|
9955
|
+
kind: "attribute";
|
|
9956
|
+
match?: ({
|
|
9957
|
+
type: "strings";
|
|
9958
|
+
} | {
|
|
9959
|
+
path?: string;
|
|
9960
|
+
type: "objectKeys";
|
|
9961
|
+
} | {
|
|
9962
|
+
path?: string;
|
|
9963
|
+
type: "objectValues";
|
|
9964
|
+
})[];
|
|
9965
|
+
name: string;
|
|
9966
|
+
} | ({
|
|
9967
|
+
callTarget?: ("all" | "first" | "last" | number);
|
|
9968
|
+
kind: "callee";
|
|
9969
|
+
match?: ({
|
|
9970
|
+
type: "strings";
|
|
9971
|
+
} | {
|
|
9972
|
+
path?: string;
|
|
9973
|
+
type: "objectKeys";
|
|
9974
|
+
} | {
|
|
9975
|
+
path?: string;
|
|
9976
|
+
type: "objectValues";
|
|
9977
|
+
})[];
|
|
9978
|
+
name: string;
|
|
9979
|
+
path?: string;
|
|
9980
|
+
} | {
|
|
9981
|
+
callTarget?: ("all" | "first" | "last" | number);
|
|
9982
|
+
kind: "callee";
|
|
9983
|
+
match?: ({
|
|
9984
|
+
type: "strings";
|
|
9985
|
+
} | {
|
|
9986
|
+
path?: string;
|
|
9987
|
+
type: "objectKeys";
|
|
9988
|
+
} | {
|
|
9989
|
+
path?: string;
|
|
9990
|
+
type: "objectValues";
|
|
9991
|
+
})[];
|
|
9992
|
+
name?: string;
|
|
9993
|
+
path: string;
|
|
9994
|
+
}) | {
|
|
9995
|
+
kind: "tag";
|
|
9996
|
+
match?: ({
|
|
9997
|
+
type: "strings";
|
|
9998
|
+
} | {
|
|
9999
|
+
path?: string;
|
|
10000
|
+
type: "objectKeys";
|
|
10001
|
+
} | {
|
|
10002
|
+
path?: string;
|
|
10003
|
+
type: "objectValues";
|
|
10004
|
+
})[];
|
|
10005
|
+
name: string;
|
|
10006
|
+
} | {
|
|
10007
|
+
kind: "variable";
|
|
10008
|
+
match?: ({
|
|
10009
|
+
type: "strings";
|
|
10010
|
+
} | {
|
|
10011
|
+
path?: string;
|
|
10012
|
+
type: "objectKeys";
|
|
10013
|
+
} | {
|
|
10014
|
+
path?: string;
|
|
10015
|
+
type: "objectValues";
|
|
10016
|
+
})[];
|
|
10017
|
+
name: string;
|
|
10018
|
+
})[];
|
|
9224
10019
|
callees?: ([string, ({
|
|
9225
10020
|
match: "strings";
|
|
9226
10021
|
} | {
|
|
@@ -9266,6 +10061,71 @@ type BetterTailwindcssNoUnknownClasses = [] | [{
|
|
|
9266
10061
|
ignore?: string[];
|
|
9267
10062
|
}]; // ----- better-tailwindcss/no-unnecessary-whitespace -----
|
|
9268
10063
|
type BetterTailwindcssNoUnnecessaryWhitespace = [] | [{
|
|
10064
|
+
selectors?: ({
|
|
10065
|
+
kind: "attribute";
|
|
10066
|
+
match?: ({
|
|
10067
|
+
type: "strings";
|
|
10068
|
+
} | {
|
|
10069
|
+
path?: string;
|
|
10070
|
+
type: "objectKeys";
|
|
10071
|
+
} | {
|
|
10072
|
+
path?: string;
|
|
10073
|
+
type: "objectValues";
|
|
10074
|
+
})[];
|
|
10075
|
+
name: string;
|
|
10076
|
+
} | ({
|
|
10077
|
+
callTarget?: ("all" | "first" | "last" | number);
|
|
10078
|
+
kind: "callee";
|
|
10079
|
+
match?: ({
|
|
10080
|
+
type: "strings";
|
|
10081
|
+
} | {
|
|
10082
|
+
path?: string;
|
|
10083
|
+
type: "objectKeys";
|
|
10084
|
+
} | {
|
|
10085
|
+
path?: string;
|
|
10086
|
+
type: "objectValues";
|
|
10087
|
+
})[];
|
|
10088
|
+
name: string;
|
|
10089
|
+
path?: string;
|
|
10090
|
+
} | {
|
|
10091
|
+
callTarget?: ("all" | "first" | "last" | number);
|
|
10092
|
+
kind: "callee";
|
|
10093
|
+
match?: ({
|
|
10094
|
+
type: "strings";
|
|
10095
|
+
} | {
|
|
10096
|
+
path?: string;
|
|
10097
|
+
type: "objectKeys";
|
|
10098
|
+
} | {
|
|
10099
|
+
path?: string;
|
|
10100
|
+
type: "objectValues";
|
|
10101
|
+
})[];
|
|
10102
|
+
name?: string;
|
|
10103
|
+
path: string;
|
|
10104
|
+
}) | {
|
|
10105
|
+
kind: "tag";
|
|
10106
|
+
match?: ({
|
|
10107
|
+
type: "strings";
|
|
10108
|
+
} | {
|
|
10109
|
+
path?: string;
|
|
10110
|
+
type: "objectKeys";
|
|
10111
|
+
} | {
|
|
10112
|
+
path?: string;
|
|
10113
|
+
type: "objectValues";
|
|
10114
|
+
})[];
|
|
10115
|
+
name: string;
|
|
10116
|
+
} | {
|
|
10117
|
+
kind: "variable";
|
|
10118
|
+
match?: ({
|
|
10119
|
+
type: "strings";
|
|
10120
|
+
} | {
|
|
10121
|
+
path?: string;
|
|
10122
|
+
type: "objectKeys";
|
|
10123
|
+
} | {
|
|
10124
|
+
path?: string;
|
|
10125
|
+
type: "objectValues";
|
|
10126
|
+
})[];
|
|
10127
|
+
name: string;
|
|
10128
|
+
})[];
|
|
9269
10129
|
callees?: ([string, ({
|
|
9270
10130
|
match: "strings";
|
|
9271
10131
|
} | {
|
|
@@ -9394,9 +10254,12 @@ type FormatDprint = [] | [{
|
|
|
9394
10254
|
};
|
|
9395
10255
|
plugins?: unknown[];
|
|
9396
10256
|
[k: string]: unknown | undefined;
|
|
10257
|
+
}]; // ----- format/oxfmt -----
|
|
10258
|
+
type FormatOxfmt = [] | [{
|
|
10259
|
+
[k: string]: unknown | undefined;
|
|
9397
10260
|
}]; // ----- format/prettier -----
|
|
9398
10261
|
type FormatPrettier = [] | [{
|
|
9399
|
-
parser
|
|
10262
|
+
parser: string;
|
|
9400
10263
|
[k: string]: unknown | undefined;
|
|
9401
10264
|
}]; // ----- func-call-spacing -----
|
|
9402
10265
|
type FuncCallSpacing = ([] | ["never"] | [] | ["always"] | ["always", {
|
|
@@ -10176,6 +11039,7 @@ type JsdocTagLines = [] | [("always" | "any" | "never")] | [("always" | "any" |
|
|
|
10176
11039
|
endLines?: (number | null);
|
|
10177
11040
|
maxBlockLines?: (number | null);
|
|
10178
11041
|
startLines?: (number | null);
|
|
11042
|
+
startLinesWithNoTags?: number;
|
|
10179
11043
|
tags?: {
|
|
10180
11044
|
[k: string]: {
|
|
10181
11045
|
count?: number;
|
|
@@ -10386,6 +11250,7 @@ type JsoncObjectCurlyNewline = [] | [((("always" | "never") | {
|
|
|
10386
11250
|
type JsoncObjectCurlySpacing = [] | [("always" | "never")] | [("always" | "never"), {
|
|
10387
11251
|
arraysInObjects?: boolean;
|
|
10388
11252
|
objectsInObjects?: boolean;
|
|
11253
|
+
emptyObjects?: ("ignore" | "always" | "never");
|
|
10389
11254
|
}]; // ----- jsonc/object-property-newline -----
|
|
10390
11255
|
type JsoncObjectPropertyNewline = [] | [{
|
|
10391
11256
|
allowAllPropertiesOnSameLine?: boolean;
|
|
@@ -10995,6 +11860,7 @@ type MaxParams = [] | [(number | {
|
|
|
10995
11860
|
maximum?: number;
|
|
10996
11861
|
max?: number;
|
|
10997
11862
|
countVoidThis?: boolean;
|
|
11863
|
+
countThis?: ("never" | "except-void" | "always");
|
|
10998
11864
|
})]; // ----- max-statements -----
|
|
10999
11865
|
type MaxStatements = [] | [(number | {
|
|
11000
11866
|
maximum?: number;
|
|
@@ -11220,10 +12086,12 @@ type NNoUnsupportedFeaturesNodeBuiltins = [] | [{
|
|
|
11220
12086
|
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")[];
|
|
11221
12087
|
}]; // ----- n/prefer-global/buffer -----
|
|
11222
12088
|
type NPreferGlobalBuffer = [] | [("always" | "never")]; // ----- n/prefer-global/console -----
|
|
11223
|
-
type NPreferGlobalConsole = [] | [("always" | "never")]; // ----- n/prefer-global/
|
|
12089
|
+
type NPreferGlobalConsole = [] | [("always" | "never")]; // ----- n/prefer-global/crypto -----
|
|
12090
|
+
type NPreferGlobalCrypto = [] | [("always" | "never")]; // ----- n/prefer-global/process -----
|
|
11224
12091
|
type NPreferGlobalProcess = [] | [("always" | "never")]; // ----- n/prefer-global/text-decoder -----
|
|
11225
12092
|
type NPreferGlobalTextDecoder = [] | [("always" | "never")]; // ----- n/prefer-global/text-encoder -----
|
|
11226
|
-
type NPreferGlobalTextEncoder = [] | [("always" | "never")]; // ----- n/prefer-global/
|
|
12093
|
+
type NPreferGlobalTextEncoder = [] | [("always" | "never")]; // ----- n/prefer-global/timers -----
|
|
12094
|
+
type NPreferGlobalTimers = [] | [("always" | "never")]; // ----- n/prefer-global/url -----
|
|
11227
12095
|
type NPreferGlobalUrl = [] | [("always" | "never")]; // ----- n/prefer-global/url-search-params -----
|
|
11228
12096
|
type NPreferGlobalUrlSearchParams = [] | [("always" | "never")]; // ----- n/prefer-node-protocol -----
|
|
11229
12097
|
type NPreferNodeProtocol = [] | [{
|
|
@@ -11694,7 +12562,7 @@ type PerfectionistSortArrayIncludes = {
|
|
|
11694
12562
|
pattern: string;
|
|
11695
12563
|
flags?: string;
|
|
11696
12564
|
} | string));
|
|
11697
|
-
selector?:
|
|
12565
|
+
selector?: "literal";
|
|
11698
12566
|
}, ...({
|
|
11699
12567
|
elementNamePattern?: (({
|
|
11700
12568
|
pattern: string;
|
|
@@ -11703,7 +12571,7 @@ type PerfectionistSortArrayIncludes = {
|
|
|
11703
12571
|
pattern: string;
|
|
11704
12572
|
flags?: string;
|
|
11705
12573
|
} | string));
|
|
11706
|
-
selector?:
|
|
12574
|
+
selector?: "literal";
|
|
11707
12575
|
})[]];
|
|
11708
12576
|
} | {
|
|
11709
12577
|
fallbackSort?: {
|
|
@@ -11721,7 +12589,7 @@ type PerfectionistSortArrayIncludes = {
|
|
|
11721
12589
|
pattern: string;
|
|
11722
12590
|
flags?: string;
|
|
11723
12591
|
} | string));
|
|
11724
|
-
selector?:
|
|
12592
|
+
selector?: "literal";
|
|
11725
12593
|
})[];
|
|
11726
12594
|
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
11727
12595
|
groups?: (string | [string, ...(string)[]] | {
|
|
@@ -11746,6 +12614,7 @@ type PerfectionistSortArrayIncludes = {
|
|
|
11746
12614
|
pattern: string;
|
|
11747
12615
|
flags?: string;
|
|
11748
12616
|
} | string));
|
|
12617
|
+
matchesAstSelector?: string;
|
|
11749
12618
|
};
|
|
11750
12619
|
partitionByComment?: (boolean | (({
|
|
11751
12620
|
pattern: string;
|
|
@@ -11771,7 +12640,7 @@ type PerfectionistSortArrayIncludes = {
|
|
|
11771
12640
|
});
|
|
11772
12641
|
partitionByNewLine?: boolean;
|
|
11773
12642
|
}[]; // ----- perfectionist/sort-classes -----
|
|
11774
|
-
type PerfectionistSortClasses =
|
|
12643
|
+
type PerfectionistSortClasses = {
|
|
11775
12644
|
fallbackSort?: {
|
|
11776
12645
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
11777
12646
|
order?: ("asc" | "desc");
|
|
@@ -11888,6 +12757,17 @@ type PerfectionistSortClasses = [] | [{
|
|
|
11888
12757
|
order?: ("asc" | "desc");
|
|
11889
12758
|
})[];
|
|
11890
12759
|
newlinesBetween?: ("ignore" | number);
|
|
12760
|
+
useConfigurationIf?: {
|
|
12761
|
+
allNamesMatchPattern?: (({
|
|
12762
|
+
pattern: string;
|
|
12763
|
+
flags?: string;
|
|
12764
|
+
} | string)[] | ({
|
|
12765
|
+
pattern: string;
|
|
12766
|
+
flags?: string;
|
|
12767
|
+
} | string));
|
|
12768
|
+
matchesAstSelector?: string;
|
|
12769
|
+
};
|
|
12770
|
+
useExperimentalDependencyDetection?: boolean;
|
|
11891
12771
|
ignoreCallbackDependenciesPatterns?: (({
|
|
11892
12772
|
pattern: string;
|
|
11893
12773
|
flags?: string;
|
|
@@ -11918,7 +12798,7 @@ type PerfectionistSortClasses = [] | [{
|
|
|
11918
12798
|
} | string)));
|
|
11919
12799
|
});
|
|
11920
12800
|
partitionByNewLine?: boolean;
|
|
11921
|
-
}]; // ----- perfectionist/sort-decorators -----
|
|
12801
|
+
}[]; // ----- perfectionist/sort-decorators -----
|
|
11922
12802
|
type PerfectionistSortDecorators = {
|
|
11923
12803
|
fallbackSort?: {
|
|
11924
12804
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
@@ -12017,7 +12897,7 @@ type PerfectionistSortDecorators = {
|
|
|
12017
12897
|
});
|
|
12018
12898
|
partitionByNewLine?: boolean;
|
|
12019
12899
|
}[]; // ----- perfectionist/sort-enums -----
|
|
12020
|
-
type PerfectionistSortEnums =
|
|
12900
|
+
type PerfectionistSortEnums = {
|
|
12021
12901
|
fallbackSort?: {
|
|
12022
12902
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
12023
12903
|
order?: ("asc" | "desc");
|
|
@@ -12107,6 +12987,16 @@ type PerfectionistSortEnums = [] | [{
|
|
|
12107
12987
|
order?: ("asc" | "desc");
|
|
12108
12988
|
})[];
|
|
12109
12989
|
newlinesBetween?: ("ignore" | number);
|
|
12990
|
+
useConfigurationIf?: {
|
|
12991
|
+
allNamesMatchPattern?: (({
|
|
12992
|
+
pattern: string;
|
|
12993
|
+
flags?: string;
|
|
12994
|
+
} | string)[] | ({
|
|
12995
|
+
pattern: string;
|
|
12996
|
+
flags?: string;
|
|
12997
|
+
} | string));
|
|
12998
|
+
matchesAstSelector?: string;
|
|
12999
|
+
};
|
|
12110
13000
|
sortByValue?: ("always" | "ifNumericEnum" | "never");
|
|
12111
13001
|
useExperimentalDependencyDetection?: boolean;
|
|
12112
13002
|
partitionByComment?: (boolean | (({
|
|
@@ -12132,7 +13022,7 @@ type PerfectionistSortEnums = [] | [{
|
|
|
12132
13022
|
} | string)));
|
|
12133
13023
|
});
|
|
12134
13024
|
partitionByNewLine?: boolean;
|
|
12135
|
-
}]; // ----- perfectionist/sort-export-attributes -----
|
|
13025
|
+
}[]; // ----- perfectionist/sort-export-attributes -----
|
|
12136
13026
|
type PerfectionistSortExportAttributes = {
|
|
12137
13027
|
fallbackSort?: {
|
|
12138
13028
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
@@ -12202,6 +13092,16 @@ type PerfectionistSortExportAttributes = {
|
|
|
12202
13092
|
order?: ("asc" | "desc");
|
|
12203
13093
|
})[];
|
|
12204
13094
|
newlinesBetween?: ("ignore" | number);
|
|
13095
|
+
useConfigurationIf?: {
|
|
13096
|
+
allNamesMatchPattern?: (({
|
|
13097
|
+
pattern: string;
|
|
13098
|
+
flags?: string;
|
|
13099
|
+
} | string)[] | ({
|
|
13100
|
+
pattern: string;
|
|
13101
|
+
flags?: string;
|
|
13102
|
+
} | string));
|
|
13103
|
+
matchesAstSelector?: string;
|
|
13104
|
+
};
|
|
12205
13105
|
partitionByComment?: (boolean | (({
|
|
12206
13106
|
pattern: string;
|
|
12207
13107
|
flags?: string;
|
|
@@ -12394,6 +13294,16 @@ type PerfectionistSortHeritageClauses = {
|
|
|
12394
13294
|
order?: ("asc" | "desc");
|
|
12395
13295
|
})[];
|
|
12396
13296
|
newlinesBetween?: ("ignore" | number);
|
|
13297
|
+
useConfigurationIf?: {
|
|
13298
|
+
allNamesMatchPattern?: (({
|
|
13299
|
+
pattern: string;
|
|
13300
|
+
flags?: string;
|
|
13301
|
+
} | string)[] | ({
|
|
13302
|
+
pattern: string;
|
|
13303
|
+
flags?: string;
|
|
13304
|
+
} | string));
|
|
13305
|
+
matchesAstSelector?: string;
|
|
13306
|
+
};
|
|
12397
13307
|
partitionByNewLine?: boolean;
|
|
12398
13308
|
partitionByComment?: (boolean | (({
|
|
12399
13309
|
pattern: string;
|
|
@@ -12487,6 +13397,16 @@ type PerfectionistSortImportAttributes = {
|
|
|
12487
13397
|
order?: ("asc" | "desc");
|
|
12488
13398
|
})[];
|
|
12489
13399
|
newlinesBetween?: ("ignore" | number);
|
|
13400
|
+
useConfigurationIf?: {
|
|
13401
|
+
allNamesMatchPattern?: (({
|
|
13402
|
+
pattern: string;
|
|
13403
|
+
flags?: string;
|
|
13404
|
+
} | string)[] | ({
|
|
13405
|
+
pattern: string;
|
|
13406
|
+
flags?: string;
|
|
13407
|
+
} | string));
|
|
13408
|
+
matchesAstSelector?: string;
|
|
13409
|
+
};
|
|
12490
13410
|
partitionByComment?: (boolean | (({
|
|
12491
13411
|
pattern: string;
|
|
12492
13412
|
flags?: string;
|
|
@@ -12755,6 +13675,7 @@ type PerfectionistSortInterfaces = {
|
|
|
12755
13675
|
pattern: string;
|
|
12756
13676
|
flags?: string;
|
|
12757
13677
|
} | string));
|
|
13678
|
+
matchesAstSelector?: string;
|
|
12758
13679
|
declarationMatchesPattern?: (({
|
|
12759
13680
|
scope?: ("shallow" | "deep");
|
|
12760
13681
|
pattern: string;
|
|
@@ -12861,6 +13782,16 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
12861
13782
|
order?: ("asc" | "desc");
|
|
12862
13783
|
})[];
|
|
12863
13784
|
newlinesBetween?: ("ignore" | number);
|
|
13785
|
+
useConfigurationIf?: {
|
|
13786
|
+
allNamesMatchPattern?: (({
|
|
13787
|
+
pattern: string;
|
|
13788
|
+
flags?: string;
|
|
13789
|
+
} | string)[] | ({
|
|
13790
|
+
pattern: string;
|
|
13791
|
+
flags?: string;
|
|
13792
|
+
} | string));
|
|
13793
|
+
matchesAstSelector?: string;
|
|
13794
|
+
};
|
|
12864
13795
|
partitionByComment?: (boolean | (({
|
|
12865
13796
|
pattern: string;
|
|
12866
13797
|
flags?: string;
|
|
@@ -12989,6 +13920,7 @@ type PerfectionistSortJsxProps = {
|
|
|
12989
13920
|
pattern: string;
|
|
12990
13921
|
flags?: string;
|
|
12991
13922
|
} | string));
|
|
13923
|
+
matchesAstSelector?: string;
|
|
12992
13924
|
tagMatchesPattern?: (({
|
|
12993
13925
|
pattern: string;
|
|
12994
13926
|
flags?: string;
|
|
@@ -13076,6 +14008,7 @@ type PerfectionistSortMaps = {
|
|
|
13076
14008
|
pattern: string;
|
|
13077
14009
|
flags?: string;
|
|
13078
14010
|
} | string));
|
|
14011
|
+
matchesAstSelector?: string;
|
|
13079
14012
|
};
|
|
13080
14013
|
partitionByComment?: (boolean | (({
|
|
13081
14014
|
pattern: string;
|
|
@@ -13297,6 +14230,16 @@ type PerfectionistSortNamedExports = {
|
|
|
13297
14230
|
order?: ("asc" | "desc");
|
|
13298
14231
|
})[];
|
|
13299
14232
|
newlinesBetween?: ("ignore" | number);
|
|
14233
|
+
useConfigurationIf?: {
|
|
14234
|
+
allNamesMatchPattern?: (({
|
|
14235
|
+
pattern: string;
|
|
14236
|
+
flags?: string;
|
|
14237
|
+
} | string)[] | ({
|
|
14238
|
+
pattern: string;
|
|
14239
|
+
flags?: string;
|
|
14240
|
+
} | string));
|
|
14241
|
+
matchesAstSelector?: string;
|
|
14242
|
+
};
|
|
13300
14243
|
ignoreAlias?: boolean;
|
|
13301
14244
|
partitionByComment?: (boolean | (({
|
|
13302
14245
|
pattern: string;
|
|
@@ -13397,6 +14340,16 @@ type PerfectionistSortNamedImports = {
|
|
|
13397
14340
|
order?: ("asc" | "desc");
|
|
13398
14341
|
})[];
|
|
13399
14342
|
newlinesBetween?: ("ignore" | number);
|
|
14343
|
+
useConfigurationIf?: {
|
|
14344
|
+
allNamesMatchPattern?: (({
|
|
14345
|
+
pattern: string;
|
|
14346
|
+
flags?: string;
|
|
14347
|
+
} | string)[] | ({
|
|
14348
|
+
pattern: string;
|
|
14349
|
+
flags?: string;
|
|
14350
|
+
} | string));
|
|
14351
|
+
matchesAstSelector?: string;
|
|
14352
|
+
};
|
|
13400
14353
|
ignoreAlias?: boolean;
|
|
13401
14354
|
partitionByComment?: (boolean | (({
|
|
13402
14355
|
pattern: string;
|
|
@@ -13544,6 +14497,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
13544
14497
|
pattern: string;
|
|
13545
14498
|
flags?: string;
|
|
13546
14499
|
} | string));
|
|
14500
|
+
matchesAstSelector?: string;
|
|
13547
14501
|
declarationMatchesPattern?: (({
|
|
13548
14502
|
scope?: ("shallow" | "deep");
|
|
13549
14503
|
pattern: string;
|
|
@@ -13710,6 +14664,7 @@ type PerfectionistSortObjects = {
|
|
|
13710
14664
|
pattern: string;
|
|
13711
14665
|
flags?: string;
|
|
13712
14666
|
} | string));
|
|
14667
|
+
matchesAstSelector?: string;
|
|
13713
14668
|
declarationMatchesPattern?: (({
|
|
13714
14669
|
scope?: ("shallow" | "deep");
|
|
13715
14670
|
pattern: string;
|
|
@@ -13720,6 +14675,7 @@ type PerfectionistSortObjects = {
|
|
|
13720
14675
|
flags?: string;
|
|
13721
14676
|
} | string));
|
|
13722
14677
|
};
|
|
14678
|
+
partitionByComputedKey?: boolean;
|
|
13723
14679
|
styledComponents?: boolean;
|
|
13724
14680
|
useExperimentalDependencyDetection?: boolean;
|
|
13725
14681
|
partitionByComment?: (boolean | (({
|
|
@@ -13774,7 +14730,7 @@ type PerfectionistSortSets = {
|
|
|
13774
14730
|
pattern: string;
|
|
13775
14731
|
flags?: string;
|
|
13776
14732
|
} | string));
|
|
13777
|
-
selector?:
|
|
14733
|
+
selector?: "literal";
|
|
13778
14734
|
}, ...({
|
|
13779
14735
|
elementNamePattern?: (({
|
|
13780
14736
|
pattern: string;
|
|
@@ -13783,7 +14739,7 @@ type PerfectionistSortSets = {
|
|
|
13783
14739
|
pattern: string;
|
|
13784
14740
|
flags?: string;
|
|
13785
14741
|
} | string));
|
|
13786
|
-
selector?:
|
|
14742
|
+
selector?: "literal";
|
|
13787
14743
|
})[]];
|
|
13788
14744
|
} | {
|
|
13789
14745
|
fallbackSort?: {
|
|
@@ -13801,7 +14757,7 @@ type PerfectionistSortSets = {
|
|
|
13801
14757
|
pattern: string;
|
|
13802
14758
|
flags?: string;
|
|
13803
14759
|
} | string));
|
|
13804
|
-
selector?:
|
|
14760
|
+
selector?: "literal";
|
|
13805
14761
|
})[];
|
|
13806
14762
|
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
13807
14763
|
groups?: (string | [string, ...(string)[]] | {
|
|
@@ -13826,6 +14782,7 @@ type PerfectionistSortSets = {
|
|
|
13826
14782
|
pattern: string;
|
|
13827
14783
|
flags?: string;
|
|
13828
14784
|
} | string));
|
|
14785
|
+
matchesAstSelector?: string;
|
|
13829
14786
|
};
|
|
13830
14787
|
partitionByComment?: (boolean | (({
|
|
13831
14788
|
pattern: string;
|
|
@@ -13935,6 +14892,16 @@ type PerfectionistSortUnionTypes = {
|
|
|
13935
14892
|
order?: ("asc" | "desc");
|
|
13936
14893
|
})[];
|
|
13937
14894
|
newlinesBetween?: ("ignore" | number);
|
|
14895
|
+
useConfigurationIf?: {
|
|
14896
|
+
allNamesMatchPattern?: (({
|
|
14897
|
+
pattern: string;
|
|
14898
|
+
flags?: string;
|
|
14899
|
+
} | string)[] | ({
|
|
14900
|
+
pattern: string;
|
|
14901
|
+
flags?: string;
|
|
14902
|
+
} | string));
|
|
14903
|
+
matchesAstSelector?: string;
|
|
14904
|
+
};
|
|
13938
14905
|
partitionByComment?: (boolean | (({
|
|
13939
14906
|
pattern: string;
|
|
13940
14907
|
flags?: string;
|
|
@@ -13959,7 +14926,7 @@ type PerfectionistSortUnionTypes = {
|
|
|
13959
14926
|
});
|
|
13960
14927
|
partitionByNewLine?: boolean;
|
|
13961
14928
|
}[]; // ----- perfectionist/sort-variable-declarations -----
|
|
13962
|
-
type PerfectionistSortVariableDeclarations =
|
|
14929
|
+
type PerfectionistSortVariableDeclarations = {
|
|
13963
14930
|
fallbackSort?: {
|
|
13964
14931
|
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
13965
14932
|
order?: ("asc" | "desc");
|
|
@@ -14031,6 +14998,16 @@ type PerfectionistSortVariableDeclarations = [] | [{
|
|
|
14031
14998
|
order?: ("asc" | "desc");
|
|
14032
14999
|
})[];
|
|
14033
15000
|
newlinesBetween?: ("ignore" | number);
|
|
15001
|
+
useConfigurationIf?: {
|
|
15002
|
+
allNamesMatchPattern?: (({
|
|
15003
|
+
pattern: string;
|
|
15004
|
+
flags?: string;
|
|
15005
|
+
} | string)[] | ({
|
|
15006
|
+
pattern: string;
|
|
15007
|
+
flags?: string;
|
|
15008
|
+
} | string));
|
|
15009
|
+
matchesAstSelector?: string;
|
|
15010
|
+
};
|
|
14034
15011
|
useExperimentalDependencyDetection?: boolean;
|
|
14035
15012
|
partitionByComment?: (boolean | (({
|
|
14036
15013
|
pattern: string;
|
|
@@ -14055,7 +15032,7 @@ type PerfectionistSortVariableDeclarations = [] | [{
|
|
|
14055
15032
|
} | string)));
|
|
14056
15033
|
});
|
|
14057
15034
|
partitionByNewLine?: boolean;
|
|
14058
|
-
}]; // ----- prefer-arrow-callback -----
|
|
15035
|
+
}[]; // ----- prefer-arrow-callback -----
|
|
14059
15036
|
type PreferArrowCallback = [] | [{
|
|
14060
15037
|
allowNamedFunctions?: boolean;
|
|
14061
15038
|
allowUnboundThis?: boolean;
|
|
@@ -14368,10 +15345,19 @@ type TomlCommaStyle = [] | [("first" | "last")] | [("first" | "last"), {
|
|
|
14368
15345
|
type TomlIndent = [] | [("tab" | number)] | [("tab" | number), {
|
|
14369
15346
|
subTables?: number;
|
|
14370
15347
|
keyValuePairs?: number;
|
|
14371
|
-
}]; // ----- toml/inline-table-curly-
|
|
15348
|
+
}]; // ----- toml/inline-table-curly-newline -----
|
|
15349
|
+
type TomlInlineTableCurlyNewline = [] | [(("always" | "never") | {
|
|
15350
|
+
multiline?: boolean;
|
|
15351
|
+
minProperties?: number;
|
|
15352
|
+
consistent?: boolean;
|
|
15353
|
+
})]; // ----- toml/inline-table-curly-spacing -----
|
|
14372
15354
|
type TomlInlineTableCurlySpacing = [] | [("always" | "never")] | [("always" | "never"), {
|
|
14373
15355
|
arraysInObjects?: boolean;
|
|
14374
15356
|
objectsInObjects?: boolean;
|
|
15357
|
+
emptyObjects?: ("ignore" | "always" | "never");
|
|
15358
|
+
}]; // ----- toml/inline-table-key-value-newline -----
|
|
15359
|
+
type TomlInlineTableKeyValueNewline = [] | [{
|
|
15360
|
+
allowAllPropertiesOnSameLine?: boolean;
|
|
14375
15361
|
}]; // ----- toml/key-spacing -----
|
|
14376
15362
|
type TomlKeySpacing = [] | [({
|
|
14377
15363
|
align?: (("equal" | "value") | {
|
|
@@ -14502,7 +15488,15 @@ interface _UnicornImportStyle_ModuleStyles {
|
|
|
14502
15488
|
}
|
|
14503
15489
|
interface _UnicornImportStyle_BooleanObject {
|
|
14504
15490
|
[k: string]: boolean | undefined;
|
|
14505
|
-
} // ----- unicorn/
|
|
15491
|
+
} // ----- unicorn/isolated-functions -----
|
|
15492
|
+
type UnicornIsolatedFunctions = [] | [{
|
|
15493
|
+
overrideGlobals?: {
|
|
15494
|
+
[k: string]: (boolean | ("readonly" | "writable" | "writeable" | "off")) | undefined;
|
|
15495
|
+
};
|
|
15496
|
+
functions?: string[];
|
|
15497
|
+
selectors?: string[];
|
|
15498
|
+
comments?: string[];
|
|
15499
|
+
}]; // ----- unicorn/no-array-reduce -----
|
|
14506
15500
|
type UnicornNoArrayReduce = [] | [{
|
|
14507
15501
|
allowSimpleOperations?: boolean;
|
|
14508
15502
|
}]; // ----- unicorn/no-array-reverse -----
|
|
@@ -14753,6 +15747,9 @@ type VitestRequireMockTypeParameters = [] | [{
|
|
|
14753
15747
|
}]; // ----- vitest/require-top-level-describe -----
|
|
14754
15748
|
type VitestRequireTopLevelDescribe = [] | [{
|
|
14755
15749
|
maxNumberOfTopLevelDescribes?: number;
|
|
15750
|
+
}]; // ----- vitest/unbound-method -----
|
|
15751
|
+
type VitestUnboundMethod = [] | [{
|
|
15752
|
+
ignoreStatic?: boolean;
|
|
14756
15753
|
}]; // ----- vitest/valid-expect -----
|
|
14757
15754
|
type VitestValidExpect = [] | [{
|
|
14758
15755
|
alwaysAwait?: boolean;
|
|
@@ -14797,6 +15794,7 @@ type YamlFlowMappingCurlyNewline = [] | [(("always" | "never") | {
|
|
|
14797
15794
|
type YamlFlowMappingCurlySpacing = [] | [("always" | "never")] | [("always" | "never"), {
|
|
14798
15795
|
arraysInObjects?: boolean;
|
|
14799
15796
|
objectsInObjects?: boolean;
|
|
15797
|
+
emptyObjects?: ("ignore" | "always" | "never");
|
|
14800
15798
|
}]; // ----- yaml/flow-sequence-bracket-newline -----
|
|
14801
15799
|
type YamlFlowSequenceBracketNewline = [] | [(("always" | "never" | "consistent") | {
|
|
14802
15800
|
multiline?: boolean;
|
|
@@ -14977,7 +15975,6 @@ type VendoredPrettierOptions = Partial<VendoredPrettierOptionsRequired>;
|
|
|
14977
15975
|
interface VendoredPrettierOptionsRequired {
|
|
14978
15976
|
/**
|
|
14979
15977
|
* Specify the line length that the printer will wrap on.
|
|
14980
|
-
*
|
|
14981
15978
|
* @default 120
|
|
14982
15979
|
*/
|
|
14983
15980
|
printWidth: number;
|
|
@@ -15004,7 +16001,7 @@ interface VendoredPrettierOptionsRequired {
|
|
|
15004
16001
|
/**
|
|
15005
16002
|
* Print trailing commas wherever possible.
|
|
15006
16003
|
*/
|
|
15007
|
-
trailingComma: "
|
|
16004
|
+
trailingComma: "none" | "es5" | "all";
|
|
15008
16005
|
/**
|
|
15009
16006
|
* Print spaces between brackets in object literals.
|
|
15010
16007
|
*/
|
|
@@ -15016,7 +16013,6 @@ interface VendoredPrettierOptionsRequired {
|
|
|
15016
16013
|
bracketSameLine: boolean;
|
|
15017
16014
|
/**
|
|
15018
16015
|
* Put the `>` of a multi-line JSX element at the end of the last line instead of being alone on the next line.
|
|
15019
|
-
*
|
|
15020
16016
|
* @deprecated use bracketSameLine instead
|
|
15021
16017
|
*/
|
|
15022
16018
|
jsxBracketSameLine: boolean;
|
|
@@ -15026,81 +16022,69 @@ interface VendoredPrettierOptionsRequired {
|
|
|
15026
16022
|
rangeStart: number;
|
|
15027
16023
|
/**
|
|
15028
16024
|
* Format only a segment of a file.
|
|
15029
|
-
*
|
|
15030
16025
|
* @default Number.POSITIVE_INFINITY
|
|
15031
16026
|
*/
|
|
15032
16027
|
rangeEnd: number;
|
|
15033
16028
|
/**
|
|
15034
16029
|
* By default, Prettier will wrap markdown text as-is since some services use a linebreak-sensitive renderer.
|
|
15035
16030
|
* In some cases you may want to rely on editor/viewer soft wrapping instead, so this option allows you to opt out.
|
|
15036
|
-
*
|
|
15037
16031
|
* @default "preserve"
|
|
15038
16032
|
*/
|
|
15039
16033
|
proseWrap: "always" | "never" | "preserve";
|
|
15040
16034
|
/**
|
|
15041
16035
|
* Include parentheses around a sole arrow function parameter.
|
|
15042
|
-
*
|
|
15043
16036
|
* @default "always"
|
|
15044
16037
|
*/
|
|
15045
|
-
arrowParens: "
|
|
16038
|
+
arrowParens: "avoid" | "always";
|
|
15046
16039
|
/**
|
|
15047
16040
|
* Provide ability to support new languages to prettier.
|
|
15048
16041
|
*/
|
|
15049
|
-
plugins:
|
|
16042
|
+
plugins: Array<string | any>;
|
|
15050
16043
|
/**
|
|
15051
16044
|
* How to handle whitespaces in HTML.
|
|
15052
|
-
*
|
|
15053
16045
|
* @default "css"
|
|
15054
16046
|
*/
|
|
15055
|
-
htmlWhitespaceSensitivity: "css" | "
|
|
16047
|
+
htmlWhitespaceSensitivity: "css" | "strict" | "ignore";
|
|
15056
16048
|
/**
|
|
15057
16049
|
* Which end of line characters to apply.
|
|
15058
|
-
*
|
|
15059
16050
|
* @default "lf"
|
|
15060
16051
|
*/
|
|
15061
|
-
endOfLine: "auto" | "
|
|
16052
|
+
endOfLine: "auto" | "lf" | "crlf" | "cr";
|
|
15062
16053
|
/**
|
|
15063
16054
|
* Change when properties in objects are quoted.
|
|
15064
|
-
*
|
|
15065
16055
|
* @default "as-needed"
|
|
15066
16056
|
*/
|
|
15067
16057
|
quoteProps: "as-needed" | "consistent" | "preserve";
|
|
15068
16058
|
/**
|
|
15069
16059
|
* Whether or not to indent the code inside <script> and <style> tags in Vue files.
|
|
15070
|
-
*
|
|
15071
16060
|
* @default false
|
|
15072
16061
|
*/
|
|
15073
16062
|
vueIndentScriptAndStyle: boolean;
|
|
15074
16063
|
/**
|
|
15075
16064
|
* Enforce single attribute per line in HTML, XML, Vue and JSX.
|
|
15076
|
-
*
|
|
15077
16065
|
* @default false
|
|
15078
16066
|
*/
|
|
15079
16067
|
singleAttributePerLine: boolean;
|
|
15080
16068
|
/**
|
|
15081
16069
|
* How to handle whitespaces in XML.
|
|
15082
|
-
*
|
|
15083
16070
|
* @default "preserve"
|
|
15084
16071
|
*/
|
|
15085
|
-
xmlQuoteAttributes: "
|
|
16072
|
+
xmlQuoteAttributes: "single" | "double" | "preserve";
|
|
15086
16073
|
/**
|
|
15087
16074
|
* Whether to put a space inside the brackets of self-closing XML elements.
|
|
15088
|
-
*
|
|
15089
16075
|
* @default true
|
|
15090
16076
|
*/
|
|
15091
16077
|
xmlSelfClosingSpace: boolean;
|
|
15092
16078
|
/**
|
|
15093
16079
|
* Whether to sort attributes by key in XML elements.
|
|
15094
|
-
*
|
|
15095
16080
|
* @default false
|
|
15096
16081
|
*/
|
|
15097
16082
|
xmlSortAttributesByKey: boolean;
|
|
15098
16083
|
/**
|
|
15099
16084
|
* How to handle whitespaces in XML.
|
|
15100
|
-
*
|
|
15101
16085
|
* @default "ignore"
|
|
15102
16086
|
*/
|
|
15103
|
-
xmlWhitespaceSensitivity: "ignore" | "
|
|
16087
|
+
xmlWhitespaceSensitivity: "ignore" | "strict" | "preserve";
|
|
15104
16088
|
}
|
|
15105
16089
|
//#endregion
|
|
15106
16090
|
//#region src/shared/constants.d.ts
|