@shayanthenerd/eslint-config 0.35.0 → 0.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -2
- package/dist/configs/astro.mjs +2 -3
- package/dist/configs/baseline.mjs +2 -3
- package/dist/configs/css.mjs +2 -3
- package/dist/configs/cypress.mjs +2 -3
- package/dist/configs/html.mjs +2 -3
- package/dist/configs/importX.mjs +2 -3
- package/dist/configs/javascript.mjs +2 -3
- package/dist/configs/markdown.mjs +2 -3
- package/dist/configs/next.mjs +2 -3
- package/dist/configs/node.mjs +2 -3
- package/dist/configs/nuxt.mjs +2 -3
- package/dist/configs/packageJson.mjs +2 -3
- package/dist/configs/perfectionist.mjs +2 -3
- package/dist/configs/playwright.mjs +2 -3
- package/dist/configs/promise.mjs +2 -3
- package/dist/configs/react.mjs +2 -3
- package/dist/configs/storybook.mjs +2 -3
- package/dist/configs/stylistic.mjs +2 -3
- package/dist/configs/tailwind.mjs +2 -3
- package/dist/configs/tanstack.mjs +2 -3
- package/dist/configs/typescript.mjs +2 -3
- package/dist/configs/unicorn.mjs +2 -3
- package/dist/configs/vitest.mjs +2 -3
- package/dist/configs/vue.mjs +2 -3
- package/dist/configs/zod.mjs +2 -3
- package/dist/helpers/globs.mjs +1 -2
- package/dist/helpers/ignores/defaultIgnorePatterns.mjs +1 -2
- package/dist/helpers/ignores/getIgnorePatterns.mjs +1 -2
- package/dist/helpers/ignores/resolveGitignorePatterns.mjs +1 -2
- package/dist/helpers/isPackageDetected.mjs +1 -2
- package/dist/helpers/options/defaultOptions.mjs +1 -2
- package/dist/helpers/options/enableDetectedConfigs.mjs +2 -3
- package/dist/helpers/options/mergeWithDefaults.mjs +1 -2
- package/dist/helpers/vue/getRestrictedVueElements.mjs +1 -2
- package/dist/helpers/vue/getRestrictedVueInputs.mjs +1 -2
- package/dist/index.d.mts +0 -2
- package/dist/index.mjs +3 -4
- package/dist/prettier.config.d.mts +0 -2
- package/dist/prettier.config.mjs +1 -2
- package/dist/rules/astro.mjs +1 -2
- package/dist/rules/baseline.mjs +1 -2
- package/dist/rules/css.mjs +5 -2
- package/dist/rules/cypress.mjs +1 -2
- package/dist/rules/html.mjs +1 -2
- package/dist/rules/importX.mjs +1 -2
- package/dist/rules/javascript.mjs +1 -2
- package/dist/rules/markdown.mjs +1 -2
- package/dist/rules/next.mjs +1 -2
- package/dist/rules/node.mjs +1 -2
- package/dist/rules/nuxt.mjs +1 -2
- package/dist/rules/packageJson.mjs +44 -7
- package/dist/rules/perfectionist.mjs +1 -2
- package/dist/rules/playwright.mjs +1 -2
- package/dist/rules/promise.mjs +1 -2
- package/dist/rules/react.mjs +1 -2
- package/dist/rules/storybook.mjs +1 -2
- package/dist/rules/stylistic.mjs +1 -2
- package/dist/rules/tailwind.mjs +1 -2
- package/dist/rules/tanstack.mjs +1 -2
- package/dist/rules/typescript.mjs +2 -3
- package/dist/rules/unicorn.mjs +1 -2
- package/dist/rules/vitest.mjs +1 -2
- package/dist/rules/vue.mjs +6 -4
- package/dist/rules/zod.mjs +1 -2
- package/dist/types/eslint-schema.d.mts +878 -495
- package/dist/types/eslintRules.d.mts +0 -2
- package/dist/types/helpers.d.mts +0 -2
- package/dist/types/index.d.mts +0 -2
- package/dist/types/options/baseline.d.mts +0 -2
- package/dist/types/options/markdown.d.mts +0 -2
- package/dist/types/options/nuxt.d.mts +0 -2
- package/dist/types/options/react.d.mts +0 -2
- package/dist/types/options/stylistic.d.mts +0 -2
- package/dist/types/options/tailwind.d.mts +0 -2
- package/dist/types/options/tanstack.d.mts +0 -2
- package/dist/types/options/test.d.mts +0 -2
- package/dist/types/options/typescript.d.mts +0 -2
- package/dist/types/options/vue.d.mts +0 -2
- package/dist/types/options/zod.d.mts +0 -2
- package/dist/utils/isEmptyString.mjs +1 -2
- package/dist/utils/isEnabled.mjs +1 -2
- package/dist/utils/isTruthy.mjs +1 -2
- package/package.json +31 -31
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Linter } from "eslint";
|
|
2
|
-
//#region src/types/eslint-schema.d.ts
|
|
3
2
|
declare module 'eslint' {
|
|
4
3
|
namespace Linter {
|
|
5
4
|
interface RulesRecord extends ESLintSchema {}
|
|
@@ -72,7 +71,7 @@ export interface ESLintSchema {
|
|
|
72
71
|
*/
|
|
73
72
|
'@eslint-react/dom-no-unsafe-iframe-sandbox'?: Linter.RuleEntry<[]>;
|
|
74
73
|
/**
|
|
75
|
-
* Disallows 'target="_blank"' without 'rel="noreferrer
|
|
74
|
+
* Disallows 'target="_blank"' without 'rel="noreferrer"'.
|
|
76
75
|
* @see https://eslint-react.xyz/docs/rules/dom-no-unsafe-target-blank
|
|
77
76
|
*/
|
|
78
77
|
'@eslint-react/dom-no-unsafe-target-blank'?: Linter.RuleEntry<EslintReactDomNoUnsafeTargetBlank>;
|
|
@@ -93,7 +92,7 @@ export interface ESLintSchema {
|
|
|
93
92
|
'@eslint-react/error-boundaries'?: Linter.RuleEntry<[]>;
|
|
94
93
|
/**
|
|
95
94
|
* Verifies the list of dependencies for Hooks like 'useEffect' and similar.
|
|
96
|
-
* @see https://github.com/
|
|
95
|
+
* @see https://github.com/react/react/issues/14920
|
|
97
96
|
*/
|
|
98
97
|
'@eslint-react/exhaustive-deps'?: Linter.RuleEntry<EslintReactExhaustiveDeps>;
|
|
99
98
|
/**
|
|
@@ -267,7 +266,7 @@ export interface ESLintSchema {
|
|
|
267
266
|
*/
|
|
268
267
|
'@eslint-react/no-leaked-conditional-rendering'?: Linter.RuleEntry<[]>;
|
|
269
268
|
/**
|
|
270
|
-
* Enforces that
|
|
269
|
+
* Enforces that anonymous components wrapped in 'memo' or 'forwardRef' have a 'displayName' that can be used in DevTools.
|
|
271
270
|
* @see https://eslint-react.xyz/docs/rules/no-missing-component-display-name
|
|
272
271
|
*/
|
|
273
272
|
'@eslint-react/no-missing-component-display-name'?: Linter.RuleEntry<[]>;
|
|
@@ -292,7 +291,7 @@ export interface ESLintSchema {
|
|
|
292
291
|
*/
|
|
293
292
|
'@eslint-react/no-nested-component-definitions'?: Linter.RuleEntry<[]>;
|
|
294
293
|
/**
|
|
295
|
-
* Disallows
|
|
294
|
+
* Disallows declaring lazy components that wrap dynamic imports inside other components or hooks.
|
|
296
295
|
* @see https://eslint-react.xyz/docs/rules/no-nested-lazy-component-declarations
|
|
297
296
|
*/
|
|
298
297
|
'@eslint-react/no-nested-lazy-component-declarations'?: Linter.RuleEntry<[]>;
|
|
@@ -332,7 +331,7 @@ export interface ESLintSchema {
|
|
|
332
331
|
*/
|
|
333
332
|
'@eslint-react/no-unsafe-component-will-update'?: Linter.RuleEntry<[]>;
|
|
334
333
|
/**
|
|
335
|
-
* Prevents non-stable values (i.e., object literals) from being used as a value for 'Context.Provider'.
|
|
334
|
+
* Prevents non-stable values (i.e., object literals) from being used as a value for 'Context.Provider' or the '<Context>' shorthand in React 19 and above.
|
|
336
335
|
* @see https://eslint-react.xyz/docs/rules/no-unstable-context-value
|
|
337
336
|
*/
|
|
338
337
|
'@eslint-react/no-unstable-context-value'?: Linter.RuleEntry<[]>;
|
|
@@ -362,7 +361,7 @@ export interface ESLintSchema {
|
|
|
362
361
|
*/
|
|
363
362
|
'@eslint-react/no-use-context'?: Linter.RuleEntry<[]>;
|
|
364
363
|
/**
|
|
365
|
-
* Validates that components and hooks are pure by checking that they do not call known-impure functions during render.
|
|
364
|
+
* Validates that components and hooks are pure by checking that they do not call known-impure functions or construct known-impure objects during render.
|
|
366
365
|
* @see https://eslint-react.xyz/docs/rules/purity
|
|
367
366
|
*/
|
|
368
367
|
'@eslint-react/purity'?: Linter.RuleEntry<[]>;
|
|
@@ -402,7 +401,7 @@ export interface ESLintSchema {
|
|
|
402
401
|
*/
|
|
403
402
|
'@eslint-react/unsupported-syntax'?: Linter.RuleEntry<[]>;
|
|
404
403
|
/**
|
|
405
|
-
* Validates
|
|
404
|
+
* Validates 'useMemo' usage: the result must be used and the callback must take no parameters, not be async or a generator, not reassign outer variables, and return a value.
|
|
406
405
|
* @see https://eslint-react.xyz/docs/rules/use-memo
|
|
407
406
|
*/
|
|
408
407
|
'@eslint-react/use-memo'?: Linter.RuleEntry<[]>;
|
|
@@ -448,7 +447,7 @@ export interface ESLintSchema {
|
|
|
448
447
|
'@eslint-react/x-error-boundaries'?: Linter.RuleEntry<[]>;
|
|
449
448
|
/**
|
|
450
449
|
* Verifies the list of dependencies for Hooks like 'useEffect' and similar.
|
|
451
|
-
* @see https://github.com/
|
|
450
|
+
* @see https://github.com/react/react/issues/14920
|
|
452
451
|
*/
|
|
453
452
|
'@eslint-react/x-exhaustive-deps'?: Linter.RuleEntry<EslintReactXExhaustiveDeps>;
|
|
454
453
|
/**
|
|
@@ -567,7 +566,7 @@ export interface ESLintSchema {
|
|
|
567
566
|
*/
|
|
568
567
|
'@eslint-react/x-no-leaked-conditional-rendering'?: Linter.RuleEntry<[]>;
|
|
569
568
|
/**
|
|
570
|
-
* Enforces that
|
|
569
|
+
* Enforces that anonymous components wrapped in 'memo' or 'forwardRef' have a 'displayName' that can be used in DevTools.
|
|
571
570
|
* @see https://eslint-react.xyz/docs/rules/no-missing-component-display-name
|
|
572
571
|
*/
|
|
573
572
|
'@eslint-react/x-no-missing-component-display-name'?: Linter.RuleEntry<[]>;
|
|
@@ -592,7 +591,7 @@ export interface ESLintSchema {
|
|
|
592
591
|
*/
|
|
593
592
|
'@eslint-react/x-no-nested-component-definitions'?: Linter.RuleEntry<[]>;
|
|
594
593
|
/**
|
|
595
|
-
* Disallows
|
|
594
|
+
* Disallows declaring lazy components that wrap dynamic imports inside other components or hooks.
|
|
596
595
|
* @see https://eslint-react.xyz/docs/rules/no-nested-lazy-component-declarations
|
|
597
596
|
*/
|
|
598
597
|
'@eslint-react/x-no-nested-lazy-component-declarations'?: Linter.RuleEntry<[]>;
|
|
@@ -632,7 +631,7 @@ export interface ESLintSchema {
|
|
|
632
631
|
*/
|
|
633
632
|
'@eslint-react/x-no-unsafe-component-will-update'?: Linter.RuleEntry<[]>;
|
|
634
633
|
/**
|
|
635
|
-
* Prevents non-stable values (i.e., object literals) from being used as a value for 'Context.Provider'.
|
|
634
|
+
* Prevents non-stable values (i.e., object literals) from being used as a value for 'Context.Provider' or the '<Context>' shorthand in React 19 and above.
|
|
636
635
|
* @see https://eslint-react.xyz/docs/rules/no-unstable-context-value
|
|
637
636
|
*/
|
|
638
637
|
'@eslint-react/x-no-unstable-context-value'?: Linter.RuleEntry<[]>;
|
|
@@ -662,7 +661,7 @@ export interface ESLintSchema {
|
|
|
662
661
|
*/
|
|
663
662
|
'@eslint-react/x-no-use-context'?: Linter.RuleEntry<[]>;
|
|
664
663
|
/**
|
|
665
|
-
* Validates that components and hooks are pure by checking that they do not call known-impure functions during render.
|
|
664
|
+
* Validates that components and hooks are pure by checking that they do not call known-impure functions or construct known-impure objects during render.
|
|
666
665
|
* @see https://eslint-react.xyz/docs/rules/purity
|
|
667
666
|
*/
|
|
668
667
|
'@eslint-react/x-purity'?: Linter.RuleEntry<[]>;
|
|
@@ -697,7 +696,7 @@ export interface ESLintSchema {
|
|
|
697
696
|
*/
|
|
698
697
|
'@eslint-react/x-unsupported-syntax'?: Linter.RuleEntry<[]>;
|
|
699
698
|
/**
|
|
700
|
-
* Validates
|
|
699
|
+
* Validates 'useMemo' usage: the result must be used and the callback must take no parameters, not be async or a generator, not reassign outer variables, and return a value.
|
|
701
700
|
* @see https://eslint-react.xyz/docs/rules/use-memo
|
|
702
701
|
*/
|
|
703
702
|
'@eslint-react/x-use-memo'?: Linter.RuleEntry<[]>;
|
|
@@ -935,6 +934,11 @@ export interface ESLintSchema {
|
|
|
935
934
|
* @see https://html-eslint.org/docs/react/rules/classname-spacing
|
|
936
935
|
*/
|
|
937
936
|
'@html-eslint/react/classname-spacing'?: Linter.RuleEntry<HtmlEslintReactClassnameSpacing>;
|
|
937
|
+
/**
|
|
938
|
+
* Enforce consistent naming of id attributes
|
|
939
|
+
* @see https://html-eslint.org/docs/react/rules/id-naming-convention
|
|
940
|
+
*/
|
|
941
|
+
'@html-eslint/react/id-naming-convention'?: Linter.RuleEntry<HtmlEslintReactIdNamingConvention>;
|
|
938
942
|
/**
|
|
939
943
|
* Disallow duplicate class names in className
|
|
940
944
|
* @see https://html-eslint.org/docs/react/rules/no-duplicate-classname
|
|
@@ -969,11 +973,21 @@ export interface ESLintSchema {
|
|
|
969
973
|
* @see https://html-eslint.org/docs/react/rules/no-restricted-attrs
|
|
970
974
|
*/
|
|
971
975
|
'@html-eslint/react/no-restricted-attrs'?: Linter.RuleEntry<HtmlEslintReactNoRestrictedAttrs>;
|
|
976
|
+
/**
|
|
977
|
+
* Disallow specified tags
|
|
978
|
+
* @see https://html-eslint.org/docs/react/rules/no-restricted-tags
|
|
979
|
+
*/
|
|
980
|
+
'@html-eslint/react/no-restricted-tags'?: Linter.RuleEntry<HtmlEslintReactNoRestrictedTags>;
|
|
972
981
|
/**
|
|
973
982
|
* Require specified attributes
|
|
974
983
|
* @see https://html-eslint.org/docs/react/rules/require-attrs
|
|
975
984
|
*/
|
|
976
985
|
'@html-eslint/react/require-attrs'?: Linter.RuleEntry<HtmlEslintReactRequireAttrs>;
|
|
986
|
+
/**
|
|
987
|
+
* Enforce `<li>` to be in `<ul>`, `<ol>` or `<menu>`.
|
|
988
|
+
* @see https://html-eslint.org/docs/react/rules/require-li-container
|
|
989
|
+
*/
|
|
990
|
+
'@html-eslint/react/require-li-container'?: Linter.RuleEntry<[]>;
|
|
977
991
|
/**
|
|
978
992
|
* Enforce the use of baseline features.
|
|
979
993
|
* @see https://html-eslint.org/docs/react/rules/use-baseline
|
|
@@ -1646,7 +1660,7 @@ export interface ESLintSchema {
|
|
|
1646
1660
|
* Disallow awaiting a value that is not a Thenable
|
|
1647
1661
|
* @see https://typescript-eslint.io/rules/await-thenable
|
|
1648
1662
|
*/
|
|
1649
|
-
'@typescript-eslint/await-thenable'?: Linter.RuleEntry<
|
|
1663
|
+
'@typescript-eslint/await-thenable'?: Linter.RuleEntry<TypescriptEslintAwaitThenable>;
|
|
1650
1664
|
/**
|
|
1651
1665
|
* Disallow `@ts-<directive>` comments or require descriptions after directives
|
|
1652
1666
|
* @see https://typescript-eslint.io/rules/ban-ts-comment
|
|
@@ -2912,267 +2926,292 @@ export interface ESLintSchema {
|
|
|
2912
2926
|
'css/use-layers'?: Linter.RuleEntry<CssUseLayers>;
|
|
2913
2927
|
/**
|
|
2914
2928
|
* Enforce consistent ordering of compound selector components.
|
|
2915
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
2929
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/consistent-compound-selector-order.md
|
|
2916
2930
|
*/
|
|
2917
2931
|
'cssicorn/consistent-compound-selector-order'?: Linter.RuleEntry<[]>;
|
|
2932
|
+
/**
|
|
2933
|
+
* Enforce consistent fallbacks for configured custom properties.
|
|
2934
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/consistent-custom-property-fallbacks.md
|
|
2935
|
+
*/
|
|
2936
|
+
'cssicorn/consistent-custom-property-fallbacks'?: Linter.RuleEntry<CssicornConsistentCustomPropertyFallbacks>;
|
|
2918
2937
|
/**
|
|
2919
2938
|
* Enforce consistent ordering of cascade layer statements.
|
|
2920
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
2939
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/consistent-layer-order.md
|
|
2921
2940
|
*/
|
|
2922
2941
|
'cssicorn/consistent-layer-order'?: Linter.RuleEntry<CssicornConsistentLayerOrder>;
|
|
2923
2942
|
/**
|
|
2924
2943
|
* Enforce consistent ordering of CSS properties.
|
|
2925
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
2944
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/consistent-property-order.md
|
|
2926
2945
|
*/
|
|
2927
2946
|
'cssicorn/consistent-property-order'?: Linter.RuleEntry<CssicornConsistentPropertyOrder>;
|
|
2928
2947
|
/**
|
|
2929
2948
|
* Enforce consistent ordering of CSS value components.
|
|
2930
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
2949
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/consistent-value-order.md
|
|
2931
2950
|
*/
|
|
2932
2951
|
'cssicorn/consistent-value-order'?: Linter.RuleEntry<[]>;
|
|
2933
2952
|
/**
|
|
2934
2953
|
* Enforce lowercase CSS syntax.
|
|
2935
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
2954
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/lowercase.md
|
|
2936
2955
|
*/
|
|
2937
2956
|
'cssicorn/lowercase'?: Linter.RuleEntry<[]>;
|
|
2938
2957
|
/**
|
|
2939
2958
|
* Disallow CSS values that browsers silently clamp.
|
|
2940
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
2959
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-clamped-values.md
|
|
2941
2960
|
*/
|
|
2942
2961
|
'cssicorn/no-clamped-values'?: Linter.RuleEntry<[]>;
|
|
2943
2962
|
/**
|
|
2944
2963
|
* Disallow declarations after nested rules.
|
|
2945
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
2964
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-declarations-after-nested-rules.md
|
|
2946
2965
|
*/
|
|
2947
2966
|
'cssicorn/no-declarations-after-nested-rules'?: Linter.RuleEntry<[]>;
|
|
2948
2967
|
/**
|
|
2949
2968
|
* Disallow deprecated CSS features.
|
|
2950
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
2969
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-deprecated-features.md
|
|
2951
2970
|
*/
|
|
2952
2971
|
'cssicorn/no-deprecated-features'?: Linter.RuleEntry<CssicornNoDeprecatedFeatures>;
|
|
2953
2972
|
/**
|
|
2954
2973
|
* Disallow lower-specificity selectors from following higher-specificity selectors that set the same property.
|
|
2955
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
2974
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-descending-specificity.md
|
|
2956
2975
|
*/
|
|
2957
2976
|
'cssicorn/no-descending-specificity'?: Linter.RuleEntry<[]>;
|
|
2958
2977
|
/**
|
|
2959
2978
|
* Disallow `touch-action` values that disable browser pinch zoom.
|
|
2960
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
2979
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-disabled-pinch-zoom.md
|
|
2961
2980
|
*/
|
|
2962
2981
|
'cssicorn/no-disabled-pinch-zoom'?: Linter.RuleEntry<[]>;
|
|
2963
2982
|
/**
|
|
2964
2983
|
* Disallow duplicate named at-rule definitions.
|
|
2965
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
2984
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-duplicate-at-rule-definitions.md
|
|
2966
2985
|
*/
|
|
2967
2986
|
'cssicorn/no-duplicate-at-rule-definitions'?: Linter.RuleEntry<[]>;
|
|
2968
2987
|
/**
|
|
2969
2988
|
* Disallow duplicate font family names.
|
|
2970
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
2989
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-duplicate-font-family-names.md
|
|
2971
2990
|
*/
|
|
2972
2991
|
'cssicorn/no-duplicate-font-family-names'?: Linter.RuleEntry<[]>;
|
|
2973
2992
|
/**
|
|
2974
2993
|
* Disallow duplicate properties within CSS declaration blocks.
|
|
2975
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
2994
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-duplicate-properties.md
|
|
2976
2995
|
*/
|
|
2977
2996
|
'cssicorn/no-duplicate-properties'?: Linter.RuleEntry<[]>;
|
|
2978
2997
|
/**
|
|
2979
2998
|
* Disallow duplicate CSS selectors.
|
|
2980
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
2999
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-duplicate-selectors.md
|
|
2981
3000
|
*/
|
|
2982
3001
|
'cssicorn/no-duplicate-selectors'?: Linter.RuleEntry<[]>;
|
|
2983
3002
|
/**
|
|
2984
3003
|
* Disallow ineffective declarations in keyframes.
|
|
2985
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3004
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-ineffective-keyframe-declarations.md
|
|
2986
3005
|
*/
|
|
2987
3006
|
'cssicorn/no-ineffective-keyframe-declarations'?: Linter.RuleEntry<[]>;
|
|
2988
3007
|
/**
|
|
2989
3008
|
* Disallow state and conditional overrides blocked by cascade priority.
|
|
2990
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3009
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-ineffective-overrides.md
|
|
2991
3010
|
*/
|
|
2992
3011
|
'cssicorn/no-ineffective-overrides'?: Linter.RuleEntry<[]>;
|
|
2993
3012
|
/**
|
|
2994
3013
|
* Disallow properties that have no effect given other declarations or shorthand defaults.
|
|
2995
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3014
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-ineffective-properties.md
|
|
2996
3015
|
*/
|
|
2997
3016
|
'cssicorn/no-ineffective-properties'?: Linter.RuleEntry<[]>;
|
|
2998
3017
|
/**
|
|
2999
3018
|
* Disallow properties that cannot affect their selected targets.
|
|
3000
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3019
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-ineffective-selector-properties.md
|
|
3001
3020
|
*/
|
|
3002
3021
|
'cssicorn/no-ineffective-selector-properties'?: Linter.RuleEntry<[]>;
|
|
3003
3022
|
/**
|
|
3004
3023
|
* Disallow supports conditions that do not test their value functions.
|
|
3005
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3024
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-ineffective-supports-conditions.md
|
|
3006
3025
|
*/
|
|
3007
3026
|
'cssicorn/no-ineffective-supports-conditions'?: Linter.RuleEntry<[]>;
|
|
3008
3027
|
/**
|
|
3009
3028
|
* Disallow transition targets that cannot transition under the declared behavior.
|
|
3010
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3029
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-ineffective-transitions.md
|
|
3011
3030
|
*/
|
|
3012
3031
|
'cssicorn/no-ineffective-transitions'?: Linter.RuleEntry<[]>;
|
|
3013
3032
|
/**
|
|
3014
3033
|
* Disallow unknown media features, invalid values, and invalid notation.
|
|
3015
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3034
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-invalid-media-features.md
|
|
3016
3035
|
*/
|
|
3017
3036
|
'cssicorn/no-invalid-media-features'?: Linter.RuleEntry<[]>;
|
|
3018
3037
|
/**
|
|
3019
3038
|
* Disallow invalid property references in transitions and will-change.
|
|
3020
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3039
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-invalid-property-references.md
|
|
3021
3040
|
*/
|
|
3022
3041
|
'cssicorn/no-invalid-property-references'?: Linter.RuleEntry<[]>;
|
|
3023
3042
|
/**
|
|
3024
3043
|
* Disallow animating properties that can affect layout.
|
|
3025
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3044
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-layout-animations.md
|
|
3026
3045
|
*/
|
|
3027
3046
|
'cssicorn/no-layout-animations'?: Linter.RuleEntry<[]>;
|
|
3028
3047
|
/**
|
|
3029
3048
|
* Disallow mixed specificity in nesting parents and selector-list pseudo-classes.
|
|
3030
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3049
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-nesting-with-mixed-specificity.md
|
|
3031
3050
|
*/
|
|
3032
3051
|
'cssicorn/no-nesting-with-mixed-specificity'?: Linter.RuleEntry<[]>;
|
|
3033
3052
|
/**
|
|
3034
3053
|
* Disallow overflow values that are coerced by the other axis.
|
|
3035
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3054
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-overflow-axis-coercion.md
|
|
3036
3055
|
*/
|
|
3037
3056
|
'cssicorn/no-overflow-axis-coercion'?: Linter.RuleEntry<[]>;
|
|
3057
|
+
/**
|
|
3058
|
+
* Disallow properties overridden by overlapping animations.
|
|
3059
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-overridden-animation-properties.md
|
|
3060
|
+
*/
|
|
3061
|
+
'cssicorn/no-overridden-animation-properties'?: Linter.RuleEntry<[]>;
|
|
3038
3062
|
/**
|
|
3039
3063
|
* Disallow redundant function calls and arguments.
|
|
3040
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3064
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-redundant-functions.md
|
|
3041
3065
|
*/
|
|
3042
3066
|
'cssicorn/no-redundant-functions'?: Linter.RuleEntry<[]>;
|
|
3043
3067
|
/**
|
|
3044
3068
|
* Disallow longhand properties that can be combined into a shorthand.
|
|
3045
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3069
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-redundant-longhand-properties.md
|
|
3046
3070
|
*/
|
|
3047
3071
|
'cssicorn/no-redundant-longhand-properties'?: Linter.RuleEntry<CssicornNoRedundantLonghandProperties>;
|
|
3048
3072
|
/**
|
|
3049
3073
|
* Disallow nested style rules that do not modify the parent selector.
|
|
3050
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3074
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-redundant-nested-style-rules.md
|
|
3051
3075
|
*/
|
|
3052
3076
|
'cssicorn/no-redundant-nested-style-rules'?: Linter.RuleEntry<[]>;
|
|
3053
3077
|
/**
|
|
3054
3078
|
* Disallow redundant nesting selectors.
|
|
3055
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3079
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-redundant-nesting-selector.md
|
|
3056
3080
|
*/
|
|
3057
3081
|
'cssicorn/no-redundant-nesting-selector'?: Linter.RuleEntry<[]>;
|
|
3058
3082
|
/**
|
|
3059
3083
|
* Disallow redundant values in CSS shorthand properties.
|
|
3060
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3084
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-redundant-shorthand-values.md
|
|
3061
3085
|
*/
|
|
3062
3086
|
'cssicorn/no-redundant-shorthand-values'?: Linter.RuleEntry<[]>;
|
|
3063
3087
|
/**
|
|
3064
3088
|
* Disallow cyclic dependencies in CSS custom properties.
|
|
3065
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3089
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-self-referencing-custom-properties.md
|
|
3066
3090
|
*/
|
|
3067
3091
|
'cssicorn/no-self-referencing-custom-properties'?: Linter.RuleEntry<[]>;
|
|
3068
3092
|
/**
|
|
3069
3093
|
* Disallow unknown animations.
|
|
3070
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3094
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-unknown-animations.md
|
|
3071
3095
|
*/
|
|
3072
3096
|
'cssicorn/no-unknown-animations'?: Linter.RuleEntry<[]>;
|
|
3073
3097
|
/**
|
|
3074
3098
|
* Disallow unknown and noncanonical CSS annotations.
|
|
3075
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3099
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-unknown-annotations.md
|
|
3076
3100
|
*/
|
|
3077
3101
|
'cssicorn/no-unknown-annotations'?: Linter.RuleEntry<[]>;
|
|
3078
3102
|
/**
|
|
3079
3103
|
* Disallow unknown pseudo-class and pseudo-element selectors.
|
|
3080
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3104
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-unknown-pseudo-selectors.md
|
|
3081
3105
|
*/
|
|
3082
3106
|
'cssicorn/no-unknown-pseudo-selectors'?: Linter.RuleEntry<CssicornNoUnknownPseudoSelectors>;
|
|
3107
|
+
/**
|
|
3108
|
+
* Disallow unknown type selectors.
|
|
3109
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-unknown-type-selectors.md
|
|
3110
|
+
*/
|
|
3111
|
+
'cssicorn/no-unknown-type-selectors'?: Linter.RuleEntry<CssicornNoUnknownTypeSelectors>;
|
|
3083
3112
|
/**
|
|
3084
3113
|
* Disallow unscoped CSS nesting selectors.
|
|
3085
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3114
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-unscoped-nesting-selector.md
|
|
3086
3115
|
*/
|
|
3087
3116
|
'cssicorn/no-unscoped-nesting-selector'?: Linter.RuleEntry<CssicornNoUnscopedNestingSelector>;
|
|
3088
3117
|
/**
|
|
3089
3118
|
* Disallow unnecessary `:is()` wrappers.
|
|
3090
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3119
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-useless-is.md
|
|
3091
3120
|
*/
|
|
3092
3121
|
'cssicorn/no-useless-is'?: Linter.RuleEntry<[]>;
|
|
3093
3122
|
/**
|
|
3094
3123
|
* Disallow units on zero CSS lengths.
|
|
3095
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3124
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-zero-length-unit.md
|
|
3096
3125
|
*/
|
|
3097
3126
|
'cssicorn/no-zero-length-unit'?: Linter.RuleEntry<[]>;
|
|
3098
3127
|
/**
|
|
3099
3128
|
* Prefer `aspect-ratio` over zero-height percentage-padding workarounds.
|
|
3100
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3129
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/prefer-aspect-ratio.md
|
|
3101
3130
|
*/
|
|
3102
3131
|
'cssicorn/prefer-aspect-ratio'?: Linter.RuleEntry<[]>;
|
|
3103
3132
|
/**
|
|
3104
3133
|
* Prefer `clamp()` over nested `min()` and `max()`.
|
|
3105
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3134
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/prefer-clamp.md
|
|
3106
3135
|
*/
|
|
3107
3136
|
'cssicorn/prefer-clamp'?: Linter.RuleEntry<[]>;
|
|
3108
3137
|
/**
|
|
3109
3138
|
* Prefer currentcolor over repeating the foreground color.
|
|
3110
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3139
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/prefer-current-color.md
|
|
3111
3140
|
*/
|
|
3112
3141
|
'cssicorn/prefer-current-color'?: Linter.RuleEntry<[]>;
|
|
3113
3142
|
/**
|
|
3114
3143
|
* Prefer existing custom properties over matching literal values.
|
|
3115
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3144
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/prefer-existing-custom-properties.md
|
|
3116
3145
|
*/
|
|
3117
3146
|
'cssicorn/prefer-existing-custom-properties'?: Linter.RuleEntry<CssicornPreferExistingCustomProperties>;
|
|
3118
3147
|
/**
|
|
3119
3148
|
* Prefer explicit viewport units.
|
|
3120
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3149
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/prefer-explicit-viewport-units.md
|
|
3121
3150
|
*/
|
|
3122
3151
|
'cssicorn/prefer-explicit-viewport-units'?: Linter.RuleEntry<CssicornPreferExplicitViewportUnits>;
|
|
3123
3152
|
/**
|
|
3124
3153
|
* Prefer individual transform properties over transform functions.
|
|
3125
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3154
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/prefer-individual-transform-properties.md
|
|
3126
3155
|
*/
|
|
3127
3156
|
'cssicorn/prefer-individual-transform-properties'?: Linter.RuleEntry<[]>;
|
|
3128
3157
|
/**
|
|
3129
3158
|
* Prefer `light-dark()` over paired light and dark color declarations.
|
|
3130
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3159
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/prefer-light-dark.md
|
|
3131
3160
|
*/
|
|
3132
3161
|
'cssicorn/prefer-light-dark'?: Linter.RuleEntry<[]>;
|
|
3162
|
+
/**
|
|
3163
|
+
* Prefer longhand properties when overriding one shorthand component.
|
|
3164
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/prefer-longhand-overrides.md
|
|
3165
|
+
*/
|
|
3166
|
+
'cssicorn/prefer-longhand-overrides'?: Linter.RuleEntry<[]>;
|
|
3133
3167
|
/**
|
|
3134
3168
|
* Prefer modern media feature range syntax.
|
|
3135
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3169
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/prefer-media-feature-range-syntax.md
|
|
3136
3170
|
*/
|
|
3137
3171
|
'cssicorn/prefer-media-feature-range-syntax'?: Linter.RuleEntry<[]>;
|
|
3138
3172
|
/**
|
|
3139
3173
|
* Prefer merging adjacent rules with identical declarations or conditions.
|
|
3140
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3174
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/prefer-merged-rules.md
|
|
3141
3175
|
*/
|
|
3142
3176
|
'cssicorn/prefer-merged-rules'?: Linter.RuleEntry<[]>;
|
|
3143
3177
|
/**
|
|
3144
3178
|
* Prefer modern CSS color and pseudo-element syntax.
|
|
3145
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3179
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/prefer-modern-syntax.md
|
|
3146
3180
|
*/
|
|
3147
3181
|
'cssicorn/prefer-modern-syntax'?: Linter.RuleEntry<[]>;
|
|
3148
3182
|
/**
|
|
3149
|
-
* Prefer CSS nesting for
|
|
3150
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3183
|
+
* Prefer CSS nesting for structural `:is()` groups and rules extending an existing parent.
|
|
3184
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/prefer-nesting.md
|
|
3151
3185
|
*/
|
|
3152
|
-
'cssicorn/prefer-nesting'?: Linter.RuleEntry<
|
|
3186
|
+
'cssicorn/prefer-nesting'?: Linter.RuleEntry<CssicornPreferNesting>;
|
|
3153
3187
|
/**
|
|
3154
3188
|
* Prefer relative colors for alpha variants of existing color custom properties.
|
|
3155
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3189
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/prefer-relative-colors.md
|
|
3156
3190
|
*/
|
|
3157
3191
|
'cssicorn/prefer-relative-colors'?: Linter.RuleEntry<[]>;
|
|
3158
3192
|
/**
|
|
3159
3193
|
* Prefer short hexadecimal color notation.
|
|
3160
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3194
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/prefer-short-hex-color.md
|
|
3161
3195
|
*/
|
|
3162
3196
|
'cssicorn/prefer-short-hex-color'?: Linter.RuleEntry<[]>;
|
|
3197
|
+
/**
|
|
3198
|
+
* Prefer subgrid over repeated parent grid track definitions.
|
|
3199
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/prefer-subgrid.md
|
|
3200
|
+
*/
|
|
3201
|
+
'cssicorn/prefer-subgrid'?: Linter.RuleEntry<[]>;
|
|
3163
3202
|
/**
|
|
3164
3203
|
* Require motion effects inside `prefers-reduced-motion: no-preference` media queries.
|
|
3165
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3204
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/require-prefers-reduced-motion.md
|
|
3166
3205
|
*/
|
|
3167
3206
|
'cssicorn/require-prefers-reduced-motion'?: Linter.RuleEntry<[]>;
|
|
3168
3207
|
/**
|
|
3169
3208
|
* Require descriptors in CSS `@property` rules.
|
|
3170
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3209
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/require-property-descriptors.md
|
|
3171
3210
|
*/
|
|
3172
3211
|
'cssicorn/require-property-descriptors'?: Linter.RuleEntry<[]>;
|
|
3173
3212
|
/**
|
|
3174
3213
|
* Require a positive scoping boundary for every selector.
|
|
3175
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3214
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/require-selector-scope.md
|
|
3176
3215
|
*/
|
|
3177
3216
|
'cssicorn/require-selector-scope'?: Linter.RuleEntry<[]>;
|
|
3178
3217
|
/**
|
|
@@ -5286,6 +5325,16 @@ export interface ESLintSchema {
|
|
|
5286
5325
|
* @see https://eslint-plugin-package-json.dev/rules/bin-name-casing
|
|
5287
5326
|
*/
|
|
5288
5327
|
'package-json/bin-name-casing'?: Linter.RuleEntry<[]>;
|
|
5328
|
+
/**
|
|
5329
|
+
* Enforce that the package manager is declared in either `packageManager` or `devEngines.packageManager`.
|
|
5330
|
+
* @see https://eslint-plugin-package-json.dev/rules/consistent-package-manager-declaration
|
|
5331
|
+
*/
|
|
5332
|
+
'package-json/consistent-package-manager-declaration'?: Linter.RuleEntry<PackageJsonConsistentPackageManagerDeclaration>;
|
|
5333
|
+
/**
|
|
5334
|
+
* Enforce a consistent spelling for properties that have a well-known alias.
|
|
5335
|
+
* @see https://eslint-plugin-package-json.dev/rules/consistent-property-aliases
|
|
5336
|
+
*/
|
|
5337
|
+
'package-json/consistent-property-aliases'?: Linter.RuleEntry<PackageJsonConsistentPropertyAliases>;
|
|
5289
5338
|
/**
|
|
5290
5339
|
* Enforce consistent format for the exports field (implicit or explicit subpaths).
|
|
5291
5340
|
* @see https://eslint-plugin-package-json.dev/rules/exports-subpaths-style
|
|
@@ -5352,7 +5401,7 @@ export interface ESLintSchema {
|
|
|
5352
5401
|
*/
|
|
5353
5402
|
'package-json/require-bugs'?: Linter.RuleEntry<PackageJsonRequireBugs>;
|
|
5354
5403
|
/**
|
|
5355
|
-
* Requires the `bundleDependencies` property to be present.
|
|
5404
|
+
* Requires the `bundleDependencies` property (or its alias `bundledDependencies`) to be present.
|
|
5356
5405
|
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-bundleDependencies
|
|
5357
5406
|
*/
|
|
5358
5407
|
'package-json/require-bundleDependencies'?: Linter.RuleEntry<PackageJsonRequireBundleDependencies>;
|
|
@@ -5437,7 +5486,7 @@ export interface ESLintSchema {
|
|
|
5437
5486
|
*/
|
|
5438
5487
|
'package-json/require-libc'?: Linter.RuleEntry<PackageJsonRequireLibc>;
|
|
5439
5488
|
/**
|
|
5440
|
-
* Requires the `license` property to be present.
|
|
5489
|
+
* Requires the `license` property (or its alias `licence`) to be present.
|
|
5441
5490
|
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-license
|
|
5442
5491
|
*/
|
|
5443
5492
|
'package-json/require-license'?: Linter.RuleEntry<PackageJsonRequireLicense>;
|
|
@@ -5471,6 +5520,11 @@ export interface ESLintSchema {
|
|
|
5471
5520
|
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-os
|
|
5472
5521
|
*/
|
|
5473
5522
|
'package-json/require-os'?: Linter.RuleEntry<PackageJsonRequireOs>;
|
|
5523
|
+
/**
|
|
5524
|
+
* Reports unrestricted npm override selectors that can affect multiple dependency versions.
|
|
5525
|
+
* @see https://eslint-plugin-package-json.dev/rules/require-override-restrictions
|
|
5526
|
+
*/
|
|
5527
|
+
'package-json/require-override-restrictions'?: Linter.RuleEntry<[]>;
|
|
5474
5528
|
/**
|
|
5475
5529
|
* Ensures that if a package specifies `exports` (or `publishConfig.exports`), an explicit `package.json` export is included.
|
|
5476
5530
|
* @see https://eslint-plugin-package-json.dev/rules/require-package-json-export
|
|
@@ -5592,7 +5646,7 @@ export interface ESLintSchema {
|
|
|
5592
5646
|
*/
|
|
5593
5647
|
'package-json/valid-bugs'?: Linter.RuleEntry<[]>;
|
|
5594
5648
|
/**
|
|
5595
|
-
* Enforce that the `bundleDependencies` (
|
|
5649
|
+
* Enforce that the `bundleDependencies` property (or its alias `bundledDependencies`) is valid.
|
|
5596
5650
|
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-bundleDependencies
|
|
5597
5651
|
*/
|
|
5598
5652
|
'package-json/valid-bundleDependencies'?: Linter.RuleEntry<[]>;
|
|
@@ -5677,7 +5731,7 @@ export interface ESLintSchema {
|
|
|
5677
5731
|
*/
|
|
5678
5732
|
'package-json/valid-libc'?: Linter.RuleEntry<[]>;
|
|
5679
5733
|
/**
|
|
5680
|
-
* Enforce that the `license` property is valid.
|
|
5734
|
+
* Enforce that the `license` property (or its alias `licence`) is valid.
|
|
5681
5735
|
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-license
|
|
5682
5736
|
*/
|
|
5683
5737
|
'package-json/valid-license'?: Linter.RuleEntry<[]>;
|
|
@@ -5803,6 +5857,11 @@ export interface ESLintSchema {
|
|
|
5803
5857
|
* @see https://perfectionist.dev/rules/sort-classes
|
|
5804
5858
|
*/
|
|
5805
5859
|
'perfectionist/sort-classes'?: Linter.RuleEntry<PerfectionistSortClasses>;
|
|
5860
|
+
/**
|
|
5861
|
+
* Enforce sorted constructor parameters.
|
|
5862
|
+
* @see https://perfectionist.dev/rules/sort-constructor-parameters
|
|
5863
|
+
*/
|
|
5864
|
+
'perfectionist/sort-constructor-parameters'?: Linter.RuleEntry<PerfectionistSortConstructorParameters>;
|
|
5806
5865
|
/**
|
|
5807
5866
|
* Enforce sorted decorators.
|
|
5808
5867
|
* @see https://perfectionist.dev/rules/sort-decorators
|
|
@@ -6626,2002 +6685,2002 @@ export interface ESLintSchema {
|
|
|
6626
6685
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>;
|
|
6627
6686
|
/**
|
|
6628
6687
|
* Prefer better DOM traversal APIs.
|
|
6629
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6688
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/better-dom-traversing.md
|
|
6630
6689
|
*/
|
|
6631
6690
|
'unicorn/better-dom-traversing'?: Linter.RuleEntry<[]>;
|
|
6632
6691
|
/**
|
|
6633
6692
|
* Removed. Prefer `eslint-plugin-regexp`
|
|
6634
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6693
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#better-regex
|
|
6635
6694
|
* @deprecated
|
|
6636
6695
|
*/
|
|
6637
6696
|
'unicorn/better-regex'?: Linter.RuleEntry<[]>;
|
|
6638
6697
|
/**
|
|
6639
6698
|
* Enforce a specific parameter name in catch clauses.
|
|
6640
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6699
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/catch-error-name.md
|
|
6641
6700
|
*/
|
|
6642
6701
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>;
|
|
6643
6702
|
/**
|
|
6644
6703
|
* Enforce consistent class references in static methods.
|
|
6645
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6704
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/class-reference-in-static-methods.md
|
|
6646
6705
|
*/
|
|
6647
6706
|
'unicorn/class-reference-in-static-methods'?: Linter.RuleEntry<UnicornClassReferenceInStaticMethods>;
|
|
6648
6707
|
/**
|
|
6649
6708
|
* Enforce consistent spacing before and after commas in JSON and SOML.
|
|
6650
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6709
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/comma-spacing.md
|
|
6651
6710
|
*/
|
|
6652
6711
|
'unicorn/comma-spacing'?: Linter.RuleEntry<[]>;
|
|
6653
6712
|
/**
|
|
6654
6713
|
* Enforce better comment content.
|
|
6655
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6714
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/comment-content.md
|
|
6656
6715
|
*/
|
|
6657
6716
|
'unicorn/comment-content'?: Linter.RuleEntry<UnicornCommentContent>;
|
|
6658
6717
|
/**
|
|
6659
6718
|
* Enforce a consistent return style for multiline arrow function bodies.
|
|
6660
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6719
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/consistent-arrow-return-style.md
|
|
6661
6720
|
*/
|
|
6662
6721
|
'unicorn/consistent-arrow-return-style'?: Linter.RuleEntry<[]>;
|
|
6663
6722
|
/**
|
|
6664
6723
|
* Enforce consistent assertion style with `node:assert`.
|
|
6665
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6724
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/consistent-assert.md
|
|
6666
6725
|
*/
|
|
6667
6726
|
'unicorn/consistent-assert'?: Linter.RuleEntry<[]>;
|
|
6668
6727
|
/**
|
|
6669
6728
|
* Enforce consistent naming for boolean names.
|
|
6670
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6729
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/consistent-boolean-name.md
|
|
6671
6730
|
*/
|
|
6672
6731
|
'unicorn/consistent-boolean-name'?: Linter.RuleEntry<UnicornConsistentBooleanName>;
|
|
6673
6732
|
/**
|
|
6674
6733
|
* Enforce consistent class member order.
|
|
6675
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6734
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/consistent-class-member-order.md
|
|
6676
6735
|
*/
|
|
6677
6736
|
'unicorn/consistent-class-member-order'?: Linter.RuleEntry<UnicornConsistentClassMemberOrder>;
|
|
6678
6737
|
/**
|
|
6679
6738
|
* Enforce consistent spelling of compound words in identifiers.
|
|
6680
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6739
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/consistent-compound-words.md
|
|
6681
6740
|
*/
|
|
6682
6741
|
'unicorn/consistent-compound-words'?: Linter.RuleEntry<UnicornConsistentCompoundWords>;
|
|
6683
6742
|
/**
|
|
6684
6743
|
* Enforce consistent conditional object spread style.
|
|
6685
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6744
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/consistent-conditional-object-spread.md
|
|
6686
6745
|
*/
|
|
6687
6746
|
'unicorn/consistent-conditional-object-spread'?: Linter.RuleEntry<UnicornConsistentConditionalObjectSpread>;
|
|
6688
6747
|
/**
|
|
6689
6748
|
* Prefer passing `Date` directly to the constructor when cloning.
|
|
6690
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6749
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/consistent-date-clone.md
|
|
6691
6750
|
*/
|
|
6692
6751
|
'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>;
|
|
6693
6752
|
/**
|
|
6694
6753
|
* Use destructured variables over properties.
|
|
6695
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6754
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/consistent-destructuring.md
|
|
6696
6755
|
*/
|
|
6697
6756
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>;
|
|
6698
6757
|
/**
|
|
6699
6758
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
6700
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6759
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/consistent-empty-array-spread.md
|
|
6701
6760
|
*/
|
|
6702
6761
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>;
|
|
6703
6762
|
/**
|
|
6704
6763
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
6705
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6764
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/consistent-existence-index-check.md
|
|
6706
6765
|
*/
|
|
6707
6766
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>;
|
|
6708
6767
|
/**
|
|
6709
6768
|
* Enforce consistent decorator position on exported classes.
|
|
6710
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6769
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/consistent-export-decorator-position.md
|
|
6711
6770
|
*/
|
|
6712
6771
|
'unicorn/consistent-export-decorator-position'?: Linter.RuleEntry<UnicornConsistentExportDecoratorPosition>;
|
|
6713
6772
|
/**
|
|
6714
6773
|
* Move function definitions to the highest possible scope.
|
|
6715
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6774
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/consistent-function-scoping.md
|
|
6716
6775
|
*/
|
|
6717
6776
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
|
|
6718
6777
|
/**
|
|
6719
6778
|
* Enforce function syntax by role.
|
|
6720
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6779
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/consistent-function-style.md
|
|
6721
6780
|
*/
|
|
6722
6781
|
'unicorn/consistent-function-style'?: Linter.RuleEntry<UnicornConsistentFunctionStyle>;
|
|
6723
6782
|
/**
|
|
6724
6783
|
* Enforce consistent JSON file reads before `JSON.parse()`.
|
|
6725
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6784
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/consistent-json-file-read.md
|
|
6726
6785
|
*/
|
|
6727
6786
|
'unicorn/consistent-json-file-read'?: Linter.RuleEntry<UnicornConsistentJsonFileRead>;
|
|
6728
6787
|
/**
|
|
6729
6788
|
* Enforce consistent optional chaining for same-base member access.
|
|
6730
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6789
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/consistent-optional-chaining.md
|
|
6731
6790
|
*/
|
|
6732
6791
|
'unicorn/consistent-optional-chaining'?: Linter.RuleEntry<[]>;
|
|
6733
6792
|
/**
|
|
6734
6793
|
* Enforce consistent style for escaping `${` in template literals.
|
|
6735
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6794
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/consistent-template-literal-escape.md
|
|
6736
6795
|
*/
|
|
6737
6796
|
'unicorn/consistent-template-literal-escape'?: Linter.RuleEntry<[]>;
|
|
6738
6797
|
/**
|
|
6739
6798
|
* Enforce consistent labels on tuple type elements.
|
|
6740
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6799
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/consistent-tuple-labels.md
|
|
6741
6800
|
*/
|
|
6742
6801
|
'unicorn/consistent-tuple-labels'?: Linter.RuleEntry<[]>;
|
|
6743
6802
|
/**
|
|
6744
6803
|
* Enforce correct `Error` subclassing.
|
|
6745
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6804
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/custom-error-definition.md
|
|
6746
6805
|
*/
|
|
6747
6806
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>;
|
|
6748
6807
|
/**
|
|
6749
6808
|
* Enforce consistent default export declarations.
|
|
6750
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6809
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/default-export-style.md
|
|
6751
6810
|
*/
|
|
6752
6811
|
'unicorn/default-export-style'?: Linter.RuleEntry<UnicornDefaultExportStyle>;
|
|
6753
6812
|
/**
|
|
6754
6813
|
* Enforce consistent style for DOM element dataset access.
|
|
6755
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6814
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/dom-node-dataset.md
|
|
6756
6815
|
*/
|
|
6757
6816
|
'unicorn/dom-node-dataset'?: Linter.RuleEntry<UnicornDomNodeDataset>;
|
|
6758
6817
|
/**
|
|
6759
6818
|
* Enforce no spaces between braces.
|
|
6760
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6819
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/empty-brace-spaces.md
|
|
6761
6820
|
*/
|
|
6762
6821
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>;
|
|
6763
6822
|
/**
|
|
6764
6823
|
* Enforce passing a `message` value when creating a built-in error.
|
|
6765
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6824
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/error-message.md
|
|
6766
6825
|
*/
|
|
6767
6826
|
'unicorn/error-message'?: Linter.RuleEntry<[]>;
|
|
6768
6827
|
/**
|
|
6769
6828
|
* Require escape sequences to use uppercase or lowercase values.
|
|
6770
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6829
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/escape-case.md
|
|
6771
6830
|
*/
|
|
6772
6831
|
'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>;
|
|
6773
6832
|
/**
|
|
6774
6833
|
* Add expiration conditions to TODO comments.
|
|
6775
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6834
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/expiring-todo-comments.md
|
|
6776
6835
|
*/
|
|
6777
6836
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>;
|
|
6778
6837
|
/**
|
|
6779
6838
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
6780
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6839
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/explicit-length-check.md
|
|
6781
6840
|
*/
|
|
6782
6841
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
|
|
6783
6842
|
/**
|
|
6784
6843
|
* Enforce or disallow explicit `delay` argument for `setTimeout()` and `setInterval()`.
|
|
6785
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6844
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/explicit-timer-delay.md
|
|
6786
6845
|
*/
|
|
6787
6846
|
'unicorn/explicit-timer-delay'?: Linter.RuleEntry<UnicornExplicitTimerDelay>;
|
|
6788
6847
|
/**
|
|
6789
6848
|
* Enforce a case style for filenames and directory names.
|
|
6790
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6849
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/filename-case.md
|
|
6791
6850
|
*/
|
|
6792
6851
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>;
|
|
6793
6852
|
/**
|
|
6794
6853
|
* Require identifiers to match a specified regular expression.
|
|
6795
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6854
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/id-match.md
|
|
6796
6855
|
*/
|
|
6797
6856
|
'unicorn/id-match'?: Linter.RuleEntry<UnicornIdMatch>;
|
|
6798
6857
|
/**
|
|
6799
6858
|
* Enforce specific import styles per module.
|
|
6800
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6859
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/import-style.md
|
|
6801
6860
|
*/
|
|
6802
6861
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>;
|
|
6803
6862
|
/**
|
|
6804
6863
|
* Enforce consistent indentation in JSON and CSS.
|
|
6805
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6864
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/indent.md
|
|
6806
6865
|
*/
|
|
6807
6866
|
'unicorn/indent'?: Linter.RuleEntry<UnicornIndent>;
|
|
6808
6867
|
/**
|
|
6809
6868
|
* Prevent usage of variables from outside the scope of isolated functions.
|
|
6810
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6869
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/isolated-functions.md
|
|
6811
6870
|
*/
|
|
6812
6871
|
'unicorn/isolated-functions'?: Linter.RuleEntry<UnicornIsolatedFunctions>;
|
|
6813
6872
|
/**
|
|
6814
6873
|
* Enforce a consistent style for optional loop sources.
|
|
6815
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6874
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/iteration-fallback-style.md
|
|
6816
6875
|
*/
|
|
6817
6876
|
'unicorn/iteration-fallback-style'?: Linter.RuleEntry<UnicornIterationFallbackStyle>;
|
|
6818
6877
|
/**
|
|
6819
6878
|
* Enforce a case style for data keys.
|
|
6820
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6879
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/key-name-casing.md
|
|
6821
6880
|
*/
|
|
6822
6881
|
'unicorn/key-name-casing'?: Linter.RuleEntry<UnicornKeyNameCasing>;
|
|
6823
6882
|
/**
|
|
6824
6883
|
* Require or disallow logical assignment operator shorthand
|
|
6825
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6884
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/logical-assignment-operators.md
|
|
6826
6885
|
*/
|
|
6827
6886
|
'unicorn/logical-assignment-operators'?: Linter.RuleEntry<UnicornLogicalAssignmentOperators>;
|
|
6828
6887
|
/**
|
|
6829
6888
|
* Limit the depth of nested calls.
|
|
6830
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6889
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/max-nested-calls.md
|
|
6831
6890
|
*/
|
|
6832
6891
|
'unicorn/max-nested-calls'?: Linter.RuleEntry<UnicornMaxNestedCalls>;
|
|
6833
6892
|
/**
|
|
6834
6893
|
* Enforce replacements for variable, property, and filenames.
|
|
6835
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6894
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/name-replacements.md
|
|
6836
6895
|
*/
|
|
6837
6896
|
'unicorn/name-replacements'?: Linter.RuleEntry<UnicornNameReplacements>;
|
|
6838
6897
|
/**
|
|
6839
6898
|
* Enforce correct use of `new` for builtin constructors.
|
|
6840
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6899
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/new-for-builtins.md
|
|
6841
6900
|
*/
|
|
6842
6901
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>;
|
|
6843
6902
|
/**
|
|
6844
6903
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
6845
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6904
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-abusive-eslint-disable.md
|
|
6846
6905
|
*/
|
|
6847
6906
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>;
|
|
6848
6907
|
/**
|
|
6849
6908
|
* Disallow recursive access to `this` within getters and setters.
|
|
6850
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6909
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-accessor-recursion.md
|
|
6851
6910
|
*/
|
|
6852
6911
|
'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>;
|
|
6853
6912
|
/**
|
|
6854
6913
|
* Disallow bitwise operators where a logical operator was likely intended.
|
|
6855
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6914
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-accidental-bitwise-operator.md
|
|
6856
6915
|
*/
|
|
6857
6916
|
'unicorn/no-accidental-bitwise-operator'?: Linter.RuleEntry<[]>;
|
|
6858
6917
|
/**
|
|
6859
6918
|
* Disallow anonymous functions and classes as the default export.
|
|
6860
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6919
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-anonymous-default-export.md
|
|
6861
6920
|
*/
|
|
6862
6921
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>;
|
|
6863
6922
|
/**
|
|
6864
6923
|
* Prevent passing a function reference directly to iterator methods.
|
|
6865
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6924
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-array-callback-reference.md
|
|
6866
6925
|
*/
|
|
6867
6926
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<UnicornNoArrayCallbackReference>;
|
|
6868
6927
|
/**
|
|
6869
6928
|
* Disallow array accumulation with `Array#concat()` in loops.
|
|
6870
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6929
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-array-concat-in-loop.md
|
|
6871
6930
|
*/
|
|
6872
6931
|
'unicorn/no-array-concat-in-loop'?: Linter.RuleEntry<[]>;
|
|
6873
6932
|
/**
|
|
6874
6933
|
* Disallow using reference values as `Array#fill()` values.
|
|
6875
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6934
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-array-fill-with-reference-type.md
|
|
6876
6935
|
*/
|
|
6877
6936
|
'unicorn/no-array-fill-with-reference-type'?: Linter.RuleEntry<[]>;
|
|
6878
6937
|
/**
|
|
6879
6938
|
* Disallow `.fill()` after `Array.from({length: …})`.
|
|
6880
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6939
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-array-from-fill.md
|
|
6881
6940
|
*/
|
|
6882
6941
|
'unicorn/no-array-from-fill'?: Linter.RuleEntry<[]>;
|
|
6883
6942
|
/**
|
|
6884
6943
|
* Disallow front-of-array mutation.
|
|
6885
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6944
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-array-front-mutation.md
|
|
6886
6945
|
*/
|
|
6887
6946
|
'unicorn/no-array-front-mutation'?: Linter.RuleEntry<[]>;
|
|
6888
6947
|
/**
|
|
6889
6948
|
* Disallow using the `this` argument in array methods.
|
|
6890
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6949
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-array-method-this-argument.md
|
|
6891
6950
|
*/
|
|
6892
6951
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>;
|
|
6893
6952
|
/**
|
|
6894
6953
|
* Replaced by `unicorn/prefer-single-call` which covers more cases.
|
|
6895
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6954
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
|
|
6896
6955
|
* @deprecated
|
|
6897
6956
|
*/
|
|
6898
6957
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>;
|
|
6899
6958
|
/**
|
|
6900
6959
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
6901
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6960
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-array-reduce.md
|
|
6902
6961
|
*/
|
|
6903
6962
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>;
|
|
6904
6963
|
/**
|
|
6905
6964
|
* Prefer `Array#toReversed()` over `Array#reverse()`.
|
|
6906
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6965
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-array-reverse.md
|
|
6907
6966
|
*/
|
|
6908
6967
|
'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>;
|
|
6909
6968
|
/**
|
|
6910
6969
|
* Prefer `Array#toSorted()` over `Array#sort()`.
|
|
6911
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6970
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-array-sort.md
|
|
6912
6971
|
*/
|
|
6913
6972
|
'unicorn/no-array-sort'?: Linter.RuleEntry<UnicornNoArraySort>;
|
|
6914
6973
|
/**
|
|
6915
6974
|
* Disallow sorting arrays to get the minimum or maximum value.
|
|
6916
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6975
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-array-sort-for-min-max.md
|
|
6917
6976
|
*/
|
|
6918
6977
|
'unicorn/no-array-sort-for-min-max'?: Linter.RuleEntry<[]>;
|
|
6919
6978
|
/**
|
|
6920
6979
|
* Prefer `Array#toSpliced()` over `Array#splice()`.
|
|
6921
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6980
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-array-splice.md
|
|
6922
6981
|
*/
|
|
6923
6982
|
'unicorn/no-array-splice'?: Linter.RuleEntry<[]>;
|
|
6924
6983
|
/**
|
|
6925
6984
|
* Disallow asterisk prefixes and shared indentation in multiline comments.
|
|
6926
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6985
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-asterisk-prefix-in-documentation-comments.md
|
|
6927
6986
|
*/
|
|
6928
6987
|
'unicorn/no-asterisk-prefix-in-documentation-comments'?: Linter.RuleEntry<[]>;
|
|
6929
6988
|
/**
|
|
6930
6989
|
* Disallow asynchronous callbacks in synchronous iterator helpers.
|
|
6931
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6990
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-async-iterator-callback.md
|
|
6932
6991
|
*/
|
|
6933
6992
|
'unicorn/no-async-iterator-callback'?: Linter.RuleEntry<[]>;
|
|
6934
6993
|
/**
|
|
6935
6994
|
* Disallow async functions as `Promise#finally()` callbacks.
|
|
6936
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6995
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-async-promise-finally.md
|
|
6937
6996
|
*/
|
|
6938
6997
|
'unicorn/no-async-promise-finally'?: Linter.RuleEntry<[]>;
|
|
6939
6998
|
/**
|
|
6940
6999
|
* Disallow member access from await expression.
|
|
6941
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7000
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-await-expression-member.md
|
|
6942
7001
|
*/
|
|
6943
7002
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>;
|
|
6944
7003
|
/**
|
|
6945
7004
|
* Disallow using `await` in `Promise` method parameters.
|
|
6946
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7005
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-await-in-promise-methods.md
|
|
6947
7006
|
*/
|
|
6948
7007
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
6949
7008
|
/**
|
|
6950
7009
|
* Disallow barrel files.
|
|
6951
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7010
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-barrel-files.md
|
|
6952
7011
|
*/
|
|
6953
7012
|
'unicorn/no-barrel-files'?: Linter.RuleEntry<[]>;
|
|
6954
7013
|
/**
|
|
6955
7014
|
* Disallow unnecessary `Blob` to `File` conversion.
|
|
6956
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7015
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-blob-to-file.md
|
|
6957
7016
|
*/
|
|
6958
7017
|
'unicorn/no-blob-to-file'?: Linter.RuleEntry<[]>;
|
|
6959
7018
|
/**
|
|
6960
7019
|
* Disallow boolean-returning sort comparators.
|
|
6961
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7020
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-boolean-sort-comparator.md
|
|
6962
7021
|
*/
|
|
6963
7022
|
'unicorn/no-boolean-sort-comparator'?: Linter.RuleEntry<[]>;
|
|
6964
7023
|
/**
|
|
6965
7024
|
* Disallow `break` and optionally `continue` in nested loops and switches inside loops.
|
|
6966
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7025
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-break-in-nested-loop.md
|
|
6967
7026
|
*/
|
|
6968
7027
|
'unicorn/no-break-in-nested-loop'?: Linter.RuleEntry<UnicornNoBreakInNestedLoop>;
|
|
6969
7028
|
/**
|
|
6970
7029
|
* Prefer drawing canvases directly instead of converting them to images.
|
|
6971
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7030
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-canvas-to-image.md
|
|
6972
7031
|
*/
|
|
6973
7032
|
'unicorn/no-canvas-to-image'?: Linter.RuleEntry<[]>;
|
|
6974
7033
|
/**
|
|
6975
7034
|
* Disallow chained comparisons such as `a < b < c`.
|
|
6976
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7035
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-chained-comparison.md
|
|
6977
7036
|
*/
|
|
6978
7037
|
'unicorn/no-chained-comparison'?: Linter.RuleEntry<[]>;
|
|
6979
7038
|
/**
|
|
6980
7039
|
* Disallow accessing `Map`, `Set`, `WeakMap`, and `WeakSet` entries with bracket notation.
|
|
6981
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7040
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-collection-bracket-access.md
|
|
6982
7041
|
*/
|
|
6983
7042
|
'unicorn/no-collection-bracket-access'?: Linter.RuleEntry<[]>;
|
|
6984
7043
|
/**
|
|
6985
7044
|
* Disallow dynamic object property existence checks.
|
|
6986
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7045
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-computed-property-existence-check.md
|
|
6987
7046
|
*/
|
|
6988
7047
|
'unicorn/no-computed-property-existence-check'?: Linter.RuleEntry<[]>;
|
|
6989
7048
|
/**
|
|
6990
7049
|
* Disallow conflicting CSS query and HTML form constraints.
|
|
6991
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7050
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-conflicting-constraints.md
|
|
6992
7051
|
*/
|
|
6993
7052
|
'unicorn/no-conflicting-constraints'?: Linter.RuleEntry<[]>;
|
|
6994
7053
|
/**
|
|
6995
7054
|
* Disallow confusing uses of `Array#{splice,toSpliced}()`.
|
|
6996
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7055
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-confusing-array-splice.md
|
|
6997
7056
|
*/
|
|
6998
7057
|
'unicorn/no-confusing-array-splice'?: Linter.RuleEntry<[]>;
|
|
6999
7058
|
/**
|
|
7000
7059
|
* Disallow confusing uses of `Array#with()`.
|
|
7001
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7060
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-confusing-array-with.md
|
|
7002
7061
|
*/
|
|
7003
7062
|
'unicorn/no-confusing-array-with'?: Linter.RuleEntry<[]>;
|
|
7004
7063
|
/**
|
|
7005
7064
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
7006
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7065
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-console-spaces.md
|
|
7007
7066
|
*/
|
|
7008
7067
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>;
|
|
7009
7068
|
/**
|
|
7010
7069
|
* Disallow arithmetic and bitwise operations that always evaluate to `0`.
|
|
7011
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7070
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-constant-zero-expression.md
|
|
7012
7071
|
*/
|
|
7013
7072
|
'unicorn/no-constant-zero-expression'?: Linter.RuleEntry<[]>;
|
|
7014
7073
|
/**
|
|
7015
7074
|
* Disallow declarations before conditional early exits when they are only used after the exit.
|
|
7016
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7075
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-declarations-before-early-exit.md
|
|
7017
7076
|
*/
|
|
7018
7077
|
'unicorn/no-declarations-before-early-exit'?: Linter.RuleEntry<[]>;
|
|
7019
7078
|
/**
|
|
7020
7079
|
* Moved to `eslint-cssicorn` as `cssicorn/no-deprecated-features`.
|
|
7021
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7080
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#no-deprecated-css-features
|
|
7022
7081
|
* @deprecated
|
|
7023
7082
|
*/
|
|
7024
7083
|
'unicorn/no-deprecated-css-features'?: Linter.RuleEntry<[]>;
|
|
7025
7084
|
/**
|
|
7026
7085
|
* Do not use `document.cookie` directly.
|
|
7027
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7086
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-document-cookie.md
|
|
7028
7087
|
*/
|
|
7029
7088
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>;
|
|
7030
7089
|
/**
|
|
7031
7090
|
* Disallow two comparisons of the same operands that can be combined into one.
|
|
7032
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7091
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-double-comparison.md
|
|
7033
7092
|
*/
|
|
7034
7093
|
'unicorn/no-double-comparison'?: Linter.RuleEntry<[]>;
|
|
7035
7094
|
/**
|
|
7036
7095
|
* Moved to `eslint-cssicorn` as `cssicorn/no-duplicate-selectors`.
|
|
7037
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7096
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#no-duplicate-css-selectors
|
|
7038
7097
|
* @deprecated
|
|
7039
7098
|
*/
|
|
7040
7099
|
'unicorn/no-duplicate-css-selectors'?: Linter.RuleEntry<[]>;
|
|
7041
7100
|
/**
|
|
7042
7101
|
* Moved to `eslint-cssicorn` as `cssicorn/no-duplicate-font-family-names`.
|
|
7043
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7102
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#no-duplicate-font-family-names
|
|
7044
7103
|
* @deprecated
|
|
7045
7104
|
*/
|
|
7046
7105
|
'unicorn/no-duplicate-font-family-names'?: Linter.RuleEntry<[]>;
|
|
7047
7106
|
/**
|
|
7048
7107
|
* Disallow duplicate adjacent branches in if chains.
|
|
7049
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7108
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-duplicate-if-branches.md
|
|
7050
7109
|
*/
|
|
7051
7110
|
'unicorn/no-duplicate-if-branches'?: Linter.RuleEntry<[]>;
|
|
7052
7111
|
/**
|
|
7053
7112
|
* Disallow adjacent duplicate operands in logical expressions.
|
|
7054
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7113
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-duplicate-logical-operands.md
|
|
7055
7114
|
*/
|
|
7056
7115
|
'unicorn/no-duplicate-logical-operands'?: Linter.RuleEntry<[]>;
|
|
7057
7116
|
/**
|
|
7058
7117
|
* Disallow `.map()` and `.filter()` in `for…of` and `for await…of` loop headers.
|
|
7059
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7118
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-duplicate-loops.md
|
|
7060
7119
|
*/
|
|
7061
7120
|
'unicorn/no-duplicate-loops'?: Linter.RuleEntry<[]>;
|
|
7062
7121
|
/**
|
|
7063
7122
|
* Disallow duplicate values in `Set` constructor array literals.
|
|
7064
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7123
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-duplicate-set-values.md
|
|
7065
7124
|
*/
|
|
7066
7125
|
'unicorn/no-duplicate-set-values'?: Linter.RuleEntry<[]>;
|
|
7067
7126
|
/**
|
|
7068
7127
|
* Disallow empty files.
|
|
7069
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7128
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-empty-file.md
|
|
7070
7129
|
*/
|
|
7071
7130
|
'unicorn/no-empty-file'?: Linter.RuleEntry<UnicornNoEmptyFile>;
|
|
7072
7131
|
/**
|
|
7073
7132
|
* Disallow empty link text in Markdown.
|
|
7074
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7133
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-empty-link-text.md
|
|
7075
7134
|
*/
|
|
7076
7135
|
'unicorn/no-empty-link-text'?: Linter.RuleEntry<[]>;
|
|
7077
7136
|
/**
|
|
7078
7137
|
* Disallow assigning to built-in error properties.
|
|
7079
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7138
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-error-property-assignment.md
|
|
7080
7139
|
*/
|
|
7081
7140
|
'unicorn/no-error-property-assignment'?: Linter.RuleEntry<[]>;
|
|
7082
7141
|
/**
|
|
7083
7142
|
* Disallow exports in scripts.
|
|
7084
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7143
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-exports-in-scripts.md
|
|
7085
7144
|
*/
|
|
7086
7145
|
'unicorn/no-exports-in-scripts'?: Linter.RuleEntry<[]>;
|
|
7087
7146
|
/**
|
|
7088
7147
|
* Prefer `for…of` over the `forEach` method.
|
|
7089
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7148
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-for-each.md
|
|
7090
7149
|
*/
|
|
7091
7150
|
'unicorn/no-for-each'?: Linter.RuleEntry<[]>;
|
|
7092
7151
|
/**
|
|
7093
7152
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
7094
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7153
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-for-loop.md
|
|
7095
7154
|
*/
|
|
7096
7155
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>;
|
|
7097
7156
|
/**
|
|
7098
7157
|
* Disallow assigning properties on the global object.
|
|
7099
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7158
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-global-object-property-assignment.md
|
|
7100
7159
|
*/
|
|
7101
7160
|
'unicorn/no-global-object-property-assignment'?: Linter.RuleEntry<[]>;
|
|
7102
7161
|
/**
|
|
7103
7162
|
* Replaced by `unicorn/prefer-literal-ascii` and `unicorn/prefer-unicode-code-point-escapes`, which cover more cases.
|
|
7104
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7163
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#no-hex-escape
|
|
7105
7164
|
* @deprecated
|
|
7106
7165
|
*/
|
|
7107
7166
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>;
|
|
7108
7167
|
/**
|
|
7109
7168
|
* Disallow immediate mutation after assignment and initialization immediately after declaration.
|
|
7110
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7169
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-immediate-mutation.md
|
|
7111
7170
|
*/
|
|
7112
7171
|
'unicorn/no-immediate-mutation'?: Linter.RuleEntry<UnicornNoImmediateMutation>;
|
|
7113
7172
|
/**
|
|
7114
7173
|
* Disallow impossible comparisons against `.length` or `.size`.
|
|
7115
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7174
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-impossible-length-comparison.md
|
|
7116
7175
|
*/
|
|
7117
7176
|
'unicorn/no-impossible-length-comparison'?: Linter.RuleEntry<[]>;
|
|
7118
7177
|
/**
|
|
7119
7178
|
* Disallow class accessors that hide an inherited getter or setter.
|
|
7120
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7179
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-incomplete-accessor-override.md
|
|
7121
7180
|
*/
|
|
7122
7181
|
'unicorn/no-incomplete-accessor-override'?: Linter.RuleEntry<[]>;
|
|
7123
7182
|
/**
|
|
7124
7183
|
* Disallow incorrect `querySelector()` and `querySelectorAll()` usage.
|
|
7125
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7184
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-incorrect-query-selector.md
|
|
7126
7185
|
*/
|
|
7127
7186
|
'unicorn/no-incorrect-query-selector'?: Linter.RuleEntry<[]>;
|
|
7128
7187
|
/**
|
|
7129
7188
|
* Disallow incorrect template literal interpolation syntax.
|
|
7130
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7189
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-incorrect-template-string-interpolation.md
|
|
7131
7190
|
*/
|
|
7132
7191
|
'unicorn/no-incorrect-template-string-interpolation'?: Linter.RuleEntry<[]>;
|
|
7133
7192
|
/**
|
|
7134
7193
|
* Disallow ineffective CSP directives in `<meta>` elements.
|
|
7135
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7194
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-ineffective-csp-directives.md
|
|
7136
7195
|
*/
|
|
7137
7196
|
'unicorn/no-ineffective-csp-directives'?: Linter.RuleEntry<[]>;
|
|
7138
7197
|
/**
|
|
7139
7198
|
* Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
|
|
7140
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7199
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
|
|
7141
7200
|
* @deprecated
|
|
7142
7201
|
*/
|
|
7143
7202
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>;
|
|
7144
7203
|
/**
|
|
7145
7204
|
* Disallow `instanceof` with built-in objects
|
|
7146
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7205
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-instanceof-builtins.md
|
|
7147
7206
|
*/
|
|
7148
7207
|
'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
|
|
7149
7208
|
/**
|
|
7150
7209
|
* Disallow calling functions and constructors with an invalid number of arguments.
|
|
7151
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7210
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-invalid-argument-count.md
|
|
7152
7211
|
*/
|
|
7153
7212
|
'unicorn/no-invalid-argument-count'?: Linter.RuleEntry<UnicornNoInvalidArgumentCount>;
|
|
7154
7213
|
/**
|
|
7155
7214
|
* Disallow invalid values for HTML boolean attributes.
|
|
7156
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7215
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-invalid-boolean-attribute-value.md
|
|
7157
7216
|
*/
|
|
7158
7217
|
'unicorn/no-invalid-boolean-attribute-value'?: Linter.RuleEntry<[]>;
|
|
7159
7218
|
/**
|
|
7160
7219
|
* Disallow comparing a single character from a string to a multi-character string.
|
|
7161
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7220
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-invalid-character-comparison.md
|
|
7162
7221
|
*/
|
|
7163
7222
|
'unicorn/no-invalid-character-comparison'?: Linter.RuleEntry<[]>;
|
|
7164
7223
|
/**
|
|
7165
7224
|
* Disallow invalid DOM tokens.
|
|
7166
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7225
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-invalid-dom-token.md
|
|
7167
7226
|
*/
|
|
7168
7227
|
'unicorn/no-invalid-dom-token'?: Linter.RuleEntry<[]>;
|
|
7169
7228
|
/**
|
|
7170
7229
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
7171
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7230
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-invalid-fetch-options.md
|
|
7172
7231
|
*/
|
|
7173
7232
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>;
|
|
7174
7233
|
/**
|
|
7175
7234
|
* Disallow invalid `accept` values on file inputs.
|
|
7176
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7235
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-invalid-file-input-accept.md
|
|
7177
7236
|
*/
|
|
7178
7237
|
'unicorn/no-invalid-file-input-accept'?: Linter.RuleEntry<[]>;
|
|
7179
7238
|
/**
|
|
7180
7239
|
* Disallow invalid subresource integrity metadata.
|
|
7181
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7240
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-invalid-integrity.md
|
|
7182
7241
|
*/
|
|
7183
7242
|
'unicorn/no-invalid-integrity'?: Linter.RuleEntry<[]>;
|
|
7184
7243
|
/**
|
|
7185
7244
|
* Disallow invalid or ignored Intl options.
|
|
7186
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7245
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-invalid-intl-options.md
|
|
7187
7246
|
*/
|
|
7188
7247
|
'unicorn/no-invalid-intl-options'?: Linter.RuleEntry<[]>;
|
|
7189
7248
|
/**
|
|
7190
7249
|
* Moved to `eslint-cssicorn` as `cssicorn/no-invalid-media-features`.
|
|
7191
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7250
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#no-invalid-media-features
|
|
7192
7251
|
* @deprecated
|
|
7193
7252
|
*/
|
|
7194
7253
|
'unicorn/no-invalid-media-features'?: Linter.RuleEntry<[]>;
|
|
7195
7254
|
/**
|
|
7196
7255
|
* Disallow invalid property descriptors.
|
|
7197
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7256
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-invalid-property-descriptor.md
|
|
7198
7257
|
*/
|
|
7199
7258
|
'unicorn/no-invalid-property-descriptor'?: Linter.RuleEntry<[]>;
|
|
7200
7259
|
/**
|
|
7201
7260
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
7202
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7261
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-invalid-remove-event-listener.md
|
|
7203
7262
|
*/
|
|
7204
7263
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>;
|
|
7205
7264
|
/**
|
|
7206
7265
|
* Disallow invalid options in `new Response()`, `Response.json()`, and `Response.redirect()`.
|
|
7207
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7266
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-invalid-response-options.md
|
|
7208
7267
|
*/
|
|
7209
7268
|
'unicorn/no-invalid-response-options'?: Linter.RuleEntry<[]>;
|
|
7210
7269
|
/**
|
|
7211
7270
|
* Disallow invalid arguments to `CSSStyleDeclaration#setProperty()`.
|
|
7212
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7271
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-invalid-style-set-property.md
|
|
7213
7272
|
*/
|
|
7214
7273
|
'unicorn/no-invalid-style-set-property'?: Linter.RuleEntry<[]>;
|
|
7215
7274
|
/**
|
|
7216
7275
|
* Disallow statically known invalid Temporal arithmetic.
|
|
7217
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7276
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-invalid-temporal-arithmetic.md
|
|
7218
7277
|
*/
|
|
7219
7278
|
'unicorn/no-invalid-temporal-arithmetic'?: Linter.RuleEntry<[]>;
|
|
7220
7279
|
/**
|
|
7221
7280
|
* Disallow invalid protocol strings in comparisons with `URL#protocol`.
|
|
7222
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7281
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-invalid-url-protocol-comparison.md
|
|
7223
7282
|
*/
|
|
7224
7283
|
'unicorn/no-invalid-url-protocol-comparison'?: Linter.RuleEntry<[]>;
|
|
7225
7284
|
/**
|
|
7226
7285
|
* Disallow invalid implementations of well-known symbol methods.
|
|
7227
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7286
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-invalid-well-known-symbol-methods.md
|
|
7228
7287
|
*/
|
|
7229
7288
|
'unicorn/no-invalid-well-known-symbol-methods'?: Linter.RuleEntry<[]>;
|
|
7230
7289
|
/**
|
|
7231
7290
|
* Disallow `javascript:` URLs in Markdown.
|
|
7232
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7291
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-javascript-url.md
|
|
7233
7292
|
*/
|
|
7234
7293
|
'unicorn/no-javascript-url'?: Linter.RuleEntry<[]>;
|
|
7235
7294
|
/**
|
|
7236
7295
|
* Disallow identifiers starting with `new` or `class`.
|
|
7237
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7296
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-keyword-prefix.md
|
|
7238
7297
|
*/
|
|
7239
7298
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
|
|
7240
7299
|
/**
|
|
7241
7300
|
* Disallow accessing `event.currentTarget` after the synchronous event dispatch has finished.
|
|
7242
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7301
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-late-current-target-access.md
|
|
7243
7302
|
*/
|
|
7244
7303
|
'unicorn/no-late-current-target-access'?: Linter.RuleEntry<[]>;
|
|
7245
7304
|
/**
|
|
7246
7305
|
* Disallow event-control method calls after the synchronous event dispatch has finished.
|
|
7247
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7306
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-late-event-control.md
|
|
7248
7307
|
*/
|
|
7249
7308
|
'unicorn/no-late-event-control'?: Linter.RuleEntry<[]>;
|
|
7250
7309
|
/**
|
|
7251
7310
|
* Disallow empty lines at the beginning of a file.
|
|
7252
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7311
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-leading-empty-lines.md
|
|
7253
7312
|
*/
|
|
7254
7313
|
'unicorn/no-leading-empty-lines'?: Linter.RuleEntry<[]>;
|
|
7255
7314
|
/**
|
|
7256
7315
|
* Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
|
|
7257
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7316
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
|
|
7258
7317
|
* @deprecated
|
|
7259
7318
|
*/
|
|
7260
7319
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>;
|
|
7261
7320
|
/**
|
|
7262
7321
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
7263
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7322
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-lonely-if.md
|
|
7264
7323
|
*/
|
|
7265
7324
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>;
|
|
7266
7325
|
/**
|
|
7267
7326
|
* Disallow mutating a loop iterable during iteration.
|
|
7268
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7327
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-loop-iterable-mutation.md
|
|
7269
7328
|
*/
|
|
7270
7329
|
'unicorn/no-loop-iterable-mutation'?: Linter.RuleEntry<[]>;
|
|
7271
7330
|
/**
|
|
7272
7331
|
* Disallow numeric literals that lose precision when represented as IEEE 754 binary64 values.
|
|
7273
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7332
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-loss-of-precision.md
|
|
7274
7333
|
*/
|
|
7275
7334
|
'unicorn/no-loss-of-precision'?: Linter.RuleEntry<[]>;
|
|
7276
7335
|
/**
|
|
7277
7336
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
7278
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7337
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-magic-array-flat-depth.md
|
|
7279
7338
|
*/
|
|
7280
7339
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>;
|
|
7281
7340
|
/**
|
|
7282
7341
|
* Disallow manually wrapped comments.
|
|
7283
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7342
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-manually-wrapped-comments.md
|
|
7284
7343
|
*/
|
|
7285
7344
|
'unicorn/no-manually-wrapped-comments'?: Linter.RuleEntry<[]>;
|
|
7286
7345
|
/**
|
|
7287
7346
|
* Disallow checking a Map key before accessing a different key.
|
|
7288
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7347
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-mismatched-map-key.md
|
|
7289
7348
|
*/
|
|
7290
7349
|
'unicorn/no-mismatched-map-key'?: Linter.RuleEntry<[]>;
|
|
7291
7350
|
/**
|
|
7292
7351
|
* Disallow misrefactored compound assignments where the target is duplicated in the right-hand side.
|
|
7293
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7352
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-misrefactored-assignment.md
|
|
7294
7353
|
*/
|
|
7295
7354
|
'unicorn/no-misrefactored-assignment'?: Linter.RuleEntry<[]>;
|
|
7296
7355
|
/**
|
|
7297
7356
|
* Disallow references to missing local resources.
|
|
7298
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7357
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-missing-local-resource.md
|
|
7299
7358
|
*/
|
|
7300
7359
|
'unicorn/no-missing-local-resource'?: Linter.RuleEntry<[]>;
|
|
7301
7360
|
/**
|
|
7302
7361
|
* Disallow calling Promise executor resolver functions more than once on the same execution path.
|
|
7303
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7362
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-multiple-promise-resolver-calls.md
|
|
7304
7363
|
*/
|
|
7305
7364
|
'unicorn/no-multiple-promise-resolver-calls'?: Linter.RuleEntry<[]>;
|
|
7306
7365
|
/**
|
|
7307
7366
|
* Disallow named usage of default import and export.
|
|
7308
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7367
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-named-default.md
|
|
7309
7368
|
*/
|
|
7310
7369
|
'unicorn/no-named-default'?: Linter.RuleEntry<[]>;
|
|
7311
7370
|
/**
|
|
7312
7371
|
* Disallow negated array predicate calls.
|
|
7313
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7372
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-negated-array-predicate.md
|
|
7314
7373
|
*/
|
|
7315
7374
|
'unicorn/no-negated-array-predicate'?: Linter.RuleEntry<[]>;
|
|
7316
7375
|
/**
|
|
7317
7376
|
* Disallow negated comparisons.
|
|
7318
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7377
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-negated-comparison.md
|
|
7319
7378
|
*/
|
|
7320
7379
|
'unicorn/no-negated-comparison'?: Linter.RuleEntry<UnicornNoNegatedComparison>;
|
|
7321
7380
|
/**
|
|
7322
7381
|
* Disallow negated conditions.
|
|
7323
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7382
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-negated-condition.md
|
|
7324
7383
|
*/
|
|
7325
7384
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>;
|
|
7326
7385
|
/**
|
|
7327
7386
|
* Disallow negated expression in equality check.
|
|
7328
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7387
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-negation-in-equality-check.md
|
|
7329
7388
|
*/
|
|
7330
7389
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>;
|
|
7331
7390
|
/**
|
|
7332
7391
|
* Disallow nested ternary expressions.
|
|
7333
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7392
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-nested-ternary.md
|
|
7334
7393
|
*/
|
|
7335
7394
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>;
|
|
7336
7395
|
/**
|
|
7337
7396
|
* Moved to `eslint-cssicorn` as `cssicorn/no-nesting-with-mixed-specificity`.
|
|
7338
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7397
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#no-nesting-with-mixed-specificity
|
|
7339
7398
|
* @deprecated
|
|
7340
7399
|
*/
|
|
7341
7400
|
'unicorn/no-nesting-with-mixed-specificity'?: Linter.RuleEntry<[]>;
|
|
7342
7401
|
/**
|
|
7343
7402
|
* Disallow `new Array()`.
|
|
7344
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7403
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-new-array.md
|
|
7345
7404
|
*/
|
|
7346
7405
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>;
|
|
7347
7406
|
/**
|
|
7348
7407
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
7349
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7408
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-new-buffer.md
|
|
7350
7409
|
*/
|
|
7351
7410
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>;
|
|
7352
7411
|
/**
|
|
7353
7412
|
* Disallow non-function values with function-style verb prefixes.
|
|
7354
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7413
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-non-function-verb-prefix.md
|
|
7355
7414
|
*/
|
|
7356
7415
|
'unicorn/no-non-function-verb-prefix'?: Linter.RuleEntry<UnicornNoNonFunctionVerbPrefix>;
|
|
7357
7416
|
/**
|
|
7358
7417
|
* Disallow non-standard properties on built-in objects.
|
|
7359
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7418
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-nonstandard-builtin-properties.md
|
|
7360
7419
|
*/
|
|
7361
7420
|
'unicorn/no-nonstandard-builtin-properties'?: Linter.RuleEntry<[]>;
|
|
7362
7421
|
/**
|
|
7363
7422
|
* Disallow the use of the `null` literal.
|
|
7364
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7423
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-null.md
|
|
7365
7424
|
*/
|
|
7366
7425
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>;
|
|
7367
7426
|
/**
|
|
7368
7427
|
* Disallow the use of objects as default parameters.
|
|
7369
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7428
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-object-as-default-parameter.md
|
|
7370
7429
|
*/
|
|
7371
7430
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>;
|
|
7372
7431
|
/**
|
|
7373
7432
|
* Disallow `Object` methods with `Map` or `Set`.
|
|
7374
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7433
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-object-methods-with-collections.md
|
|
7375
7434
|
*/
|
|
7376
7435
|
'unicorn/no-object-methods-with-collections'?: Linter.RuleEntry<[]>;
|
|
7377
7436
|
/**
|
|
7378
7437
|
* Disallow optional chaining on undeclared variables.
|
|
7379
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7438
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-optional-chaining-on-undeclared-variable.md
|
|
7380
7439
|
*/
|
|
7381
7440
|
'unicorn/no-optional-chaining-on-undeclared-variable'?: Linter.RuleEntry<[]>;
|
|
7382
7441
|
/**
|
|
7383
7442
|
* Disallow ineffective `preventDefault()` calls in passive event listeners.
|
|
7384
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7443
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-prevent-default-in-passive-listener.md
|
|
7385
7444
|
*/
|
|
7386
7445
|
'unicorn/no-prevent-default-in-passive-listener'?: Linter.RuleEntry<[]>;
|
|
7387
7446
|
/**
|
|
7388
7447
|
* Disallow `process.exit()`.
|
|
7389
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7448
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-process-exit.md
|
|
7390
7449
|
*/
|
|
7391
7450
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>;
|
|
7392
7451
|
/**
|
|
7393
7452
|
* Disallow comparisons made redundant by an equality check in the same logical AND.
|
|
7394
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7453
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-redundant-comparison.md
|
|
7395
7454
|
*/
|
|
7396
7455
|
'unicorn/no-redundant-comparison'?: Linter.RuleEntry<[]>;
|
|
7397
7456
|
/**
|
|
7398
7457
|
* Moved to `eslint-cssicorn` as `cssicorn/no-redundant-nested-style-rules`.
|
|
7399
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7458
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#no-redundant-nested-style-rules
|
|
7400
7459
|
* @deprecated
|
|
7401
7460
|
*/
|
|
7402
7461
|
'unicorn/no-redundant-nested-style-rules'?: Linter.RuleEntry<[]>;
|
|
7403
7462
|
/**
|
|
7404
7463
|
* Disallow repeating the same wrapper at every call to a function.
|
|
7405
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7464
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-repeated-call-wrappers.md
|
|
7406
7465
|
*/
|
|
7407
7466
|
'unicorn/no-repeated-call-wrappers'?: Linter.RuleEntry<[]>;
|
|
7408
7467
|
/**
|
|
7409
7468
|
* Disallow using the return value of `Array#push()` and `Array#unshift()`.
|
|
7410
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7469
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-return-array-push.md
|
|
7411
7470
|
*/
|
|
7412
7471
|
'unicorn/no-return-array-push'?: Linter.RuleEntry<[]>;
|
|
7413
7472
|
/**
|
|
7414
7473
|
* Disallow selector syntax in DOM names.
|
|
7415
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7474
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-selector-as-dom-name.md
|
|
7416
7475
|
*/
|
|
7417
7476
|
'unicorn/no-selector-as-dom-name'?: Linter.RuleEntry<[]>;
|
|
7418
7477
|
/**
|
|
7419
7478
|
* Disallow shorthand properties that override related longhand properties.
|
|
7420
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7479
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-shorthand-property-overrides.md
|
|
7421
7480
|
*/
|
|
7422
7481
|
'unicorn/no-shorthand-property-overrides'?: Linter.RuleEntry<[]>;
|
|
7423
7482
|
/**
|
|
7424
7483
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
7425
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7484
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-single-promise-in-promise-methods.md
|
|
7426
7485
|
*/
|
|
7427
7486
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
7428
7487
|
/**
|
|
7429
7488
|
* Disallow classes that only have static members.
|
|
7430
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7489
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-static-only-class.md
|
|
7431
7490
|
*/
|
|
7432
7491
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>;
|
|
7433
7492
|
/**
|
|
7434
7493
|
* Prefer comparing values directly over subtracting and comparing to `0`.
|
|
7435
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7494
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-subtraction-comparison.md
|
|
7436
7495
|
*/
|
|
7437
7496
|
'unicorn/no-subtraction-comparison'?: Linter.RuleEntry<[]>;
|
|
7438
7497
|
/**
|
|
7439
7498
|
* Disallow `then` property.
|
|
7440
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7499
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-thenable.md
|
|
7441
7500
|
*/
|
|
7442
7501
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>;
|
|
7443
7502
|
/**
|
|
7444
7503
|
* Disallow assigning `this` to a variable.
|
|
7445
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7504
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-this-assignment.md
|
|
7446
7505
|
*/
|
|
7447
7506
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>;
|
|
7448
7507
|
/**
|
|
7449
7508
|
* Disallow `this` outside of classes.
|
|
7450
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7509
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-this-outside-of-class.md
|
|
7451
7510
|
*/
|
|
7452
7511
|
'unicorn/no-this-outside-of-class'?: Linter.RuleEntry<[]>;
|
|
7453
7512
|
/**
|
|
7454
7513
|
* Disallow assigning to top-level variables from inside functions.
|
|
7455
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7514
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-top-level-assignment-in-function.md
|
|
7456
7515
|
*/
|
|
7457
7516
|
'unicorn/no-top-level-assignment-in-function'?: Linter.RuleEntry<[]>;
|
|
7458
7517
|
/**
|
|
7459
7518
|
* Disallow top-level side effects in exported modules.
|
|
7460
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7519
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-top-level-side-effects.md
|
|
7461
7520
|
*/
|
|
7462
7521
|
'unicorn/no-top-level-side-effects'?: Linter.RuleEntry<UnicornNoTopLevelSideEffects>;
|
|
7463
7522
|
/**
|
|
7464
7523
|
* Disallow `all` as a transition property.
|
|
7465
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7524
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-transition-all.md
|
|
7466
7525
|
*/
|
|
7467
7526
|
'unicorn/no-transition-all'?: Linter.RuleEntry<[]>;
|
|
7468
7527
|
/**
|
|
7469
7528
|
* Disallow comparing `undefined` using `typeof`.
|
|
7470
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7529
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-typeof-undefined.md
|
|
7471
7530
|
*/
|
|
7472
7531
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
|
|
7473
7532
|
/**
|
|
7474
7533
|
* Disallow referencing methods without calling them.
|
|
7475
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7534
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-uncalled-method.md
|
|
7476
7535
|
*/
|
|
7477
7536
|
'unicorn/no-uncalled-method'?: Linter.RuleEntry<[]>;
|
|
7478
7537
|
/**
|
|
7479
7538
|
* Require class members to be declared.
|
|
7480
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7539
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-undeclared-class-members.md
|
|
7481
7540
|
*/
|
|
7482
7541
|
'unicorn/no-undeclared-class-members'?: Linter.RuleEntry<[]>;
|
|
7483
7542
|
/**
|
|
7484
7543
|
* Moved to `eslint-cssicorn` as `cssicorn/no-unknown-annotations`.
|
|
7485
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7544
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#no-unknown-css-annotations
|
|
7486
7545
|
* @deprecated
|
|
7487
7546
|
*/
|
|
7488
7547
|
'unicorn/no-unknown-css-annotations'?: Linter.RuleEntry<[]>;
|
|
7489
7548
|
/**
|
|
7490
7549
|
* Moved to `eslint-cssicorn` as `cssicorn/no-unknown-pseudo-selectors`.
|
|
7491
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7550
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#no-unknown-pseudo-selectors
|
|
7492
7551
|
* @deprecated
|
|
7493
7552
|
*/
|
|
7494
7553
|
'unicorn/no-unknown-pseudo-selectors'?: Linter.RuleEntry<[]>;
|
|
7495
7554
|
/**
|
|
7496
7555
|
* Disallow using `1` as the `depth` argument of `Array#flat()`.
|
|
7497
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7556
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-unnecessary-array-flat-depth.md
|
|
7498
7557
|
*/
|
|
7499
7558
|
'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>;
|
|
7500
7559
|
/**
|
|
7501
7560
|
* Disallow unnecessary use of `Array#flatMap()`.
|
|
7502
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7561
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-unnecessary-array-flat-map.md
|
|
7503
7562
|
*/
|
|
7504
7563
|
'unicorn/no-unnecessary-array-flat-map'?: Linter.RuleEntry<[]>;
|
|
7505
7564
|
/**
|
|
7506
7565
|
* Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
|
|
7507
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7566
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-unnecessary-array-splice-count.md
|
|
7508
7567
|
*/
|
|
7509
7568
|
'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>;
|
|
7510
7569
|
/**
|
|
7511
7570
|
* Disallow awaiting non-promise values.
|
|
7512
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7571
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-unnecessary-await.md
|
|
7513
7572
|
*/
|
|
7514
7573
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>;
|
|
7515
7574
|
/**
|
|
7516
7575
|
* Disallow unnecessary comparisons against boolean literals.
|
|
7517
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7576
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-unnecessary-boolean-comparison.md
|
|
7518
7577
|
*/
|
|
7519
7578
|
'unicorn/no-unnecessary-boolean-comparison'?: Linter.RuleEntry<[]>;
|
|
7520
7579
|
/**
|
|
7521
7580
|
* Disallow arguments that match their parameter defaults.
|
|
7522
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7581
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-unnecessary-default-arguments.md
|
|
7523
7582
|
*/
|
|
7524
7583
|
'unicorn/no-unnecessary-default-arguments'?: Linter.RuleEntry<[]>;
|
|
7525
7584
|
/**
|
|
7526
7585
|
* Disallow unnecessary options in `fetch()` and `new Request()`.
|
|
7527
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7586
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-unnecessary-fetch-options.md
|
|
7528
7587
|
*/
|
|
7529
7588
|
'unicorn/no-unnecessary-fetch-options'?: Linter.RuleEntry<[]>;
|
|
7530
7589
|
/**
|
|
7531
7590
|
* Disallow unnecessary `globalThis` references.
|
|
7532
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7591
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-unnecessary-global-this.md
|
|
7533
7592
|
*/
|
|
7534
7593
|
'unicorn/no-unnecessary-global-this'?: Linter.RuleEntry<[]>;
|
|
7535
7594
|
/**
|
|
7536
7595
|
* Disallow unnecessary nested ternary expressions.
|
|
7537
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7596
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-unnecessary-nested-ternary.md
|
|
7538
7597
|
*/
|
|
7539
7598
|
'unicorn/no-unnecessary-nested-ternary'?: Linter.RuleEntry<[]>;
|
|
7540
7599
|
/**
|
|
7541
7600
|
* Disallow parameters that receive the same value at every call.
|
|
7542
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7601
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-unnecessary-parameters.md
|
|
7543
7602
|
*/
|
|
7544
7603
|
'unicorn/no-unnecessary-parameters'?: Linter.RuleEntry<UnicornNoUnnecessaryParameters>;
|
|
7545
7604
|
/**
|
|
7546
7605
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
7547
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7606
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-unnecessary-polyfills.md
|
|
7548
7607
|
*/
|
|
7549
7608
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
|
|
7550
7609
|
/**
|
|
7551
7610
|
* Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
7552
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7611
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-unnecessary-slice-end.md
|
|
7553
7612
|
*/
|
|
7554
7613
|
'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>;
|
|
7555
7614
|
/**
|
|
7556
7615
|
* Disallow `Array#splice()` when simpler alternatives exist.
|
|
7557
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7616
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-unnecessary-splice.md
|
|
7558
7617
|
*/
|
|
7559
7618
|
'unicorn/no-unnecessary-splice'?: Linter.RuleEntry<[]>;
|
|
7560
7619
|
/**
|
|
7561
7620
|
* Disallow `String#trim()` before `String#startsWith()` or `String#endsWith()`.
|
|
7562
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7621
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-unnecessary-string-trim.md
|
|
7563
7622
|
*/
|
|
7564
7623
|
'unicorn/no-unnecessary-string-trim'?: Linter.RuleEntry<[]>;
|
|
7565
7624
|
/**
|
|
7566
7625
|
* Disallow unreadable array destructuring.
|
|
7567
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7626
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-unreadable-array-destructuring.md
|
|
7568
7627
|
*/
|
|
7569
7628
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<UnicornNoUnreadableArrayDestructuring>;
|
|
7570
7629
|
/**
|
|
7571
7630
|
* Disallow unreadable iterable expressions in `for…of` and `for await…of` loop headers.
|
|
7572
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7631
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-unreadable-for-of-expression.md
|
|
7573
7632
|
*/
|
|
7574
7633
|
'unicorn/no-unreadable-for-of-expression'?: Linter.RuleEntry<[]>;
|
|
7575
7634
|
/**
|
|
7576
7635
|
* Disallow unreadable IIFEs.
|
|
7577
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7636
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-unreadable-iife.md
|
|
7578
7637
|
*/
|
|
7579
7638
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>;
|
|
7580
7639
|
/**
|
|
7581
7640
|
* Disallow unreadable `new` expressions.
|
|
7582
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7641
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-unreadable-new-expression.md
|
|
7583
7642
|
*/
|
|
7584
7643
|
'unicorn/no-unreadable-new-expression'?: Linter.RuleEntry<[]>;
|
|
7585
7644
|
/**
|
|
7586
7645
|
* Disallow unreadable object destructuring.
|
|
7587
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7646
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-unreadable-object-destructuring.md
|
|
7588
7647
|
*/
|
|
7589
7648
|
'unicorn/no-unreadable-object-destructuring'?: Linter.RuleEntry<[]>;
|
|
7590
7649
|
/**
|
|
7591
7650
|
* Prevent unsafe use of ArrayBuffer view `.buffer`.
|
|
7592
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7651
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-unsafe-buffer-conversion.md
|
|
7593
7652
|
*/
|
|
7594
7653
|
'unicorn/no-unsafe-buffer-conversion'?: Linter.RuleEntry<[]>;
|
|
7595
7654
|
/**
|
|
7596
7655
|
* Disallow unsafe DOM HTML APIs.
|
|
7597
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7656
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-unsafe-dom-html.md
|
|
7598
7657
|
*/
|
|
7599
7658
|
'unicorn/no-unsafe-dom-html'?: Linter.RuleEntry<[]>;
|
|
7600
7659
|
/**
|
|
7601
7660
|
* Disallow known values that JSON serialization cannot represent faithfully.
|
|
7602
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7661
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-unsafe-json-serialization.md
|
|
7603
7662
|
*/
|
|
7604
7663
|
'unicorn/no-unsafe-json-serialization'?: Linter.RuleEntry<[]>;
|
|
7605
7664
|
/**
|
|
7606
7665
|
* Disallow reading `.value` from `Promise.allSettled()` results without a fulfilled status guard.
|
|
7607
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7666
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-unsafe-promise-all-settled-values.md
|
|
7608
7667
|
*/
|
|
7609
7668
|
'unicorn/no-unsafe-promise-all-settled-values'?: Linter.RuleEntry<[]>;
|
|
7610
7669
|
/**
|
|
7611
7670
|
* Disallow unsafe values as property keys.
|
|
7612
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7671
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-unsafe-property-key.md
|
|
7613
7672
|
*/
|
|
7614
7673
|
'unicorn/no-unsafe-property-key'?: Linter.RuleEntry<[]>;
|
|
7615
7674
|
/**
|
|
7616
7675
|
* Disallow interpolation into SQL strings passed to Node’s `node:sqlite` APIs.
|
|
7617
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7676
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-unsafe-sqlite-interpolation.md
|
|
7618
7677
|
*/
|
|
7619
7678
|
'unicorn/no-unsafe-sqlite-interpolation'?: Linter.RuleEntry<[]>;
|
|
7620
7679
|
/**
|
|
7621
7680
|
* Disallow non-literal replacement values in `String#replace()` and `String#replaceAll()`.
|
|
7622
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7681
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-unsafe-string-replacement.md
|
|
7623
7682
|
*/
|
|
7624
7683
|
'unicorn/no-unsafe-string-replacement'?: Linter.RuleEntry<[]>;
|
|
7625
7684
|
/**
|
|
7626
7685
|
* Moved to `eslint-cssicorn` as `cssicorn/no-unscoped-nesting-selector`.
|
|
7627
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7686
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#no-unscoped-css-nesting-selector
|
|
7628
7687
|
* @deprecated
|
|
7629
7688
|
*/
|
|
7630
7689
|
'unicorn/no-unscoped-css-nesting-selector'?: Linter.RuleEntry<[]>;
|
|
7631
7690
|
/**
|
|
7632
7691
|
* Replaced by `unicorn/no-unused-builtin-method-return` which covers more cases.
|
|
7633
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7692
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#no-unused-array-method-return
|
|
7634
7693
|
* @deprecated
|
|
7635
7694
|
*/
|
|
7636
7695
|
'unicorn/no-unused-array-method-return'?: Linter.RuleEntry<[]>;
|
|
7637
7696
|
/**
|
|
7638
7697
|
* Disallow ignoring the return value of selected built-in methods.
|
|
7639
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7698
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-unused-builtin-method-return.md
|
|
7640
7699
|
*/
|
|
7641
7700
|
'unicorn/no-unused-builtin-method-return'?: Linter.RuleEntry<[]>;
|
|
7642
7701
|
/**
|
|
7643
7702
|
* Disallow discarding lazy iterator helpers.
|
|
7644
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7703
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-unused-iterator-helper.md
|
|
7645
7704
|
*/
|
|
7646
7705
|
'unicorn/no-unused-iterator-helper'?: Linter.RuleEntry<[]>;
|
|
7647
7706
|
/**
|
|
7648
7707
|
* Disallow unused object properties.
|
|
7649
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7708
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-unused-properties.md
|
|
7650
7709
|
*/
|
|
7651
7710
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>;
|
|
7652
7711
|
/**
|
|
7653
7712
|
* Disallow passing full URLs to `URLSearchParams`.
|
|
7654
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7713
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-url-in-search-params.md
|
|
7655
7714
|
*/
|
|
7656
7715
|
'unicorn/no-url-in-search-params'?: Linter.RuleEntry<[]>;
|
|
7657
7716
|
/**
|
|
7658
7717
|
* Disallow unnecessary `Boolean()` casts in array predicate callbacks.
|
|
7659
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7718
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-useless-boolean-cast.md
|
|
7660
7719
|
*/
|
|
7661
7720
|
'unicorn/no-useless-boolean-cast'?: Linter.RuleEntry<[]>;
|
|
7662
7721
|
/**
|
|
7663
7722
|
* Disallow useless type coercions of values that are already of the target type.
|
|
7664
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7723
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-useless-coercion.md
|
|
7665
7724
|
*/
|
|
7666
7725
|
'unicorn/no-useless-coercion'?: Linter.RuleEntry<[]>;
|
|
7667
7726
|
/**
|
|
7668
7727
|
* Disallow useless values or fallbacks in `Set`, `Map`, `WeakSet`, or `WeakMap`.
|
|
7669
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7728
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-useless-collection-argument.md
|
|
7670
7729
|
*/
|
|
7671
7730
|
'unicorn/no-useless-collection-argument'?: Linter.RuleEntry<[]>;
|
|
7672
7731
|
/**
|
|
7673
7732
|
* Disallow useless compound assignments such as `x += 0`.
|
|
7674
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7733
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-useless-compound-assignment.md
|
|
7675
7734
|
*/
|
|
7676
7735
|
'unicorn/no-useless-compound-assignment'?: Linter.RuleEntry<[]>;
|
|
7677
7736
|
/**
|
|
7678
7737
|
* Disallow useless concatenation of literals.
|
|
7679
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7738
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-useless-concat.md
|
|
7680
7739
|
*/
|
|
7681
7740
|
'unicorn/no-useless-concat'?: Linter.RuleEntry<[]>;
|
|
7682
7741
|
/**
|
|
7683
7742
|
* Disallow useless `continue` statements.
|
|
7684
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7743
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-useless-continue.md
|
|
7685
7744
|
*/
|
|
7686
7745
|
'unicorn/no-useless-continue'?: Linter.RuleEntry<[]>;
|
|
7687
7746
|
/**
|
|
7688
7747
|
* Disallow unnecessary existence checks before deletion.
|
|
7689
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7748
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-useless-delete-check.md
|
|
7690
7749
|
*/
|
|
7691
7750
|
'unicorn/no-useless-delete-check'?: Linter.RuleEntry<[]>;
|
|
7692
7751
|
/**
|
|
7693
7752
|
* Disallow `else` after a statement that exits.
|
|
7694
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7753
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-useless-else.md
|
|
7695
7754
|
*/
|
|
7696
7755
|
'unicorn/no-useless-else'?: Linter.RuleEntry<[]>;
|
|
7697
7756
|
/**
|
|
7698
7757
|
* Disallow unnecessary `Error.captureStackTrace(…)`.
|
|
7699
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7758
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-useless-error-capture-stack-trace.md
|
|
7700
7759
|
*/
|
|
7701
7760
|
'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>;
|
|
7702
7761
|
/**
|
|
7703
7762
|
* Disallow useless fallback when spreading in object literals.
|
|
7704
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7763
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-useless-fallback-in-spread.md
|
|
7705
7764
|
*/
|
|
7706
7765
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>;
|
|
7707
7766
|
/**
|
|
7708
7767
|
* Disallow unnecessary `.toArray()` on iterators.
|
|
7709
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7768
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-useless-iterator-to-array.md
|
|
7710
7769
|
*/
|
|
7711
7770
|
'unicorn/no-useless-iterator-to-array'?: Linter.RuleEntry<[]>;
|
|
7712
7771
|
/**
|
|
7713
7772
|
* Disallow useless array length check.
|
|
7714
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7773
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-useless-length-check.md
|
|
7715
7774
|
*/
|
|
7716
7775
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>;
|
|
7717
7776
|
/**
|
|
7718
7777
|
* Disallow unnecessary operands in logical expressions involving boolean literals.
|
|
7719
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7778
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-useless-logical-operand.md
|
|
7720
7779
|
*/
|
|
7721
7780
|
'unicorn/no-useless-logical-operand'?: Linter.RuleEntry<[]>;
|
|
7722
7781
|
/**
|
|
7723
7782
|
* Disallow useless overrides of class methods.
|
|
7724
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7783
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-useless-override.md
|
|
7725
7784
|
*/
|
|
7726
7785
|
'unicorn/no-useless-override'?: Linter.RuleEntry<[]>;
|
|
7727
7786
|
/**
|
|
7728
7787
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
7729
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7788
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-useless-promise-resolve-reject.md
|
|
7730
7789
|
*/
|
|
7731
7790
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>;
|
|
7732
7791
|
/**
|
|
7733
7792
|
* Disallow redundant re-exports.
|
|
7734
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7793
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-useless-re-export.md
|
|
7735
7794
|
*/
|
|
7736
7795
|
'unicorn/no-useless-re-export'?: Linter.RuleEntry<[]>;
|
|
7737
7796
|
/**
|
|
7738
7797
|
* Disallow simple recursive function calls that can be replaced with a loop.
|
|
7739
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7798
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-useless-recursion.md
|
|
7740
7799
|
*/
|
|
7741
7800
|
'unicorn/no-useless-recursion'?: Linter.RuleEntry<[]>;
|
|
7742
7801
|
/**
|
|
7743
7802
|
* Disallow unnecessary `Set` construction around `Set` methods.
|
|
7744
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7803
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-useless-set-construction.md
|
|
7745
7804
|
*/
|
|
7746
7805
|
'unicorn/no-useless-set-construction'?: Linter.RuleEntry<[]>;
|
|
7747
7806
|
/**
|
|
7748
7807
|
* Disallow unnecessary spread.
|
|
7749
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7808
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-useless-spread.md
|
|
7750
7809
|
*/
|
|
7751
7810
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>;
|
|
7752
7811
|
/**
|
|
7753
7812
|
* Disallow useless case in switch statements.
|
|
7754
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7813
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-useless-switch-case.md
|
|
7755
7814
|
*/
|
|
7756
7815
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>;
|
|
7757
7816
|
/**
|
|
7758
7817
|
* Disallow useless template literal expressions.
|
|
7759
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7818
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-useless-template-literals.md
|
|
7760
7819
|
*/
|
|
7761
7820
|
'unicorn/no-useless-template-literals'?: Linter.RuleEntry<[]>;
|
|
7762
7821
|
/**
|
|
7763
7822
|
* Disallow useless `undefined`.
|
|
7764
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7823
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-useless-undefined.md
|
|
7765
7824
|
*/
|
|
7766
7825
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>;
|
|
7767
7826
|
/**
|
|
7768
7827
|
* Disallow returning or exporting resources declared with `using`, including through capturing functions.
|
|
7769
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7828
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-using-resource-escape.md
|
|
7770
7829
|
*/
|
|
7771
7830
|
'unicorn/no-using-resource-escape'?: Linter.RuleEntry<[]>;
|
|
7772
7831
|
/**
|
|
7773
7832
|
* Disallow the bitwise XOR operator where exponentiation was likely intended.
|
|
7774
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7833
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-xor-as-exponentiation.md
|
|
7775
7834
|
*/
|
|
7776
7835
|
'unicorn/no-xor-as-exponentiation'?: Linter.RuleEntry<[]>;
|
|
7777
7836
|
/**
|
|
7778
7837
|
* Require consistent decimal numbers without redundant zeros.
|
|
7779
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7838
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-zero-fractions.md
|
|
7780
7839
|
*/
|
|
7781
7840
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>;
|
|
7782
7841
|
/**
|
|
7783
7842
|
* Enforce proper case for numeric literals.
|
|
7784
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7843
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/number-literal-case.md
|
|
7785
7844
|
*/
|
|
7786
7845
|
'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>;
|
|
7787
7846
|
/**
|
|
7788
7847
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
7789
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7848
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/numeric-separators-style.md
|
|
7790
7849
|
*/
|
|
7791
7850
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
|
|
7792
7851
|
/**
|
|
7793
7852
|
* Require assignment operator shorthand where possible.
|
|
7794
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7853
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/operator-assignment.md
|
|
7795
7854
|
*/
|
|
7796
7855
|
'unicorn/operator-assignment'?: Linter.RuleEntry<UnicornOperatorAssignment>;
|
|
7797
7856
|
/**
|
|
7798
7857
|
* Prefer `AbortSignal.any()` over manually forwarding abort events between signals.
|
|
7799
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7858
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-abort-signal-any.md
|
|
7800
7859
|
*/
|
|
7801
7860
|
'unicorn/prefer-abort-signal-any'?: Linter.RuleEntry<[]>;
|
|
7802
7861
|
/**
|
|
7803
7862
|
* Prefer `AbortSignal.timeout()` over manually aborting an `AbortController` with `setTimeout()`.
|
|
7804
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7863
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-abort-signal-timeout.md
|
|
7805
7864
|
*/
|
|
7806
7865
|
'unicorn/prefer-abort-signal-timeout'?: Linter.RuleEntry<[]>;
|
|
7807
7866
|
/**
|
|
7808
7867
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
7809
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7868
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-add-event-listener.md
|
|
7810
7869
|
*/
|
|
7811
7870
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>;
|
|
7812
7871
|
/**
|
|
7813
7872
|
* Prefer an options object over a boolean in `.addEventListener()`.
|
|
7814
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7873
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-add-event-listener-options.md
|
|
7815
7874
|
*/
|
|
7816
7875
|
'unicorn/prefer-add-event-listener-options'?: Linter.RuleEntry<[]>;
|
|
7817
7876
|
/**
|
|
7818
7877
|
* Prefer `AggregateError` when throwing collected errors.
|
|
7819
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7878
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-aggregate-error.md
|
|
7820
7879
|
*/
|
|
7821
7880
|
'unicorn/prefer-aggregate-error'?: Linter.RuleEntry<[]>;
|
|
7822
7881
|
/**
|
|
7823
7882
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
7824
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7883
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-array-find.md
|
|
7825
7884
|
*/
|
|
7826
7885
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>;
|
|
7827
7886
|
/**
|
|
7828
7887
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
7829
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7888
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-array-flat.md
|
|
7830
7889
|
*/
|
|
7831
7890
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>;
|
|
7832
7891
|
/**
|
|
7833
7892
|
* Prefer `.flatMap(…)` over `.map(…).flat()` and `.filter(…).flatMap(…)`.
|
|
7834
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7893
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-array-flat-map.md
|
|
7835
7894
|
*/
|
|
7836
7895
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>;
|
|
7837
7896
|
/**
|
|
7838
7897
|
* Prefer `Array.fromAsync()` over array accumulation loops.
|
|
7839
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7898
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-array-from-async.md
|
|
7840
7899
|
*/
|
|
7841
7900
|
'unicorn/prefer-array-from-async'?: Linter.RuleEntry<[]>;
|
|
7842
7901
|
/**
|
|
7843
7902
|
* Prefer using the `Array.from()` mapping function argument.
|
|
7844
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7903
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-array-from-map.md
|
|
7845
7904
|
*/
|
|
7846
7905
|
'unicorn/prefer-array-from-map'?: Linter.RuleEntry<[]>;
|
|
7847
7906
|
/**
|
|
7848
7907
|
* Prefer `Array.from({length}, …)` when creating range arrays.
|
|
7849
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7908
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-array-from-range.md
|
|
7850
7909
|
*/
|
|
7851
7910
|
'unicorn/prefer-array-from-range'?: Linter.RuleEntry<[]>;
|
|
7852
7911
|
/**
|
|
7853
7912
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
7854
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7913
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-array-index-of.md
|
|
7855
7914
|
*/
|
|
7856
7915
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>;
|
|
7857
7916
|
/**
|
|
7858
7917
|
* Prefer iterating an array directly or with `Array#keys()` over `Array#entries()` when the index or value is unused.
|
|
7859
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7918
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-array-iterable-methods.md
|
|
7860
7919
|
*/
|
|
7861
7920
|
'unicorn/prefer-array-iterable-methods'?: Linter.RuleEntry<[]>;
|
|
7862
7921
|
/**
|
|
7863
7922
|
* Prefer last-oriented array methods over `Array#reverse()` or `Array#toReversed()` followed by a method.
|
|
7864
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7923
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-array-last-methods.md
|
|
7865
7924
|
*/
|
|
7866
7925
|
'unicorn/prefer-array-last-methods'?: Linter.RuleEntry<[]>;
|
|
7867
7926
|
/**
|
|
7868
7927
|
* Prefer `Array#slice()` over `Array#splice()` when reading from the returned array.
|
|
7869
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7928
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-array-slice.md
|
|
7870
7929
|
*/
|
|
7871
7930
|
'unicorn/prefer-array-slice'?: Linter.RuleEntry<[]>;
|
|
7872
7931
|
/**
|
|
7873
7932
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
7874
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7933
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-array-some.md
|
|
7875
7934
|
*/
|
|
7876
7935
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>;
|
|
7877
7936
|
/**
|
|
7878
7937
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
7879
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7938
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-at.md
|
|
7880
7939
|
*/
|
|
7881
7940
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>;
|
|
7882
7941
|
/**
|
|
7883
7942
|
* Prefer `await` over promise chaining.
|
|
7884
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7943
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-await.md
|
|
7885
7944
|
*/
|
|
7886
7945
|
'unicorn/prefer-await'?: Linter.RuleEntry<[]>;
|
|
7887
7946
|
/**
|
|
7888
7947
|
* Prefer `BigInt` literals over the constructor.
|
|
7889
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7948
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-bigint-literals.md
|
|
7890
7949
|
*/
|
|
7891
7950
|
'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>;
|
|
7892
7951
|
/**
|
|
7893
7952
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
7894
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7953
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-blob-reading-methods.md
|
|
7895
7954
|
*/
|
|
7896
7955
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>;
|
|
7897
7956
|
/**
|
|
7898
7957
|
* Prefer block statements over IIFEs used only for scoping.
|
|
7899
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7958
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-block-statement-over-iife.md
|
|
7900
7959
|
*/
|
|
7901
7960
|
'unicorn/prefer-block-statement-over-iife'?: Linter.RuleEntry<[]>;
|
|
7902
7961
|
/**
|
|
7903
7962
|
* Prefer directly returning boolean expressions over `if` statements.
|
|
7904
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7963
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-boolean-return.md
|
|
7905
7964
|
*/
|
|
7906
7965
|
'unicorn/prefer-boolean-return'?: Linter.RuleEntry<[]>;
|
|
7907
7966
|
/**
|
|
7908
7967
|
* Prefer class field declarations over `this` assignments in constructors.
|
|
7909
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7968
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-class-fields.md
|
|
7910
7969
|
*/
|
|
7911
7970
|
'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>;
|
|
7912
7971
|
/**
|
|
7913
7972
|
* Prefer using `Element#classList.toggle()` to toggle class names.
|
|
7914
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7973
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-classlist-toggle.md
|
|
7915
7974
|
*/
|
|
7916
7975
|
'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>;
|
|
7917
7976
|
/**
|
|
7918
7977
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
7919
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7978
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-code-point.md
|
|
7920
7979
|
*/
|
|
7921
7980
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>;
|
|
7922
7981
|
/**
|
|
7923
7982
|
* Prefer combining consecutive guards with identical exit statements.
|
|
7924
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7983
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-combined-guards.md
|
|
7925
7984
|
*/
|
|
7926
7985
|
'unicorn/prefer-combined-guards'?: Linter.RuleEntry<UnicornPreferCombinedGuards>;
|
|
7927
7986
|
/**
|
|
7928
7987
|
* Prefer early continues over conditionals wrapping the remainder of the loop body.
|
|
7929
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7988
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-continue.md
|
|
7930
7989
|
*/
|
|
7931
7990
|
'unicorn/prefer-continue'?: Linter.RuleEntry<UnicornPreferContinue>;
|
|
7932
7991
|
/**
|
|
7933
7992
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
7934
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7993
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-date-now.md
|
|
7935
7994
|
*/
|
|
7936
7995
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>;
|
|
7937
7996
|
/**
|
|
7938
7997
|
* Prefer default parameters and destructuring defaults over reassignment and fallback expressions.
|
|
7939
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7998
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-default-parameters.md
|
|
7940
7999
|
*/
|
|
7941
8000
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<UnicornPreferDefaultParameters>;
|
|
7942
8001
|
/**
|
|
7943
8002
|
* Prefer direct iteration over default iterator method calls.
|
|
7944
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8003
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-direct-iteration.md
|
|
7945
8004
|
*/
|
|
7946
8005
|
'unicorn/prefer-direct-iteration'?: Linter.RuleEntry<[]>;
|
|
7947
8006
|
/**
|
|
7948
8007
|
* Prefer using `using`/`await using` over manual `try`/`finally` resource disposal.
|
|
7949
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8008
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-dispose.md
|
|
7950
8009
|
*/
|
|
7951
8010
|
'unicorn/prefer-dispose'?: Linter.RuleEntry<[]>;
|
|
7952
8011
|
/**
|
|
7953
8012
|
* Prefer `Element#append()` over `Node#appendChild()`.
|
|
7954
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8013
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-dom-node-append.md
|
|
7955
8014
|
*/
|
|
7956
8015
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>;
|
|
7957
8016
|
/**
|
|
7958
8017
|
* Renamed to `unicorn/dom-node-dataset`.
|
|
7959
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8018
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#prefer-dom-node-dataset
|
|
7960
8019
|
* @deprecated
|
|
7961
8020
|
*/
|
|
7962
8021
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>;
|
|
7963
8022
|
/**
|
|
7964
8023
|
* Prefer `.getHTML()` and `.setHTML()` over `.innerHTML`.
|
|
7965
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8024
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-dom-node-html-methods.md
|
|
7966
8025
|
*/
|
|
7967
8026
|
'unicorn/prefer-dom-node-html-methods'?: Linter.RuleEntry<UnicornPreferDomNodeHtmlMethods>;
|
|
7968
8027
|
/**
|
|
7969
8028
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
7970
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8029
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-dom-node-remove.md
|
|
7971
8030
|
*/
|
|
7972
8031
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>;
|
|
7973
8032
|
/**
|
|
7974
8033
|
* Prefer `.replaceChildren()` when replacing DOM children.
|
|
7975
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8034
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-dom-node-replace-children.md
|
|
7976
8035
|
*/
|
|
7977
8036
|
'unicorn/prefer-dom-node-replace-children'?: Linter.RuleEntry<[]>;
|
|
7978
8037
|
/**
|
|
7979
8038
|
* Prefer `.textContent` over `.innerText`.
|
|
7980
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8039
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-dom-node-text-content.md
|
|
7981
8040
|
*/
|
|
7982
8041
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>;
|
|
7983
8042
|
/**
|
|
7984
8043
|
* Prefer early returns over conditionals wrapping the remainder of the function body.
|
|
7985
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8044
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-early-return.md
|
|
7986
8045
|
*/
|
|
7987
8046
|
'unicorn/prefer-early-return'?: Linter.RuleEntry<UnicornPreferEarlyReturn>;
|
|
7988
8047
|
/**
|
|
7989
8048
|
* Prefer `else if` over adjacent `if` statements with related conditions.
|
|
7990
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8049
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-else-if.md
|
|
7991
8050
|
*/
|
|
7992
8051
|
'unicorn/prefer-else-if'?: Linter.RuleEntry<[]>;
|
|
7993
8052
|
/**
|
|
7994
8053
|
* Prefer `Error.isError()` when checking for errors.
|
|
7995
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8054
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-error-is-error.md
|
|
7996
8055
|
*/
|
|
7997
8056
|
'unicorn/prefer-error-is-error'?: Linter.RuleEntry<[]>;
|
|
7998
8057
|
/**
|
|
7999
8058
|
* Prefer escape sequences for irregular whitespace characters.
|
|
8000
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8059
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-escaped-irregular-whitespace.md
|
|
8001
8060
|
*/
|
|
8002
8061
|
'unicorn/prefer-escaped-irregular-whitespace'?: Linter.RuleEntry<[]>;
|
|
8003
8062
|
/**
|
|
8004
8063
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
8005
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8064
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-event-target.md
|
|
8006
8065
|
*/
|
|
8007
8066
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>;
|
|
8008
8067
|
/**
|
|
8009
8068
|
* Moved to `eslint-cssicorn` as `cssicorn/prefer-explicit-viewport-units`.
|
|
8010
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8069
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#prefer-explicit-viewport-units
|
|
8011
8070
|
* @deprecated
|
|
8012
8071
|
*/
|
|
8013
8072
|
'unicorn/prefer-explicit-viewport-units'?: Linter.RuleEntry<[]>;
|
|
8014
8073
|
/**
|
|
8015
8074
|
* Prefer `export…from` when re-exporting.
|
|
8016
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8075
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-export-from.md
|
|
8017
8076
|
*/
|
|
8018
8077
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>;
|
|
8019
8078
|
/**
|
|
8020
8079
|
* Prefer flat `Math.min()` and `Math.max()` calls over nested calls.
|
|
8021
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8080
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-flat-math-min-max.md
|
|
8022
8081
|
*/
|
|
8023
8082
|
'unicorn/prefer-flat-math-min-max'?: Linter.RuleEntry<[]>;
|
|
8024
8083
|
/**
|
|
8025
8084
|
* Prefer `.getOrInsertComputed()` when the default value has side effects.
|
|
8026
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8085
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-get-or-insert-computed.md
|
|
8027
8086
|
*/
|
|
8028
8087
|
'unicorn/prefer-get-or-insert-computed'?: Linter.RuleEntry<[]>;
|
|
8029
8088
|
/**
|
|
8030
8089
|
* Prefer global numeric constants over `Number` static properties.
|
|
8031
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8090
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-global-number-constants.md
|
|
8032
8091
|
*/
|
|
8033
8092
|
'unicorn/prefer-global-number-constants'?: Linter.RuleEntry<[]>;
|
|
8034
8093
|
/**
|
|
8035
8094
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
8036
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8095
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-global-this.md
|
|
8037
8096
|
*/
|
|
8038
8097
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>;
|
|
8039
8098
|
/**
|
|
8040
8099
|
* Prefer `Object.groupBy()` or `Map.groupBy()` over manual grouping.
|
|
8041
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8100
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-group-by.md
|
|
8042
8101
|
*/
|
|
8043
8102
|
'unicorn/prefer-group-by'?: Linter.RuleEntry<[]>;
|
|
8044
8103
|
/**
|
|
8045
8104
|
* Prefer `.has()` when checking existence.
|
|
8046
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8105
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-has-check.md
|
|
8047
8106
|
*/
|
|
8048
8107
|
'unicorn/prefer-has-check'?: Linter.RuleEntry<[]>;
|
|
8049
8108
|
/**
|
|
8050
8109
|
* Prefer moving code shared by all branches of an `if` statement out of the branches.
|
|
8051
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8110
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-hoisting-branch-code.md
|
|
8052
8111
|
*/
|
|
8053
8112
|
'unicorn/prefer-hoisting-branch-code'?: Linter.RuleEntry<[]>;
|
|
8054
8113
|
/**
|
|
8055
8114
|
* Prefer HTTPS over HTTP.
|
|
8056
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8115
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-https.md
|
|
8057
8116
|
*/
|
|
8058
8117
|
'unicorn/prefer-https'?: Linter.RuleEntry<UnicornPreferHttps>;
|
|
8059
8118
|
/**
|
|
8060
8119
|
* Prefer identifiers over string literals in import and export specifiers.
|
|
8061
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8120
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-identifier-import-export-specifiers.md
|
|
8062
8121
|
*/
|
|
8063
8122
|
'unicorn/prefer-identifier-import-export-specifiers'?: Linter.RuleEntry<[]>;
|
|
8064
8123
|
/**
|
|
8065
8124
|
* Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
|
|
8066
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8125
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-import-meta-properties.md
|
|
8067
8126
|
*/
|
|
8068
8127
|
'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>;
|
|
8069
8128
|
/**
|
|
8070
8129
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
8071
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8130
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-includes.md
|
|
8072
8131
|
*/
|
|
8073
8132
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>;
|
|
8074
8133
|
/**
|
|
8075
8134
|
* Prefer `.includes()` over repeated equality comparisons.
|
|
8076
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8135
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-includes-over-repeated-comparisons.md
|
|
8077
8136
|
*/
|
|
8078
8137
|
'unicorn/prefer-includes-over-repeated-comparisons'?: Linter.RuleEntry<UnicornPreferIncludesOverRepeatedComparisons>;
|
|
8079
8138
|
/**
|
|
8080
8139
|
* Prefer passing iterables directly to constructors instead of filling empty collections.
|
|
8081
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8140
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-iterable-in-constructor.md
|
|
8082
8141
|
*/
|
|
8083
8142
|
'unicorn/prefer-iterable-in-constructor'?: Linter.RuleEntry<[]>;
|
|
8084
8143
|
/**
|
|
8085
8144
|
* Prefer `Iterator.concat(…)` over temporary spread arrays.
|
|
8086
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8145
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-iterator-concat.md
|
|
8087
8146
|
*/
|
|
8088
8147
|
'unicorn/prefer-iterator-concat'?: Linter.RuleEntry<[]>;
|
|
8089
8148
|
/**
|
|
8090
8149
|
* Prefer iterator helpers over temporary arrays from iterators.
|
|
8091
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8150
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-iterator-helpers.md
|
|
8092
8151
|
*/
|
|
8093
8152
|
'unicorn/prefer-iterator-helpers'?: Linter.RuleEntry<[]>;
|
|
8094
8153
|
/**
|
|
8095
8154
|
* Prefer `Iterator#toArray()` over temporary arrays from iterator spreads.
|
|
8096
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8155
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-iterator-to-array.md
|
|
8097
8156
|
*/
|
|
8098
8157
|
'unicorn/prefer-iterator-to-array'?: Linter.RuleEntry<[]>;
|
|
8099
8158
|
/**
|
|
8100
8159
|
* Prefer moving `.toArray()` to the end of iterator helper chains.
|
|
8101
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8160
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-iterator-to-array-at-end.md
|
|
8102
8161
|
*/
|
|
8103
8162
|
'unicorn/prefer-iterator-to-array-at-end'?: Linter.RuleEntry<[]>;
|
|
8104
8163
|
/**
|
|
8105
8164
|
* Prefer `Iterator.zip()` over parallel-array indexing.
|
|
8106
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8165
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-iterator-zip.md
|
|
8107
8166
|
*/
|
|
8108
8167
|
'unicorn/prefer-iterator-zip'?: Linter.RuleEntry<[]>;
|
|
8109
8168
|
/**
|
|
8110
8169
|
* Prefer JSON imports over reading and parsing JSON files.
|
|
8111
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8170
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-json-import.md
|
|
8112
8171
|
*/
|
|
8113
8172
|
'unicorn/prefer-json-import'?: Linter.RuleEntry<[]>;
|
|
8114
8173
|
/**
|
|
8115
8174
|
* Renamed to `unicorn/consistent-json-file-read`.
|
|
8116
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8175
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#prefer-json-parse-buffer
|
|
8117
8176
|
* @deprecated
|
|
8118
8177
|
*/
|
|
8119
8178
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>;
|
|
8120
8179
|
/**
|
|
8121
8180
|
* Prefer `KeyboardEvent#key` over deprecated keyboard event properties.
|
|
8122
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8181
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-keyboard-event-key.md
|
|
8123
8182
|
*/
|
|
8124
8183
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>;
|
|
8125
8184
|
/**
|
|
8126
8185
|
* Prefer literal printable ASCII characters over escape sequences.
|
|
8127
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8186
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-literal-ascii.md
|
|
8128
8187
|
*/
|
|
8129
8188
|
'unicorn/prefer-literal-ascii'?: Linter.RuleEntry<[]>;
|
|
8130
8189
|
/**
|
|
8131
8190
|
* Prefer `location.assign()` over assigning to `location.href`.
|
|
8132
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8191
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-location-assign.md
|
|
8133
8192
|
*/
|
|
8134
8193
|
'unicorn/prefer-location-assign'?: Linter.RuleEntry<[]>;
|
|
8135
8194
|
/**
|
|
8136
8195
|
* Prefer using a logical operator over a ternary.
|
|
8137
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8196
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-logical-operator-over-ternary.md
|
|
8138
8197
|
*/
|
|
8139
8198
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>;
|
|
8140
8199
|
/**
|
|
8141
8200
|
* Prefer `new Map()` over `Object.fromEntries()` when using the result as a map.
|
|
8142
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8201
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-map-from-entries.md
|
|
8143
8202
|
*/
|
|
8144
8203
|
'unicorn/prefer-map-from-entries'?: Linter.RuleEntry<[]>;
|
|
8145
8204
|
/**
|
|
8146
8205
|
* Prefer `Math.abs()` over manual absolute value expressions and symmetric range checks.
|
|
8147
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8206
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-math-abs.md
|
|
8148
8207
|
*/
|
|
8149
8208
|
'unicorn/prefer-math-abs'?: Linter.RuleEntry<[]>;
|
|
8150
8209
|
/**
|
|
8151
8210
|
* Prefer `Math` constants over their approximate numeric values.
|
|
8152
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8211
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-math-constants.md
|
|
8153
8212
|
*/
|
|
8154
8213
|
'unicorn/prefer-math-constants'?: Linter.RuleEntry<[]>;
|
|
8155
8214
|
/**
|
|
8156
8215
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
8157
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8216
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-math-min-max.md
|
|
8158
8217
|
*/
|
|
8159
8218
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>;
|
|
8160
8219
|
/**
|
|
8161
8220
|
* Prefer `Math.trunc()` for truncating numbers.
|
|
8162
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8221
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-math-trunc.md
|
|
8163
8222
|
*/
|
|
8164
8223
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>;
|
|
8165
8224
|
/**
|
|
8166
8225
|
* Moved to `eslint-cssicorn` as `cssicorn/prefer-media-feature-range-syntax`.
|
|
8167
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8226
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#prefer-media-feature-range-syntax
|
|
8168
8227
|
* @deprecated
|
|
8169
8228
|
*/
|
|
8170
8229
|
'unicorn/prefer-media-feature-range-syntax'?: Linter.RuleEntry<[]>;
|
|
8171
8230
|
/**
|
|
8172
8231
|
* Prefer moving ternaries into the minimal varying part of an expression.
|
|
8173
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8232
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-minimal-ternary.md
|
|
8174
8233
|
*/
|
|
8175
8234
|
'unicorn/prefer-minimal-ternary'?: Linter.RuleEntry<UnicornPreferMinimalTernary>;
|
|
8176
8235
|
/**
|
|
8177
8236
|
* Prefer modern DOM APIs.
|
|
8178
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8237
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-modern-dom-apis.md
|
|
8179
8238
|
*/
|
|
8180
8239
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>;
|
|
8181
8240
|
/**
|
|
8182
8241
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
8183
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8242
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-modern-math-apis.md
|
|
8184
8243
|
*/
|
|
8185
8244
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>;
|
|
8186
8245
|
/**
|
|
8187
8246
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
8188
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8247
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-module.md
|
|
8189
8248
|
*/
|
|
8190
8249
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>;
|
|
8191
8250
|
/**
|
|
8192
8251
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
8193
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8252
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-native-coercion-functions.md
|
|
8194
8253
|
*/
|
|
8195
8254
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>;
|
|
8196
8255
|
/**
|
|
8197
8256
|
* Prefer negative index over `.length - index` when possible.
|
|
8198
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8257
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-negative-index.md
|
|
8199
8258
|
*/
|
|
8200
8259
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>;
|
|
8201
8260
|
/**
|
|
8202
8261
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
8203
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8262
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-node-protocol.md
|
|
8204
8263
|
*/
|
|
8205
8264
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>;
|
|
8206
8265
|
/**
|
|
8207
8266
|
* Prefer `Number()` over `parseFloat()` and base-10 `parseInt()`.
|
|
8208
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8267
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-number-coercion.md
|
|
8209
8268
|
*/
|
|
8210
8269
|
'unicorn/prefer-number-coercion'?: Linter.RuleEntry<[]>;
|
|
8211
8270
|
/**
|
|
8212
8271
|
* Prefer `Number.isSafeInteger()` over integer checks.
|
|
8213
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8272
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-number-is-safe-integer.md
|
|
8214
8273
|
*/
|
|
8215
8274
|
'unicorn/prefer-number-is-safe-integer'?: Linter.RuleEntry<[]>;
|
|
8216
8275
|
/**
|
|
8217
8276
|
* Prefer `Number` static methods over global functions and optionally static properties over global constants.
|
|
8218
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8277
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-number-properties.md
|
|
8219
8278
|
*/
|
|
8220
8279
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>;
|
|
8221
8280
|
/**
|
|
8222
8281
|
* Prefer `Object.defineProperties()` over multiple `Object.defineProperty()` calls.
|
|
8223
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8282
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-object-define-properties.md
|
|
8224
8283
|
*/
|
|
8225
8284
|
'unicorn/prefer-object-define-properties'?: Linter.RuleEntry<[]>;
|
|
8226
8285
|
/**
|
|
8227
8286
|
* Prefer object destructuring defaults over default object literals with spread.
|
|
8228
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8287
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-object-destructuring-defaults.md
|
|
8229
8288
|
*/
|
|
8230
8289
|
'unicorn/prefer-object-destructuring-defaults'?: Linter.RuleEntry<[]>;
|
|
8231
8290
|
/**
|
|
8232
8291
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
8233
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8292
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-object-from-entries.md
|
|
8234
8293
|
*/
|
|
8235
8294
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
|
|
8236
8295
|
/**
|
|
8237
8296
|
* Prefer the most specific `Object` iterable method.
|
|
8238
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8297
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-object-iterable-methods.md
|
|
8239
8298
|
*/
|
|
8240
8299
|
'unicorn/prefer-object-iterable-methods'?: Linter.RuleEntry<[]>;
|
|
8241
8300
|
/**
|
|
8242
8301
|
* Prefer observer APIs over resize and scroll listeners with layout reads.
|
|
8243
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8302
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-observer-apis.md
|
|
8244
8303
|
*/
|
|
8245
8304
|
'unicorn/prefer-observer-apis'?: Linter.RuleEntry<[]>;
|
|
8246
8305
|
/**
|
|
8247
8306
|
* Prefer omitting the `catch` binding parameter.
|
|
8248
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8307
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-optional-catch-binding.md
|
|
8249
8308
|
*/
|
|
8250
8309
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>;
|
|
8251
8310
|
/**
|
|
8252
8311
|
* Prefer `Path2D` for repeatedly drawn canvas paths.
|
|
8253
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8312
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-path2d.md
|
|
8254
8313
|
*/
|
|
8255
8314
|
'unicorn/prefer-path2d'?: Linter.RuleEntry<[]>;
|
|
8256
8315
|
/**
|
|
8257
8316
|
* Prefer private class fields over the underscore-prefix convention.
|
|
8258
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8317
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-private-class-fields.md
|
|
8259
8318
|
*/
|
|
8260
8319
|
'unicorn/prefer-private-class-fields'?: Linter.RuleEntry<[]>;
|
|
8261
8320
|
/**
|
|
8262
8321
|
* Prefer `Promise.resolve()` and `Promise.reject()` over trivial `new Promise()` calls.
|
|
8263
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8322
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-promise-static-methods.md
|
|
8264
8323
|
*/
|
|
8265
8324
|
'unicorn/prefer-promise-static-methods'?: Linter.RuleEntry<[]>;
|
|
8266
8325
|
/**
|
|
8267
8326
|
* Prefer `Promise.try()` over promise-wrapping boilerplate.
|
|
8268
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8327
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-promise-try.md
|
|
8269
8328
|
*/
|
|
8270
8329
|
'unicorn/prefer-promise-try'?: Linter.RuleEntry<[]>;
|
|
8271
8330
|
/**
|
|
8272
8331
|
* Prefer `Promise.withResolvers()` when extracting resolver functions from `new Promise()`.
|
|
8273
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8332
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-promise-with-resolvers.md
|
|
8274
8333
|
*/
|
|
8275
8334
|
'unicorn/prefer-promise-with-resolvers'?: Linter.RuleEntry<[]>;
|
|
8276
8335
|
/**
|
|
8277
8336
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
8278
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8337
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-prototype-methods.md
|
|
8279
8338
|
*/
|
|
8280
8339
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>;
|
|
8281
8340
|
/**
|
|
8282
8341
|
* Prefer `.querySelector()` and `.querySelectorAll()` over older DOM query methods.
|
|
8283
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8342
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-query-selector.md
|
|
8284
8343
|
*/
|
|
8285
8344
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<UnicornPreferQuerySelector>;
|
|
8286
8345
|
/**
|
|
8287
8346
|
* Prefer `queueMicrotask()` over `process.nextTick()`, `setImmediate()`, and `setTimeout(…, 0)`.
|
|
8288
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8347
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-queue-microtask.md
|
|
8289
8348
|
*/
|
|
8290
8349
|
'unicorn/prefer-queue-microtask'?: Linter.RuleEntry<UnicornPreferQueueMicrotask>;
|
|
8291
8350
|
/**
|
|
8292
8351
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
8293
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8352
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-reflect-apply.md
|
|
8294
8353
|
*/
|
|
8295
8354
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>;
|
|
8296
8355
|
/**
|
|
8297
8356
|
* Prefer `RegExp.escape()` for escaping strings to use in regular expressions.
|
|
8298
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8357
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-regexp-escape.md
|
|
8299
8358
|
*/
|
|
8300
8359
|
'unicorn/prefer-regexp-escape'?: Linter.RuleEntry<[]>;
|
|
8301
8360
|
/**
|
|
8302
8361
|
* Prefer `RegExp#test()` over `String#match()`, `String#search()`, and `RegExp#exec()`.
|
|
8303
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8362
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-regexp-test.md
|
|
8304
8363
|
*/
|
|
8305
8364
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>;
|
|
8306
8365
|
/**
|
|
8307
8366
|
* Prefer `Response.json()` over `new Response(JSON.stringify())`.
|
|
8308
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8367
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-response-static-json.md
|
|
8309
8368
|
*/
|
|
8310
8369
|
'unicorn/prefer-response-static-json'?: Linter.RuleEntry<[]>;
|
|
8311
8370
|
/**
|
|
8312
8371
|
* Prefer `:scope` when using element query selector methods.
|
|
8313
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8372
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-scoped-selector.md
|
|
8314
8373
|
*/
|
|
8315
8374
|
'unicorn/prefer-scoped-selector'?: Linter.RuleEntry<[]>;
|
|
8316
8375
|
/**
|
|
8317
8376
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
8318
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8377
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-set-has.md
|
|
8319
8378
|
*/
|
|
8320
8379
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<UnicornPreferSetHas>;
|
|
8321
8380
|
/**
|
|
8322
8381
|
* Prefer `Set` methods for Set operations.
|
|
8323
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8382
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-set-methods.md
|
|
8324
8383
|
*/
|
|
8325
8384
|
'unicorn/prefer-set-methods'?: Linter.RuleEntry<[]>;
|
|
8326
8385
|
/**
|
|
8327
8386
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
8328
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8387
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-set-size.md
|
|
8329
8388
|
*/
|
|
8330
8389
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>;
|
|
8331
8390
|
/**
|
|
8332
8391
|
* Prefer arrow function properties over methods with a single return.
|
|
8333
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8392
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-short-arrow-method.md
|
|
8334
8393
|
*/
|
|
8335
8394
|
'unicorn/prefer-short-arrow-method'?: Linter.RuleEntry<UnicornPreferShortArrowMethod>;
|
|
8336
8395
|
/**
|
|
8337
8396
|
* Prefer shorter alternatives to Unicode escape sequences.
|
|
8338
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8397
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-short-escape-sequences.md
|
|
8339
8398
|
*/
|
|
8340
8399
|
'unicorn/prefer-short-escape-sequences'?: Linter.RuleEntry<[]>;
|
|
8341
8400
|
/**
|
|
8342
8401
|
* Prefer simple conditions first in logical expressions.
|
|
8343
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8402
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-simple-condition-first.md
|
|
8344
8403
|
*/
|
|
8345
8404
|
'unicorn/prefer-simple-condition-first'?: Linter.RuleEntry<[]>;
|
|
8346
8405
|
/**
|
|
8347
8406
|
* Prefer a simple comparison function for `Array#sort()`.
|
|
8348
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8407
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-simple-sort-comparator.md
|
|
8349
8408
|
*/
|
|
8350
8409
|
'unicorn/prefer-simple-sort-comparator'?: Linter.RuleEntry<[]>;
|
|
8351
8410
|
/**
|
|
8352
8411
|
* Prefer simplified conditions.
|
|
8353
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8412
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-simplified-conditions.md
|
|
8354
8413
|
*/
|
|
8355
8414
|
'unicorn/prefer-simplified-conditions'?: Linter.RuleEntry<UnicornPreferSimplifiedConditions>;
|
|
8356
8415
|
/**
|
|
8357
8416
|
* Prefer a single `Array#some()` or `Array#every()` with a combined predicate.
|
|
8358
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8417
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-single-array-predicate.md
|
|
8359
8418
|
*/
|
|
8360
8419
|
'unicorn/prefer-single-array-predicate'?: Linter.RuleEntry<[]>;
|
|
8361
8420
|
/**
|
|
8362
8421
|
* Enforce combining multiple `Array#{push,unshift}()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
|
|
8363
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8422
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-single-call.md
|
|
8364
8423
|
*/
|
|
8365
8424
|
'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>;
|
|
8366
8425
|
/**
|
|
8367
8426
|
* Prefer a single object destructuring declaration per local const source.
|
|
8368
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8427
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-single-object-destructuring.md
|
|
8369
8428
|
*/
|
|
8370
8429
|
'unicorn/prefer-single-object-destructuring'?: Linter.RuleEntry<[]>;
|
|
8371
8430
|
/**
|
|
8372
8431
|
* Enforce combining multiple single-character replacements into a single `String#replaceAll()` with a regular expression.
|
|
8373
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8432
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-single-replace.md
|
|
8374
8433
|
*/
|
|
8375
8434
|
'unicorn/prefer-single-replace'?: Linter.RuleEntry<[]>;
|
|
8376
8435
|
/**
|
|
8377
|
-
* Prefer declaring variables in the smallest possible scope.
|
|
8378
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8436
|
+
* Prefer declaring variables and type aliases in the smallest possible scope.
|
|
8437
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-smaller-scope.md
|
|
8379
8438
|
*/
|
|
8380
8439
|
'unicorn/prefer-smaller-scope'?: Linter.RuleEntry<[]>;
|
|
8381
8440
|
/**
|
|
8382
8441
|
* Prefer `String#split()` with a limit.
|
|
8383
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8442
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-split-limit.md
|
|
8384
8443
|
*/
|
|
8385
8444
|
'unicorn/prefer-split-limit'?: Linter.RuleEntry<[]>;
|
|
8386
8445
|
/**
|
|
8387
8446
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()`, and trivial `for…of` copies.
|
|
8388
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8447
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-spread.md
|
|
8389
8448
|
*/
|
|
8390
8449
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>;
|
|
8391
8450
|
/**
|
|
8392
8451
|
* Prefer `String#matchAll()` over `RegExp#exec()` loops.
|
|
8393
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8452
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-string-match-all.md
|
|
8394
8453
|
*/
|
|
8395
8454
|
'unicorn/prefer-string-match-all'?: Linter.RuleEntry<[]>;
|
|
8396
8455
|
/**
|
|
8397
8456
|
* Prefer `String#padStart()` and `String#padEnd()` over manual string padding.
|
|
8398
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8457
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-string-pad-start-end.md
|
|
8399
8458
|
*/
|
|
8400
8459
|
'unicorn/prefer-string-pad-start-end'?: Linter.RuleEntry<[]>;
|
|
8401
8460
|
/**
|
|
8402
8461
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
8403
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8462
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-string-raw.md
|
|
8404
8463
|
*/
|
|
8405
8464
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>;
|
|
8406
8465
|
/**
|
|
8407
8466
|
* Prefer `String#repeat()` for repeated whitespace.
|
|
8408
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8467
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-string-repeat.md
|
|
8409
8468
|
*/
|
|
8410
8469
|
'unicorn/prefer-string-repeat'?: Linter.RuleEntry<UnicornPreferStringRepeat>;
|
|
8411
8470
|
/**
|
|
8412
8471
|
* Prefer `String#replaceAll()` over regex searches with the global flag and `String#split().join()`.
|
|
8413
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8472
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-string-replace-all.md
|
|
8414
8473
|
*/
|
|
8415
8474
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>;
|
|
8416
8475
|
/**
|
|
8417
8476
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
8418
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8477
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-string-slice.md
|
|
8419
8478
|
*/
|
|
8420
8479
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>;
|
|
8421
8480
|
/**
|
|
8422
8481
|
* Prefer `String#startsWith()` & `String#endsWith()` over regexes, `String#indexOf() === 0`, and slice checks.
|
|
8423
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8482
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-string-starts-ends-with.md
|
|
8424
8483
|
*/
|
|
8425
8484
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>;
|
|
8426
8485
|
/**
|
|
8427
8486
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
8428
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8487
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-string-trim-start-end.md
|
|
8429
8488
|
*/
|
|
8430
8489
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>;
|
|
8431
8490
|
/**
|
|
8432
8491
|
* Prefer using `structuredClone` to create a deep clone.
|
|
8433
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8492
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-structured-clone.md
|
|
8434
8493
|
*/
|
|
8435
8494
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>;
|
|
8436
8495
|
/**
|
|
8437
8496
|
* Prefer `switch` over multiple `else-if`.
|
|
8438
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8497
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-switch.md
|
|
8439
8498
|
*/
|
|
8440
8499
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>;
|
|
8441
8500
|
/**
|
|
8442
8501
|
* Prefer `Temporal` over `Date`.
|
|
8443
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8502
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-temporal.md
|
|
8444
8503
|
*/
|
|
8445
8504
|
'unicorn/prefer-temporal'?: Linter.RuleEntry<UnicornPreferTemporal>;
|
|
8446
8505
|
/**
|
|
8447
8506
|
* Prefer direct Temporal conversion methods.
|
|
8448
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8507
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-temporal-conversion.md
|
|
8449
8508
|
*/
|
|
8450
8509
|
'unicorn/prefer-temporal-conversion'?: Linter.RuleEntry<[]>;
|
|
8451
8510
|
/**
|
|
8452
8511
|
* Prefer ternary expressions over simple `if` statements.
|
|
8453
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8512
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-ternary.md
|
|
8454
8513
|
*/
|
|
8455
8514
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>;
|
|
8456
8515
|
/**
|
|
8457
8516
|
* Prefer `.then().catch()` over `.then(…, …)` for error handling.
|
|
8458
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8517
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-then-catch.md
|
|
8459
8518
|
*/
|
|
8460
8519
|
'unicorn/prefer-then-catch'?: Linter.RuleEntry<[]>;
|
|
8461
8520
|
/**
|
|
8462
8521
|
* Prefer using `Element#toggleAttribute()` to toggle attributes.
|
|
8463
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8522
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-toggle-attribute.md
|
|
8464
8523
|
*/
|
|
8465
8524
|
'unicorn/prefer-toggle-attribute'?: Linter.RuleEntry<[]>;
|
|
8466
8525
|
/**
|
|
8467
8526
|
* Prefer top-level await over top-level promises and async function calls.
|
|
8468
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8527
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-top-level-await.md
|
|
8469
8528
|
*/
|
|
8470
8529
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>;
|
|
8471
8530
|
/**
|
|
8472
8531
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
8473
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8532
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-type-error.md
|
|
8474
8533
|
*/
|
|
8475
8534
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>;
|
|
8476
8535
|
/**
|
|
8477
8536
|
* Require type literals to be last in union types.
|
|
8478
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8537
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-type-literal-last.md
|
|
8479
8538
|
*/
|
|
8480
8539
|
'unicorn/prefer-type-literal-last'?: Linter.RuleEntry<[]>;
|
|
8481
8540
|
/**
|
|
8482
8541
|
* Prefer `Uint8Array#toBase64()` and `Uint8Array.fromBase64()` over legacy base64 conversions and manual postprocessing.
|
|
8483
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8542
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-uint8array-base64.md
|
|
8484
8543
|
*/
|
|
8485
8544
|
'unicorn/prefer-uint8array-base64'?: Linter.RuleEntry<[]>;
|
|
8486
8545
|
/**
|
|
8487
8546
|
* Prefer `Uint8Array#toHex()` and `Uint8Array.fromHex()` over manual and Buffer hex conversions.
|
|
8488
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8547
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-uint8array-hex.md
|
|
8489
8548
|
*/
|
|
8490
8549
|
'unicorn/prefer-uint8array-hex'?: Linter.RuleEntry<[]>;
|
|
8491
8550
|
/**
|
|
8492
8551
|
* Prefer the unary minus operator over multiplying or dividing by `-1`.
|
|
8493
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8552
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-unary-minus.md
|
|
8494
8553
|
*/
|
|
8495
8554
|
'unicorn/prefer-unary-minus'?: Linter.RuleEntry<[]>;
|
|
8496
8555
|
/**
|
|
8497
8556
|
* Prefer Unicode code point escapes over legacy escape sequences.
|
|
8498
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8557
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-unicode-code-point-escapes.md
|
|
8499
8558
|
*/
|
|
8500
8559
|
'unicorn/prefer-unicode-code-point-escapes'?: Linter.RuleEntry<[]>;
|
|
8501
8560
|
/**
|
|
8502
8561
|
* Prefer `URL.canParse()` over constructing a `URL` in a try/catch for validation.
|
|
8503
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8562
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-url-can-parse.md
|
|
8504
8563
|
*/
|
|
8505
8564
|
'unicorn/prefer-url-can-parse'?: Linter.RuleEntry<[]>;
|
|
8506
8565
|
/**
|
|
8507
8566
|
* Prefer `URL#href` over stringifying a `URL`.
|
|
8508
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8567
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-url-href.md
|
|
8509
8568
|
*/
|
|
8510
8569
|
'unicorn/prefer-url-href'?: Linter.RuleEntry<[]>;
|
|
8511
8570
|
/**
|
|
8512
8571
|
* Prefer `URLSearchParams` over manually splitting query strings.
|
|
8513
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8572
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-url-search-parameters.md
|
|
8514
8573
|
*/
|
|
8515
8574
|
'unicorn/prefer-url-search-parameters'?: Linter.RuleEntry<[]>;
|
|
8516
8575
|
/**
|
|
8517
8576
|
* Prefer putting the condition in the while statement.
|
|
8518
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8577
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-while-loop-condition.md
|
|
8519
8578
|
*/
|
|
8520
8579
|
'unicorn/prefer-while-loop-condition'?: Linter.RuleEntry<[]>;
|
|
8521
8580
|
/**
|
|
8522
8581
|
* Renamed to `unicorn/name-replacements`.
|
|
8523
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8582
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#prevent-abbreviations
|
|
8524
8583
|
* @deprecated
|
|
8525
8584
|
*/
|
|
8526
8585
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<[]>;
|
|
8527
8586
|
/**
|
|
8528
8587
|
* Enforce consistent relative URL style.
|
|
8529
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8588
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/relative-url-style.md
|
|
8530
8589
|
*/
|
|
8531
8590
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
|
|
8532
8591
|
/**
|
|
8533
8592
|
* Enforce using the separator argument with `Array#join()`.
|
|
8534
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8593
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/require-array-join-separator.md
|
|
8535
8594
|
*/
|
|
8536
8595
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>;
|
|
8537
8596
|
/**
|
|
8538
8597
|
* Require a compare function when calling `Array#sort()` or `Array#toSorted()`.
|
|
8539
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8598
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/require-array-sort-compare.md
|
|
8540
8599
|
*/
|
|
8541
8600
|
'unicorn/require-array-sort-compare'?: Linter.RuleEntry<[]>;
|
|
8542
8601
|
/**
|
|
8543
8602
|
* Require `CSS.escape()` for interpolated values in CSS selectors.
|
|
8544
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8603
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/require-css-escape.md
|
|
8545
8604
|
*/
|
|
8546
8605
|
'unicorn/require-css-escape'?: Linter.RuleEntry<UnicornRequireCssEscape>;
|
|
8547
8606
|
/**
|
|
8548
8607
|
* Require configured YAML frontmatter fields.
|
|
8549
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8608
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/require-frontmatter-fields.md
|
|
8550
8609
|
*/
|
|
8551
8610
|
'unicorn/require-frontmatter-fields'?: Linter.RuleEntry<UnicornRequireFrontmatterFields>;
|
|
8552
8611
|
/**
|
|
8553
8612
|
* Require non-empty module attributes for imports and exports
|
|
8554
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8613
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/require-module-attributes.md
|
|
8555
8614
|
*/
|
|
8556
8615
|
'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>;
|
|
8557
8616
|
/**
|
|
8558
8617
|
* Require non-empty specifier list in import and export statements.
|
|
8559
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8618
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/require-module-specifiers.md
|
|
8560
8619
|
*/
|
|
8561
8620
|
'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>;
|
|
8562
8621
|
/**
|
|
8563
8622
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
8564
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8623
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/require-number-to-fixed-digits-argument.md
|
|
8565
8624
|
*/
|
|
8566
8625
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>;
|
|
8567
8626
|
/**
|
|
8568
8627
|
* Require passive event listeners for high-frequency events.
|
|
8569
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8628
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/require-passive-events.md
|
|
8570
8629
|
*/
|
|
8571
8630
|
'unicorn/require-passive-events'?: Linter.RuleEntry<[]>;
|
|
8572
8631
|
/**
|
|
8573
8632
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
8574
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8633
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/require-post-message-target-origin.md
|
|
8575
8634
|
*/
|
|
8576
8635
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>;
|
|
8577
8636
|
/**
|
|
8578
8637
|
* Require boolean-returning Proxy traps to return booleans.
|
|
8579
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8638
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/require-proxy-trap-boolean-return.md
|
|
8580
8639
|
*/
|
|
8581
8640
|
'unicorn/require-proxy-trap-boolean-return'?: Linter.RuleEntry<[]>;
|
|
8582
8641
|
/**
|
|
8583
8642
|
* Require streaming decoding of fetch-body chunks with `TextDecoder`.
|
|
8584
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8643
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/require-text-decoder-streaming.md
|
|
8585
8644
|
*/
|
|
8586
8645
|
'unicorn/require-text-decoder-streaming'?: Linter.RuleEntry<[]>;
|
|
8587
8646
|
/**
|
|
8588
8647
|
* Enforce a consistent style for single-line block comments.
|
|
8589
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8648
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/single-line-block-comment-style.md
|
|
8590
8649
|
*/
|
|
8591
8650
|
'unicorn/single-line-block-comment-style'?: Linter.RuleEntry<UnicornSingleLineBlockCommentStyle>;
|
|
8592
8651
|
/**
|
|
8593
8652
|
* Enforce better string content.
|
|
8594
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8653
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/string-content.md
|
|
8595
8654
|
*/
|
|
8596
8655
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>;
|
|
8597
8656
|
/**
|
|
8598
8657
|
* Enforce consistent brace style for `case` clauses.
|
|
8599
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8658
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/switch-case-braces.md
|
|
8600
8659
|
*/
|
|
8601
8660
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
|
|
8602
8661
|
/**
|
|
8603
8662
|
* Enforce consistent `break`/`return`/`continue`/`throw` position in `case` clauses.
|
|
8604
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8663
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/switch-case-break-position.md
|
|
8605
8664
|
*/
|
|
8606
8665
|
'unicorn/switch-case-break-position'?: Linter.RuleEntry<[]>;
|
|
8607
8666
|
/**
|
|
8608
8667
|
* Fix whitespace-insensitive template indentation.
|
|
8609
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8668
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/template-indent.md
|
|
8610
8669
|
*/
|
|
8611
8670
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>;
|
|
8612
8671
|
/**
|
|
8613
8672
|
* Enforce consistent case for text encoding identifiers.
|
|
8614
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8673
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/text-encoding-identifier-case.md
|
|
8615
8674
|
*/
|
|
8616
8675
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<UnicornTextEncodingIdentifierCase>;
|
|
8617
8676
|
/**
|
|
8618
8677
|
* Require `new` when creating an error.
|
|
8619
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8678
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/throw-new-error.md
|
|
8620
8679
|
*/
|
|
8621
8680
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>;
|
|
8622
8681
|
/**
|
|
8623
8682
|
* Limit the complexity of `try` blocks.
|
|
8624
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8683
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/try-complexity.md
|
|
8625
8684
|
*/
|
|
8626
8685
|
'unicorn/try-complexity'?: Linter.RuleEntry<UnicornTryComplexity>;
|
|
8627
8686
|
/**
|
|
@@ -9375,11 +9434,21 @@ export interface ESLintSchema {
|
|
|
9375
9434
|
* @see https://eslint.vuejs.org/rules/no-constant-condition.html
|
|
9376
9435
|
*/
|
|
9377
9436
|
'vue/no-constant-condition'?: Linter.RuleEntry<VueNoConstantCondition>;
|
|
9437
|
+
/**
|
|
9438
|
+
* disallow content outside of the top-level blocks
|
|
9439
|
+
* @see https://eslint.vuejs.org/rules/no-content-outside-block.html
|
|
9440
|
+
*/
|
|
9441
|
+
'vue/no-content-outside-block'?: Linter.RuleEntry<[]>;
|
|
9378
9442
|
/**
|
|
9379
9443
|
* disallow custom modifiers on v-model used on the component
|
|
9380
9444
|
* @see https://eslint.vuejs.org/rules/no-custom-modifiers-on-v-model.html
|
|
9381
9445
|
*/
|
|
9382
9446
|
'vue/no-custom-modifiers-on-v-model'?: Linter.RuleEntry<[]>;
|
|
9447
|
+
/**
|
|
9448
|
+
* disallow default values in `defineModel`
|
|
9449
|
+
* @see https://eslint.vuejs.org/rules/no-define-model-default.html
|
|
9450
|
+
*/
|
|
9451
|
+
'vue/no-define-model-default'?: Linter.RuleEntry<[]>;
|
|
9383
9452
|
/**
|
|
9384
9453
|
* disallow using deprecated object declaration on data (in Vue.js 3.0.0+)
|
|
9385
9454
|
* @see https://eslint.vuejs.org/rules/no-deprecated-data-object-declaration.html
|
|
@@ -9615,6 +9684,11 @@ export interface ESLintSchema {
|
|
|
9615
9684
|
* @see https://eslint.vuejs.org/rules/no-potential-component-option-typo.html
|
|
9616
9685
|
*/
|
|
9617
9686
|
'vue/no-potential-component-option-typo'?: Linter.RuleEntry<VueNoPotentialComponentOptionTypo>;
|
|
9687
|
+
/**
|
|
9688
|
+
* disallow declarations that shadow props in `<script setup>`
|
|
9689
|
+
* @see https://eslint.vuejs.org/rules/no-props-shadow.html
|
|
9690
|
+
*/
|
|
9691
|
+
'vue/no-props-shadow'?: Linter.RuleEntry<[]>;
|
|
9618
9692
|
/**
|
|
9619
9693
|
* disallow use of value wrapped by `ref()` (Composition API) as an operand
|
|
9620
9694
|
* @see https://eslint.vuejs.org/rules/no-ref-as-operand.html
|
|
@@ -10955,6 +11029,11 @@ type HtmlEslintQuotes = [] | [("single" | "double")] | [("single" | "double"), {
|
|
|
10955
11029
|
type HtmlEslintReactClassnameSpacing = [] | [{
|
|
10956
11030
|
callees?: string[];
|
|
10957
11031
|
}];
|
|
11032
|
+
// ----- @html-eslint/react/id-naming-convention -----
|
|
11033
|
+
type HtmlEslintReactIdNamingConvention = [] | [("camelCase" | "snake_case" | "PascalCase" | "kebab-case" | "regex")] | [("camelCase" | "snake_case" | "PascalCase" | "kebab-case" | "regex"), {
|
|
11034
|
+
pattern?: string;
|
|
11035
|
+
flags?: string;
|
|
11036
|
+
}];
|
|
10958
11037
|
// ----- @html-eslint/react/no-duplicate-classname -----
|
|
10959
11038
|
type HtmlEslintReactNoDuplicateClassname = [] | [{
|
|
10960
11039
|
callees?: string[];
|
|
@@ -10979,6 +11058,11 @@ type HtmlEslintReactNoRestrictedAttrs = {
|
|
|
10979
11058
|
attrPatterns: string[];
|
|
10980
11059
|
message?: string;
|
|
10981
11060
|
}[];
|
|
11061
|
+
// ----- @html-eslint/react/no-restricted-tags -----
|
|
11062
|
+
type HtmlEslintReactNoRestrictedTags = {
|
|
11063
|
+
tagPatterns: string[];
|
|
11064
|
+
message?: string;
|
|
11065
|
+
}[];
|
|
10982
11066
|
// ----- @html-eslint/react/require-attrs -----
|
|
10983
11067
|
type HtmlEslintReactRequireAttrs = {
|
|
10984
11068
|
tag: string;
|
|
@@ -12312,6 +12396,10 @@ type TypescriptEslintArrayType = [] | [{
|
|
|
12312
12396
|
default?: ("array" | "generic" | "array-simple");
|
|
12313
12397
|
readonly?: ("array" | "generic" | "array-simple");
|
|
12314
12398
|
}];
|
|
12399
|
+
// ----- @typescript-eslint/await-thenable -----
|
|
12400
|
+
type TypescriptEslintAwaitThenable = [] | [{
|
|
12401
|
+
allowMixedPromiseArrays?: boolean;
|
|
12402
|
+
}];
|
|
12315
12403
|
// ----- @typescript-eslint/ban-ts-comment -----
|
|
12316
12404
|
type TypescriptEslintBanTsComment = [] | [{
|
|
12317
12405
|
minimumDescriptionLength?: number;
|
|
@@ -16556,9 +16644,9 @@ type CssSelectorComplexity = [] | [{
|
|
|
16556
16644
|
type CssUseBaseline = [] | [{
|
|
16557
16645
|
available?: (("widely" | "newly") | number);
|
|
16558
16646
|
allowAtRules?: ("position-try" | "keyframes" | "layer" | "charset" | "container" | "counter-style" | "view-transition" | "custom-media" | "font-face" | "font-palette-values" | "font-feature-values" | "function" | "import" | "media" | "namespace" | "page" | "property" | "scope" | "starting-style" | "supports")[];
|
|
16559
|
-
allowFunctions?: ("abs" | "sign" | "alpha" | "anchor" | "anchor-size" | "attr" | "calc" | "calc-size" | "
|
|
16647
|
+
allowFunctions?: ("abs" | "sign" | "alpha" | "anchor" | "anchor-size" | "attr" | "calc" | "calc-size" | "rect" | "color" | "color-mix" | "conic-gradient" | "repeating-conic-gradient" | "contrast-color" | "round" | "superellipse" | "counter" | "counters" | "cross-fade" | "cubic-bezier" | "var" | "dynamic-range-limit-mix" | "element" | "exp" | "hypot" | "log" | "pow" | "sqrt" | "blur" | "brightness" | "contrast" | "drop-shadow" | "grayscale" | "hue-rotate" | "invert" | "opacity" | "saturate" | "sepia" | "filter" | "fit-content" | "url" | "type" | "linear-gradient" | "radial-gradient" | "repeating-linear-gradient" | "repeating-radial-gradient" | "hsl" | "hwb" | "if" | "image" | "image-set" | "lab" | "lch" | "light-dark" | "clamp" | "max" | "min" | "ray" | "oklab" | "oklch" | "paint" | "path" | "progress" | "random" | "xywh" | "rgb" | "mod" | "rem" | "env" | "shape" | "circle" | "ellipse" | "inset" | "polygon" | "sibling-count" | "sibling-index" | "steps" | "symbols" | "matrix" | "rotate" | "scale" | "scaleX" | "scaleY" | "skew" | "skewX" | "skewY" | "translate" | "translateX" | "translateY" | "matrix3d" | "perspective" | "rotate3d" | "rotateX" | "rotateY" | "rotateZ" | "scale3d" | "scaleZ" | "translate3d" | "translateZ" | "acos" | "asin" | "atan" | "atan2" | "cos" | "sin" | "tan" | "cross-origin" | "integrity" | "referrer-policy")[];
|
|
16560
16648
|
allowMediaConditions?: ("color-gamut" | "device-posture" | "device-aspect-ratio" | "device-height" | "device-width" | "display-mode" | "dynamic-range" | "forced-colors" | "any-hover" | "any-pointer" | "hover" | "pointer" | "inverted-colors" | "aspect-ratio" | "calc" | "color" | "color-index" | "grid" | "height" | "monochrome" | "nested-queries" | "orientation" | "width" | "overflow-block" | "overflow-inline" | "prefers-color-scheme" | "prefers-contrast" | "prefers-reduced-data" | "prefers-reduced-motion" | "prefers-reduced-transparency" | "resolution" | "-webkit-device-pixel-ratio" | "-webkit-max-device-pixel-ratio" | "-webkit-min-device-pixel-ratio" | "scripting" | "-webkit-transform-3d" | "update" | "video-dynamic-range" | "horizontal-viewport-segments" | "vertical-viewport-segments")[];
|
|
16561
|
-
allowProperties?: ("accent-color" | "alignment-baseline" | "all" | "anchor-name" | "anchor-scope" | "position-anchor" | "position-area" | "position-try" | "position-try-fallbacks" | "position-try-order" | "position-visibility" | "animation-composition" | "animation" | "animation-delay" | "animation-direction" | "animation-duration" | "animation-fill-mode" | "animation-iteration-count" | "animation-name" | "animation-play-state" | "animation-timing-function" | "appearance" | "aspect-ratio" | "backdrop-filter" | "background" | "background-attachment" | "background-blend-mode" | "background-clip" | "background-color" | "background-image" | "background-origin" | "background-position" | "background-position-x" | "background-position-y" | "background-repeat" | "background-size" | "baseline-shift" | "baseline-source" | "border-image" | "border-image-outset" | "border-image-repeat" | "border-image-slice" | "border-image-source" | "border-image-width" | "border-bottom-left-radius" | "border-bottom-right-radius" | "border-radius" | "border-top-left-radius" | "border-top-right-radius" | "border-shape" | "border" | "border-bottom" | "border-bottom-color" | "border-bottom-style" | "border-bottom-width" | "border-color" | "border-left" | "border-left-color" | "border-left-style" | "border-left-width" | "border-right" | "border-right-color" | "border-right-style" | "border-right-width" | "border-style" | "border-top" | "border-top-color" | "border-top-style" | "border-top-width" | "border-width" | "box-decoration-break" | "box-shadow" | "box-sizing" | "caret-color" | "caret-shape" | "clip" | "clip-path" | "color" | "color-adjust" | "color-scheme" | "column-fill" | "column-span" | "contain" | "contain-intrinsic-block-size" | "contain-intrinsic-height" | "contain-intrinsic-inline-size" | "contain-intrinsic-size" | "contain-intrinsic-width" | "container" | "container-name" | "container-type" | "content" | "content-visibility" | "corner-block-end-shape" | "corner-block-start-shape" | "corner-bottom-left-shape" | "corner-bottom-right-shape" | "corner-bottom-shape" | "corner-end-end-shape" | "corner-end-start-shape" | "corner-inline-end-shape" | "corner-inline-start-shape" | "corner-left-shape" | "corner-right-shape" | "corner-shape" | "corner-start-end-shape" | "corner-start-start-shape" | "corner-top-left-shape" | "corner-top-right-shape" | "corner-top-shape" | "counter-set" | "counter-increment" | "counter-reset" | "custom-property" | "display" | "dominant-baseline" | "dynamic-range-limit" | "field-sizing" | "filter" | "align-content" | "align-items" | "align-self" | "flex" | "flex-basis" | "flex-direction" | "flex-flow" | "flex-grow" | "flex-shrink" | "flex-wrap" | "justify-content" | "justify-items" | "order" | "place-content" | "place-items" | "place-self" | "clear" | "float" | "font-family" | "font-feature-settings" | "font-kerning" | "font-language-override" | "font-optical-sizing" | "font-palette" | "font" | "font-size" | "font-size-adjust" | "font-stretch" | "font-style" | "font-synthesis" | "font-synthesis-position" | "font-synthesis-small-caps" | "font-synthesis-style" | "font-synthesis-weight" | "font-variant" | "font-variant-alternates" | "font-variant-caps" | "font-variant-east-asian" | "font-variant-emoji" | "font-variant-ligatures" | "font-variant-numeric" | "font-variant-position" | "font-variation-settings" | "font-weight" | "font-width" | "forced-color-adjust" | "frame-sizing" | "column-rule-break" | "column-rule-inset" | "column-rule-inset-cap" | "column-rule-inset-cap-end" | "column-rule-inset-cap-start" | "column-rule-inset-end" | "column-rule-inset-junction" | "column-rule-inset-junction-end" | "column-rule-inset-junction-start" | "column-rule-inset-start" | "column-rule-visibility-items" | "row-rule" | "row-rule-break" | "row-rule-color" | "row-rule-inset" | "row-rule-inset-cap" | "row-rule-inset-cap-end" | "row-rule-inset-cap-start" | "row-rule-inset-end" | "row-rule-inset-junction" | "row-rule-inset-junction-end" | "row-rule-inset-junction-start" | "row-rule-inset-start" | "row-rule-style" | "row-rule-visibility-items" | "row-rule-width" | "rule" | "rule-break" | "rule-color" | "rule-inset" | "rule-inset-cap" | "rule-inset-end" | "rule-inset-junction" | "rule-inset-start" | "rule-overlap" | "rule-style" | "rule-visibility-items" | "rule-width" | "glyph-orientation-vertical" | "gap" | "grid" | "grid-area" | "grid-auto-columns" | "grid-auto-flow" | "grid-auto-rows" | "grid-column" | "grid-column-end" | "grid-column-start" | "grid-row" | "grid-row-end" | "grid-row-start" | "grid-template" | "grid-template-areas" | "grid-template-columns" | "grid-template-rows" | "justify-self" | "row-gap" | "hanging-punctuation" | "hyphenate-character" | "hyphenate-limit-chars" | "hyphens" | "image-orientation" | "image-rendering" | "ime-mode" | "rotate" | "scale" | "translate" | "initial-letter" | "interactivity" | "interpolate-size" | "isolation" | "direction" | "unicode-bidi" | "letter-spacing" | "line-break" | "line-clamp" | "line-height" | "list-style" | "list-style-image" | "list-style-position" | "list-style-type" | "block-size" | "border-block" | "border-block-color" | "border-block-end" | "border-block-end-color" | "border-block-end-style" | "border-block-end-width" | "border-block-start" | "border-block-start-color" | "border-block-start-style" | "border-block-start-width" | "border-block-style" | "border-block-width" | "border-end-end-radius" | "border-end-start-radius" | "border-inline" | "border-inline-color" | "border-inline-end" | "border-inline-end-color" | "border-inline-end-style" | "border-inline-end-width" | "border-inline-start" | "border-inline-start-color" | "border-inline-start-style" | "border-inline-start-width" | "border-inline-style" | "border-inline-width" | "border-start-end-radius" | "border-start-start-radius" | "inline-size" | "inset" | "inset-block" | "inset-block-end" | "inset-block-start" | "inset-inline" | "inset-inline-end" | "inset-inline-start" | "margin-block" | "margin-block-end" | "margin-block-start" | "margin-inline" | "margin-inline-end" | "margin-inline-start" | "max-block-size" | "max-inline-size" | "min-block-size" | "min-inline-size" | "overflow-block" | "overflow-inline" | "padding-block" | "padding-block-end" | "padding-block-start" | "padding-inline" | "padding-inline-end" | "padding-inline-start" | "margin" | "margin-bottom" | "margin-left" | "margin-right" | "margin-top" | "margin-trim" | "mask-border" | "mask-border-outset" | "mask-border-repeat" | "mask-border-slice" | "mask-border-source" | "mask-border-width" | "mask-type" | "mask" | "mask-clip" | "mask-composite" | "mask-image" | "mask-mode" | "mask-origin" | "mask-position" | "mask-repeat" | "mask-size" | "math-depth" | "math-shift" | "math-style" | "max-height" | "max-width" | "min-height" | "min-width" | "mix-blend-mode" | "offset" | "offset-anchor" | "offset-distance" | "offset-path" | "offset-position" | "offset-rotate" | "column-count" | "column-gap" | "column-rule" | "column-rule-color" | "column-rule-style" | "column-rule-width" | "column-width" | "columns" | "object-fit" | "object-position" | "object-view-box" | "opacity" | "fill-opacity" | "stroke-opacity" | "outline" | "outline-color" | "outline-offset" | "outline-style" | "outline-width" | "overflow-anchor" | "overflow-clip-margin" | "overflow" | "overflow-x" | "overflow-y" | "overflow-wrap" | "overlay" | "overscroll-behavior" | "overscroll-behavior-block" | "overscroll-behavior-inline" | "overscroll-behavior-x" | "overscroll-behavior-y" | "padding" | "padding-bottom" | "padding-left" | "padding-right" | "padding-top" | "page-break-after" | "page-break-before" | "page-break-inside" | "break-after" | "break-before" | "break-inside" | "page" | "paint-order" | "bottom" | "left" | "right" | "top" | "pointer-events" | "position" | "print-color-adjust" | "quotes" | "reading-flow" | "reading-order" | "resize" | "ruby-align" | "ruby-overhang" | "ruby-position" | "scroll-behavior" | "animation-range" | "animation-range-end" | "animation-range-start" | "animation-timeline" | "scroll-timeline" | "scroll-timeline-axis" | "scroll-timeline-name" | "timeline-scope" | "view-timeline" | "view-timeline-axis" | "view-timeline-inset" | "view-timeline-name" | "scroll-initial-target" | "scroll-marker-group" | "scroll-margin" | "scroll-margin-block" | "scroll-margin-block-end" | "scroll-margin-block-start" | "scroll-margin-bottom" | "scroll-margin-inline" | "scroll-margin-inline-end" | "scroll-margin-inline-start" | "scroll-margin-left" | "scroll-margin-right" | "scroll-margin-top" | "scroll-padding" | "scroll-padding-block" | "scroll-padding-block-end" | "scroll-padding-block-start" | "scroll-padding-bottom" | "scroll-padding-inline" | "scroll-padding-inline-end" | "scroll-padding-inline-start" | "scroll-padding-left" | "scroll-padding-right" | "scroll-padding-top" | "scroll-snap-align" | "scroll-snap-stop" | "scroll-snap-type" | "scroll-target-group" | "scrollbar-color" | "scrollbar-gutter" | "scrollbar-width" | "shape-image-threshold" | "shape-margin" | "shape-outside" | "speak" | "speak-as" | "clip-rule" | "color-interpolation" | "cx" | "cy" | "d" | "fill" | "fill-rule" | "marker" | "marker-end" | "marker-mid" | "marker-start" | "r" | "rx" | "ry" | "shape-rendering" | "stop-color" | "stop-opacity" | "stroke" | "stroke-color" | "stroke-dasharray" | "stroke-dashoffset" | "stroke-linecap" | "stroke-linejoin" | "stroke-miterlimit" | "stroke-width" | "text-anchor" | "text-rendering" | "vector-effect" | "x" | "y" | "color-interpolation-filters" | "flood-color" | "flood-opacity" | "lighting-color" | "tab-size" | "border-collapse" | "border-spacing" | "caption-side" | "empty-cells" | "table-layout" | "text-align" | "text-align-last" | "text-autospace" | "text-box" | "text-box-edge" | "text-box-trim" | "text-combine-upright" | "text-decoration" | "text-decoration-color" | "text-decoration-line" | "text-decoration-style" | "text-decoration-thickness" | "text-decoration-skip-ink" | "text-emphasis" | "text-emphasis-color" | "text-emphasis-position" | "text-emphasis-style" | "text-fit" | "text-indent" | "text-justify" | "text-orientation" | "text-overflow" | "text-shadow" | "text-size-adjust" | "text-spacing-trim" | "-webkit-text-fill-color" | "-webkit-text-stroke" | "-webkit-text-stroke-color" | "-webkit-text-stroke-width" | "text-transform" | "text-underline-offset" | "text-underline-position" | "text-wrap" | "text-wrap-mode" | "text-wrap-style" | "touch-action" | "transform-box" | "transform" | "transform-origin" | "backface-visibility" | "perspective" | "perspective-origin" | "transform-style" | "transition-behavior" | "transition" | "transition-delay" | "transition-duration" | "transition-property" | "transition-timing-function" | "user-select" | "vertical-align" | "view-transition-class" | "view-transition-name" | "view-transition-scope" | "visibility" | "white-space" | "white-space-collapse" | "orphans" | "widows" | "height" | "width" | "will-change" | "window-drag" | "word-break" | "word-spacing" | "writing-mode" | "z-index" | "zoom")[];
|
|
16649
|
+
allowProperties?: ("accent-color" | "alignment-baseline" | "all" | "anchor-name" | "anchor-scope" | "position-anchor" | "position-area" | "position-try" | "position-try-fallbacks" | "position-try-order" | "position-visibility" | "animation-composition" | "animation" | "animation-delay" | "animation-direction" | "animation-duration" | "animation-fill-mode" | "animation-iteration-count" | "animation-name" | "animation-play-state" | "animation-timing-function" | "appearance" | "aspect-ratio" | "backdrop-filter" | "background" | "background-attachment" | "background-blend-mode" | "background-clip" | "background-color" | "background-image" | "background-origin" | "background-position" | "background-position-x" | "background-position-y" | "background-repeat" | "background-size" | "baseline-shift" | "baseline-source" | "border-image" | "border-image-outset" | "border-image-repeat" | "border-image-slice" | "border-image-source" | "border-image-width" | "border-bottom-left-radius" | "border-bottom-right-radius" | "border-radius" | "border-top-left-radius" | "border-top-right-radius" | "border-shape" | "border" | "border-bottom" | "border-bottom-color" | "border-bottom-style" | "border-bottom-width" | "border-color" | "border-left" | "border-left-color" | "border-left-style" | "border-left-width" | "border-right" | "border-right-color" | "border-right-style" | "border-right-width" | "border-style" | "border-top" | "border-top-color" | "border-top-style" | "border-top-width" | "border-width" | "box-decoration-break" | "box-shadow" | "box-sizing" | "caret-color" | "caret-shape" | "clip" | "clip-path" | "color" | "color-adjust" | "color-scheme" | "column-fill" | "column-span" | "contain" | "contain-intrinsic-block-size" | "contain-intrinsic-height" | "contain-intrinsic-inline-size" | "contain-intrinsic-size" | "contain-intrinsic-width" | "container" | "container-name" | "container-type" | "content" | "content-visibility" | "corner-block-end-shape" | "corner-block-start-shape" | "corner-bottom-left-shape" | "corner-bottom-right-shape" | "corner-bottom-shape" | "corner-end-end-shape" | "corner-end-start-shape" | "corner-inline-end-shape" | "corner-inline-start-shape" | "corner-left-shape" | "corner-right-shape" | "corner-shape" | "corner-start-end-shape" | "corner-start-start-shape" | "corner-top-left-shape" | "corner-top-right-shape" | "corner-top-shape" | "counter-set" | "counter-increment" | "counter-reset" | "custom-property" | "display" | "dominant-baseline" | "dynamic-range-limit" | "field-sizing" | "filter" | "align-content" | "align-items" | "align-self" | "flex" | "flex-basis" | "flex-direction" | "flex-flow" | "flex-grow" | "flex-shrink" | "flex-wrap" | "justify-content" | "justify-items" | "order" | "place-content" | "place-items" | "place-self" | "clear" | "float" | "font-family" | "font-feature-settings" | "font-kerning" | "font-language-override" | "font-optical-sizing" | "font-palette" | "font" | "font-size" | "font-size-adjust" | "font-stretch" | "font-style" | "font-synthesis" | "font-synthesis-position" | "font-synthesis-small-caps" | "font-synthesis-style" | "font-synthesis-weight" | "font-variant" | "font-variant-alternates" | "font-variant-caps" | "font-variant-east-asian" | "font-variant-emoji" | "font-variant-ligatures" | "font-variant-numeric" | "font-variant-position" | "font-variation-settings" | "font-weight" | "font-width" | "forced-color-adjust" | "frame-sizing" | "column-rule-break" | "column-rule-inset" | "column-rule-inset-cap" | "column-rule-inset-cap-end" | "column-rule-inset-cap-start" | "column-rule-inset-end" | "column-rule-inset-junction" | "column-rule-inset-junction-end" | "column-rule-inset-junction-start" | "column-rule-inset-start" | "column-rule-visibility-items" | "row-rule" | "row-rule-break" | "row-rule-color" | "row-rule-inset" | "row-rule-inset-cap" | "row-rule-inset-cap-end" | "row-rule-inset-cap-start" | "row-rule-inset-end" | "row-rule-inset-junction" | "row-rule-inset-junction-end" | "row-rule-inset-junction-start" | "row-rule-inset-start" | "row-rule-style" | "row-rule-visibility-items" | "row-rule-width" | "rule" | "rule-break" | "rule-color" | "rule-inset" | "rule-inset-cap" | "rule-inset-end" | "rule-inset-junction" | "rule-inset-start" | "rule-overlap" | "rule-style" | "rule-visibility-items" | "rule-width" | "glyph-orientation-vertical" | "gap" | "grid" | "grid-area" | "grid-auto-columns" | "grid-auto-flow" | "grid-auto-rows" | "grid-column" | "grid-column-end" | "grid-column-start" | "grid-row" | "grid-row-end" | "grid-row-start" | "grid-template" | "grid-template-areas" | "grid-template-columns" | "grid-template-rows" | "justify-self" | "row-gap" | "flow-tolerance" | "hanging-punctuation" | "hyphenate-character" | "hyphenate-limit-chars" | "hyphens" | "image-orientation" | "image-rendering" | "ime-mode" | "rotate" | "scale" | "translate" | "initial-letter" | "interactivity" | "interpolate-size" | "isolation" | "direction" | "unicode-bidi" | "letter-spacing" | "line-break" | "line-clamp" | "line-height" | "link-parameters" | "list-style" | "list-style-image" | "list-style-position" | "list-style-type" | "block-size" | "border-block" | "border-block-color" | "border-block-end" | "border-block-end-color" | "border-block-end-style" | "border-block-end-width" | "border-block-start" | "border-block-start-color" | "border-block-start-style" | "border-block-start-width" | "border-block-style" | "border-block-width" | "border-end-end-radius" | "border-end-start-radius" | "border-inline" | "border-inline-color" | "border-inline-end" | "border-inline-end-color" | "border-inline-end-style" | "border-inline-end-width" | "border-inline-start" | "border-inline-start-color" | "border-inline-start-style" | "border-inline-start-width" | "border-inline-style" | "border-inline-width" | "border-start-end-radius" | "border-start-start-radius" | "inline-size" | "inset" | "inset-block" | "inset-block-end" | "inset-block-start" | "inset-inline" | "inset-inline-end" | "inset-inline-start" | "margin-block" | "margin-block-end" | "margin-block-start" | "margin-inline" | "margin-inline-end" | "margin-inline-start" | "max-block-size" | "max-inline-size" | "min-block-size" | "min-inline-size" | "overflow-block" | "overflow-inline" | "padding-block" | "padding-block-end" | "padding-block-start" | "padding-inline" | "padding-inline-end" | "padding-inline-start" | "margin" | "margin-bottom" | "margin-left" | "margin-right" | "margin-top" | "margin-trim" | "mask-border" | "mask-border-outset" | "mask-border-repeat" | "mask-border-slice" | "mask-border-source" | "mask-border-width" | "mask-type" | "mask" | "mask-clip" | "mask-composite" | "mask-image" | "mask-mode" | "mask-origin" | "mask-position" | "mask-repeat" | "mask-size" | "math-depth" | "math-shift" | "math-style" | "max-height" | "max-width" | "min-height" | "min-width" | "mix-blend-mode" | "offset" | "offset-anchor" | "offset-distance" | "offset-path" | "offset-position" | "offset-rotate" | "column-count" | "column-gap" | "column-rule" | "column-rule-color" | "column-rule-style" | "column-rule-width" | "column-width" | "columns" | "object-fit" | "object-position" | "object-view-box" | "opacity" | "fill-opacity" | "stroke-opacity" | "outline" | "outline-color" | "outline-offset" | "outline-style" | "outline-width" | "overflow-anchor" | "overflow-clip-margin" | "overflow" | "overflow-x" | "overflow-y" | "overflow-wrap" | "overlay" | "overscroll-behavior" | "overscroll-behavior-block" | "overscroll-behavior-inline" | "overscroll-behavior-x" | "overscroll-behavior-y" | "padding" | "padding-bottom" | "padding-left" | "padding-right" | "padding-top" | "page-break-after" | "page-break-before" | "page-break-inside" | "break-after" | "break-before" | "break-inside" | "page" | "paint-order" | "bottom" | "left" | "right" | "top" | "pointer-events" | "position" | "print-color-adjust" | "quotes" | "reading-flow" | "reading-order" | "resize" | "ruby-align" | "ruby-overhang" | "ruby-position" | "scroll-axis-lock" | "scroll-behavior" | "animation-range" | "animation-range-end" | "animation-range-start" | "animation-timeline" | "scroll-timeline" | "scroll-timeline-axis" | "scroll-timeline-name" | "timeline-scope" | "view-timeline" | "view-timeline-axis" | "view-timeline-inset" | "view-timeline-name" | "scroll-initial-target" | "scroll-marker-group" | "scroll-margin" | "scroll-margin-block" | "scroll-margin-block-end" | "scroll-margin-block-start" | "scroll-margin-bottom" | "scroll-margin-inline" | "scroll-margin-inline-end" | "scroll-margin-inline-start" | "scroll-margin-left" | "scroll-margin-right" | "scroll-margin-top" | "scroll-padding" | "scroll-padding-block" | "scroll-padding-block-end" | "scroll-padding-block-start" | "scroll-padding-bottom" | "scroll-padding-inline" | "scroll-padding-inline-end" | "scroll-padding-inline-start" | "scroll-padding-left" | "scroll-padding-right" | "scroll-padding-top" | "scroll-snap-align" | "scroll-snap-stop" | "scroll-snap-type" | "scroll-target-group" | "scrollbar-color" | "scrollbar-gutter" | "scrollbar-width" | "shape-image-threshold" | "shape-margin" | "shape-outside" | "speak" | "speak-as" | "clip-rule" | "color-interpolation" | "cx" | "cy" | "d" | "fill" | "fill-rule" | "marker" | "marker-end" | "marker-mid" | "marker-start" | "r" | "rx" | "ry" | "shape-rendering" | "stop-color" | "stop-opacity" | "stroke" | "stroke-color" | "stroke-dasharray" | "stroke-dashoffset" | "stroke-linecap" | "stroke-linejoin" | "stroke-miterlimit" | "stroke-width" | "text-anchor" | "text-rendering" | "vector-effect" | "x" | "y" | "color-interpolation-filters" | "flood-color" | "flood-opacity" | "lighting-color" | "tab-size" | "border-collapse" | "border-spacing" | "caption-side" | "empty-cells" | "table-layout" | "text-align" | "text-align-last" | "text-autospace" | "text-box" | "text-box-edge" | "text-box-trim" | "text-combine-upright" | "text-decoration" | "text-decoration-color" | "text-decoration-line" | "text-decoration-style" | "text-decoration-thickness" | "text-decoration-skip-ink" | "text-decoration-skip-spaces" | "text-emphasis" | "text-emphasis-color" | "text-emphasis-position" | "text-emphasis-style" | "text-fit" | "text-indent" | "text-justify" | "text-orientation" | "text-overflow" | "text-shadow" | "text-size-adjust" | "text-spacing-trim" | "-webkit-text-fill-color" | "-webkit-text-stroke" | "-webkit-text-stroke-color" | "-webkit-text-stroke-width" | "text-transform" | "text-underline-offset" | "text-underline-position" | "text-wrap" | "text-wrap-mode" | "text-wrap-style" | "touch-action" | "transform-box" | "transform" | "transform-origin" | "backface-visibility" | "perspective" | "perspective-origin" | "transform-style" | "transition-behavior" | "transition" | "transition-delay" | "transition-duration" | "transition-property" | "transition-timing-function" | "user-select" | "vertical-align" | "view-transition-class" | "view-transition-name" | "view-transition-scope" | "visibility" | "white-space" | "white-space-collapse" | "orphans" | "widows" | "height" | "width" | "will-change" | "window-drag" | "word-break" | "word-spacing" | "writing-mode" | "z-index" | "zoom")[];
|
|
16562
16650
|
allowPropertyValues?: {
|
|
16563
16651
|
"accent-color"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "currentColor" | "transparent")[];
|
|
16564
16652
|
"alignment-baseline"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "alphabetic" | "baseline" | "central" | "ideographic" | "mathematical" | "middle" | "text-after-edge" | "text-before-edge")[];
|
|
@@ -16584,7 +16672,7 @@ type CssUseBaseline = [] | [{
|
|
|
16584
16672
|
appearance?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "button" | "checkbox" | "listbox" | "menulist" | "menulist-button" | "meter" | "none" | "progress-bar" | "radio" | "searchfield" | "textarea" | "textfield" | "base-select")[];
|
|
16585
16673
|
"aspect-ratio"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto")[];
|
|
16586
16674
|
"backdrop-filter"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16587
|
-
background?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "local" | "no-repeat" | "none" | "repeat" | "repeat-x" | "repeat-y" | "round" | "scroll" | "space" | "transparent" | "background-clip" | "background-origin" | "background-size" | "currentColor")[];
|
|
16675
|
+
background?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "local" | "no-repeat" | "none" | "repeat" | "repeat-x" | "repeat-y" | "round" | "scroll" | "space" | "transparent" | "background-clip" | "text" | "background-origin" | "background-size" | "currentColor")[];
|
|
16588
16676
|
"background-attachment"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "fixed" | "local" | "scroll")[];
|
|
16589
16677
|
"background-blend-mode"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16590
16678
|
"background-clip"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "border-box" | "content-box" | "padding-box" | "border-area" | "text")[];
|
|
@@ -16592,8 +16680,8 @@ type CssUseBaseline = [] | [{
|
|
|
16592
16680
|
"background-image"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "none" | "element" | "gradients" | "image-set")[];
|
|
16593
16681
|
"background-origin"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "border-box" | "content-box" | "padding-box")[];
|
|
16594
16682
|
"background-position"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "bottom" | "center" | "left" | "right" | "top")[];
|
|
16595
|
-
"background-position-x"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16596
|
-
"background-position-y"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16683
|
+
"background-position-x"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "center" | "left" | "right")[];
|
|
16684
|
+
"background-position-y"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "bottom" | "center" | "top")[];
|
|
16597
16685
|
"background-repeat"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "2-value" | "no-repeat" | "repeat" | "repeat-x" | "repeat-y" | "round" | "space")[];
|
|
16598
16686
|
"background-size"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "contain" | "cover")[];
|
|
16599
16687
|
"baseline-shift"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "sub" | "super")[];
|
|
@@ -16602,7 +16690,7 @@ type CssUseBaseline = [] | [{
|
|
|
16602
16690
|
"border-image-outset"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16603
16691
|
"border-image-repeat"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "repeat" | "round" | "space" | "stretch")[];
|
|
16604
16692
|
"border-image-slice"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16605
|
-
"border-image-source"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16693
|
+
"border-image-source"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "none")[];
|
|
16606
16694
|
"border-image-width"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto")[];
|
|
16607
16695
|
"border-bottom-left-radius"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "percentages")[];
|
|
16608
16696
|
"border-bottom-right-radius"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "percentages")[];
|
|
@@ -16636,7 +16724,7 @@ type CssUseBaseline = [] | [{
|
|
|
16636
16724
|
"caret-color"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "currentColor" | "transparent")[];
|
|
16637
16725
|
"caret-shape"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "bar" | "block" | "underscore")[];
|
|
16638
16726
|
clip?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto")[];
|
|
16639
|
-
"clip-path"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "path" | "fill-box" | "stroke-box" | "view-box")[];
|
|
16727
|
+
"clip-path"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "none" | "path" | "fill-box" | "stroke-box" | "view-box")[];
|
|
16640
16728
|
color?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "currentColor")[];
|
|
16641
16729
|
"color-adjust"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16642
16730
|
"color-scheme"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "dark" | "light" | "normal" | "only")[];
|
|
@@ -16674,14 +16762,14 @@ type CssUseBaseline = [] | [{
|
|
|
16674
16762
|
"counter-increment"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "list-item" | "none")[];
|
|
16675
16763
|
"counter-reset"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "reversed" | "list-item" | "none")[];
|
|
16676
16764
|
"custom-property"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16677
|
-
display?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "block" | "inline" | "inline-block" | "none" | "contents" | "flow-root" | "list-item" | "ruby" | "ruby-base" | "ruby-base-container" | "ruby-text" | "ruby-text-container" | "inline-table" | "table" | "table-caption" | "table-cell" | "table-column" | "table-column-group" | "table-footer-group" | "table-header-group" | "table-row" | "table-row-group" | "flex" | "inline-flex" | "grid" | "inline-grid" | "math")[];
|
|
16765
|
+
display?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "block" | "inline" | "inline-block" | "none" | "contents" | "flow-root" | "list-item" | "ruby" | "ruby-base" | "ruby-base-container" | "ruby-text" | "ruby-text-container" | "inline-table" | "table" | "table-caption" | "table-cell" | "table-column" | "table-column-group" | "table-footer-group" | "table-header-group" | "table-row" | "table-row-group" | "flex" | "inline-flex" | "grid" | "inline-grid" | "grid-lanes" | "inline-grid-lanes" | "math")[];
|
|
16678
16766
|
"dominant-baseline"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "alphabetic" | "auto" | "central" | "hanging" | "ideographic" | "mathematical" | "middle")[];
|
|
16679
16767
|
"dynamic-range-limit"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "constrained" | "no-limit" | "standard")[];
|
|
16680
16768
|
"field-sizing"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "content" | "fixed")[];
|
|
16681
16769
|
filter?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "blur" | "brightness" | "contrast" | "drop-shadow" | "grayscale" | "hue-rotate" | "invert" | "opacity" | "saturate" | "sepia")[];
|
|
16682
|
-
"align-content"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "normal")[];
|
|
16683
|
-
"align-items"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "anchor-center")[];
|
|
16684
|
-
"align-self"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "anchor-center" | "auto" | "normal" | "stretch")[];
|
|
16770
|
+
"align-content"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "baseline" | "end" | "normal" | "safe" | "space-evenly" | "start" | "stretch" | "unsafe")[];
|
|
16771
|
+
"align-items"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "anchor-center" | "baseline" | "center" | "end" | "safe" | "start" | "unsafe")[];
|
|
16772
|
+
"align-self"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "anchor-center" | "auto" | "baseline" | "end" | "normal" | "safe" | "start" | "stretch" | "unsafe")[];
|
|
16685
16773
|
flex?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "none")[];
|
|
16686
16774
|
"flex-basis"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "content" | "fit-content" | "max-content" | "min-content")[];
|
|
16687
16775
|
"flex-direction"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "column" | "column-reverse" | "row" | "row-reverse")[];
|
|
@@ -16704,7 +16792,7 @@ type CssUseBaseline = [] | [{
|
|
|
16704
16792
|
"font-optical-sizing"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "none")[];
|
|
16705
16793
|
"font-palette"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "dark" | "light" | "normal")[];
|
|
16706
16794
|
font?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "caption" | "icon" | "menu" | "message-box" | "small-caption" | "status-bar")[];
|
|
16707
|
-
"font-size"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "xxx-large" | "math")[];
|
|
16795
|
+
"font-size"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "large" | "larger" | "medium" | "small" | "smaller" | "x-large" | "x-small" | "xx-large" | "xx-small" | "xxx-large" | "math")[];
|
|
16708
16796
|
"font-size-adjust"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "from-font" | "none" | "two-values")[];
|
|
16709
16797
|
"font-stretch"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "condensed" | "expanded" | "extra-condensed" | "extra-expanded" | "normal" | "percentage" | "semi-condensed" | "semi-expanded" | "ultra-condensed" | "ultra-expanded")[];
|
|
16710
16798
|
"font-style"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "italic" | "normal" | "oblique" | "oblique-angle")[];
|
|
@@ -16783,6 +16871,7 @@ type CssUseBaseline = [] | [{
|
|
|
16783
16871
|
"grid-template-rows"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "fit-content" | "max-content" | "min-content" | "minmax" | "none" | "repeat" | "animation" | "subgrid")[];
|
|
16784
16872
|
"justify-self"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "anchor-center" | "auto" | "left" | "normal" | "right" | "stretch")[];
|
|
16785
16873
|
"row-gap"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "normal")[];
|
|
16874
|
+
"flow-tolerance"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "infinite" | "normal")[];
|
|
16786
16875
|
"hanging-punctuation"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "allow-end" | "first" | "force-end" | "last" | "none")[];
|
|
16787
16876
|
"hyphenate-character"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto")[];
|
|
16788
16877
|
"hyphenate-limit-chars"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto")[];
|
|
@@ -16803,10 +16892,11 @@ type CssUseBaseline = [] | [{
|
|
|
16803
16892
|
"line-break"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "anywhere" | "auto" | "loose" | "normal" | "strict")[];
|
|
16804
16893
|
"line-clamp"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "none")[];
|
|
16805
16894
|
"line-height"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "normal")[];
|
|
16895
|
+
"link-parameters"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "none")[];
|
|
16806
16896
|
"list-style"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "inside" | "none" | "outside" | "symbols")[];
|
|
16807
16897
|
"list-style-image"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "none")[];
|
|
16808
16898
|
"list-style-position"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "inside" | "outside")[];
|
|
16809
|
-
"list-style-type"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "arabic-indic" | "armenian" | "bengali" | "cambodian" | "circle" | "cjk-decimal" | "cjk-earthly-branch" | "cjk-heavenly-stem" | "cjk-ideographic" | "decimal" | "decimal-leading-zero" | "devanagari" | "disc" | "disclosure-closed" | "disclosure-open" | "ethiopic-numeric" | "georgian" | "gujarati" | "gurmukhi" | "hebrew" | "hiragana" | "hiragana-iroha" | "japanese-formal" | "japanese-informal" | "kannada" | "katakana" | "katakana-iroha" | "khmer" | "korean-hangul-formal" | "korean-hanja-formal" | "korean-hanja-informal" | "lao" | "lower-alpha" | "lower-armenian" | "lower-greek" | "lower-latin" | "lower-roman" | "malayalam" | "mongolian" | "myanmar" | "none" | "oriya" | "persian" | "simp-chinese-formal" | "simp-chinese-informal" | "square" | "string" | "
|
|
16899
|
+
"list-style-type"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "arabic-indic" | "armenian" | "bengali" | "cambodian" | "circle" | "cjk-decimal" | "cjk-earthly-branch" | "cjk-heavenly-stem" | "cjk-ideographic" | "decimal" | "decimal-leading-zero" | "devanagari" | "disc" | "disclosure-closed" | "disclosure-open" | "ethiopic-numeric" | "georgian" | "gujarati" | "gurmukhi" | "hebrew" | "hiragana" | "hiragana-iroha" | "japanese-formal" | "japanese-informal" | "kannada" | "katakana" | "katakana-iroha" | "khmer" | "korean-hangul-formal" | "korean-hanja-formal" | "korean-hanja-informal" | "lao" | "lower-alpha" | "lower-armenian" | "lower-greek" | "lower-latin" | "lower-roman" | "malayalam" | "mongolian" | "myanmar" | "none" | "oriya" | "persian" | "simp-chinese-formal" | "simp-chinese-informal" | "square" | "string" | "tamil" | "telugu" | "thai" | "tibetan" | "trad-chinese-formal" | "trad-chinese-informal" | "upper-alpha" | "upper-armenian" | "upper-latin" | "upper-roman" | "symbols")[];
|
|
16810
16900
|
"block-size"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "anchor-size" | "fit-content" | "max-content" | "min-content")[];
|
|
16811
16901
|
"border-block"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "currentColor" | "dashed" | "dotted" | "double" | "groove" | "hidden" | "inset" | "medium" | "none" | "outset" | "ridge" | "solid" | "thick" | "thin" | "transparent")[];
|
|
16812
16902
|
"border-block-color"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "currentColor" | "transparent")[];
|
|
@@ -16905,14 +16995,14 @@ type CssUseBaseline = [] | [{
|
|
|
16905
16995
|
"column-rule-style"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "dashed" | "dotted" | "double" | "groove" | "hidden" | "inset" | "none" | "outset" | "ridge" | "solid")[];
|
|
16906
16996
|
"column-rule-width"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "medium" | "thick" | "thin")[];
|
|
16907
16997
|
"column-width"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto")[];
|
|
16908
|
-
columns?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16998
|
+
columns?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto")[];
|
|
16909
16999
|
"object-fit"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "contain" | "cover" | "fill" | "none" | "scale-down")[];
|
|
16910
17000
|
"object-position"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16911
17001
|
"object-view-box"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "none")[];
|
|
16912
17002
|
opacity?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "percentages")[];
|
|
16913
17003
|
"fill-opacity"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16914
17004
|
"stroke-opacity"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16915
|
-
outline?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "currentColor" | "dashed" | "dotted" | "double" | "groove" | "inset" | "medium" | "none" | "outset" | "ridge" | "solid" | "thick" | "thin" | "transparent")[];
|
|
17005
|
+
outline?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "currentColor" | "dashed" | "dotted" | "double" | "groove" | "inset" | "medium" | "none" | "outset" | "ridge" | "solid" | "thick" | "thin" | "transparent")[];
|
|
16916
17006
|
"outline-color"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "currentColor" | "transparent")[];
|
|
16917
17007
|
"outline-offset"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16918
17008
|
"outline-style"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "dashed" | "dotted" | "double" | "groove" | "inset" | "none" | "outset" | "ridge" | "solid")[];
|
|
@@ -16946,7 +17036,7 @@ type CssUseBaseline = [] | [{
|
|
|
16946
17036
|
left?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "anchor" | "anchor-size" | "auto")[];
|
|
16947
17037
|
right?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "anchor" | "anchor-size" | "auto")[];
|
|
16948
17038
|
top?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "anchor" | "anchor-size" | "auto")[];
|
|
16949
|
-
"pointer-events"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
17039
|
+
"pointer-events"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "all" | "auto" | "fill" | "none" | "painted" | "stroke" | "visible")[];
|
|
16950
17040
|
position?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "absolute" | "fixed" | "relative" | "static" | "sticky")[];
|
|
16951
17041
|
"print-color-adjust"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "economy" | "exact")[];
|
|
16952
17042
|
quotes?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "none")[];
|
|
@@ -16956,6 +17046,7 @@ type CssUseBaseline = [] | [{
|
|
|
16956
17046
|
"ruby-align"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "center" | "space-around" | "space-between" | "start")[];
|
|
16957
17047
|
"ruby-overhang"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "none")[];
|
|
16958
17048
|
"ruby-position"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "alternate" | "inter-character" | "over" | "under")[];
|
|
17049
|
+
"scroll-axis-lock"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "none")[];
|
|
16959
17050
|
"scroll-behavior"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "smooth")[];
|
|
16960
17051
|
"animation-range"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16961
17052
|
"animation-range-end"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "normal")[];
|
|
@@ -17006,7 +17097,7 @@ type CssUseBaseline = [] | [{
|
|
|
17006
17097
|
speak?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
17007
17098
|
"speak-as"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "digits" | "literal-punctuation" | "no-punctuation" | "normal" | "spell-out")[];
|
|
17008
17099
|
"clip-rule"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "evenodd" | "nonzero")[];
|
|
17009
|
-
"color-interpolation"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "linearGradient" | "sRGB")[];
|
|
17100
|
+
"color-interpolation"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "linearGradient" | "linearRGB" | "sRGB")[];
|
|
17010
17101
|
cx?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
17011
17102
|
cy?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
17012
17103
|
d?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
@@ -17047,7 +17138,7 @@ type CssUseBaseline = [] | [{
|
|
|
17047
17138
|
"table-layout"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "fixed")[];
|
|
17048
17139
|
"text-align"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start")[];
|
|
17049
17140
|
"text-align-last"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto")[];
|
|
17050
|
-
"text-autospace"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "ideograph-alpha" | "ideograph-numeric" | "insert" | "no-autospace" | "normal"
|
|
17141
|
+
"text-autospace"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "ideograph-alpha" | "ideograph-numeric" | "insert" | "no-autospace" | "normal")[];
|
|
17051
17142
|
"text-box"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "normal")[];
|
|
17052
17143
|
"text-box-edge"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto")[];
|
|
17053
17144
|
"text-box-trim"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "none" | "trim-both" | "trim-end" | "trim-start")[];
|
|
@@ -17058,6 +17149,7 @@ type CssUseBaseline = [] | [{
|
|
|
17058
17149
|
"text-decoration-style"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "wavy")[];
|
|
17059
17150
|
"text-decoration-thickness"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "from-font" | "percentage")[];
|
|
17060
17151
|
"text-decoration-skip-ink"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "none" | "all")[];
|
|
17152
|
+
"text-decoration-skip-spaces"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "all" | "end" | "none" | "start")[];
|
|
17061
17153
|
"text-emphasis"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "currentColor" | "transparent")[];
|
|
17062
17154
|
"text-emphasis-color"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "currentColor" | "transparent")[];
|
|
17063
17155
|
"text-emphasis-position"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "left" | "over" | "right" | "under")[];
|
|
@@ -17067,7 +17159,7 @@ type CssUseBaseline = [] | [{
|
|
|
17067
17159
|
"text-justify"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "inter-character" | "inter-word" | "none")[];
|
|
17068
17160
|
"text-orientation"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "mixed" | "sideways" | "upright")[];
|
|
17069
17161
|
"text-overflow"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "string" | "clip" | "ellipsis")[];
|
|
17070
|
-
"text-shadow"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
17162
|
+
"text-shadow"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "none")[];
|
|
17071
17163
|
"text-size-adjust"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "none" | "percentages")[];
|
|
17072
17164
|
"text-spacing-trim"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "normal" | "space-all" | "space-first" | "trim-start")[];
|
|
17073
17165
|
"-webkit-text-fill-color"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
@@ -17123,6 +17215,10 @@ type CssUseLayers = [] | [{
|
|
|
17123
17215
|
requireImportLayers?: boolean;
|
|
17124
17216
|
layerNamePattern?: string;
|
|
17125
17217
|
}];
|
|
17218
|
+
// ----- cssicorn/consistent-custom-property-fallbacks -----
|
|
17219
|
+
type CssicornConsistentCustomPropertyFallbacks = [] | [{
|
|
17220
|
+
customProperties?: string[];
|
|
17221
|
+
}];
|
|
17126
17222
|
// ----- cssicorn/consistent-layer-order -----
|
|
17127
17223
|
type CssicornConsistentLayerOrder = [] | [{
|
|
17128
17224
|
checkUndeclaredLayers?: boolean;
|
|
@@ -17143,6 +17239,13 @@ type CssicornNoRedundantLonghandProperties = [] | [{
|
|
|
17143
17239
|
type CssicornNoUnknownPseudoSelectors = [] | [{
|
|
17144
17240
|
allow?: string[];
|
|
17145
17241
|
}];
|
|
17242
|
+
// ----- cssicorn/no-unknown-type-selectors -----
|
|
17243
|
+
type CssicornNoUnknownTypeSelectors = [] | [{
|
|
17244
|
+
checkCustomElements?: boolean;
|
|
17245
|
+
allow?: (string | {
|
|
17246
|
+
[k: string]: unknown | undefined;
|
|
17247
|
+
})[];
|
|
17248
|
+
}];
|
|
17146
17249
|
// ----- cssicorn/no-unscoped-nesting-selector -----
|
|
17147
17250
|
type CssicornNoUnscopedNestingSelector = [] | [{
|
|
17148
17251
|
scopingRootAtRules?: string[];
|
|
@@ -17157,6 +17260,10 @@ type CssicornPreferExistingCustomProperties = [] | [{
|
|
|
17157
17260
|
type CssicornPreferExplicitViewportUnits = [] | [{
|
|
17158
17261
|
unit?: ("dvh" | "svh" | "lvh");
|
|
17159
17262
|
}];
|
|
17263
|
+
// ----- cssicorn/prefer-nesting -----
|
|
17264
|
+
type CssicornPreferNesting = [] | [{
|
|
17265
|
+
checkSharedPrefixes?: boolean;
|
|
17266
|
+
}];
|
|
17160
17267
|
// ----- curly -----
|
|
17161
17268
|
type Curly = ([] | ["all"] | [] | [("multi" | "multi-line" | "multi-or-nest")] | [("multi" | "multi-line" | "multi-or-nest"), "consistent"]);
|
|
17162
17269
|
// ----- cypress/unsafe-to-chain-command -----
|
|
@@ -18501,7 +18608,7 @@ type NNoUnsupportedFeaturesEsSyntax = [] | [{
|
|
|
18501
18608
|
type NNoUnsupportedFeaturesNodeBuiltins = [] | [{
|
|
18502
18609
|
version?: string;
|
|
18503
18610
|
allowExperimental?: boolean;
|
|
18504
|
-
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.locks" | "navigator.locks.request" | "navigator.locks.query" | "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.decapsulateBits" | "crypto.subtle.decapsulateKey" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encapsulateBits" | "crypto.subtle.encapsulateKey" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.getPublicKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "SubtleCrypto.supports" | "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.decapsulateBits" | "crypto.webcrypto.subtle.decapsulateKey" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encapsulateBits" | "crypto.webcrypto.subtle.encapsulateKey" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.getPublicKey" | "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.argon2" | "crypto.argon2Sync" | "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.decapsulate" | "crypto.diffieHellman" | "crypto.encapsulate" | "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.mkdtempDisposable" | "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.mkdtempDisposableSync" | "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.Utf8Stream" | "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.mkdtempDisposable" | "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.Agent" | "http.ClientRequest()" | "http.ClientRequest" | "http.Server()" | "http.Server" | "http.ServerResponse()" | "http.ServerResponse" | "http.IncomingMessage()" | "http.IncomingMessage" | "http.OutgoingMessage()" | "http.OutgoingMessage" | "http.WebSocket()" | "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.Network.webSocketCreated" | "inspector.Network.webSocketHandshakeResponseReceived" | "inspector.Network.webSocketClosed" | "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.Network.webSocketCreated" | "inspector/promises.Network.webSocketHandshakeResponseReceived" | "inspector/promises.Network.webSocketClosed" | "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.eventLoopUtilization" | "perf_hooks.timerify" | "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.getAssetKeys" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getAssetKeys" | "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" | "_stream_duplex" | "_stream_passthrough" | "_stream_readable" | "_stream_transform" | "_stream_wrap" | "_stream_writable" | "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.Session" | "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.property" | "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" | "_tls_common" | "_tls_wrap" | "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" | "v8.startCpuProfile" | "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.threadName" | "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.locks" | "worker_threads.locks.request" | "worker_threads.locks.query" | "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")[];
|
|
18611
|
+
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" | "QuotaExceededError" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "Worker" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.locks" | "navigator.locks.request" | "navigator.locks.query" | "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" | "Buffer.stringLength" | "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.decapsulateBits" | "crypto.subtle.decapsulateKey" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encapsulateBits" | "crypto.subtle.encapsulateKey" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.getPublicKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "SubtleCrypto.supports" | "CloseEvent" | "CustomEvent" | "ErrorEvent" | "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.permission.drop" | "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.addUncaughtExceptionCaptureCallback" | "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" | "bench" | "bench.after" | "bench.afterEach" | "bench.before" | "bench.beforeEach" | "bench.bench" | "bench.bench.only" | "bench.bench.skip" | "bench.createRunner" | "bench.describe" | "bench.only" | "bench.run" | "bench.runFile" | "bench.skip" | "bench.suite" | "bench/reporters" | "bench/reporters.json" | "bench/reporters.spec" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isLatin1" | "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.Buffer.stringLength" | "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.decapsulateBits" | "crypto.webcrypto.subtle.decapsulateKey" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encapsulateBits" | "crypto.webcrypto.subtle.encapsulateKey" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.getPublicKey" | "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.argon2" | "crypto.argon2Sync" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createMac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.decapsulate" | "crypto.diffieHellman" | "crypto.encapsulate" | "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.getMacs" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.parsePKCS12" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.randomUUIDv7" | "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.boundedChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "diagnostics_channel.BoundedChannel" | "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" | "dtls" | "dtls.connect" | "dtls.createSecureContext" | "dtls.listen" | "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" | "ffi" | "ffi.DynamicLibrary" | "ffi.dlclose" | "ffi.dlopen" | "ffi.dlsym" | "ffi.exportArrayBuffer" | "ffi.exportArrayBufferView" | "ffi.exportBuffer" | "ffi.exportString" | "ffi.getCurrentEventLoop" | "ffi.getFloat32" | "ffi.getFloat64" | "ffi.getInt16" | "ffi.getInt32" | "ffi.getInt64" | "ffi.getInt8" | "ffi.getRawPointer" | "ffi.getUint16" | "ffi.getUint32" | "ffi.getUint64" | "ffi.getUint8" | "ffi.setFloat32" | "ffi.setFloat64" | "ffi.setInt16" | "ffi.setInt32" | "ffi.setInt64" | "ffi.setInt8" | "ffi.setUint16" | "ffi.setUint32" | "ffi.setUint64" | "ffi.setUint8" | "ffi.suffix" | "ffi.toArrayBuffer" | "ffi.toBuffer" | "ffi.toString" | "ffi.types" | "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.mkdtempDisposable" | "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.mkdtempDisposableSync" | "fs.opendirSync" | "fs.openSync" | "fs.openAsBlobSync" | "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.F_OK" | "fs.R_OK" | "fs.W_OK" | "fs.X_OK" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.Utf8Stream" | "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.mkdtempDisposable" | "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.isValidHeaderName" | "http.isValidHeaderValue" | "http.websocketMask" | "http.websocketUnmask" | "http.setMaxIdleHTTPParsers" | "http.setGlobalProxyFromEnv" | "http.Agent()" | "http.Agent" | "http.ClientRequest()" | "http.ClientRequest" | "http.Server()" | "http.Server" | "http.ServerResponse()" | "http.ServerResponse" | "http.IncomingMessage()" | "http.IncomingMessage" | "http.OutgoingMessage()" | "http.OutgoingMessage" | "http.WebSocket()" | "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.DOMStorage.domStorageItemAdded" | "inspector.DOMStorage.domStorageItemRemoved" | "inspector.DOMStorage.domStorageItemUpdated" | "inspector.DOMStorage.domStorageItemsCleared" | "inspector.DOMStorage.registerStorage" | "inspector.Network.dataReceived" | "inspector.Network.dataSent" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.Network.webSocketCreated" | "inspector.Network.webSocketHandshakeResponseReceived" | "inspector.Network.webSocketClosed" | "inspector.NetworkResources.put" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.DOMStorage.domStorageItemAdded" | "inspector/promises.DOMStorage.domStorageItemRemoved" | "inspector/promises.DOMStorage.domStorageItemUpdated" | "inspector/promises.DOMStorage.domStorageItemsCleared" | "inspector/promises.DOMStorage.registerStorage" | "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.Network.webSocketCreated" | "inspector/promises.Network.webSocketHandshakeResponseReceived" | "inspector/promises.Network.webSocketClosed" | "inspector/promises.NetworkResources.put" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module._debug" | "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._debug" | "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.BoundSocket" | "net.BlockList" | "net.BlockList.isBlockList" | "net.BlockList.PRIVATE_RANGES" | "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.createSlidingWindowHistogram" | "perf_hooks.eventLoopUtilization" | "perf_hooks.importHistogram" | "perf_hooks.timerify" | "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.getAssetKeys" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getAssetKeys" | "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.ReadableStreamTee" | "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.bytes" | "stream/consumers.json" | "stream/consumers.text" | "stream/iter" | "stream/iter.array" | "stream/iter.arrayBuffer" | "stream/iter.arrayBufferSync" | "stream/iter.arraySync" | "stream/iter.broadcast" | "stream/iter.broadcastProtocol" | "stream/iter.bytes" | "stream/iter.bytesSync" | "stream/iter.drainableProtocol" | "stream/iter.dump" | "stream/iter.dumpSync" | "stream/iter.duplex" | "stream/iter.from" | "stream/iter.fromSync" | "stream/iter.merge" | "stream/iter.ondrain" | "stream/iter.pipeTo" | "stream/iter.pipeToSync" | "stream/iter.pull" | "stream/iter.pullSync" | "stream/iter.push" | "stream/iter.share" | "stream/iter.shareProtocol" | "stream/iter.shareSync" | "stream/iter.shareSyncProtocol" | "stream/iter.tap" | "stream/iter.tapSync" | "stream/iter.text" | "stream/iter.textSync" | "stream/iter.toAsyncStreamable" | "stream/iter.toStreamable" | "stream/iter.fromReadable" | "stream/iter.fromWritable" | "stream/iter.toReadable" | "stream/iter.toReadableSync" | "stream/iter.toWritable" | "stream/iter.Broadcast" | "stream/iter.Broadcast.from" | "stream/iter.Share" | "stream/iter.Share.from" | "stream/iter.Stream" | "stream/iter.Stream.array" | "stream/iter.Stream.arrayBuffer" | "stream/iter.Stream.arrayBufferSync" | "stream/iter.Stream.arraySync" | "stream/iter.Stream.broadcast" | "stream/iter.Stream.broadcastProtocol" | "stream/iter.Stream.bytes" | "stream/iter.Stream.bytesSync" | "stream/iter.Stream.drainableProtocol" | "stream/iter.Stream.dump" | "stream/iter.Stream.dumpSync" | "stream/iter.Stream.duplex" | "stream/iter.Stream.from" | "stream/iter.Stream.fromSync" | "stream/iter.Stream.merge" | "stream/iter.Stream.ondrain" | "stream/iter.Stream.pipeTo" | "stream/iter.Stream.pipeToSync" | "stream/iter.Stream.pull" | "stream/iter.Stream.pullSync" | "stream/iter.Stream.push" | "stream/iter.Stream.share" | "stream/iter.Stream.shareProtocol" | "stream/iter.Stream.shareSync" | "stream/iter.Stream.shareSyncProtocol" | "stream/iter.Stream.tap" | "stream/iter.Stream.tapSync" | "stream/iter.Stream.text" | "stream/iter.Stream.textSync" | "stream/iter.Stream.toAsyncStreamable" | "stream/iter.Stream.toStreamable" | "stream/iter.SyncShare" | "stream/iter.SyncShare.fromSync" | "_stream_duplex" | "_stream_passthrough" | "_stream_readable" | "_stream_transform" | "_stream_wrap" | "_stream_writable" | "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.Database" | "sqlite.DatabaseSync" | "sqlite.Session" | "sqlite.Statement" | "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.getTestContext" | "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.property" | "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.getCertificateCompressionAlgorithms" | "tls.getCACertificates" | "tls.getCiphers" | "tls.rootCertificates" | "tls.SecureContext" | "tls.SecurePair" | "tls.Server" | "tls.setDefaultCACertificates" | "tls.TLSSocket" | "_tls_common" | "_tls_wrap" | "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.convertProcessSignalToExitCode" | "util.debounce" | "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.isPartialDeepStrictEqual" | "util.markPromiseAsHandled" | "util.parseArgs" | "util.parseEnv" | "util.setTraceSigInt" | "util.stripVTControlCharacters" | "util.styleText" | "util.throttle" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEType.parse" | "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.setHeapProfileNearHeapLimit" | "v8.GCProfiler" | "v8.startCpuProfile" | "v8.startHeapProfile" | "vfs" | "vfs.ComposableProvider" | "vfs.create" | "vfs.MemoryProvider" | "vfs.registerProvider" | "vfs.RealFSProvider" | "vfs.vfsBase" | "vfs.VirtualFileSystem" | "vfs.VirtualProvider" | "vfs.ZipProvider" | "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.threadName" | "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.locks" | "worker_threads.locks.request" | "worker_threads.locks.query" | "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.createZipArchive" | "zlib.createZipArchiveSync" | "zlib.getMaxZipContentSize" | "zlib.setMaxZipContentSize" | "zlib.zipFiles" | "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.ZipBuffer" | "zlib.ZipEntry" | "zlib.ZipEntry.create" | "zlib.ZipEntry.createStream" | "zlib.ZipEntry.createSymlink" | "zlib.ZipEntry.createSync" | "zlib.ZipEntry.read" | "zlib.ZipFile" | "zlib.ZipFile.open" | "zlib.ZipFile.openSync" | "zlib" | "zlib/iter" | "zlib/iter.compressBrotli" | "zlib/iter.compressBrotliSync" | "zlib/iter.compressDeflate" | "zlib/iter.compressDeflateSync" | "zlib/iter.compressGzip" | "zlib/iter.compressGzipSync" | "zlib/iter.compressZstd" | "zlib/iter.compressZstdSync" | "zlib/iter.decompressBrotli" | "zlib/iter.decompressBrotliSync" | "zlib/iter.decompressDeflate" | "zlib/iter.decompressDeflateSync" | "zlib/iter.decompressGzip" | "zlib/iter.decompressGzipSync" | "zlib/iter.decompressZstd" | "zlib/iter.decompressZstdSync" | "import.meta.resolve" | "import.meta.dirname" | "import.meta.filename" | "import.meta.main")[];
|
|
18505
18612
|
}];
|
|
18506
18613
|
// ----- n/prefer-global/buffer -----
|
|
18507
18614
|
type NPreferGlobalBuffer = [] | [("always" | "never")];
|
|
@@ -19037,6 +19144,17 @@ type OperatorLinebreak = [] | [("after" | "before" | "none" | null)] | [("after"
|
|
|
19037
19144
|
[k: string]: ("after" | "before" | "none" | "ignore") | undefined;
|
|
19038
19145
|
};
|
|
19039
19146
|
}];
|
|
19147
|
+
// ----- package-json/consistent-package-manager-declaration -----
|
|
19148
|
+
type PackageJsonConsistentPackageManagerDeclaration = [] | [{
|
|
19149
|
+
prefer?: ("devEngines" | "packageManager");
|
|
19150
|
+
}];
|
|
19151
|
+
// ----- package-json/consistent-property-aliases -----
|
|
19152
|
+
type PackageJsonConsistentPropertyAliases = [] | [{
|
|
19153
|
+
prefer?: {
|
|
19154
|
+
bundleDependencies?: (boolean | ("bundleDependencies" | "bundledDependencies"));
|
|
19155
|
+
license?: (boolean | ("license" | "licence"));
|
|
19156
|
+
};
|
|
19157
|
+
}];
|
|
19040
19158
|
// ----- package-json/exports-subpaths-style -----
|
|
19041
19159
|
type PackageJsonExportsSubpathsStyle = [] | [{
|
|
19042
19160
|
prefer?: ("implicit" | "explicit");
|
|
@@ -19757,6 +19875,266 @@ type PerfectionistSortClasses = {
|
|
|
19757
19875
|
});
|
|
19758
19876
|
partitionByNewLine?: boolean;
|
|
19759
19877
|
}[];
|
|
19878
|
+
// ----- perfectionist/sort-constructor-parameters -----
|
|
19879
|
+
type PerfectionistSortConstructorParameters = [{
|
|
19880
|
+
fallbackSort?: {
|
|
19881
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
19882
|
+
order?: ("asc" | "desc");
|
|
19883
|
+
};
|
|
19884
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
19885
|
+
specialCharacters?: ("remove" | "trim" | "keep");
|
|
19886
|
+
ignoreCase?: boolean;
|
|
19887
|
+
alphabet?: string;
|
|
19888
|
+
locales?: (string | string[]);
|
|
19889
|
+
order?: ("asc" | "desc");
|
|
19890
|
+
customGroups?: ({
|
|
19891
|
+
fallbackSort?: {
|
|
19892
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
19893
|
+
order?: ("asc" | "desc");
|
|
19894
|
+
};
|
|
19895
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
19896
|
+
groupName: string;
|
|
19897
|
+
newlinesInside?: ("ignore" | number);
|
|
19898
|
+
order?: ("asc" | "desc");
|
|
19899
|
+
anyOf: [{
|
|
19900
|
+
elementNamePattern?: (({
|
|
19901
|
+
pattern: string;
|
|
19902
|
+
flags?: string;
|
|
19903
|
+
} | string)[] | ({
|
|
19904
|
+
pattern: string;
|
|
19905
|
+
flags?: string;
|
|
19906
|
+
} | string));
|
|
19907
|
+
modifiers?: ("decorated" | "override" | "readonly" | "protected" | "private" | "public")[];
|
|
19908
|
+
selector?: "parameter";
|
|
19909
|
+
decoratorNamePattern?: (({
|
|
19910
|
+
pattern: string;
|
|
19911
|
+
flags?: string;
|
|
19912
|
+
} | string)[] | ({
|
|
19913
|
+
pattern: string;
|
|
19914
|
+
flags?: string;
|
|
19915
|
+
} | string));
|
|
19916
|
+
}, ...({
|
|
19917
|
+
elementNamePattern?: (({
|
|
19918
|
+
pattern: string;
|
|
19919
|
+
flags?: string;
|
|
19920
|
+
} | string)[] | ({
|
|
19921
|
+
pattern: string;
|
|
19922
|
+
flags?: string;
|
|
19923
|
+
} | string));
|
|
19924
|
+
modifiers?: ("decorated" | "override" | "readonly" | "protected" | "private" | "public")[];
|
|
19925
|
+
selector?: "parameter";
|
|
19926
|
+
decoratorNamePattern?: (({
|
|
19927
|
+
pattern: string;
|
|
19928
|
+
flags?: string;
|
|
19929
|
+
} | string)[] | ({
|
|
19930
|
+
pattern: string;
|
|
19931
|
+
flags?: string;
|
|
19932
|
+
} | string));
|
|
19933
|
+
})[]];
|
|
19934
|
+
} | {
|
|
19935
|
+
fallbackSort?: {
|
|
19936
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
19937
|
+
order?: ("asc" | "desc");
|
|
19938
|
+
};
|
|
19939
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
19940
|
+
groupName: string;
|
|
19941
|
+
newlinesInside?: ("ignore" | number);
|
|
19942
|
+
order?: ("asc" | "desc");
|
|
19943
|
+
elementNamePattern?: (({
|
|
19944
|
+
pattern: string;
|
|
19945
|
+
flags?: string;
|
|
19946
|
+
} | string)[] | ({
|
|
19947
|
+
pattern: string;
|
|
19948
|
+
flags?: string;
|
|
19949
|
+
} | string));
|
|
19950
|
+
modifiers?: ("decorated" | "override" | "readonly" | "protected" | "private" | "public")[];
|
|
19951
|
+
selector?: "parameter";
|
|
19952
|
+
decoratorNamePattern?: (({
|
|
19953
|
+
pattern: string;
|
|
19954
|
+
flags?: string;
|
|
19955
|
+
} | string)[] | ({
|
|
19956
|
+
pattern: string;
|
|
19957
|
+
flags?: string;
|
|
19958
|
+
} | string));
|
|
19959
|
+
})[];
|
|
19960
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
19961
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
19962
|
+
newlinesBetween: ("ignore" | number);
|
|
19963
|
+
} | {
|
|
19964
|
+
group: (string | [string, ...(string)[]]);
|
|
19965
|
+
fallbackSort?: {
|
|
19966
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
19967
|
+
order?: ("asc" | "desc");
|
|
19968
|
+
};
|
|
19969
|
+
commentAbove?: string;
|
|
19970
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
19971
|
+
newlinesInside?: ("ignore" | number);
|
|
19972
|
+
order?: ("asc" | "desc");
|
|
19973
|
+
})[];
|
|
19974
|
+
newlinesBetween?: ("ignore" | number);
|
|
19975
|
+
useConfigurationIf: {
|
|
19976
|
+
allNamesMatchPattern?: (({
|
|
19977
|
+
pattern: string;
|
|
19978
|
+
flags?: string;
|
|
19979
|
+
} | string)[] | ({
|
|
19980
|
+
pattern: string;
|
|
19981
|
+
flags?: string;
|
|
19982
|
+
} | string));
|
|
19983
|
+
matchesAstSelector?: string;
|
|
19984
|
+
};
|
|
19985
|
+
partitionByComment?: (boolean | (({
|
|
19986
|
+
pattern: string;
|
|
19987
|
+
flags?: string;
|
|
19988
|
+
} | string)[] | ({
|
|
19989
|
+
pattern: string;
|
|
19990
|
+
flags?: string;
|
|
19991
|
+
} | string)) | {
|
|
19992
|
+
block?: (boolean | (({
|
|
19993
|
+
pattern: string;
|
|
19994
|
+
flags?: string;
|
|
19995
|
+
} | string)[] | ({
|
|
19996
|
+
pattern: string;
|
|
19997
|
+
flags?: string;
|
|
19998
|
+
} | string)));
|
|
19999
|
+
line?: (boolean | (({
|
|
20000
|
+
pattern: string;
|
|
20001
|
+
flags?: string;
|
|
20002
|
+
} | string)[] | ({
|
|
20003
|
+
pattern: string;
|
|
20004
|
+
flags?: string;
|
|
20005
|
+
} | string)));
|
|
20006
|
+
});
|
|
20007
|
+
partitionByNewLine?: boolean;
|
|
20008
|
+
}, ...({
|
|
20009
|
+
fallbackSort?: {
|
|
20010
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
20011
|
+
order?: ("asc" | "desc");
|
|
20012
|
+
};
|
|
20013
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
20014
|
+
specialCharacters?: ("remove" | "trim" | "keep");
|
|
20015
|
+
ignoreCase?: boolean;
|
|
20016
|
+
alphabet?: string;
|
|
20017
|
+
locales?: (string | string[]);
|
|
20018
|
+
order?: ("asc" | "desc");
|
|
20019
|
+
customGroups?: ({
|
|
20020
|
+
fallbackSort?: {
|
|
20021
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
20022
|
+
order?: ("asc" | "desc");
|
|
20023
|
+
};
|
|
20024
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
20025
|
+
groupName: string;
|
|
20026
|
+
newlinesInside?: ("ignore" | number);
|
|
20027
|
+
order?: ("asc" | "desc");
|
|
20028
|
+
anyOf: [{
|
|
20029
|
+
elementNamePattern?: (({
|
|
20030
|
+
pattern: string;
|
|
20031
|
+
flags?: string;
|
|
20032
|
+
} | string)[] | ({
|
|
20033
|
+
pattern: string;
|
|
20034
|
+
flags?: string;
|
|
20035
|
+
} | string));
|
|
20036
|
+
modifiers?: ("decorated" | "override" | "readonly" | "protected" | "private" | "public")[];
|
|
20037
|
+
selector?: "parameter";
|
|
20038
|
+
decoratorNamePattern?: (({
|
|
20039
|
+
pattern: string;
|
|
20040
|
+
flags?: string;
|
|
20041
|
+
} | string)[] | ({
|
|
20042
|
+
pattern: string;
|
|
20043
|
+
flags?: string;
|
|
20044
|
+
} | string));
|
|
20045
|
+
}, ...({
|
|
20046
|
+
elementNamePattern?: (({
|
|
20047
|
+
pattern: string;
|
|
20048
|
+
flags?: string;
|
|
20049
|
+
} | string)[] | ({
|
|
20050
|
+
pattern: string;
|
|
20051
|
+
flags?: string;
|
|
20052
|
+
} | string));
|
|
20053
|
+
modifiers?: ("decorated" | "override" | "readonly" | "protected" | "private" | "public")[];
|
|
20054
|
+
selector?: "parameter";
|
|
20055
|
+
decoratorNamePattern?: (({
|
|
20056
|
+
pattern: string;
|
|
20057
|
+
flags?: string;
|
|
20058
|
+
} | string)[] | ({
|
|
20059
|
+
pattern: string;
|
|
20060
|
+
flags?: string;
|
|
20061
|
+
} | string));
|
|
20062
|
+
})[]];
|
|
20063
|
+
} | {
|
|
20064
|
+
fallbackSort?: {
|
|
20065
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
20066
|
+
order?: ("asc" | "desc");
|
|
20067
|
+
};
|
|
20068
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
20069
|
+
groupName: string;
|
|
20070
|
+
newlinesInside?: ("ignore" | number);
|
|
20071
|
+
order?: ("asc" | "desc");
|
|
20072
|
+
elementNamePattern?: (({
|
|
20073
|
+
pattern: string;
|
|
20074
|
+
flags?: string;
|
|
20075
|
+
} | string)[] | ({
|
|
20076
|
+
pattern: string;
|
|
20077
|
+
flags?: string;
|
|
20078
|
+
} | string));
|
|
20079
|
+
modifiers?: ("decorated" | "override" | "readonly" | "protected" | "private" | "public")[];
|
|
20080
|
+
selector?: "parameter";
|
|
20081
|
+
decoratorNamePattern?: (({
|
|
20082
|
+
pattern: string;
|
|
20083
|
+
flags?: string;
|
|
20084
|
+
} | string)[] | ({
|
|
20085
|
+
pattern: string;
|
|
20086
|
+
flags?: string;
|
|
20087
|
+
} | string));
|
|
20088
|
+
})[];
|
|
20089
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
20090
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
20091
|
+
newlinesBetween: ("ignore" | number);
|
|
20092
|
+
} | {
|
|
20093
|
+
group: (string | [string, ...(string)[]]);
|
|
20094
|
+
fallbackSort?: {
|
|
20095
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
20096
|
+
order?: ("asc" | "desc");
|
|
20097
|
+
};
|
|
20098
|
+
commentAbove?: string;
|
|
20099
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
20100
|
+
newlinesInside?: ("ignore" | number);
|
|
20101
|
+
order?: ("asc" | "desc");
|
|
20102
|
+
})[];
|
|
20103
|
+
newlinesBetween?: ("ignore" | number);
|
|
20104
|
+
useConfigurationIf: {
|
|
20105
|
+
allNamesMatchPattern?: (({
|
|
20106
|
+
pattern: string;
|
|
20107
|
+
flags?: string;
|
|
20108
|
+
} | string)[] | ({
|
|
20109
|
+
pattern: string;
|
|
20110
|
+
flags?: string;
|
|
20111
|
+
} | string));
|
|
20112
|
+
matchesAstSelector?: string;
|
|
20113
|
+
};
|
|
20114
|
+
partitionByComment?: (boolean | (({
|
|
20115
|
+
pattern: string;
|
|
20116
|
+
flags?: string;
|
|
20117
|
+
} | string)[] | ({
|
|
20118
|
+
pattern: string;
|
|
20119
|
+
flags?: string;
|
|
20120
|
+
} | string)) | {
|
|
20121
|
+
block?: (boolean | (({
|
|
20122
|
+
pattern: string;
|
|
20123
|
+
flags?: string;
|
|
20124
|
+
} | string)[] | ({
|
|
20125
|
+
pattern: string;
|
|
20126
|
+
flags?: string;
|
|
20127
|
+
} | string)));
|
|
20128
|
+
line?: (boolean | (({
|
|
20129
|
+
pattern: string;
|
|
20130
|
+
flags?: string;
|
|
20131
|
+
} | string)[] | ({
|
|
20132
|
+
pattern: string;
|
|
20133
|
+
flags?: string;
|
|
20134
|
+
} | string)));
|
|
20135
|
+
});
|
|
20136
|
+
partitionByNewLine?: boolean;
|
|
20137
|
+
})[]];
|
|
19760
20138
|
// ----- perfectionist/sort-decorators -----
|
|
19761
20139
|
type PerfectionistSortDecorators = {
|
|
19762
20140
|
fallbackSort?: {
|
|
@@ -22387,6 +22765,9 @@ type UnicornClassReferenceInStaticMethods = [] | [{
|
|
|
22387
22765
|
}];
|
|
22388
22766
|
// ----- unicorn/comment-content -----
|
|
22389
22767
|
type UnicornCommentContent = [] | [{
|
|
22768
|
+
ignore?: (string | {
|
|
22769
|
+
[k: string]: unknown | undefined;
|
|
22770
|
+
})[];
|
|
22390
22771
|
checkUniformCase?: boolean;
|
|
22391
22772
|
extendDefaultReplacements?: boolean;
|
|
22392
22773
|
replacements?: {
|
|
@@ -22578,7 +22959,7 @@ type UnicornNameReplacements = [] | [{
|
|
|
22578
22959
|
extendDefaultReplacements?: boolean;
|
|
22579
22960
|
replacements?: _UnicornNameReplacements_NameReplacements;
|
|
22580
22961
|
extendDefaultAllowList?: boolean;
|
|
22581
|
-
allowList?:
|
|
22962
|
+
allowList?: _UnicornNameReplacements_BooleanObject1;
|
|
22582
22963
|
ignore?: (string | {
|
|
22583
22964
|
[k: string]: unknown | undefined;
|
|
22584
22965
|
})[];
|
|
@@ -22590,7 +22971,7 @@ interface _UnicornNameReplacements_NameReplacements {
|
|
|
22590
22971
|
interface _UnicornNameReplacements_BooleanObject {
|
|
22591
22972
|
[k: string]: boolean | undefined;
|
|
22592
22973
|
}
|
|
22593
|
-
interface
|
|
22974
|
+
interface _UnicornNameReplacements_BooleanObject1 {
|
|
22594
22975
|
[k: string]: boolean | undefined;
|
|
22595
22976
|
}
|
|
22596
22977
|
// ----- unicorn/no-array-callback-reference -----
|
|
@@ -22659,6 +23040,7 @@ type UnicornNoNull = [] | [{
|
|
|
22659
23040
|
}];
|
|
22660
23041
|
// ----- unicorn/no-top-level-side-effects -----
|
|
22661
23042
|
type UnicornNoTopLevelSideEffects = [] | [{
|
|
23043
|
+
checkUnknownCalls?: boolean;
|
|
22662
23044
|
allow?: {
|
|
22663
23045
|
[k: string]: string[] | undefined;
|
|
22664
23046
|
};
|
|
@@ -23053,6 +23435,7 @@ type VueBlockLang = [] | [{
|
|
|
23053
23435
|
[k: string]: {
|
|
23054
23436
|
lang?: (string | string[]);
|
|
23055
23437
|
allowNoLang?: boolean;
|
|
23438
|
+
required?: boolean;
|
|
23056
23439
|
};
|
|
23057
23440
|
}];
|
|
23058
23441
|
// ----- vue/block-order -----
|
|
@@ -24165,6 +24548,7 @@ type VueRequireDirectExport = [] | [{
|
|
|
24165
24548
|
// ----- vue/require-explicit-emits -----
|
|
24166
24549
|
type VueRequireExplicitEmits = [] | [{
|
|
24167
24550
|
allowProps?: boolean;
|
|
24551
|
+
ignoreMixins?: boolean;
|
|
24168
24552
|
}];
|
|
24169
24553
|
// ----- vue/require-macro-variable-name -----
|
|
24170
24554
|
type VueRequireMacroVariableName = [] | [{
|
|
@@ -24402,7 +24786,7 @@ type ZodArrayStyle = [] | [{
|
|
|
24402
24786
|
}];
|
|
24403
24787
|
// ----- zod/consistent-import -----
|
|
24404
24788
|
type ZodConsistentImport = [] | [{
|
|
24405
|
-
syntax?: ("namespace" | "named");
|
|
24789
|
+
syntax?: ("namespace" | "named" | "default");
|
|
24406
24790
|
}];
|
|
24407
24791
|
// ----- zod/consistent-import-source -----
|
|
24408
24792
|
type ZodConsistentImportSource = [] | [{
|
|
@@ -24440,5 +24824,4 @@ type ZodSchemaErrorPropertyStyle = [] | [{
|
|
|
24440
24824
|
selector?: string;
|
|
24441
24825
|
example?: string;
|
|
24442
24826
|
}];
|
|
24443
|
-
//#endregion
|
|
24444
24827
|
export {};
|