@shayanthenerd/eslint-config 0.35.0 → 0.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/configs/astro.mjs +1 -2
- package/dist/configs/baseline.mjs +1 -2
- package/dist/configs/css.mjs +1 -2
- package/dist/configs/cypress.mjs +1 -2
- package/dist/configs/html.mjs +1 -2
- package/dist/configs/importX.mjs +1 -2
- package/dist/configs/javascript.mjs +1 -2
- package/dist/configs/markdown.mjs +1 -2
- package/dist/configs/next.mjs +1 -2
- package/dist/configs/node.mjs +1 -2
- package/dist/configs/nuxt.mjs +1 -2
- package/dist/configs/packageJson.mjs +1 -2
- package/dist/configs/perfectionist.mjs +1 -2
- package/dist/configs/playwright.mjs +1 -2
- package/dist/configs/promise.mjs +1 -2
- package/dist/configs/react.mjs +1 -2
- package/dist/configs/storybook.mjs +1 -2
- package/dist/configs/stylistic.mjs +1 -2
- package/dist/configs/tailwind.mjs +1 -2
- package/dist/configs/tanstack.mjs +1 -2
- package/dist/configs/typescript.mjs +1 -2
- package/dist/configs/unicorn.mjs +1 -2
- package/dist/configs/vitest.mjs +1 -2
- package/dist/configs/vue.mjs +1 -2
- package/dist/configs/zod.mjs +1 -2
- 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 +1 -2
- 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 +1 -2
- 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 +6 -2
- 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 +1 -2
- package/dist/rules/zod.mjs +1 -2
- package/dist/types/eslint-schema.d.mts +854 -493
- 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 +22 -22
|
@@ -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>;
|
|
@@ -5592,7 +5641,7 @@ export interface ESLintSchema {
|
|
|
5592
5641
|
*/
|
|
5593
5642
|
'package-json/valid-bugs'?: Linter.RuleEntry<[]>;
|
|
5594
5643
|
/**
|
|
5595
|
-
* Enforce that the `bundleDependencies` (
|
|
5644
|
+
* Enforce that the `bundleDependencies` property (or its alias `bundledDependencies`) is valid.
|
|
5596
5645
|
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-bundleDependencies
|
|
5597
5646
|
*/
|
|
5598
5647
|
'package-json/valid-bundleDependencies'?: Linter.RuleEntry<[]>;
|
|
@@ -5677,7 +5726,7 @@ export interface ESLintSchema {
|
|
|
5677
5726
|
*/
|
|
5678
5727
|
'package-json/valid-libc'?: Linter.RuleEntry<[]>;
|
|
5679
5728
|
/**
|
|
5680
|
-
* Enforce that the `license` property is valid.
|
|
5729
|
+
* Enforce that the `license` property (or its alias `licence`) is valid.
|
|
5681
5730
|
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-license
|
|
5682
5731
|
*/
|
|
5683
5732
|
'package-json/valid-license'?: Linter.RuleEntry<[]>;
|
|
@@ -5803,6 +5852,11 @@ export interface ESLintSchema {
|
|
|
5803
5852
|
* @see https://perfectionist.dev/rules/sort-classes
|
|
5804
5853
|
*/
|
|
5805
5854
|
'perfectionist/sort-classes'?: Linter.RuleEntry<PerfectionistSortClasses>;
|
|
5855
|
+
/**
|
|
5856
|
+
* Enforce sorted constructor parameters.
|
|
5857
|
+
* @see https://perfectionist.dev/rules/sort-constructor-parameters
|
|
5858
|
+
*/
|
|
5859
|
+
'perfectionist/sort-constructor-parameters'?: Linter.RuleEntry<PerfectionistSortConstructorParameters>;
|
|
5806
5860
|
/**
|
|
5807
5861
|
* Enforce sorted decorators.
|
|
5808
5862
|
* @see https://perfectionist.dev/rules/sort-decorators
|
|
@@ -6626,2002 +6680,2002 @@ export interface ESLintSchema {
|
|
|
6626
6680
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>;
|
|
6627
6681
|
/**
|
|
6628
6682
|
* Prefer better DOM traversal APIs.
|
|
6629
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6683
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/better-dom-traversing.md
|
|
6630
6684
|
*/
|
|
6631
6685
|
'unicorn/better-dom-traversing'?: Linter.RuleEntry<[]>;
|
|
6632
6686
|
/**
|
|
6633
6687
|
* Removed. Prefer `eslint-plugin-regexp`
|
|
6634
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6688
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#better-regex
|
|
6635
6689
|
* @deprecated
|
|
6636
6690
|
*/
|
|
6637
6691
|
'unicorn/better-regex'?: Linter.RuleEntry<[]>;
|
|
6638
6692
|
/**
|
|
6639
6693
|
* Enforce a specific parameter name in catch clauses.
|
|
6640
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6694
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/catch-error-name.md
|
|
6641
6695
|
*/
|
|
6642
6696
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>;
|
|
6643
6697
|
/**
|
|
6644
6698
|
* Enforce consistent class references in static methods.
|
|
6645
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6699
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/class-reference-in-static-methods.md
|
|
6646
6700
|
*/
|
|
6647
6701
|
'unicorn/class-reference-in-static-methods'?: Linter.RuleEntry<UnicornClassReferenceInStaticMethods>;
|
|
6648
6702
|
/**
|
|
6649
6703
|
* Enforce consistent spacing before and after commas in JSON and SOML.
|
|
6650
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6704
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/comma-spacing.md
|
|
6651
6705
|
*/
|
|
6652
6706
|
'unicorn/comma-spacing'?: Linter.RuleEntry<[]>;
|
|
6653
6707
|
/**
|
|
6654
6708
|
* Enforce better comment content.
|
|
6655
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6709
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/comment-content.md
|
|
6656
6710
|
*/
|
|
6657
6711
|
'unicorn/comment-content'?: Linter.RuleEntry<UnicornCommentContent>;
|
|
6658
6712
|
/**
|
|
6659
6713
|
* Enforce a consistent return style for multiline arrow function bodies.
|
|
6660
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6714
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/consistent-arrow-return-style.md
|
|
6661
6715
|
*/
|
|
6662
6716
|
'unicorn/consistent-arrow-return-style'?: Linter.RuleEntry<[]>;
|
|
6663
6717
|
/**
|
|
6664
6718
|
* Enforce consistent assertion style with `node:assert`.
|
|
6665
|
-
* @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-assert.md
|
|
6666
6720
|
*/
|
|
6667
6721
|
'unicorn/consistent-assert'?: Linter.RuleEntry<[]>;
|
|
6668
6722
|
/**
|
|
6669
6723
|
* Enforce consistent naming for boolean names.
|
|
6670
|
-
* @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-boolean-name.md
|
|
6671
6725
|
*/
|
|
6672
6726
|
'unicorn/consistent-boolean-name'?: Linter.RuleEntry<UnicornConsistentBooleanName>;
|
|
6673
6727
|
/**
|
|
6674
6728
|
* Enforce consistent class member order.
|
|
6675
|
-
* @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-class-member-order.md
|
|
6676
6730
|
*/
|
|
6677
6731
|
'unicorn/consistent-class-member-order'?: Linter.RuleEntry<UnicornConsistentClassMemberOrder>;
|
|
6678
6732
|
/**
|
|
6679
6733
|
* Enforce consistent spelling of compound words in identifiers.
|
|
6680
|
-
* @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-compound-words.md
|
|
6681
6735
|
*/
|
|
6682
6736
|
'unicorn/consistent-compound-words'?: Linter.RuleEntry<UnicornConsistentCompoundWords>;
|
|
6683
6737
|
/**
|
|
6684
6738
|
* Enforce consistent conditional object spread style.
|
|
6685
|
-
* @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-conditional-object-spread.md
|
|
6686
6740
|
*/
|
|
6687
6741
|
'unicorn/consistent-conditional-object-spread'?: Linter.RuleEntry<UnicornConsistentConditionalObjectSpread>;
|
|
6688
6742
|
/**
|
|
6689
6743
|
* Prefer passing `Date` directly to the constructor when cloning.
|
|
6690
|
-
* @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-date-clone.md
|
|
6691
6745
|
*/
|
|
6692
6746
|
'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>;
|
|
6693
6747
|
/**
|
|
6694
6748
|
* Use destructured variables over properties.
|
|
6695
|
-
* @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-destructuring.md
|
|
6696
6750
|
*/
|
|
6697
6751
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>;
|
|
6698
6752
|
/**
|
|
6699
6753
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
6700
|
-
* @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-empty-array-spread.md
|
|
6701
6755
|
*/
|
|
6702
6756
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>;
|
|
6703
6757
|
/**
|
|
6704
6758
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
6705
|
-
* @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-existence-index-check.md
|
|
6706
6760
|
*/
|
|
6707
6761
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>;
|
|
6708
6762
|
/**
|
|
6709
6763
|
* Enforce consistent decorator position on exported classes.
|
|
6710
|
-
* @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-export-decorator-position.md
|
|
6711
6765
|
*/
|
|
6712
6766
|
'unicorn/consistent-export-decorator-position'?: Linter.RuleEntry<UnicornConsistentExportDecoratorPosition>;
|
|
6713
6767
|
/**
|
|
6714
6768
|
* Move function definitions to the highest possible scope.
|
|
6715
|
-
* @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-function-scoping.md
|
|
6716
6770
|
*/
|
|
6717
6771
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
|
|
6718
6772
|
/**
|
|
6719
6773
|
* Enforce function syntax by role.
|
|
6720
|
-
* @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-style.md
|
|
6721
6775
|
*/
|
|
6722
6776
|
'unicorn/consistent-function-style'?: Linter.RuleEntry<UnicornConsistentFunctionStyle>;
|
|
6723
6777
|
/**
|
|
6724
6778
|
* Enforce consistent JSON file reads before `JSON.parse()`.
|
|
6725
|
-
* @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-json-file-read.md
|
|
6726
6780
|
*/
|
|
6727
6781
|
'unicorn/consistent-json-file-read'?: Linter.RuleEntry<UnicornConsistentJsonFileRead>;
|
|
6728
6782
|
/**
|
|
6729
6783
|
* Enforce consistent optional chaining for same-base member access.
|
|
6730
|
-
* @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-optional-chaining.md
|
|
6731
6785
|
*/
|
|
6732
6786
|
'unicorn/consistent-optional-chaining'?: Linter.RuleEntry<[]>;
|
|
6733
6787
|
/**
|
|
6734
6788
|
* Enforce consistent style for escaping `${` in template literals.
|
|
6735
|
-
* @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-template-literal-escape.md
|
|
6736
6790
|
*/
|
|
6737
6791
|
'unicorn/consistent-template-literal-escape'?: Linter.RuleEntry<[]>;
|
|
6738
6792
|
/**
|
|
6739
6793
|
* Enforce consistent labels on tuple type elements.
|
|
6740
|
-
* @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-tuple-labels.md
|
|
6741
6795
|
*/
|
|
6742
6796
|
'unicorn/consistent-tuple-labels'?: Linter.RuleEntry<[]>;
|
|
6743
6797
|
/**
|
|
6744
6798
|
* Enforce correct `Error` subclassing.
|
|
6745
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6799
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/custom-error-definition.md
|
|
6746
6800
|
*/
|
|
6747
6801
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>;
|
|
6748
6802
|
/**
|
|
6749
6803
|
* Enforce consistent default export declarations.
|
|
6750
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6804
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/default-export-style.md
|
|
6751
6805
|
*/
|
|
6752
6806
|
'unicorn/default-export-style'?: Linter.RuleEntry<UnicornDefaultExportStyle>;
|
|
6753
6807
|
/**
|
|
6754
6808
|
* Enforce consistent style for DOM element dataset access.
|
|
6755
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6809
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/dom-node-dataset.md
|
|
6756
6810
|
*/
|
|
6757
6811
|
'unicorn/dom-node-dataset'?: Linter.RuleEntry<UnicornDomNodeDataset>;
|
|
6758
6812
|
/**
|
|
6759
6813
|
* Enforce no spaces between braces.
|
|
6760
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6814
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/empty-brace-spaces.md
|
|
6761
6815
|
*/
|
|
6762
6816
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>;
|
|
6763
6817
|
/**
|
|
6764
6818
|
* Enforce passing a `message` value when creating a built-in error.
|
|
6765
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6819
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/error-message.md
|
|
6766
6820
|
*/
|
|
6767
6821
|
'unicorn/error-message'?: Linter.RuleEntry<[]>;
|
|
6768
6822
|
/**
|
|
6769
6823
|
* Require escape sequences to use uppercase or lowercase values.
|
|
6770
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6824
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/escape-case.md
|
|
6771
6825
|
*/
|
|
6772
6826
|
'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>;
|
|
6773
6827
|
/**
|
|
6774
6828
|
* Add expiration conditions to TODO comments.
|
|
6775
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6829
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/expiring-todo-comments.md
|
|
6776
6830
|
*/
|
|
6777
6831
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>;
|
|
6778
6832
|
/**
|
|
6779
6833
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
6780
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6834
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/explicit-length-check.md
|
|
6781
6835
|
*/
|
|
6782
6836
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
|
|
6783
6837
|
/**
|
|
6784
6838
|
* Enforce or disallow explicit `delay` argument for `setTimeout()` and `setInterval()`.
|
|
6785
|
-
* @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-timer-delay.md
|
|
6786
6840
|
*/
|
|
6787
6841
|
'unicorn/explicit-timer-delay'?: Linter.RuleEntry<UnicornExplicitTimerDelay>;
|
|
6788
6842
|
/**
|
|
6789
6843
|
* Enforce a case style for filenames and directory names.
|
|
6790
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6844
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/filename-case.md
|
|
6791
6845
|
*/
|
|
6792
6846
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>;
|
|
6793
6847
|
/**
|
|
6794
6848
|
* Require identifiers to match a specified regular expression.
|
|
6795
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6849
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/id-match.md
|
|
6796
6850
|
*/
|
|
6797
6851
|
'unicorn/id-match'?: Linter.RuleEntry<UnicornIdMatch>;
|
|
6798
6852
|
/**
|
|
6799
6853
|
* Enforce specific import styles per module.
|
|
6800
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6854
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/import-style.md
|
|
6801
6855
|
*/
|
|
6802
6856
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>;
|
|
6803
6857
|
/**
|
|
6804
6858
|
* Enforce consistent indentation in JSON and CSS.
|
|
6805
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6859
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/indent.md
|
|
6806
6860
|
*/
|
|
6807
6861
|
'unicorn/indent'?: Linter.RuleEntry<UnicornIndent>;
|
|
6808
6862
|
/**
|
|
6809
6863
|
* Prevent usage of variables from outside the scope of isolated functions.
|
|
6810
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6864
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/isolated-functions.md
|
|
6811
6865
|
*/
|
|
6812
6866
|
'unicorn/isolated-functions'?: Linter.RuleEntry<UnicornIsolatedFunctions>;
|
|
6813
6867
|
/**
|
|
6814
6868
|
* Enforce a consistent style for optional loop sources.
|
|
6815
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6869
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/iteration-fallback-style.md
|
|
6816
6870
|
*/
|
|
6817
6871
|
'unicorn/iteration-fallback-style'?: Linter.RuleEntry<UnicornIterationFallbackStyle>;
|
|
6818
6872
|
/**
|
|
6819
6873
|
* Enforce a case style for data keys.
|
|
6820
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6874
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/key-name-casing.md
|
|
6821
6875
|
*/
|
|
6822
6876
|
'unicorn/key-name-casing'?: Linter.RuleEntry<UnicornKeyNameCasing>;
|
|
6823
6877
|
/**
|
|
6824
6878
|
* Require or disallow logical assignment operator shorthand
|
|
6825
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6879
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/logical-assignment-operators.md
|
|
6826
6880
|
*/
|
|
6827
6881
|
'unicorn/logical-assignment-operators'?: Linter.RuleEntry<UnicornLogicalAssignmentOperators>;
|
|
6828
6882
|
/**
|
|
6829
6883
|
* Limit the depth of nested calls.
|
|
6830
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6884
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/max-nested-calls.md
|
|
6831
6885
|
*/
|
|
6832
6886
|
'unicorn/max-nested-calls'?: Linter.RuleEntry<UnicornMaxNestedCalls>;
|
|
6833
6887
|
/**
|
|
6834
6888
|
* Enforce replacements for variable, property, and filenames.
|
|
6835
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6889
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/name-replacements.md
|
|
6836
6890
|
*/
|
|
6837
6891
|
'unicorn/name-replacements'?: Linter.RuleEntry<UnicornNameReplacements>;
|
|
6838
6892
|
/**
|
|
6839
6893
|
* Enforce correct use of `new` for builtin constructors.
|
|
6840
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6894
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/new-for-builtins.md
|
|
6841
6895
|
*/
|
|
6842
6896
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>;
|
|
6843
6897
|
/**
|
|
6844
6898
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
6845
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6899
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-abusive-eslint-disable.md
|
|
6846
6900
|
*/
|
|
6847
6901
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>;
|
|
6848
6902
|
/**
|
|
6849
6903
|
* Disallow recursive access to `this` within getters and setters.
|
|
6850
|
-
* @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-accessor-recursion.md
|
|
6851
6905
|
*/
|
|
6852
6906
|
'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>;
|
|
6853
6907
|
/**
|
|
6854
6908
|
* Disallow bitwise operators where a logical operator was likely intended.
|
|
6855
|
-
* @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-accidental-bitwise-operator.md
|
|
6856
6910
|
*/
|
|
6857
6911
|
'unicorn/no-accidental-bitwise-operator'?: Linter.RuleEntry<[]>;
|
|
6858
6912
|
/**
|
|
6859
6913
|
* Disallow anonymous functions and classes as the default export.
|
|
6860
|
-
* @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-anonymous-default-export.md
|
|
6861
6915
|
*/
|
|
6862
6916
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>;
|
|
6863
6917
|
/**
|
|
6864
6918
|
* Prevent passing a function reference directly to iterator methods.
|
|
6865
|
-
* @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-array-callback-reference.md
|
|
6866
6920
|
*/
|
|
6867
6921
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<UnicornNoArrayCallbackReference>;
|
|
6868
6922
|
/**
|
|
6869
6923
|
* Disallow array accumulation with `Array#concat()` in loops.
|
|
6870
|
-
* @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-concat-in-loop.md
|
|
6871
6925
|
*/
|
|
6872
6926
|
'unicorn/no-array-concat-in-loop'?: Linter.RuleEntry<[]>;
|
|
6873
6927
|
/**
|
|
6874
6928
|
* Disallow using reference values as `Array#fill()` values.
|
|
6875
|
-
* @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-fill-with-reference-type.md
|
|
6876
6930
|
*/
|
|
6877
6931
|
'unicorn/no-array-fill-with-reference-type'?: Linter.RuleEntry<[]>;
|
|
6878
6932
|
/**
|
|
6879
6933
|
* Disallow `.fill()` after `Array.from({length: …})`.
|
|
6880
|
-
* @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-from-fill.md
|
|
6881
6935
|
*/
|
|
6882
6936
|
'unicorn/no-array-from-fill'?: Linter.RuleEntry<[]>;
|
|
6883
6937
|
/**
|
|
6884
6938
|
* Disallow front-of-array mutation.
|
|
6885
|
-
* @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-front-mutation.md
|
|
6886
6940
|
*/
|
|
6887
6941
|
'unicorn/no-array-front-mutation'?: Linter.RuleEntry<[]>;
|
|
6888
6942
|
/**
|
|
6889
6943
|
* Disallow using the `this` argument in array methods.
|
|
6890
|
-
* @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-method-this-argument.md
|
|
6891
6945
|
*/
|
|
6892
6946
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>;
|
|
6893
6947
|
/**
|
|
6894
6948
|
* Replaced by `unicorn/prefer-single-call` which covers more cases.
|
|
6895
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6949
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
|
|
6896
6950
|
* @deprecated
|
|
6897
6951
|
*/
|
|
6898
6952
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>;
|
|
6899
6953
|
/**
|
|
6900
6954
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
6901
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6955
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-array-reduce.md
|
|
6902
6956
|
*/
|
|
6903
6957
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>;
|
|
6904
6958
|
/**
|
|
6905
6959
|
* Prefer `Array#toReversed()` over `Array#reverse()`.
|
|
6906
|
-
* @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-reverse.md
|
|
6907
6961
|
*/
|
|
6908
6962
|
'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>;
|
|
6909
6963
|
/**
|
|
6910
6964
|
* Prefer `Array#toSorted()` over `Array#sort()`.
|
|
6911
|
-
* @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-sort.md
|
|
6912
6966
|
*/
|
|
6913
6967
|
'unicorn/no-array-sort'?: Linter.RuleEntry<UnicornNoArraySort>;
|
|
6914
6968
|
/**
|
|
6915
6969
|
* Disallow sorting arrays to get the minimum or maximum value.
|
|
6916
|
-
* @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-for-min-max.md
|
|
6917
6971
|
*/
|
|
6918
6972
|
'unicorn/no-array-sort-for-min-max'?: Linter.RuleEntry<[]>;
|
|
6919
6973
|
/**
|
|
6920
6974
|
* Prefer `Array#toSpliced()` over `Array#splice()`.
|
|
6921
|
-
* @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-splice.md
|
|
6922
6976
|
*/
|
|
6923
6977
|
'unicorn/no-array-splice'?: Linter.RuleEntry<[]>;
|
|
6924
6978
|
/**
|
|
6925
6979
|
* Disallow asterisk prefixes and shared indentation in multiline comments.
|
|
6926
|
-
* @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-asterisk-prefix-in-documentation-comments.md
|
|
6927
6981
|
*/
|
|
6928
6982
|
'unicorn/no-asterisk-prefix-in-documentation-comments'?: Linter.RuleEntry<[]>;
|
|
6929
6983
|
/**
|
|
6930
6984
|
* Disallow asynchronous callbacks in synchronous iterator helpers.
|
|
6931
|
-
* @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-async-iterator-callback.md
|
|
6932
6986
|
*/
|
|
6933
6987
|
'unicorn/no-async-iterator-callback'?: Linter.RuleEntry<[]>;
|
|
6934
6988
|
/**
|
|
6935
6989
|
* Disallow async functions as `Promise#finally()` callbacks.
|
|
6936
|
-
* @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-promise-finally.md
|
|
6937
6991
|
*/
|
|
6938
6992
|
'unicorn/no-async-promise-finally'?: Linter.RuleEntry<[]>;
|
|
6939
6993
|
/**
|
|
6940
6994
|
* Disallow member access from await expression.
|
|
6941
|
-
* @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-await-expression-member.md
|
|
6942
6996
|
*/
|
|
6943
6997
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>;
|
|
6944
6998
|
/**
|
|
6945
6999
|
* Disallow using `await` in `Promise` method parameters.
|
|
6946
|
-
* @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-in-promise-methods.md
|
|
6947
7001
|
*/
|
|
6948
7002
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
6949
7003
|
/**
|
|
6950
7004
|
* Disallow barrel files.
|
|
6951
|
-
* @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-barrel-files.md
|
|
6952
7006
|
*/
|
|
6953
7007
|
'unicorn/no-barrel-files'?: Linter.RuleEntry<[]>;
|
|
6954
7008
|
/**
|
|
6955
7009
|
* Disallow unnecessary `Blob` to `File` conversion.
|
|
6956
|
-
* @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-blob-to-file.md
|
|
6957
7011
|
*/
|
|
6958
7012
|
'unicorn/no-blob-to-file'?: Linter.RuleEntry<[]>;
|
|
6959
7013
|
/**
|
|
6960
7014
|
* Disallow boolean-returning sort comparators.
|
|
6961
|
-
* @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-boolean-sort-comparator.md
|
|
6962
7016
|
*/
|
|
6963
7017
|
'unicorn/no-boolean-sort-comparator'?: Linter.RuleEntry<[]>;
|
|
6964
7018
|
/**
|
|
6965
7019
|
* Disallow `break` and optionally `continue` in nested loops and switches inside loops.
|
|
6966
|
-
* @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-break-in-nested-loop.md
|
|
6967
7021
|
*/
|
|
6968
7022
|
'unicorn/no-break-in-nested-loop'?: Linter.RuleEntry<UnicornNoBreakInNestedLoop>;
|
|
6969
7023
|
/**
|
|
6970
7024
|
* Prefer drawing canvases directly instead of converting them to images.
|
|
6971
|
-
* @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-canvas-to-image.md
|
|
6972
7026
|
*/
|
|
6973
7027
|
'unicorn/no-canvas-to-image'?: Linter.RuleEntry<[]>;
|
|
6974
7028
|
/**
|
|
6975
7029
|
* Disallow chained comparisons such as `a < b < c`.
|
|
6976
|
-
* @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-chained-comparison.md
|
|
6977
7031
|
*/
|
|
6978
7032
|
'unicorn/no-chained-comparison'?: Linter.RuleEntry<[]>;
|
|
6979
7033
|
/**
|
|
6980
7034
|
* Disallow accessing `Map`, `Set`, `WeakMap`, and `WeakSet` entries with bracket notation.
|
|
6981
|
-
* @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-collection-bracket-access.md
|
|
6982
7036
|
*/
|
|
6983
7037
|
'unicorn/no-collection-bracket-access'?: Linter.RuleEntry<[]>;
|
|
6984
7038
|
/**
|
|
6985
7039
|
* Disallow dynamic object property existence checks.
|
|
6986
|
-
* @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-computed-property-existence-check.md
|
|
6987
7041
|
*/
|
|
6988
7042
|
'unicorn/no-computed-property-existence-check'?: Linter.RuleEntry<[]>;
|
|
6989
7043
|
/**
|
|
6990
7044
|
* Disallow conflicting CSS query and HTML form constraints.
|
|
6991
|
-
* @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-conflicting-constraints.md
|
|
6992
7046
|
*/
|
|
6993
7047
|
'unicorn/no-conflicting-constraints'?: Linter.RuleEntry<[]>;
|
|
6994
7048
|
/**
|
|
6995
7049
|
* Disallow confusing uses of `Array#{splice,toSpliced}()`.
|
|
6996
|
-
* @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-confusing-array-splice.md
|
|
6997
7051
|
*/
|
|
6998
7052
|
'unicorn/no-confusing-array-splice'?: Linter.RuleEntry<[]>;
|
|
6999
7053
|
/**
|
|
7000
7054
|
* Disallow confusing uses of `Array#with()`.
|
|
7001
|
-
* @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-with.md
|
|
7002
7056
|
*/
|
|
7003
7057
|
'unicorn/no-confusing-array-with'?: Linter.RuleEntry<[]>;
|
|
7004
7058
|
/**
|
|
7005
7059
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
7006
|
-
* @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-console-spaces.md
|
|
7007
7061
|
*/
|
|
7008
7062
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>;
|
|
7009
7063
|
/**
|
|
7010
7064
|
* Disallow arithmetic and bitwise operations that always evaluate to `0`.
|
|
7011
|
-
* @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-constant-zero-expression.md
|
|
7012
7066
|
*/
|
|
7013
7067
|
'unicorn/no-constant-zero-expression'?: Linter.RuleEntry<[]>;
|
|
7014
7068
|
/**
|
|
7015
7069
|
* Disallow declarations before conditional early exits when they are only used after the exit.
|
|
7016
|
-
* @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-declarations-before-early-exit.md
|
|
7017
7071
|
*/
|
|
7018
7072
|
'unicorn/no-declarations-before-early-exit'?: Linter.RuleEntry<[]>;
|
|
7019
7073
|
/**
|
|
7020
7074
|
* Moved to `eslint-cssicorn` as `cssicorn/no-deprecated-features`.
|
|
7021
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7075
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#no-deprecated-css-features
|
|
7022
7076
|
* @deprecated
|
|
7023
7077
|
*/
|
|
7024
7078
|
'unicorn/no-deprecated-css-features'?: Linter.RuleEntry<[]>;
|
|
7025
7079
|
/**
|
|
7026
7080
|
* Do not use `document.cookie` directly.
|
|
7027
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7081
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-document-cookie.md
|
|
7028
7082
|
*/
|
|
7029
7083
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>;
|
|
7030
7084
|
/**
|
|
7031
7085
|
* Disallow two comparisons of the same operands that can be combined into one.
|
|
7032
|
-
* @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-double-comparison.md
|
|
7033
7087
|
*/
|
|
7034
7088
|
'unicorn/no-double-comparison'?: Linter.RuleEntry<[]>;
|
|
7035
7089
|
/**
|
|
7036
7090
|
* Moved to `eslint-cssicorn` as `cssicorn/no-duplicate-selectors`.
|
|
7037
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7091
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#no-duplicate-css-selectors
|
|
7038
7092
|
* @deprecated
|
|
7039
7093
|
*/
|
|
7040
7094
|
'unicorn/no-duplicate-css-selectors'?: Linter.RuleEntry<[]>;
|
|
7041
7095
|
/**
|
|
7042
7096
|
* Moved to `eslint-cssicorn` as `cssicorn/no-duplicate-font-family-names`.
|
|
7043
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7097
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#no-duplicate-font-family-names
|
|
7044
7098
|
* @deprecated
|
|
7045
7099
|
*/
|
|
7046
7100
|
'unicorn/no-duplicate-font-family-names'?: Linter.RuleEntry<[]>;
|
|
7047
7101
|
/**
|
|
7048
7102
|
* Disallow duplicate adjacent branches in if chains.
|
|
7049
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7103
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-duplicate-if-branches.md
|
|
7050
7104
|
*/
|
|
7051
7105
|
'unicorn/no-duplicate-if-branches'?: Linter.RuleEntry<[]>;
|
|
7052
7106
|
/**
|
|
7053
7107
|
* Disallow adjacent duplicate operands in logical expressions.
|
|
7054
|
-
* @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-logical-operands.md
|
|
7055
7109
|
*/
|
|
7056
7110
|
'unicorn/no-duplicate-logical-operands'?: Linter.RuleEntry<[]>;
|
|
7057
7111
|
/**
|
|
7058
7112
|
* Disallow `.map()` and `.filter()` in `for…of` and `for await…of` loop headers.
|
|
7059
|
-
* @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-loops.md
|
|
7060
7114
|
*/
|
|
7061
7115
|
'unicorn/no-duplicate-loops'?: Linter.RuleEntry<[]>;
|
|
7062
7116
|
/**
|
|
7063
7117
|
* Disallow duplicate values in `Set` constructor array literals.
|
|
7064
|
-
* @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-set-values.md
|
|
7065
7119
|
*/
|
|
7066
7120
|
'unicorn/no-duplicate-set-values'?: Linter.RuleEntry<[]>;
|
|
7067
7121
|
/**
|
|
7068
7122
|
* Disallow empty files.
|
|
7069
|
-
* @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-empty-file.md
|
|
7070
7124
|
*/
|
|
7071
7125
|
'unicorn/no-empty-file'?: Linter.RuleEntry<UnicornNoEmptyFile>;
|
|
7072
7126
|
/**
|
|
7073
7127
|
* Disallow empty link text in Markdown.
|
|
7074
|
-
* @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-link-text.md
|
|
7075
7129
|
*/
|
|
7076
7130
|
'unicorn/no-empty-link-text'?: Linter.RuleEntry<[]>;
|
|
7077
7131
|
/**
|
|
7078
7132
|
* Disallow assigning to built-in error properties.
|
|
7079
|
-
* @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-error-property-assignment.md
|
|
7080
7134
|
*/
|
|
7081
7135
|
'unicorn/no-error-property-assignment'?: Linter.RuleEntry<[]>;
|
|
7082
7136
|
/**
|
|
7083
7137
|
* Disallow exports in scripts.
|
|
7084
|
-
* @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-exports-in-scripts.md
|
|
7085
7139
|
*/
|
|
7086
7140
|
'unicorn/no-exports-in-scripts'?: Linter.RuleEntry<[]>;
|
|
7087
7141
|
/**
|
|
7088
7142
|
* Prefer `for…of` over the `forEach` method.
|
|
7089
|
-
* @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-for-each.md
|
|
7090
7144
|
*/
|
|
7091
7145
|
'unicorn/no-for-each'?: Linter.RuleEntry<[]>;
|
|
7092
7146
|
/**
|
|
7093
7147
|
* 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/
|
|
7148
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-for-loop.md
|
|
7095
7149
|
*/
|
|
7096
7150
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>;
|
|
7097
7151
|
/**
|
|
7098
7152
|
* Disallow assigning properties on the global object.
|
|
7099
|
-
* @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-global-object-property-assignment.md
|
|
7100
7154
|
*/
|
|
7101
7155
|
'unicorn/no-global-object-property-assignment'?: Linter.RuleEntry<[]>;
|
|
7102
7156
|
/**
|
|
7103
7157
|
* 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/
|
|
7158
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#no-hex-escape
|
|
7105
7159
|
* @deprecated
|
|
7106
7160
|
*/
|
|
7107
7161
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>;
|
|
7108
7162
|
/**
|
|
7109
7163
|
* Disallow immediate mutation after assignment and initialization immediately after declaration.
|
|
7110
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7164
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-immediate-mutation.md
|
|
7111
7165
|
*/
|
|
7112
7166
|
'unicorn/no-immediate-mutation'?: Linter.RuleEntry<UnicornNoImmediateMutation>;
|
|
7113
7167
|
/**
|
|
7114
7168
|
* Disallow impossible comparisons against `.length` or `.size`.
|
|
7115
|
-
* @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-impossible-length-comparison.md
|
|
7116
7170
|
*/
|
|
7117
7171
|
'unicorn/no-impossible-length-comparison'?: Linter.RuleEntry<[]>;
|
|
7118
7172
|
/**
|
|
7119
7173
|
* Disallow class accessors that hide an inherited getter or setter.
|
|
7120
|
-
* @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-incomplete-accessor-override.md
|
|
7121
7175
|
*/
|
|
7122
7176
|
'unicorn/no-incomplete-accessor-override'?: Linter.RuleEntry<[]>;
|
|
7123
7177
|
/**
|
|
7124
7178
|
* Disallow incorrect `querySelector()` and `querySelectorAll()` usage.
|
|
7125
|
-
* @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-incorrect-query-selector.md
|
|
7126
7180
|
*/
|
|
7127
7181
|
'unicorn/no-incorrect-query-selector'?: Linter.RuleEntry<[]>;
|
|
7128
7182
|
/**
|
|
7129
7183
|
* Disallow incorrect template literal interpolation syntax.
|
|
7130
|
-
* @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-template-string-interpolation.md
|
|
7131
7185
|
*/
|
|
7132
7186
|
'unicorn/no-incorrect-template-string-interpolation'?: Linter.RuleEntry<[]>;
|
|
7133
7187
|
/**
|
|
7134
7188
|
* Disallow ineffective CSP directives in `<meta>` elements.
|
|
7135
|
-
* @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-ineffective-csp-directives.md
|
|
7136
7190
|
*/
|
|
7137
7191
|
'unicorn/no-ineffective-csp-directives'?: Linter.RuleEntry<[]>;
|
|
7138
7192
|
/**
|
|
7139
7193
|
* Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
|
|
7140
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7194
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
|
|
7141
7195
|
* @deprecated
|
|
7142
7196
|
*/
|
|
7143
7197
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>;
|
|
7144
7198
|
/**
|
|
7145
7199
|
* Disallow `instanceof` with built-in objects
|
|
7146
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7200
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-instanceof-builtins.md
|
|
7147
7201
|
*/
|
|
7148
7202
|
'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
|
|
7149
7203
|
/**
|
|
7150
7204
|
* Disallow calling functions and constructors with an invalid number of arguments.
|
|
7151
|
-
* @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-invalid-argument-count.md
|
|
7152
7206
|
*/
|
|
7153
7207
|
'unicorn/no-invalid-argument-count'?: Linter.RuleEntry<UnicornNoInvalidArgumentCount>;
|
|
7154
7208
|
/**
|
|
7155
7209
|
* Disallow invalid values for HTML boolean attributes.
|
|
7156
|
-
* @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-boolean-attribute-value.md
|
|
7157
7211
|
*/
|
|
7158
7212
|
'unicorn/no-invalid-boolean-attribute-value'?: Linter.RuleEntry<[]>;
|
|
7159
7213
|
/**
|
|
7160
7214
|
* Disallow comparing a single character from a string to a multi-character string.
|
|
7161
|
-
* @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-character-comparison.md
|
|
7162
7216
|
*/
|
|
7163
7217
|
'unicorn/no-invalid-character-comparison'?: Linter.RuleEntry<[]>;
|
|
7164
7218
|
/**
|
|
7165
7219
|
* Disallow invalid DOM tokens.
|
|
7166
|
-
* @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-dom-token.md
|
|
7167
7221
|
*/
|
|
7168
7222
|
'unicorn/no-invalid-dom-token'?: Linter.RuleEntry<[]>;
|
|
7169
7223
|
/**
|
|
7170
7224
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
7171
|
-
* @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-fetch-options.md
|
|
7172
7226
|
*/
|
|
7173
7227
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>;
|
|
7174
7228
|
/**
|
|
7175
7229
|
* Disallow invalid `accept` values on file inputs.
|
|
7176
|
-
* @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-file-input-accept.md
|
|
7177
7231
|
*/
|
|
7178
7232
|
'unicorn/no-invalid-file-input-accept'?: Linter.RuleEntry<[]>;
|
|
7179
7233
|
/**
|
|
7180
7234
|
* Disallow invalid subresource integrity metadata.
|
|
7181
|
-
* @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-integrity.md
|
|
7182
7236
|
*/
|
|
7183
7237
|
'unicorn/no-invalid-integrity'?: Linter.RuleEntry<[]>;
|
|
7184
7238
|
/**
|
|
7185
7239
|
* Disallow invalid or ignored Intl options.
|
|
7186
|
-
* @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-intl-options.md
|
|
7187
7241
|
*/
|
|
7188
7242
|
'unicorn/no-invalid-intl-options'?: Linter.RuleEntry<[]>;
|
|
7189
7243
|
/**
|
|
7190
7244
|
* Moved to `eslint-cssicorn` as `cssicorn/no-invalid-media-features`.
|
|
7191
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7245
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#no-invalid-media-features
|
|
7192
7246
|
* @deprecated
|
|
7193
7247
|
*/
|
|
7194
7248
|
'unicorn/no-invalid-media-features'?: Linter.RuleEntry<[]>;
|
|
7195
7249
|
/**
|
|
7196
7250
|
* Disallow invalid property descriptors.
|
|
7197
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7251
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-invalid-property-descriptor.md
|
|
7198
7252
|
*/
|
|
7199
7253
|
'unicorn/no-invalid-property-descriptor'?: Linter.RuleEntry<[]>;
|
|
7200
7254
|
/**
|
|
7201
7255
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
7202
|
-
* @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-remove-event-listener.md
|
|
7203
7257
|
*/
|
|
7204
7258
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>;
|
|
7205
7259
|
/**
|
|
7206
7260
|
* Disallow invalid options in `new Response()`, `Response.json()`, and `Response.redirect()`.
|
|
7207
|
-
* @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-response-options.md
|
|
7208
7262
|
*/
|
|
7209
7263
|
'unicorn/no-invalid-response-options'?: Linter.RuleEntry<[]>;
|
|
7210
7264
|
/**
|
|
7211
7265
|
* Disallow invalid arguments to `CSSStyleDeclaration#setProperty()`.
|
|
7212
|
-
* @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-style-set-property.md
|
|
7213
7267
|
*/
|
|
7214
7268
|
'unicorn/no-invalid-style-set-property'?: Linter.RuleEntry<[]>;
|
|
7215
7269
|
/**
|
|
7216
7270
|
* Disallow statically known invalid Temporal arithmetic.
|
|
7217
|
-
* @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-temporal-arithmetic.md
|
|
7218
7272
|
*/
|
|
7219
7273
|
'unicorn/no-invalid-temporal-arithmetic'?: Linter.RuleEntry<[]>;
|
|
7220
7274
|
/**
|
|
7221
7275
|
* Disallow invalid protocol strings in comparisons with `URL#protocol`.
|
|
7222
|
-
* @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-url-protocol-comparison.md
|
|
7223
7277
|
*/
|
|
7224
7278
|
'unicorn/no-invalid-url-protocol-comparison'?: Linter.RuleEntry<[]>;
|
|
7225
7279
|
/**
|
|
7226
7280
|
* Disallow invalid implementations of well-known symbol methods.
|
|
7227
|
-
* @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-well-known-symbol-methods.md
|
|
7228
7282
|
*/
|
|
7229
7283
|
'unicorn/no-invalid-well-known-symbol-methods'?: Linter.RuleEntry<[]>;
|
|
7230
7284
|
/**
|
|
7231
7285
|
* Disallow `javascript:` URLs in Markdown.
|
|
7232
|
-
* @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-javascript-url.md
|
|
7233
7287
|
*/
|
|
7234
7288
|
'unicorn/no-javascript-url'?: Linter.RuleEntry<[]>;
|
|
7235
7289
|
/**
|
|
7236
7290
|
* Disallow identifiers starting with `new` or `class`.
|
|
7237
|
-
* @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-keyword-prefix.md
|
|
7238
7292
|
*/
|
|
7239
7293
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
|
|
7240
7294
|
/**
|
|
7241
7295
|
* Disallow accessing `event.currentTarget` after the synchronous event dispatch has finished.
|
|
7242
|
-
* @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-late-current-target-access.md
|
|
7243
7297
|
*/
|
|
7244
7298
|
'unicorn/no-late-current-target-access'?: Linter.RuleEntry<[]>;
|
|
7245
7299
|
/**
|
|
7246
7300
|
* Disallow event-control method calls after the synchronous event dispatch has finished.
|
|
7247
|
-
* @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-event-control.md
|
|
7248
7302
|
*/
|
|
7249
7303
|
'unicorn/no-late-event-control'?: Linter.RuleEntry<[]>;
|
|
7250
7304
|
/**
|
|
7251
7305
|
* Disallow empty lines at the beginning of a file.
|
|
7252
|
-
* @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-leading-empty-lines.md
|
|
7253
7307
|
*/
|
|
7254
7308
|
'unicorn/no-leading-empty-lines'?: Linter.RuleEntry<[]>;
|
|
7255
7309
|
/**
|
|
7256
7310
|
* Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
|
|
7257
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7311
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
|
|
7258
7312
|
* @deprecated
|
|
7259
7313
|
*/
|
|
7260
7314
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>;
|
|
7261
7315
|
/**
|
|
7262
7316
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
7263
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7317
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-lonely-if.md
|
|
7264
7318
|
*/
|
|
7265
7319
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>;
|
|
7266
7320
|
/**
|
|
7267
7321
|
* Disallow mutating a loop iterable during iteration.
|
|
7268
|
-
* @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-loop-iterable-mutation.md
|
|
7269
7323
|
*/
|
|
7270
7324
|
'unicorn/no-loop-iterable-mutation'?: Linter.RuleEntry<[]>;
|
|
7271
7325
|
/**
|
|
7272
7326
|
* Disallow numeric literals that lose precision when represented as IEEE 754 binary64 values.
|
|
7273
|
-
* @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-loss-of-precision.md
|
|
7274
7328
|
*/
|
|
7275
7329
|
'unicorn/no-loss-of-precision'?: Linter.RuleEntry<[]>;
|
|
7276
7330
|
/**
|
|
7277
7331
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
7278
|
-
* @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-magic-array-flat-depth.md
|
|
7279
7333
|
*/
|
|
7280
7334
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>;
|
|
7281
7335
|
/**
|
|
7282
7336
|
* Disallow manually wrapped comments.
|
|
7283
|
-
* @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-manually-wrapped-comments.md
|
|
7284
7338
|
*/
|
|
7285
7339
|
'unicorn/no-manually-wrapped-comments'?: Linter.RuleEntry<[]>;
|
|
7286
7340
|
/**
|
|
7287
7341
|
* Disallow checking a Map key before accessing a different key.
|
|
7288
|
-
* @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-mismatched-map-key.md
|
|
7289
7343
|
*/
|
|
7290
7344
|
'unicorn/no-mismatched-map-key'?: Linter.RuleEntry<[]>;
|
|
7291
7345
|
/**
|
|
7292
7346
|
* Disallow misrefactored compound assignments where the target is duplicated in the right-hand side.
|
|
7293
|
-
* @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-misrefactored-assignment.md
|
|
7294
7348
|
*/
|
|
7295
7349
|
'unicorn/no-misrefactored-assignment'?: Linter.RuleEntry<[]>;
|
|
7296
7350
|
/**
|
|
7297
7351
|
* Disallow references to missing local resources.
|
|
7298
|
-
* @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-missing-local-resource.md
|
|
7299
7353
|
*/
|
|
7300
7354
|
'unicorn/no-missing-local-resource'?: Linter.RuleEntry<[]>;
|
|
7301
7355
|
/**
|
|
7302
7356
|
* Disallow calling Promise executor resolver functions more than once on the same execution path.
|
|
7303
|
-
* @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-multiple-promise-resolver-calls.md
|
|
7304
7358
|
*/
|
|
7305
7359
|
'unicorn/no-multiple-promise-resolver-calls'?: Linter.RuleEntry<[]>;
|
|
7306
7360
|
/**
|
|
7307
7361
|
* Disallow named usage of default import and export.
|
|
7308
|
-
* @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-named-default.md
|
|
7309
7363
|
*/
|
|
7310
7364
|
'unicorn/no-named-default'?: Linter.RuleEntry<[]>;
|
|
7311
7365
|
/**
|
|
7312
7366
|
* Disallow negated array predicate calls.
|
|
7313
|
-
* @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-negated-array-predicate.md
|
|
7314
7368
|
*/
|
|
7315
7369
|
'unicorn/no-negated-array-predicate'?: Linter.RuleEntry<[]>;
|
|
7316
7370
|
/**
|
|
7317
7371
|
* Disallow negated comparisons.
|
|
7318
|
-
* @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-comparison.md
|
|
7319
7373
|
*/
|
|
7320
7374
|
'unicorn/no-negated-comparison'?: Linter.RuleEntry<UnicornNoNegatedComparison>;
|
|
7321
7375
|
/**
|
|
7322
7376
|
* Disallow negated conditions.
|
|
7323
|
-
* @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-condition.md
|
|
7324
7378
|
*/
|
|
7325
7379
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>;
|
|
7326
7380
|
/**
|
|
7327
7381
|
* Disallow negated expression in equality check.
|
|
7328
|
-
* @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-negation-in-equality-check.md
|
|
7329
7383
|
*/
|
|
7330
7384
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>;
|
|
7331
7385
|
/**
|
|
7332
7386
|
* Disallow nested ternary expressions.
|
|
7333
|
-
* @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-nested-ternary.md
|
|
7334
7388
|
*/
|
|
7335
7389
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>;
|
|
7336
7390
|
/**
|
|
7337
7391
|
* Moved to `eslint-cssicorn` as `cssicorn/no-nesting-with-mixed-specificity`.
|
|
7338
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7392
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#no-nesting-with-mixed-specificity
|
|
7339
7393
|
* @deprecated
|
|
7340
7394
|
*/
|
|
7341
7395
|
'unicorn/no-nesting-with-mixed-specificity'?: Linter.RuleEntry<[]>;
|
|
7342
7396
|
/**
|
|
7343
7397
|
* Disallow `new Array()`.
|
|
7344
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7398
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-new-array.md
|
|
7345
7399
|
*/
|
|
7346
7400
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>;
|
|
7347
7401
|
/**
|
|
7348
7402
|
* 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/
|
|
7403
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-new-buffer.md
|
|
7350
7404
|
*/
|
|
7351
7405
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>;
|
|
7352
7406
|
/**
|
|
7353
7407
|
* Disallow non-function values with function-style verb prefixes.
|
|
7354
|
-
* @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-non-function-verb-prefix.md
|
|
7355
7409
|
*/
|
|
7356
7410
|
'unicorn/no-non-function-verb-prefix'?: Linter.RuleEntry<UnicornNoNonFunctionVerbPrefix>;
|
|
7357
7411
|
/**
|
|
7358
7412
|
* Disallow non-standard properties on built-in objects.
|
|
7359
|
-
* @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-nonstandard-builtin-properties.md
|
|
7360
7414
|
*/
|
|
7361
7415
|
'unicorn/no-nonstandard-builtin-properties'?: Linter.RuleEntry<[]>;
|
|
7362
7416
|
/**
|
|
7363
7417
|
* Disallow the use of the `null` literal.
|
|
7364
|
-
* @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-null.md
|
|
7365
7419
|
*/
|
|
7366
7420
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>;
|
|
7367
7421
|
/**
|
|
7368
7422
|
* Disallow the use of objects as default parameters.
|
|
7369
|
-
* @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-object-as-default-parameter.md
|
|
7370
7424
|
*/
|
|
7371
7425
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>;
|
|
7372
7426
|
/**
|
|
7373
7427
|
* Disallow `Object` methods with `Map` or `Set`.
|
|
7374
|
-
* @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-methods-with-collections.md
|
|
7375
7429
|
*/
|
|
7376
7430
|
'unicorn/no-object-methods-with-collections'?: Linter.RuleEntry<[]>;
|
|
7377
7431
|
/**
|
|
7378
7432
|
* Disallow optional chaining on undeclared variables.
|
|
7379
|
-
* @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-optional-chaining-on-undeclared-variable.md
|
|
7380
7434
|
*/
|
|
7381
7435
|
'unicorn/no-optional-chaining-on-undeclared-variable'?: Linter.RuleEntry<[]>;
|
|
7382
7436
|
/**
|
|
7383
7437
|
* Disallow ineffective `preventDefault()` calls in passive event listeners.
|
|
7384
|
-
* @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-prevent-default-in-passive-listener.md
|
|
7385
7439
|
*/
|
|
7386
7440
|
'unicorn/no-prevent-default-in-passive-listener'?: Linter.RuleEntry<[]>;
|
|
7387
7441
|
/**
|
|
7388
7442
|
* Disallow `process.exit()`.
|
|
7389
|
-
* @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-process-exit.md
|
|
7390
7444
|
*/
|
|
7391
7445
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>;
|
|
7392
7446
|
/**
|
|
7393
7447
|
* Disallow comparisons made redundant by an equality check in the same logical AND.
|
|
7394
|
-
* @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-redundant-comparison.md
|
|
7395
7449
|
*/
|
|
7396
7450
|
'unicorn/no-redundant-comparison'?: Linter.RuleEntry<[]>;
|
|
7397
7451
|
/**
|
|
7398
7452
|
* Moved to `eslint-cssicorn` as `cssicorn/no-redundant-nested-style-rules`.
|
|
7399
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7453
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#no-redundant-nested-style-rules
|
|
7400
7454
|
* @deprecated
|
|
7401
7455
|
*/
|
|
7402
7456
|
'unicorn/no-redundant-nested-style-rules'?: Linter.RuleEntry<[]>;
|
|
7403
7457
|
/**
|
|
7404
7458
|
* Disallow repeating the same wrapper at every call to a function.
|
|
7405
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7459
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-repeated-call-wrappers.md
|
|
7406
7460
|
*/
|
|
7407
7461
|
'unicorn/no-repeated-call-wrappers'?: Linter.RuleEntry<[]>;
|
|
7408
7462
|
/**
|
|
7409
7463
|
* Disallow using the return value of `Array#push()` and `Array#unshift()`.
|
|
7410
|
-
* @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-return-array-push.md
|
|
7411
7465
|
*/
|
|
7412
7466
|
'unicorn/no-return-array-push'?: Linter.RuleEntry<[]>;
|
|
7413
7467
|
/**
|
|
7414
7468
|
* Disallow selector syntax in DOM names.
|
|
7415
|
-
* @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-selector-as-dom-name.md
|
|
7416
7470
|
*/
|
|
7417
7471
|
'unicorn/no-selector-as-dom-name'?: Linter.RuleEntry<[]>;
|
|
7418
7472
|
/**
|
|
7419
7473
|
* Disallow shorthand properties that override related longhand properties.
|
|
7420
|
-
* @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-shorthand-property-overrides.md
|
|
7421
7475
|
*/
|
|
7422
7476
|
'unicorn/no-shorthand-property-overrides'?: Linter.RuleEntry<[]>;
|
|
7423
7477
|
/**
|
|
7424
7478
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
7425
|
-
* @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-single-promise-in-promise-methods.md
|
|
7426
7480
|
*/
|
|
7427
7481
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
7428
7482
|
/**
|
|
7429
7483
|
* Disallow classes that only have static members.
|
|
7430
|
-
* @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-static-only-class.md
|
|
7431
7485
|
*/
|
|
7432
7486
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>;
|
|
7433
7487
|
/**
|
|
7434
7488
|
* Prefer comparing values directly over subtracting and comparing to `0`.
|
|
7435
|
-
* @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-subtraction-comparison.md
|
|
7436
7490
|
*/
|
|
7437
7491
|
'unicorn/no-subtraction-comparison'?: Linter.RuleEntry<[]>;
|
|
7438
7492
|
/**
|
|
7439
7493
|
* Disallow `then` property.
|
|
7440
|
-
* @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-thenable.md
|
|
7441
7495
|
*/
|
|
7442
7496
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>;
|
|
7443
7497
|
/**
|
|
7444
7498
|
* Disallow assigning `this` to a variable.
|
|
7445
|
-
* @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-this-assignment.md
|
|
7446
7500
|
*/
|
|
7447
7501
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>;
|
|
7448
7502
|
/**
|
|
7449
7503
|
* Disallow `this` outside of classes.
|
|
7450
|
-
* @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-outside-of-class.md
|
|
7451
7505
|
*/
|
|
7452
7506
|
'unicorn/no-this-outside-of-class'?: Linter.RuleEntry<[]>;
|
|
7453
7507
|
/**
|
|
7454
7508
|
* Disallow assigning to top-level variables from inside functions.
|
|
7455
|
-
* @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-top-level-assignment-in-function.md
|
|
7456
7510
|
*/
|
|
7457
7511
|
'unicorn/no-top-level-assignment-in-function'?: Linter.RuleEntry<[]>;
|
|
7458
7512
|
/**
|
|
7459
7513
|
* Disallow top-level side effects in exported modules.
|
|
7460
|
-
* @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-side-effects.md
|
|
7461
7515
|
*/
|
|
7462
7516
|
'unicorn/no-top-level-side-effects'?: Linter.RuleEntry<UnicornNoTopLevelSideEffects>;
|
|
7463
7517
|
/**
|
|
7464
7518
|
* Disallow `all` as a transition property.
|
|
7465
|
-
* @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-transition-all.md
|
|
7466
7520
|
*/
|
|
7467
7521
|
'unicorn/no-transition-all'?: Linter.RuleEntry<[]>;
|
|
7468
7522
|
/**
|
|
7469
7523
|
* Disallow comparing `undefined` using `typeof`.
|
|
7470
|
-
* @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-typeof-undefined.md
|
|
7471
7525
|
*/
|
|
7472
7526
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
|
|
7473
7527
|
/**
|
|
7474
7528
|
* Disallow referencing methods without calling them.
|
|
7475
|
-
* @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-uncalled-method.md
|
|
7476
7530
|
*/
|
|
7477
7531
|
'unicorn/no-uncalled-method'?: Linter.RuleEntry<[]>;
|
|
7478
7532
|
/**
|
|
7479
7533
|
* Require class members to be declared.
|
|
7480
|
-
* @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-undeclared-class-members.md
|
|
7481
7535
|
*/
|
|
7482
7536
|
'unicorn/no-undeclared-class-members'?: Linter.RuleEntry<[]>;
|
|
7483
7537
|
/**
|
|
7484
7538
|
* Moved to `eslint-cssicorn` as `cssicorn/no-unknown-annotations`.
|
|
7485
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7539
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#no-unknown-css-annotations
|
|
7486
7540
|
* @deprecated
|
|
7487
7541
|
*/
|
|
7488
7542
|
'unicorn/no-unknown-css-annotations'?: Linter.RuleEntry<[]>;
|
|
7489
7543
|
/**
|
|
7490
7544
|
* Moved to `eslint-cssicorn` as `cssicorn/no-unknown-pseudo-selectors`.
|
|
7491
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7545
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#no-unknown-pseudo-selectors
|
|
7492
7546
|
* @deprecated
|
|
7493
7547
|
*/
|
|
7494
7548
|
'unicorn/no-unknown-pseudo-selectors'?: Linter.RuleEntry<[]>;
|
|
7495
7549
|
/**
|
|
7496
7550
|
* Disallow using `1` as the `depth` argument of `Array#flat()`.
|
|
7497
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7551
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-unnecessary-array-flat-depth.md
|
|
7498
7552
|
*/
|
|
7499
7553
|
'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>;
|
|
7500
7554
|
/**
|
|
7501
7555
|
* Disallow unnecessary use of `Array#flatMap()`.
|
|
7502
|
-
* @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-map.md
|
|
7503
7557
|
*/
|
|
7504
7558
|
'unicorn/no-unnecessary-array-flat-map'?: Linter.RuleEntry<[]>;
|
|
7505
7559
|
/**
|
|
7506
7560
|
* 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/
|
|
7561
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-unnecessary-array-splice-count.md
|
|
7508
7562
|
*/
|
|
7509
7563
|
'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>;
|
|
7510
7564
|
/**
|
|
7511
7565
|
* Disallow awaiting non-promise values.
|
|
7512
|
-
* @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-await.md
|
|
7513
7567
|
*/
|
|
7514
7568
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>;
|
|
7515
7569
|
/**
|
|
7516
7570
|
* Disallow unnecessary comparisons against boolean literals.
|
|
7517
|
-
* @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-boolean-comparison.md
|
|
7518
7572
|
*/
|
|
7519
7573
|
'unicorn/no-unnecessary-boolean-comparison'?: Linter.RuleEntry<[]>;
|
|
7520
7574
|
/**
|
|
7521
7575
|
* Disallow arguments that match their parameter defaults.
|
|
7522
|
-
* @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-default-arguments.md
|
|
7523
7577
|
*/
|
|
7524
7578
|
'unicorn/no-unnecessary-default-arguments'?: Linter.RuleEntry<[]>;
|
|
7525
7579
|
/**
|
|
7526
7580
|
* Disallow unnecessary options in `fetch()` and `new Request()`.
|
|
7527
|
-
* @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-fetch-options.md
|
|
7528
7582
|
*/
|
|
7529
7583
|
'unicorn/no-unnecessary-fetch-options'?: Linter.RuleEntry<[]>;
|
|
7530
7584
|
/**
|
|
7531
7585
|
* Disallow unnecessary `globalThis` references.
|
|
7532
|
-
* @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-global-this.md
|
|
7533
7587
|
*/
|
|
7534
7588
|
'unicorn/no-unnecessary-global-this'?: Linter.RuleEntry<[]>;
|
|
7535
7589
|
/**
|
|
7536
7590
|
* Disallow unnecessary nested ternary expressions.
|
|
7537
|
-
* @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-nested-ternary.md
|
|
7538
7592
|
*/
|
|
7539
7593
|
'unicorn/no-unnecessary-nested-ternary'?: Linter.RuleEntry<[]>;
|
|
7540
7594
|
/**
|
|
7541
7595
|
* Disallow parameters that receive the same value at every call.
|
|
7542
|
-
* @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-parameters.md
|
|
7543
7597
|
*/
|
|
7544
7598
|
'unicorn/no-unnecessary-parameters'?: Linter.RuleEntry<UnicornNoUnnecessaryParameters>;
|
|
7545
7599
|
/**
|
|
7546
7600
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
7547
|
-
* @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-polyfills.md
|
|
7548
7602
|
*/
|
|
7549
7603
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
|
|
7550
7604
|
/**
|
|
7551
7605
|
* Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
7552
|
-
* @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-slice-end.md
|
|
7553
7607
|
*/
|
|
7554
7608
|
'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>;
|
|
7555
7609
|
/**
|
|
7556
7610
|
* Disallow `Array#splice()` when simpler alternatives exist.
|
|
7557
|
-
* @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-splice.md
|
|
7558
7612
|
*/
|
|
7559
7613
|
'unicorn/no-unnecessary-splice'?: Linter.RuleEntry<[]>;
|
|
7560
7614
|
/**
|
|
7561
7615
|
* Disallow `String#trim()` before `String#startsWith()` or `String#endsWith()`.
|
|
7562
|
-
* @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-string-trim.md
|
|
7563
7617
|
*/
|
|
7564
7618
|
'unicorn/no-unnecessary-string-trim'?: Linter.RuleEntry<[]>;
|
|
7565
7619
|
/**
|
|
7566
7620
|
* Disallow unreadable array destructuring.
|
|
7567
|
-
* @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-unreadable-array-destructuring.md
|
|
7568
7622
|
*/
|
|
7569
7623
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<UnicornNoUnreadableArrayDestructuring>;
|
|
7570
7624
|
/**
|
|
7571
7625
|
* Disallow unreadable iterable expressions in `for…of` and `for await…of` loop headers.
|
|
7572
|
-
* @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-for-of-expression.md
|
|
7573
7627
|
*/
|
|
7574
7628
|
'unicorn/no-unreadable-for-of-expression'?: Linter.RuleEntry<[]>;
|
|
7575
7629
|
/**
|
|
7576
7630
|
* Disallow unreadable IIFEs.
|
|
7577
|
-
* @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-iife.md
|
|
7578
7632
|
*/
|
|
7579
7633
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>;
|
|
7580
7634
|
/**
|
|
7581
7635
|
* Disallow unreadable `new` expressions.
|
|
7582
|
-
* @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-new-expression.md
|
|
7583
7637
|
*/
|
|
7584
7638
|
'unicorn/no-unreadable-new-expression'?: Linter.RuleEntry<[]>;
|
|
7585
7639
|
/**
|
|
7586
7640
|
* Disallow unreadable object destructuring.
|
|
7587
|
-
* @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-object-destructuring.md
|
|
7588
7642
|
*/
|
|
7589
7643
|
'unicorn/no-unreadable-object-destructuring'?: Linter.RuleEntry<[]>;
|
|
7590
7644
|
/**
|
|
7591
7645
|
* Prevent unsafe use of ArrayBuffer view `.buffer`.
|
|
7592
|
-
* @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-unsafe-buffer-conversion.md
|
|
7593
7647
|
*/
|
|
7594
7648
|
'unicorn/no-unsafe-buffer-conversion'?: Linter.RuleEntry<[]>;
|
|
7595
7649
|
/**
|
|
7596
7650
|
* Disallow unsafe DOM HTML APIs.
|
|
7597
|
-
* @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-dom-html.md
|
|
7598
7652
|
*/
|
|
7599
7653
|
'unicorn/no-unsafe-dom-html'?: Linter.RuleEntry<[]>;
|
|
7600
7654
|
/**
|
|
7601
7655
|
* Disallow known values that JSON serialization cannot represent faithfully.
|
|
7602
|
-
* @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-json-serialization.md
|
|
7603
7657
|
*/
|
|
7604
7658
|
'unicorn/no-unsafe-json-serialization'?: Linter.RuleEntry<[]>;
|
|
7605
7659
|
/**
|
|
7606
7660
|
* Disallow reading `.value` from `Promise.allSettled()` results without a fulfilled status guard.
|
|
7607
|
-
* @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-promise-all-settled-values.md
|
|
7608
7662
|
*/
|
|
7609
7663
|
'unicorn/no-unsafe-promise-all-settled-values'?: Linter.RuleEntry<[]>;
|
|
7610
7664
|
/**
|
|
7611
7665
|
* Disallow unsafe values as property keys.
|
|
7612
|
-
* @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-property-key.md
|
|
7613
7667
|
*/
|
|
7614
7668
|
'unicorn/no-unsafe-property-key'?: Linter.RuleEntry<[]>;
|
|
7615
7669
|
/**
|
|
7616
7670
|
* Disallow interpolation into SQL strings passed to Node’s `node:sqlite` APIs.
|
|
7617
|
-
* @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-sqlite-interpolation.md
|
|
7618
7672
|
*/
|
|
7619
7673
|
'unicorn/no-unsafe-sqlite-interpolation'?: Linter.RuleEntry<[]>;
|
|
7620
7674
|
/**
|
|
7621
7675
|
* Disallow non-literal replacement values in `String#replace()` and `String#replaceAll()`.
|
|
7622
|
-
* @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-string-replacement.md
|
|
7623
7677
|
*/
|
|
7624
7678
|
'unicorn/no-unsafe-string-replacement'?: Linter.RuleEntry<[]>;
|
|
7625
7679
|
/**
|
|
7626
7680
|
* Moved to `eslint-cssicorn` as `cssicorn/no-unscoped-nesting-selector`.
|
|
7627
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7681
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#no-unscoped-css-nesting-selector
|
|
7628
7682
|
* @deprecated
|
|
7629
7683
|
*/
|
|
7630
7684
|
'unicorn/no-unscoped-css-nesting-selector'?: Linter.RuleEntry<[]>;
|
|
7631
7685
|
/**
|
|
7632
7686
|
* Replaced by `unicorn/no-unused-builtin-method-return` which covers more cases.
|
|
7633
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7687
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#no-unused-array-method-return
|
|
7634
7688
|
* @deprecated
|
|
7635
7689
|
*/
|
|
7636
7690
|
'unicorn/no-unused-array-method-return'?: Linter.RuleEntry<[]>;
|
|
7637
7691
|
/**
|
|
7638
7692
|
* Disallow ignoring the return value of selected built-in methods.
|
|
7639
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7693
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-unused-builtin-method-return.md
|
|
7640
7694
|
*/
|
|
7641
7695
|
'unicorn/no-unused-builtin-method-return'?: Linter.RuleEntry<[]>;
|
|
7642
7696
|
/**
|
|
7643
7697
|
* Disallow discarding lazy iterator helpers.
|
|
7644
|
-
* @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-iterator-helper.md
|
|
7645
7699
|
*/
|
|
7646
7700
|
'unicorn/no-unused-iterator-helper'?: Linter.RuleEntry<[]>;
|
|
7647
7701
|
/**
|
|
7648
7702
|
* Disallow unused object properties.
|
|
7649
|
-
* @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-properties.md
|
|
7650
7704
|
*/
|
|
7651
7705
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>;
|
|
7652
7706
|
/**
|
|
7653
7707
|
* Disallow passing full URLs to `URLSearchParams`.
|
|
7654
|
-
* @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-url-in-search-params.md
|
|
7655
7709
|
*/
|
|
7656
7710
|
'unicorn/no-url-in-search-params'?: Linter.RuleEntry<[]>;
|
|
7657
7711
|
/**
|
|
7658
7712
|
* Disallow unnecessary `Boolean()` casts in array predicate callbacks.
|
|
7659
|
-
* @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-useless-boolean-cast.md
|
|
7660
7714
|
*/
|
|
7661
7715
|
'unicorn/no-useless-boolean-cast'?: Linter.RuleEntry<[]>;
|
|
7662
7716
|
/**
|
|
7663
7717
|
* Disallow useless type coercions of values that are already of the target type.
|
|
7664
|
-
* @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-coercion.md
|
|
7665
7719
|
*/
|
|
7666
7720
|
'unicorn/no-useless-coercion'?: Linter.RuleEntry<[]>;
|
|
7667
7721
|
/**
|
|
7668
7722
|
* Disallow useless values or fallbacks in `Set`, `Map`, `WeakSet`, or `WeakMap`.
|
|
7669
|
-
* @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-collection-argument.md
|
|
7670
7724
|
*/
|
|
7671
7725
|
'unicorn/no-useless-collection-argument'?: Linter.RuleEntry<[]>;
|
|
7672
7726
|
/**
|
|
7673
7727
|
* Disallow useless compound assignments such as `x += 0`.
|
|
7674
|
-
* @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-compound-assignment.md
|
|
7675
7729
|
*/
|
|
7676
7730
|
'unicorn/no-useless-compound-assignment'?: Linter.RuleEntry<[]>;
|
|
7677
7731
|
/**
|
|
7678
7732
|
* Disallow useless concatenation of literals.
|
|
7679
|
-
* @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-concat.md
|
|
7680
7734
|
*/
|
|
7681
7735
|
'unicorn/no-useless-concat'?: Linter.RuleEntry<[]>;
|
|
7682
7736
|
/**
|
|
7683
7737
|
* Disallow useless `continue` statements.
|
|
7684
|
-
* @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-continue.md
|
|
7685
7739
|
*/
|
|
7686
7740
|
'unicorn/no-useless-continue'?: Linter.RuleEntry<[]>;
|
|
7687
7741
|
/**
|
|
7688
7742
|
* Disallow unnecessary existence checks before deletion.
|
|
7689
|
-
* @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-delete-check.md
|
|
7690
7744
|
*/
|
|
7691
7745
|
'unicorn/no-useless-delete-check'?: Linter.RuleEntry<[]>;
|
|
7692
7746
|
/**
|
|
7693
7747
|
* Disallow `else` after a statement that exits.
|
|
7694
|
-
* @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-else.md
|
|
7695
7749
|
*/
|
|
7696
7750
|
'unicorn/no-useless-else'?: Linter.RuleEntry<[]>;
|
|
7697
7751
|
/**
|
|
7698
7752
|
* Disallow unnecessary `Error.captureStackTrace(…)`.
|
|
7699
|
-
* @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-error-capture-stack-trace.md
|
|
7700
7754
|
*/
|
|
7701
7755
|
'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>;
|
|
7702
7756
|
/**
|
|
7703
7757
|
* Disallow useless fallback when spreading in object literals.
|
|
7704
|
-
* @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-fallback-in-spread.md
|
|
7705
7759
|
*/
|
|
7706
7760
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>;
|
|
7707
7761
|
/**
|
|
7708
7762
|
* Disallow unnecessary `.toArray()` on iterators.
|
|
7709
|
-
* @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-iterator-to-array.md
|
|
7710
7764
|
*/
|
|
7711
7765
|
'unicorn/no-useless-iterator-to-array'?: Linter.RuleEntry<[]>;
|
|
7712
7766
|
/**
|
|
7713
7767
|
* Disallow useless array length check.
|
|
7714
|
-
* @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-length-check.md
|
|
7715
7769
|
*/
|
|
7716
7770
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>;
|
|
7717
7771
|
/**
|
|
7718
7772
|
* Disallow unnecessary operands in logical expressions involving boolean literals.
|
|
7719
|
-
* @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-logical-operand.md
|
|
7720
7774
|
*/
|
|
7721
7775
|
'unicorn/no-useless-logical-operand'?: Linter.RuleEntry<[]>;
|
|
7722
7776
|
/**
|
|
7723
7777
|
* Disallow useless overrides of class methods.
|
|
7724
|
-
* @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-override.md
|
|
7725
7779
|
*/
|
|
7726
7780
|
'unicorn/no-useless-override'?: Linter.RuleEntry<[]>;
|
|
7727
7781
|
/**
|
|
7728
7782
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
7729
|
-
* @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-promise-resolve-reject.md
|
|
7730
7784
|
*/
|
|
7731
7785
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>;
|
|
7732
7786
|
/**
|
|
7733
7787
|
* Disallow redundant re-exports.
|
|
7734
|
-
* @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-re-export.md
|
|
7735
7789
|
*/
|
|
7736
7790
|
'unicorn/no-useless-re-export'?: Linter.RuleEntry<[]>;
|
|
7737
7791
|
/**
|
|
7738
7792
|
* Disallow simple recursive function calls that can be replaced with a loop.
|
|
7739
|
-
* @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-recursion.md
|
|
7740
7794
|
*/
|
|
7741
7795
|
'unicorn/no-useless-recursion'?: Linter.RuleEntry<[]>;
|
|
7742
7796
|
/**
|
|
7743
7797
|
* Disallow unnecessary `Set` construction around `Set` methods.
|
|
7744
|
-
* @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-set-construction.md
|
|
7745
7799
|
*/
|
|
7746
7800
|
'unicorn/no-useless-set-construction'?: Linter.RuleEntry<[]>;
|
|
7747
7801
|
/**
|
|
7748
7802
|
* Disallow unnecessary spread.
|
|
7749
|
-
* @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-spread.md
|
|
7750
7804
|
*/
|
|
7751
7805
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>;
|
|
7752
7806
|
/**
|
|
7753
7807
|
* Disallow useless case in switch statements.
|
|
7754
|
-
* @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-switch-case.md
|
|
7755
7809
|
*/
|
|
7756
7810
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>;
|
|
7757
7811
|
/**
|
|
7758
7812
|
* Disallow useless template literal expressions.
|
|
7759
|
-
* @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-template-literals.md
|
|
7760
7814
|
*/
|
|
7761
7815
|
'unicorn/no-useless-template-literals'?: Linter.RuleEntry<[]>;
|
|
7762
7816
|
/**
|
|
7763
7817
|
* Disallow useless `undefined`.
|
|
7764
|
-
* @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-undefined.md
|
|
7765
7819
|
*/
|
|
7766
7820
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>;
|
|
7767
7821
|
/**
|
|
7768
7822
|
* Disallow returning or exporting resources declared with `using`, including through capturing functions.
|
|
7769
|
-
* @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-using-resource-escape.md
|
|
7770
7824
|
*/
|
|
7771
7825
|
'unicorn/no-using-resource-escape'?: Linter.RuleEntry<[]>;
|
|
7772
7826
|
/**
|
|
7773
7827
|
* Disallow the bitwise XOR operator where exponentiation was likely intended.
|
|
7774
|
-
* @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-xor-as-exponentiation.md
|
|
7775
7829
|
*/
|
|
7776
7830
|
'unicorn/no-xor-as-exponentiation'?: Linter.RuleEntry<[]>;
|
|
7777
7831
|
/**
|
|
7778
7832
|
* Require consistent decimal numbers without redundant zeros.
|
|
7779
|
-
* @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-zero-fractions.md
|
|
7780
7834
|
*/
|
|
7781
7835
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>;
|
|
7782
7836
|
/**
|
|
7783
7837
|
* Enforce proper case for numeric literals.
|
|
7784
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7838
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/number-literal-case.md
|
|
7785
7839
|
*/
|
|
7786
7840
|
'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>;
|
|
7787
7841
|
/**
|
|
7788
7842
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
7789
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7843
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/numeric-separators-style.md
|
|
7790
7844
|
*/
|
|
7791
7845
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
|
|
7792
7846
|
/**
|
|
7793
7847
|
* Require assignment operator shorthand where possible.
|
|
7794
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7848
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/operator-assignment.md
|
|
7795
7849
|
*/
|
|
7796
7850
|
'unicorn/operator-assignment'?: Linter.RuleEntry<UnicornOperatorAssignment>;
|
|
7797
7851
|
/**
|
|
7798
7852
|
* Prefer `AbortSignal.any()` over manually forwarding abort events between signals.
|
|
7799
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7853
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-abort-signal-any.md
|
|
7800
7854
|
*/
|
|
7801
7855
|
'unicorn/prefer-abort-signal-any'?: Linter.RuleEntry<[]>;
|
|
7802
7856
|
/**
|
|
7803
7857
|
* Prefer `AbortSignal.timeout()` over manually aborting an `AbortController` with `setTimeout()`.
|
|
7804
|
-
* @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-timeout.md
|
|
7805
7859
|
*/
|
|
7806
7860
|
'unicorn/prefer-abort-signal-timeout'?: Linter.RuleEntry<[]>;
|
|
7807
7861
|
/**
|
|
7808
7862
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
7809
|
-
* @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-add-event-listener.md
|
|
7810
7864
|
*/
|
|
7811
7865
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>;
|
|
7812
7866
|
/**
|
|
7813
7867
|
* Prefer an options object over a boolean in `.addEventListener()`.
|
|
7814
|
-
* @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-options.md
|
|
7815
7869
|
*/
|
|
7816
7870
|
'unicorn/prefer-add-event-listener-options'?: Linter.RuleEntry<[]>;
|
|
7817
7871
|
/**
|
|
7818
7872
|
* Prefer `AggregateError` when throwing collected errors.
|
|
7819
|
-
* @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-aggregate-error.md
|
|
7820
7874
|
*/
|
|
7821
7875
|
'unicorn/prefer-aggregate-error'?: Linter.RuleEntry<[]>;
|
|
7822
7876
|
/**
|
|
7823
7877
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
7824
|
-
* @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-array-find.md
|
|
7825
7879
|
*/
|
|
7826
7880
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>;
|
|
7827
7881
|
/**
|
|
7828
7882
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
7829
|
-
* @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-flat.md
|
|
7830
7884
|
*/
|
|
7831
7885
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>;
|
|
7832
7886
|
/**
|
|
7833
7887
|
* Prefer `.flatMap(…)` over `.map(…).flat()` and `.filter(…).flatMap(…)`.
|
|
7834
|
-
* @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-map.md
|
|
7835
7889
|
*/
|
|
7836
7890
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>;
|
|
7837
7891
|
/**
|
|
7838
7892
|
* Prefer `Array.fromAsync()` over array accumulation loops.
|
|
7839
|
-
* @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-from-async.md
|
|
7840
7894
|
*/
|
|
7841
7895
|
'unicorn/prefer-array-from-async'?: Linter.RuleEntry<[]>;
|
|
7842
7896
|
/**
|
|
7843
7897
|
* Prefer using the `Array.from()` mapping function argument.
|
|
7844
|
-
* @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-map.md
|
|
7845
7899
|
*/
|
|
7846
7900
|
'unicorn/prefer-array-from-map'?: Linter.RuleEntry<[]>;
|
|
7847
7901
|
/**
|
|
7848
7902
|
* Prefer `Array.from({length}, …)` when creating range arrays.
|
|
7849
|
-
* @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-range.md
|
|
7850
7904
|
*/
|
|
7851
7905
|
'unicorn/prefer-array-from-range'?: Linter.RuleEntry<[]>;
|
|
7852
7906
|
/**
|
|
7853
7907
|
* 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/
|
|
7908
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-array-index-of.md
|
|
7855
7909
|
*/
|
|
7856
7910
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>;
|
|
7857
7911
|
/**
|
|
7858
7912
|
* 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/
|
|
7913
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-array-iterable-methods.md
|
|
7860
7914
|
*/
|
|
7861
7915
|
'unicorn/prefer-array-iterable-methods'?: Linter.RuleEntry<[]>;
|
|
7862
7916
|
/**
|
|
7863
7917
|
* 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/
|
|
7918
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-array-last-methods.md
|
|
7865
7919
|
*/
|
|
7866
7920
|
'unicorn/prefer-array-last-methods'?: Linter.RuleEntry<[]>;
|
|
7867
7921
|
/**
|
|
7868
7922
|
* Prefer `Array#slice()` over `Array#splice()` when reading from the returned array.
|
|
7869
|
-
* @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-slice.md
|
|
7870
7924
|
*/
|
|
7871
7925
|
'unicorn/prefer-array-slice'?: Linter.RuleEntry<[]>;
|
|
7872
7926
|
/**
|
|
7873
7927
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
7874
|
-
* @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-some.md
|
|
7875
7929
|
*/
|
|
7876
7930
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>;
|
|
7877
7931
|
/**
|
|
7878
7932
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
7879
|
-
* @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-at.md
|
|
7880
7934
|
*/
|
|
7881
7935
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>;
|
|
7882
7936
|
/**
|
|
7883
7937
|
* Prefer `await` over promise chaining.
|
|
7884
|
-
* @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-await.md
|
|
7885
7939
|
*/
|
|
7886
7940
|
'unicorn/prefer-await'?: Linter.RuleEntry<[]>;
|
|
7887
7941
|
/**
|
|
7888
7942
|
* Prefer `BigInt` literals over the constructor.
|
|
7889
|
-
* @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-bigint-literals.md
|
|
7890
7944
|
*/
|
|
7891
7945
|
'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>;
|
|
7892
7946
|
/**
|
|
7893
7947
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
7894
|
-
* @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-blob-reading-methods.md
|
|
7895
7949
|
*/
|
|
7896
7950
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>;
|
|
7897
7951
|
/**
|
|
7898
7952
|
* Prefer block statements over IIFEs used only for scoping.
|
|
7899
|
-
* @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-block-statement-over-iife.md
|
|
7900
7954
|
*/
|
|
7901
7955
|
'unicorn/prefer-block-statement-over-iife'?: Linter.RuleEntry<[]>;
|
|
7902
7956
|
/**
|
|
7903
7957
|
* Prefer directly returning boolean expressions over `if` statements.
|
|
7904
|
-
* @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-boolean-return.md
|
|
7905
7959
|
*/
|
|
7906
7960
|
'unicorn/prefer-boolean-return'?: Linter.RuleEntry<[]>;
|
|
7907
7961
|
/**
|
|
7908
7962
|
* Prefer class field declarations over `this` assignments in constructors.
|
|
7909
|
-
* @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-class-fields.md
|
|
7910
7964
|
*/
|
|
7911
7965
|
'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>;
|
|
7912
7966
|
/**
|
|
7913
7967
|
* Prefer using `Element#classList.toggle()` to toggle class names.
|
|
7914
|
-
* @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-classlist-toggle.md
|
|
7915
7969
|
*/
|
|
7916
7970
|
'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>;
|
|
7917
7971
|
/**
|
|
7918
7972
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
7919
|
-
* @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-code-point.md
|
|
7920
7974
|
*/
|
|
7921
7975
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>;
|
|
7922
7976
|
/**
|
|
7923
7977
|
* Prefer combining consecutive guards with identical exit statements.
|
|
7924
|
-
* @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-combined-guards.md
|
|
7925
7979
|
*/
|
|
7926
7980
|
'unicorn/prefer-combined-guards'?: Linter.RuleEntry<UnicornPreferCombinedGuards>;
|
|
7927
7981
|
/**
|
|
7928
7982
|
* Prefer early continues over conditionals wrapping the remainder of the loop body.
|
|
7929
|
-
* @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-continue.md
|
|
7930
7984
|
*/
|
|
7931
7985
|
'unicorn/prefer-continue'?: Linter.RuleEntry<UnicornPreferContinue>;
|
|
7932
7986
|
/**
|
|
7933
7987
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
7934
|
-
* @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-date-now.md
|
|
7935
7989
|
*/
|
|
7936
7990
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>;
|
|
7937
7991
|
/**
|
|
7938
7992
|
* Prefer default parameters and destructuring defaults over reassignment and fallback expressions.
|
|
7939
|
-
* @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-default-parameters.md
|
|
7940
7994
|
*/
|
|
7941
7995
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<UnicornPreferDefaultParameters>;
|
|
7942
7996
|
/**
|
|
7943
7997
|
* Prefer direct iteration over default iterator method calls.
|
|
7944
|
-
* @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-direct-iteration.md
|
|
7945
7999
|
*/
|
|
7946
8000
|
'unicorn/prefer-direct-iteration'?: Linter.RuleEntry<[]>;
|
|
7947
8001
|
/**
|
|
7948
8002
|
* Prefer using `using`/`await using` over manual `try`/`finally` resource disposal.
|
|
7949
|
-
* @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-dispose.md
|
|
7950
8004
|
*/
|
|
7951
8005
|
'unicorn/prefer-dispose'?: Linter.RuleEntry<[]>;
|
|
7952
8006
|
/**
|
|
7953
8007
|
* Prefer `Element#append()` over `Node#appendChild()`.
|
|
7954
|
-
* @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-dom-node-append.md
|
|
7955
8009
|
*/
|
|
7956
8010
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>;
|
|
7957
8011
|
/**
|
|
7958
8012
|
* Renamed to `unicorn/dom-node-dataset`.
|
|
7959
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8013
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#prefer-dom-node-dataset
|
|
7960
8014
|
* @deprecated
|
|
7961
8015
|
*/
|
|
7962
8016
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>;
|
|
7963
8017
|
/**
|
|
7964
8018
|
* Prefer `.getHTML()` and `.setHTML()` over `.innerHTML`.
|
|
7965
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8019
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-dom-node-html-methods.md
|
|
7966
8020
|
*/
|
|
7967
8021
|
'unicorn/prefer-dom-node-html-methods'?: Linter.RuleEntry<UnicornPreferDomNodeHtmlMethods>;
|
|
7968
8022
|
/**
|
|
7969
8023
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
7970
|
-
* @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-remove.md
|
|
7971
8025
|
*/
|
|
7972
8026
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>;
|
|
7973
8027
|
/**
|
|
7974
8028
|
* Prefer `.replaceChildren()` when replacing DOM children.
|
|
7975
|
-
* @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-replace-children.md
|
|
7976
8030
|
*/
|
|
7977
8031
|
'unicorn/prefer-dom-node-replace-children'?: Linter.RuleEntry<[]>;
|
|
7978
8032
|
/**
|
|
7979
8033
|
* Prefer `.textContent` over `.innerText`.
|
|
7980
|
-
* @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-text-content.md
|
|
7981
8035
|
*/
|
|
7982
8036
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>;
|
|
7983
8037
|
/**
|
|
7984
8038
|
* Prefer early returns over conditionals wrapping the remainder of the function body.
|
|
7985
|
-
* @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-early-return.md
|
|
7986
8040
|
*/
|
|
7987
8041
|
'unicorn/prefer-early-return'?: Linter.RuleEntry<UnicornPreferEarlyReturn>;
|
|
7988
8042
|
/**
|
|
7989
8043
|
* Prefer `else if` over adjacent `if` statements with related conditions.
|
|
7990
|
-
* @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-else-if.md
|
|
7991
8045
|
*/
|
|
7992
8046
|
'unicorn/prefer-else-if'?: Linter.RuleEntry<[]>;
|
|
7993
8047
|
/**
|
|
7994
8048
|
* Prefer `Error.isError()` when checking for errors.
|
|
7995
|
-
* @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-error-is-error.md
|
|
7996
8050
|
*/
|
|
7997
8051
|
'unicorn/prefer-error-is-error'?: Linter.RuleEntry<[]>;
|
|
7998
8052
|
/**
|
|
7999
8053
|
* Prefer escape sequences for irregular whitespace characters.
|
|
8000
|
-
* @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-escaped-irregular-whitespace.md
|
|
8001
8055
|
*/
|
|
8002
8056
|
'unicorn/prefer-escaped-irregular-whitespace'?: Linter.RuleEntry<[]>;
|
|
8003
8057
|
/**
|
|
8004
8058
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
8005
|
-
* @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-event-target.md
|
|
8006
8060
|
*/
|
|
8007
8061
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>;
|
|
8008
8062
|
/**
|
|
8009
8063
|
* Moved to `eslint-cssicorn` as `cssicorn/prefer-explicit-viewport-units`.
|
|
8010
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8064
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#prefer-explicit-viewport-units
|
|
8011
8065
|
* @deprecated
|
|
8012
8066
|
*/
|
|
8013
8067
|
'unicorn/prefer-explicit-viewport-units'?: Linter.RuleEntry<[]>;
|
|
8014
8068
|
/**
|
|
8015
8069
|
* Prefer `export…from` when re-exporting.
|
|
8016
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8070
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-export-from.md
|
|
8017
8071
|
*/
|
|
8018
8072
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>;
|
|
8019
8073
|
/**
|
|
8020
8074
|
* Prefer flat `Math.min()` and `Math.max()` calls over nested calls.
|
|
8021
|
-
* @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-flat-math-min-max.md
|
|
8022
8076
|
*/
|
|
8023
8077
|
'unicorn/prefer-flat-math-min-max'?: Linter.RuleEntry<[]>;
|
|
8024
8078
|
/**
|
|
8025
8079
|
* Prefer `.getOrInsertComputed()` when the default value has side effects.
|
|
8026
|
-
* @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-get-or-insert-computed.md
|
|
8027
8081
|
*/
|
|
8028
8082
|
'unicorn/prefer-get-or-insert-computed'?: Linter.RuleEntry<[]>;
|
|
8029
8083
|
/**
|
|
8030
8084
|
* Prefer global numeric constants over `Number` static properties.
|
|
8031
|
-
* @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-global-number-constants.md
|
|
8032
8086
|
*/
|
|
8033
8087
|
'unicorn/prefer-global-number-constants'?: Linter.RuleEntry<[]>;
|
|
8034
8088
|
/**
|
|
8035
8089
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
8036
|
-
* @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-this.md
|
|
8037
8091
|
*/
|
|
8038
8092
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>;
|
|
8039
8093
|
/**
|
|
8040
8094
|
* Prefer `Object.groupBy()` or `Map.groupBy()` over manual grouping.
|
|
8041
|
-
* @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-group-by.md
|
|
8042
8096
|
*/
|
|
8043
8097
|
'unicorn/prefer-group-by'?: Linter.RuleEntry<[]>;
|
|
8044
8098
|
/**
|
|
8045
8099
|
* Prefer `.has()` when checking existence.
|
|
8046
|
-
* @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-has-check.md
|
|
8047
8101
|
*/
|
|
8048
8102
|
'unicorn/prefer-has-check'?: Linter.RuleEntry<[]>;
|
|
8049
8103
|
/**
|
|
8050
8104
|
* 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/
|
|
8105
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-hoisting-branch-code.md
|
|
8052
8106
|
*/
|
|
8053
8107
|
'unicorn/prefer-hoisting-branch-code'?: Linter.RuleEntry<[]>;
|
|
8054
8108
|
/**
|
|
8055
8109
|
* Prefer HTTPS over HTTP.
|
|
8056
|
-
* @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-https.md
|
|
8057
8111
|
*/
|
|
8058
8112
|
'unicorn/prefer-https'?: Linter.RuleEntry<UnicornPreferHttps>;
|
|
8059
8113
|
/**
|
|
8060
8114
|
* Prefer identifiers over string literals in import and export specifiers.
|
|
8061
|
-
* @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-identifier-import-export-specifiers.md
|
|
8062
8116
|
*/
|
|
8063
8117
|
'unicorn/prefer-identifier-import-export-specifiers'?: Linter.RuleEntry<[]>;
|
|
8064
8118
|
/**
|
|
8065
8119
|
* Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
|
|
8066
|
-
* @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-import-meta-properties.md
|
|
8067
8121
|
*/
|
|
8068
8122
|
'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>;
|
|
8069
8123
|
/**
|
|
8070
8124
|
* 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/
|
|
8125
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-includes.md
|
|
8072
8126
|
*/
|
|
8073
8127
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>;
|
|
8074
8128
|
/**
|
|
8075
8129
|
* Prefer `.includes()` over repeated equality comparisons.
|
|
8076
|
-
* @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-over-repeated-comparisons.md
|
|
8077
8131
|
*/
|
|
8078
8132
|
'unicorn/prefer-includes-over-repeated-comparisons'?: Linter.RuleEntry<UnicornPreferIncludesOverRepeatedComparisons>;
|
|
8079
8133
|
/**
|
|
8080
8134
|
* Prefer passing iterables directly to constructors instead of filling empty collections.
|
|
8081
|
-
* @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-iterable-in-constructor.md
|
|
8082
8136
|
*/
|
|
8083
8137
|
'unicorn/prefer-iterable-in-constructor'?: Linter.RuleEntry<[]>;
|
|
8084
8138
|
/**
|
|
8085
8139
|
* Prefer `Iterator.concat(…)` over temporary spread arrays.
|
|
8086
|
-
* @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-iterator-concat.md
|
|
8087
8141
|
*/
|
|
8088
8142
|
'unicorn/prefer-iterator-concat'?: Linter.RuleEntry<[]>;
|
|
8089
8143
|
/**
|
|
8090
8144
|
* Prefer iterator helpers over temporary arrays from iterators.
|
|
8091
|
-
* @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-helpers.md
|
|
8092
8146
|
*/
|
|
8093
8147
|
'unicorn/prefer-iterator-helpers'?: Linter.RuleEntry<[]>;
|
|
8094
8148
|
/**
|
|
8095
8149
|
* Prefer `Iterator#toArray()` over temporary arrays from iterator spreads.
|
|
8096
|
-
* @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-to-array.md
|
|
8097
8151
|
*/
|
|
8098
8152
|
'unicorn/prefer-iterator-to-array'?: Linter.RuleEntry<[]>;
|
|
8099
8153
|
/**
|
|
8100
8154
|
* Prefer moving `.toArray()` to the end of iterator helper chains.
|
|
8101
|
-
* @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-at-end.md
|
|
8102
8156
|
*/
|
|
8103
8157
|
'unicorn/prefer-iterator-to-array-at-end'?: Linter.RuleEntry<[]>;
|
|
8104
8158
|
/**
|
|
8105
8159
|
* Prefer `Iterator.zip()` over parallel-array indexing.
|
|
8106
|
-
* @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-zip.md
|
|
8107
8161
|
*/
|
|
8108
8162
|
'unicorn/prefer-iterator-zip'?: Linter.RuleEntry<[]>;
|
|
8109
8163
|
/**
|
|
8110
8164
|
* Prefer JSON imports over reading and parsing JSON files.
|
|
8111
|
-
* @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-json-import.md
|
|
8112
8166
|
*/
|
|
8113
8167
|
'unicorn/prefer-json-import'?: Linter.RuleEntry<[]>;
|
|
8114
8168
|
/**
|
|
8115
8169
|
* Renamed to `unicorn/consistent-json-file-read`.
|
|
8116
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8170
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#prefer-json-parse-buffer
|
|
8117
8171
|
* @deprecated
|
|
8118
8172
|
*/
|
|
8119
8173
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>;
|
|
8120
8174
|
/**
|
|
8121
8175
|
* Prefer `KeyboardEvent#key` over deprecated keyboard event properties.
|
|
8122
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8176
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-keyboard-event-key.md
|
|
8123
8177
|
*/
|
|
8124
8178
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>;
|
|
8125
8179
|
/**
|
|
8126
8180
|
* Prefer literal printable ASCII characters over escape sequences.
|
|
8127
|
-
* @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-literal-ascii.md
|
|
8128
8182
|
*/
|
|
8129
8183
|
'unicorn/prefer-literal-ascii'?: Linter.RuleEntry<[]>;
|
|
8130
8184
|
/**
|
|
8131
8185
|
* Prefer `location.assign()` over assigning to `location.href`.
|
|
8132
|
-
* @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-location-assign.md
|
|
8133
8187
|
*/
|
|
8134
8188
|
'unicorn/prefer-location-assign'?: Linter.RuleEntry<[]>;
|
|
8135
8189
|
/**
|
|
8136
8190
|
* Prefer using a logical operator over a ternary.
|
|
8137
|
-
* @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-logical-operator-over-ternary.md
|
|
8138
8192
|
*/
|
|
8139
8193
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>;
|
|
8140
8194
|
/**
|
|
8141
8195
|
* Prefer `new Map()` over `Object.fromEntries()` when using the result as a map.
|
|
8142
|
-
* @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-map-from-entries.md
|
|
8143
8197
|
*/
|
|
8144
8198
|
'unicorn/prefer-map-from-entries'?: Linter.RuleEntry<[]>;
|
|
8145
8199
|
/**
|
|
8146
8200
|
* Prefer `Math.abs()` over manual absolute value expressions and symmetric range checks.
|
|
8147
|
-
* @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-math-abs.md
|
|
8148
8202
|
*/
|
|
8149
8203
|
'unicorn/prefer-math-abs'?: Linter.RuleEntry<[]>;
|
|
8150
8204
|
/**
|
|
8151
8205
|
* Prefer `Math` constants over their approximate numeric values.
|
|
8152
|
-
* @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-constants.md
|
|
8153
8207
|
*/
|
|
8154
8208
|
'unicorn/prefer-math-constants'?: Linter.RuleEntry<[]>;
|
|
8155
8209
|
/**
|
|
8156
8210
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
8157
|
-
* @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-min-max.md
|
|
8158
8212
|
*/
|
|
8159
8213
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>;
|
|
8160
8214
|
/**
|
|
8161
8215
|
* Prefer `Math.trunc()` for truncating numbers.
|
|
8162
|
-
* @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-trunc.md
|
|
8163
8217
|
*/
|
|
8164
8218
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>;
|
|
8165
8219
|
/**
|
|
8166
8220
|
* Moved to `eslint-cssicorn` as `cssicorn/prefer-media-feature-range-syntax`.
|
|
8167
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8221
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#prefer-media-feature-range-syntax
|
|
8168
8222
|
* @deprecated
|
|
8169
8223
|
*/
|
|
8170
8224
|
'unicorn/prefer-media-feature-range-syntax'?: Linter.RuleEntry<[]>;
|
|
8171
8225
|
/**
|
|
8172
8226
|
* Prefer moving ternaries into the minimal varying part of an expression.
|
|
8173
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8227
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-minimal-ternary.md
|
|
8174
8228
|
*/
|
|
8175
8229
|
'unicorn/prefer-minimal-ternary'?: Linter.RuleEntry<UnicornPreferMinimalTernary>;
|
|
8176
8230
|
/**
|
|
8177
8231
|
* Prefer modern DOM APIs.
|
|
8178
|
-
* @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-modern-dom-apis.md
|
|
8179
8233
|
*/
|
|
8180
8234
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>;
|
|
8181
8235
|
/**
|
|
8182
8236
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
8183
|
-
* @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-math-apis.md
|
|
8184
8238
|
*/
|
|
8185
8239
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>;
|
|
8186
8240
|
/**
|
|
8187
8241
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
8188
|
-
* @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-module.md
|
|
8189
8243
|
*/
|
|
8190
8244
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>;
|
|
8191
8245
|
/**
|
|
8192
8246
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
8193
|
-
* @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-native-coercion-functions.md
|
|
8194
8248
|
*/
|
|
8195
8249
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>;
|
|
8196
8250
|
/**
|
|
8197
8251
|
* Prefer negative index over `.length - index` when possible.
|
|
8198
|
-
* @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-negative-index.md
|
|
8199
8253
|
*/
|
|
8200
8254
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>;
|
|
8201
8255
|
/**
|
|
8202
8256
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
8203
|
-
* @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-node-protocol.md
|
|
8204
8258
|
*/
|
|
8205
8259
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>;
|
|
8206
8260
|
/**
|
|
8207
8261
|
* Prefer `Number()` over `parseFloat()` and base-10 `parseInt()`.
|
|
8208
|
-
* @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-number-coercion.md
|
|
8209
8263
|
*/
|
|
8210
8264
|
'unicorn/prefer-number-coercion'?: Linter.RuleEntry<[]>;
|
|
8211
8265
|
/**
|
|
8212
8266
|
* Prefer `Number.isSafeInteger()` over integer checks.
|
|
8213
|
-
* @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-is-safe-integer.md
|
|
8214
8268
|
*/
|
|
8215
8269
|
'unicorn/prefer-number-is-safe-integer'?: Linter.RuleEntry<[]>;
|
|
8216
8270
|
/**
|
|
8217
8271
|
* Prefer `Number` static methods over global functions and optionally static properties over global constants.
|
|
8218
|
-
* @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-properties.md
|
|
8219
8273
|
*/
|
|
8220
8274
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>;
|
|
8221
8275
|
/**
|
|
8222
8276
|
* Prefer `Object.defineProperties()` over multiple `Object.defineProperty()` calls.
|
|
8223
|
-
* @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-object-define-properties.md
|
|
8224
8278
|
*/
|
|
8225
8279
|
'unicorn/prefer-object-define-properties'?: Linter.RuleEntry<[]>;
|
|
8226
8280
|
/**
|
|
8227
8281
|
* Prefer object destructuring defaults over default object literals with spread.
|
|
8228
|
-
* @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-destructuring-defaults.md
|
|
8229
8283
|
*/
|
|
8230
8284
|
'unicorn/prefer-object-destructuring-defaults'?: Linter.RuleEntry<[]>;
|
|
8231
8285
|
/**
|
|
8232
8286
|
* 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/
|
|
8287
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-object-from-entries.md
|
|
8234
8288
|
*/
|
|
8235
8289
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
|
|
8236
8290
|
/**
|
|
8237
8291
|
* Prefer the most specific `Object` iterable method.
|
|
8238
|
-
* @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-iterable-methods.md
|
|
8239
8293
|
*/
|
|
8240
8294
|
'unicorn/prefer-object-iterable-methods'?: Linter.RuleEntry<[]>;
|
|
8241
8295
|
/**
|
|
8242
8296
|
* Prefer observer APIs over resize and scroll listeners with layout reads.
|
|
8243
|
-
* @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-observer-apis.md
|
|
8244
8298
|
*/
|
|
8245
8299
|
'unicorn/prefer-observer-apis'?: Linter.RuleEntry<[]>;
|
|
8246
8300
|
/**
|
|
8247
8301
|
* Prefer omitting the `catch` binding parameter.
|
|
8248
|
-
* @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-optional-catch-binding.md
|
|
8249
8303
|
*/
|
|
8250
8304
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>;
|
|
8251
8305
|
/**
|
|
8252
8306
|
* Prefer `Path2D` for repeatedly drawn canvas paths.
|
|
8253
|
-
* @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-path2d.md
|
|
8254
8308
|
*/
|
|
8255
8309
|
'unicorn/prefer-path2d'?: Linter.RuleEntry<[]>;
|
|
8256
8310
|
/**
|
|
8257
8311
|
* Prefer private class fields over the underscore-prefix convention.
|
|
8258
|
-
* @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-private-class-fields.md
|
|
8259
8313
|
*/
|
|
8260
8314
|
'unicorn/prefer-private-class-fields'?: Linter.RuleEntry<[]>;
|
|
8261
8315
|
/**
|
|
8262
8316
|
* Prefer `Promise.resolve()` and `Promise.reject()` over trivial `new Promise()` calls.
|
|
8263
|
-
* @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-promise-static-methods.md
|
|
8264
8318
|
*/
|
|
8265
8319
|
'unicorn/prefer-promise-static-methods'?: Linter.RuleEntry<[]>;
|
|
8266
8320
|
/**
|
|
8267
8321
|
* Prefer `Promise.try()` over promise-wrapping boilerplate.
|
|
8268
|
-
* @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-try.md
|
|
8269
8323
|
*/
|
|
8270
8324
|
'unicorn/prefer-promise-try'?: Linter.RuleEntry<[]>;
|
|
8271
8325
|
/**
|
|
8272
8326
|
* Prefer `Promise.withResolvers()` when extracting resolver functions from `new Promise()`.
|
|
8273
|
-
* @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-with-resolvers.md
|
|
8274
8328
|
*/
|
|
8275
8329
|
'unicorn/prefer-promise-with-resolvers'?: Linter.RuleEntry<[]>;
|
|
8276
8330
|
/**
|
|
8277
8331
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
8278
|
-
* @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-prototype-methods.md
|
|
8279
8333
|
*/
|
|
8280
8334
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>;
|
|
8281
8335
|
/**
|
|
8282
8336
|
* Prefer `.querySelector()` and `.querySelectorAll()` over older DOM query methods.
|
|
8283
|
-
* @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-query-selector.md
|
|
8284
8338
|
*/
|
|
8285
8339
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<UnicornPreferQuerySelector>;
|
|
8286
8340
|
/**
|
|
8287
8341
|
* Prefer `queueMicrotask()` over `process.nextTick()`, `setImmediate()`, and `setTimeout(…, 0)`.
|
|
8288
|
-
* @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-queue-microtask.md
|
|
8289
8343
|
*/
|
|
8290
8344
|
'unicorn/prefer-queue-microtask'?: Linter.RuleEntry<UnicornPreferQueueMicrotask>;
|
|
8291
8345
|
/**
|
|
8292
8346
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
8293
|
-
* @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-reflect-apply.md
|
|
8294
8348
|
*/
|
|
8295
8349
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>;
|
|
8296
8350
|
/**
|
|
8297
8351
|
* Prefer `RegExp.escape()` for escaping strings to use in regular expressions.
|
|
8298
|
-
* @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-regexp-escape.md
|
|
8299
8353
|
*/
|
|
8300
8354
|
'unicorn/prefer-regexp-escape'?: Linter.RuleEntry<[]>;
|
|
8301
8355
|
/**
|
|
8302
8356
|
* Prefer `RegExp#test()` over `String#match()`, `String#search()`, and `RegExp#exec()`.
|
|
8303
|
-
* @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-test.md
|
|
8304
8358
|
*/
|
|
8305
8359
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>;
|
|
8306
8360
|
/**
|
|
8307
8361
|
* Prefer `Response.json()` over `new Response(JSON.stringify())`.
|
|
8308
|
-
* @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-response-static-json.md
|
|
8309
8363
|
*/
|
|
8310
8364
|
'unicorn/prefer-response-static-json'?: Linter.RuleEntry<[]>;
|
|
8311
8365
|
/**
|
|
8312
8366
|
* Prefer `:scope` when using element query selector methods.
|
|
8313
|
-
* @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-scoped-selector.md
|
|
8314
8368
|
*/
|
|
8315
8369
|
'unicorn/prefer-scoped-selector'?: Linter.RuleEntry<[]>;
|
|
8316
8370
|
/**
|
|
8317
8371
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
8318
|
-
* @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-set-has.md
|
|
8319
8373
|
*/
|
|
8320
8374
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<UnicornPreferSetHas>;
|
|
8321
8375
|
/**
|
|
8322
8376
|
* Prefer `Set` methods for Set operations.
|
|
8323
|
-
* @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-methods.md
|
|
8324
8378
|
*/
|
|
8325
8379
|
'unicorn/prefer-set-methods'?: Linter.RuleEntry<[]>;
|
|
8326
8380
|
/**
|
|
8327
8381
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
8328
|
-
* @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-size.md
|
|
8329
8383
|
*/
|
|
8330
8384
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>;
|
|
8331
8385
|
/**
|
|
8332
8386
|
* Prefer arrow function properties over methods with a single return.
|
|
8333
|
-
* @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-short-arrow-method.md
|
|
8334
8388
|
*/
|
|
8335
8389
|
'unicorn/prefer-short-arrow-method'?: Linter.RuleEntry<UnicornPreferShortArrowMethod>;
|
|
8336
8390
|
/**
|
|
8337
8391
|
* Prefer shorter alternatives to Unicode escape sequences.
|
|
8338
|
-
* @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-escape-sequences.md
|
|
8339
8393
|
*/
|
|
8340
8394
|
'unicorn/prefer-short-escape-sequences'?: Linter.RuleEntry<[]>;
|
|
8341
8395
|
/**
|
|
8342
8396
|
* Prefer simple conditions first in logical expressions.
|
|
8343
|
-
* @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-simple-condition-first.md
|
|
8344
8398
|
*/
|
|
8345
8399
|
'unicorn/prefer-simple-condition-first'?: Linter.RuleEntry<[]>;
|
|
8346
8400
|
/**
|
|
8347
8401
|
* Prefer a simple comparison function for `Array#sort()`.
|
|
8348
|
-
* @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-sort-comparator.md
|
|
8349
8403
|
*/
|
|
8350
8404
|
'unicorn/prefer-simple-sort-comparator'?: Linter.RuleEntry<[]>;
|
|
8351
8405
|
/**
|
|
8352
8406
|
* Prefer simplified conditions.
|
|
8353
|
-
* @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-simplified-conditions.md
|
|
8354
8408
|
*/
|
|
8355
8409
|
'unicorn/prefer-simplified-conditions'?: Linter.RuleEntry<UnicornPreferSimplifiedConditions>;
|
|
8356
8410
|
/**
|
|
8357
8411
|
* Prefer a single `Array#some()` or `Array#every()` with a combined predicate.
|
|
8358
|
-
* @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-single-array-predicate.md
|
|
8359
8413
|
*/
|
|
8360
8414
|
'unicorn/prefer-single-array-predicate'?: Linter.RuleEntry<[]>;
|
|
8361
8415
|
/**
|
|
8362
8416
|
* 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/
|
|
8417
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-single-call.md
|
|
8364
8418
|
*/
|
|
8365
8419
|
'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>;
|
|
8366
8420
|
/**
|
|
8367
8421
|
* Prefer a single object destructuring declaration per local const source.
|
|
8368
|
-
* @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-object-destructuring.md
|
|
8369
8423
|
*/
|
|
8370
8424
|
'unicorn/prefer-single-object-destructuring'?: Linter.RuleEntry<[]>;
|
|
8371
8425
|
/**
|
|
8372
8426
|
* 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/
|
|
8427
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-single-replace.md
|
|
8374
8428
|
*/
|
|
8375
8429
|
'unicorn/prefer-single-replace'?: Linter.RuleEntry<[]>;
|
|
8376
8430
|
/**
|
|
8377
|
-
* Prefer declaring variables in the smallest possible scope.
|
|
8378
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8431
|
+
* Prefer declaring variables and type aliases in the smallest possible scope.
|
|
8432
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-smaller-scope.md
|
|
8379
8433
|
*/
|
|
8380
8434
|
'unicorn/prefer-smaller-scope'?: Linter.RuleEntry<[]>;
|
|
8381
8435
|
/**
|
|
8382
8436
|
* Prefer `String#split()` with a limit.
|
|
8383
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8437
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-split-limit.md
|
|
8384
8438
|
*/
|
|
8385
8439
|
'unicorn/prefer-split-limit'?: Linter.RuleEntry<[]>;
|
|
8386
8440
|
/**
|
|
8387
8441
|
* 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/
|
|
8442
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-spread.md
|
|
8389
8443
|
*/
|
|
8390
8444
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>;
|
|
8391
8445
|
/**
|
|
8392
8446
|
* Prefer `String#matchAll()` over `RegExp#exec()` loops.
|
|
8393
|
-
* @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-string-match-all.md
|
|
8394
8448
|
*/
|
|
8395
8449
|
'unicorn/prefer-string-match-all'?: Linter.RuleEntry<[]>;
|
|
8396
8450
|
/**
|
|
8397
8451
|
* Prefer `String#padStart()` and `String#padEnd()` over manual string padding.
|
|
8398
|
-
* @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-pad-start-end.md
|
|
8399
8453
|
*/
|
|
8400
8454
|
'unicorn/prefer-string-pad-start-end'?: Linter.RuleEntry<[]>;
|
|
8401
8455
|
/**
|
|
8402
8456
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
8403
|
-
* @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-raw.md
|
|
8404
8458
|
*/
|
|
8405
8459
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>;
|
|
8406
8460
|
/**
|
|
8407
8461
|
* Prefer `String#repeat()` for repeated whitespace.
|
|
8408
|
-
* @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-repeat.md
|
|
8409
8463
|
*/
|
|
8410
8464
|
'unicorn/prefer-string-repeat'?: Linter.RuleEntry<UnicornPreferStringRepeat>;
|
|
8411
8465
|
/**
|
|
8412
8466
|
* Prefer `String#replaceAll()` over regex searches with the global flag and `String#split().join()`.
|
|
8413
|
-
* @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-replace-all.md
|
|
8414
8468
|
*/
|
|
8415
8469
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>;
|
|
8416
8470
|
/**
|
|
8417
8471
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
8418
|
-
* @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-slice.md
|
|
8419
8473
|
*/
|
|
8420
8474
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>;
|
|
8421
8475
|
/**
|
|
8422
8476
|
* Prefer `String#startsWith()` & `String#endsWith()` over regexes, `String#indexOf() === 0`, and slice checks.
|
|
8423
|
-
* @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-starts-ends-with.md
|
|
8424
8478
|
*/
|
|
8425
8479
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>;
|
|
8426
8480
|
/**
|
|
8427
8481
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
8428
|
-
* @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-trim-start-end.md
|
|
8429
8483
|
*/
|
|
8430
8484
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>;
|
|
8431
8485
|
/**
|
|
8432
8486
|
* Prefer using `structuredClone` to create a deep clone.
|
|
8433
|
-
* @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-structured-clone.md
|
|
8434
8488
|
*/
|
|
8435
8489
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>;
|
|
8436
8490
|
/**
|
|
8437
8491
|
* Prefer `switch` over multiple `else-if`.
|
|
8438
|
-
* @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-switch.md
|
|
8439
8493
|
*/
|
|
8440
8494
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>;
|
|
8441
8495
|
/**
|
|
8442
8496
|
* Prefer `Temporal` over `Date`.
|
|
8443
|
-
* @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-temporal.md
|
|
8444
8498
|
*/
|
|
8445
8499
|
'unicorn/prefer-temporal'?: Linter.RuleEntry<UnicornPreferTemporal>;
|
|
8446
8500
|
/**
|
|
8447
8501
|
* Prefer direct Temporal conversion methods.
|
|
8448
|
-
* @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-conversion.md
|
|
8449
8503
|
*/
|
|
8450
8504
|
'unicorn/prefer-temporal-conversion'?: Linter.RuleEntry<[]>;
|
|
8451
8505
|
/**
|
|
8452
8506
|
* Prefer ternary expressions over simple `if` statements.
|
|
8453
|
-
* @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-ternary.md
|
|
8454
8508
|
*/
|
|
8455
8509
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>;
|
|
8456
8510
|
/**
|
|
8457
8511
|
* Prefer `.then().catch()` over `.then(…, …)` for error handling.
|
|
8458
|
-
* @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-then-catch.md
|
|
8459
8513
|
*/
|
|
8460
8514
|
'unicorn/prefer-then-catch'?: Linter.RuleEntry<[]>;
|
|
8461
8515
|
/**
|
|
8462
8516
|
* Prefer using `Element#toggleAttribute()` to toggle attributes.
|
|
8463
|
-
* @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-toggle-attribute.md
|
|
8464
8518
|
*/
|
|
8465
8519
|
'unicorn/prefer-toggle-attribute'?: Linter.RuleEntry<[]>;
|
|
8466
8520
|
/**
|
|
8467
8521
|
* Prefer top-level await over top-level promises and async function calls.
|
|
8468
|
-
* @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-top-level-await.md
|
|
8469
8523
|
*/
|
|
8470
8524
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>;
|
|
8471
8525
|
/**
|
|
8472
8526
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
8473
|
-
* @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-type-error.md
|
|
8474
8528
|
*/
|
|
8475
8529
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>;
|
|
8476
8530
|
/**
|
|
8477
8531
|
* Require type literals to be last in union types.
|
|
8478
|
-
* @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-literal-last.md
|
|
8479
8533
|
*/
|
|
8480
8534
|
'unicorn/prefer-type-literal-last'?: Linter.RuleEntry<[]>;
|
|
8481
8535
|
/**
|
|
8482
8536
|
* Prefer `Uint8Array#toBase64()` and `Uint8Array.fromBase64()` over legacy base64 conversions and manual postprocessing.
|
|
8483
|
-
* @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-uint8array-base64.md
|
|
8484
8538
|
*/
|
|
8485
8539
|
'unicorn/prefer-uint8array-base64'?: Linter.RuleEntry<[]>;
|
|
8486
8540
|
/**
|
|
8487
8541
|
* Prefer `Uint8Array#toHex()` and `Uint8Array.fromHex()` over manual and Buffer hex conversions.
|
|
8488
|
-
* @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-hex.md
|
|
8489
8543
|
*/
|
|
8490
8544
|
'unicorn/prefer-uint8array-hex'?: Linter.RuleEntry<[]>;
|
|
8491
8545
|
/**
|
|
8492
8546
|
* Prefer the unary minus operator over multiplying or dividing by `-1`.
|
|
8493
|
-
* @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-unary-minus.md
|
|
8494
8548
|
*/
|
|
8495
8549
|
'unicorn/prefer-unary-minus'?: Linter.RuleEntry<[]>;
|
|
8496
8550
|
/**
|
|
8497
8551
|
* Prefer Unicode code point escapes over legacy escape sequences.
|
|
8498
|
-
* @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-unicode-code-point-escapes.md
|
|
8499
8553
|
*/
|
|
8500
8554
|
'unicorn/prefer-unicode-code-point-escapes'?: Linter.RuleEntry<[]>;
|
|
8501
8555
|
/**
|
|
8502
8556
|
* Prefer `URL.canParse()` over constructing a `URL` in a try/catch for validation.
|
|
8503
|
-
* @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-url-can-parse.md
|
|
8504
8558
|
*/
|
|
8505
8559
|
'unicorn/prefer-url-can-parse'?: Linter.RuleEntry<[]>;
|
|
8506
8560
|
/**
|
|
8507
8561
|
* Prefer `URL#href` over stringifying a `URL`.
|
|
8508
|
-
* @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-href.md
|
|
8509
8563
|
*/
|
|
8510
8564
|
'unicorn/prefer-url-href'?: Linter.RuleEntry<[]>;
|
|
8511
8565
|
/**
|
|
8512
8566
|
* Prefer `URLSearchParams` over manually splitting query strings.
|
|
8513
|
-
* @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-search-parameters.md
|
|
8514
8568
|
*/
|
|
8515
8569
|
'unicorn/prefer-url-search-parameters'?: Linter.RuleEntry<[]>;
|
|
8516
8570
|
/**
|
|
8517
8571
|
* Prefer putting the condition in the while statement.
|
|
8518
|
-
* @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-while-loop-condition.md
|
|
8519
8573
|
*/
|
|
8520
8574
|
'unicorn/prefer-while-loop-condition'?: Linter.RuleEntry<[]>;
|
|
8521
8575
|
/**
|
|
8522
8576
|
* Renamed to `unicorn/name-replacements`.
|
|
8523
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8577
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/deleted-and-deprecated-rules.md#prevent-abbreviations
|
|
8524
8578
|
* @deprecated
|
|
8525
8579
|
*/
|
|
8526
8580
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<[]>;
|
|
8527
8581
|
/**
|
|
8528
8582
|
* Enforce consistent relative URL style.
|
|
8529
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8583
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/relative-url-style.md
|
|
8530
8584
|
*/
|
|
8531
8585
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
|
|
8532
8586
|
/**
|
|
8533
8587
|
* Enforce using the separator argument with `Array#join()`.
|
|
8534
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8588
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/require-array-join-separator.md
|
|
8535
8589
|
*/
|
|
8536
8590
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>;
|
|
8537
8591
|
/**
|
|
8538
8592
|
* Require a compare function when calling `Array#sort()` or `Array#toSorted()`.
|
|
8539
|
-
* @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-sort-compare.md
|
|
8540
8594
|
*/
|
|
8541
8595
|
'unicorn/require-array-sort-compare'?: Linter.RuleEntry<[]>;
|
|
8542
8596
|
/**
|
|
8543
8597
|
* Require `CSS.escape()` for interpolated values in CSS selectors.
|
|
8544
|
-
* @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-css-escape.md
|
|
8545
8599
|
*/
|
|
8546
8600
|
'unicorn/require-css-escape'?: Linter.RuleEntry<UnicornRequireCssEscape>;
|
|
8547
8601
|
/**
|
|
8548
8602
|
* Require configured YAML frontmatter fields.
|
|
8549
|
-
* @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-frontmatter-fields.md
|
|
8550
8604
|
*/
|
|
8551
8605
|
'unicorn/require-frontmatter-fields'?: Linter.RuleEntry<UnicornRequireFrontmatterFields>;
|
|
8552
8606
|
/**
|
|
8553
8607
|
* Require non-empty module attributes for imports and exports
|
|
8554
|
-
* @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-module-attributes.md
|
|
8555
8609
|
*/
|
|
8556
8610
|
'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>;
|
|
8557
8611
|
/**
|
|
8558
8612
|
* Require non-empty specifier list in import and export statements.
|
|
8559
|
-
* @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-specifiers.md
|
|
8560
8614
|
*/
|
|
8561
8615
|
'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>;
|
|
8562
8616
|
/**
|
|
8563
8617
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
8564
|
-
* @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-number-to-fixed-digits-argument.md
|
|
8565
8619
|
*/
|
|
8566
8620
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>;
|
|
8567
8621
|
/**
|
|
8568
8622
|
* Require passive event listeners for high-frequency events.
|
|
8569
|
-
* @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-passive-events.md
|
|
8570
8624
|
*/
|
|
8571
8625
|
'unicorn/require-passive-events'?: Linter.RuleEntry<[]>;
|
|
8572
8626
|
/**
|
|
8573
8627
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
8574
|
-
* @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-post-message-target-origin.md
|
|
8575
8629
|
*/
|
|
8576
8630
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>;
|
|
8577
8631
|
/**
|
|
8578
8632
|
* Require boolean-returning Proxy traps to return booleans.
|
|
8579
|
-
* @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-proxy-trap-boolean-return.md
|
|
8580
8634
|
*/
|
|
8581
8635
|
'unicorn/require-proxy-trap-boolean-return'?: Linter.RuleEntry<[]>;
|
|
8582
8636
|
/**
|
|
8583
8637
|
* Require streaming decoding of fetch-body chunks with `TextDecoder`.
|
|
8584
|
-
* @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-text-decoder-streaming.md
|
|
8585
8639
|
*/
|
|
8586
8640
|
'unicorn/require-text-decoder-streaming'?: Linter.RuleEntry<[]>;
|
|
8587
8641
|
/**
|
|
8588
8642
|
* Enforce a consistent style for single-line block comments.
|
|
8589
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8643
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/single-line-block-comment-style.md
|
|
8590
8644
|
*/
|
|
8591
8645
|
'unicorn/single-line-block-comment-style'?: Linter.RuleEntry<UnicornSingleLineBlockCommentStyle>;
|
|
8592
8646
|
/**
|
|
8593
8647
|
* Enforce better string content.
|
|
8594
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8648
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/string-content.md
|
|
8595
8649
|
*/
|
|
8596
8650
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>;
|
|
8597
8651
|
/**
|
|
8598
8652
|
* Enforce consistent brace style for `case` clauses.
|
|
8599
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8653
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/switch-case-braces.md
|
|
8600
8654
|
*/
|
|
8601
8655
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
|
|
8602
8656
|
/**
|
|
8603
8657
|
* Enforce consistent `break`/`return`/`continue`/`throw` position in `case` clauses.
|
|
8604
|
-
* @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-break-position.md
|
|
8605
8659
|
*/
|
|
8606
8660
|
'unicorn/switch-case-break-position'?: Linter.RuleEntry<[]>;
|
|
8607
8661
|
/**
|
|
8608
8662
|
* Fix whitespace-insensitive template indentation.
|
|
8609
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8663
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/template-indent.md
|
|
8610
8664
|
*/
|
|
8611
8665
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>;
|
|
8612
8666
|
/**
|
|
8613
8667
|
* Enforce consistent case for text encoding identifiers.
|
|
8614
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8668
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/text-encoding-identifier-case.md
|
|
8615
8669
|
*/
|
|
8616
8670
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<UnicornTextEncodingIdentifierCase>;
|
|
8617
8671
|
/**
|
|
8618
8672
|
* Require `new` when creating an error.
|
|
8619
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8673
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/throw-new-error.md
|
|
8620
8674
|
*/
|
|
8621
8675
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>;
|
|
8622
8676
|
/**
|
|
8623
8677
|
* Limit the complexity of `try` blocks.
|
|
8624
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8678
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/try-complexity.md
|
|
8625
8679
|
*/
|
|
8626
8680
|
'unicorn/try-complexity'?: Linter.RuleEntry<UnicornTryComplexity>;
|
|
8627
8681
|
/**
|
|
@@ -10955,6 +11009,11 @@ type HtmlEslintQuotes = [] | [("single" | "double")] | [("single" | "double"), {
|
|
|
10955
11009
|
type HtmlEslintReactClassnameSpacing = [] | [{
|
|
10956
11010
|
callees?: string[];
|
|
10957
11011
|
}];
|
|
11012
|
+
// ----- @html-eslint/react/id-naming-convention -----
|
|
11013
|
+
type HtmlEslintReactIdNamingConvention = [] | [("camelCase" | "snake_case" | "PascalCase" | "kebab-case" | "regex")] | [("camelCase" | "snake_case" | "PascalCase" | "kebab-case" | "regex"), {
|
|
11014
|
+
pattern?: string;
|
|
11015
|
+
flags?: string;
|
|
11016
|
+
}];
|
|
10958
11017
|
// ----- @html-eslint/react/no-duplicate-classname -----
|
|
10959
11018
|
type HtmlEslintReactNoDuplicateClassname = [] | [{
|
|
10960
11019
|
callees?: string[];
|
|
@@ -10979,6 +11038,11 @@ type HtmlEslintReactNoRestrictedAttrs = {
|
|
|
10979
11038
|
attrPatterns: string[];
|
|
10980
11039
|
message?: string;
|
|
10981
11040
|
}[];
|
|
11041
|
+
// ----- @html-eslint/react/no-restricted-tags -----
|
|
11042
|
+
type HtmlEslintReactNoRestrictedTags = {
|
|
11043
|
+
tagPatterns: string[];
|
|
11044
|
+
message?: string;
|
|
11045
|
+
}[];
|
|
10982
11046
|
// ----- @html-eslint/react/require-attrs -----
|
|
10983
11047
|
type HtmlEslintReactRequireAttrs = {
|
|
10984
11048
|
tag: string;
|
|
@@ -12312,6 +12376,10 @@ type TypescriptEslintArrayType = [] | [{
|
|
|
12312
12376
|
default?: ("array" | "generic" | "array-simple");
|
|
12313
12377
|
readonly?: ("array" | "generic" | "array-simple");
|
|
12314
12378
|
}];
|
|
12379
|
+
// ----- @typescript-eslint/await-thenable -----
|
|
12380
|
+
type TypescriptEslintAwaitThenable = [] | [{
|
|
12381
|
+
allowMixedPromiseArrays?: boolean;
|
|
12382
|
+
}];
|
|
12315
12383
|
// ----- @typescript-eslint/ban-ts-comment -----
|
|
12316
12384
|
type TypescriptEslintBanTsComment = [] | [{
|
|
12317
12385
|
minimumDescriptionLength?: number;
|
|
@@ -16556,9 +16624,9 @@ type CssSelectorComplexity = [] | [{
|
|
|
16556
16624
|
type CssUseBaseline = [] | [{
|
|
16557
16625
|
available?: (("widely" | "newly") | number);
|
|
16558
16626
|
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" | "
|
|
16627
|
+
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
16628
|
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")[];
|
|
16629
|
+
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
16630
|
allowPropertyValues?: {
|
|
16563
16631
|
"accent-color"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "currentColor" | "transparent")[];
|
|
16564
16632
|
"alignment-baseline"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "alphabetic" | "baseline" | "central" | "ideographic" | "mathematical" | "middle" | "text-after-edge" | "text-before-edge")[];
|
|
@@ -16584,7 +16652,7 @@ type CssUseBaseline = [] | [{
|
|
|
16584
16652
|
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
16653
|
"aspect-ratio"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto")[];
|
|
16586
16654
|
"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")[];
|
|
16655
|
+
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
16656
|
"background-attachment"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "fixed" | "local" | "scroll")[];
|
|
16589
16657
|
"background-blend-mode"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16590
16658
|
"background-clip"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "border-box" | "content-box" | "padding-box" | "border-area" | "text")[];
|
|
@@ -16592,8 +16660,8 @@ type CssUseBaseline = [] | [{
|
|
|
16592
16660
|
"background-image"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "none" | "element" | "gradients" | "image-set")[];
|
|
16593
16661
|
"background-origin"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "border-box" | "content-box" | "padding-box")[];
|
|
16594
16662
|
"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")[];
|
|
16663
|
+
"background-position-x"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "center" | "left" | "right")[];
|
|
16664
|
+
"background-position-y"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "bottom" | "center" | "top")[];
|
|
16597
16665
|
"background-repeat"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "2-value" | "no-repeat" | "repeat" | "repeat-x" | "repeat-y" | "round" | "space")[];
|
|
16598
16666
|
"background-size"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "contain" | "cover")[];
|
|
16599
16667
|
"baseline-shift"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "sub" | "super")[];
|
|
@@ -16602,7 +16670,7 @@ type CssUseBaseline = [] | [{
|
|
|
16602
16670
|
"border-image-outset"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16603
16671
|
"border-image-repeat"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "repeat" | "round" | "space" | "stretch")[];
|
|
16604
16672
|
"border-image-slice"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16605
|
-
"border-image-source"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16673
|
+
"border-image-source"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "none")[];
|
|
16606
16674
|
"border-image-width"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto")[];
|
|
16607
16675
|
"border-bottom-left-radius"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "percentages")[];
|
|
16608
16676
|
"border-bottom-right-radius"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "percentages")[];
|
|
@@ -16636,7 +16704,7 @@ type CssUseBaseline = [] | [{
|
|
|
16636
16704
|
"caret-color"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "currentColor" | "transparent")[];
|
|
16637
16705
|
"caret-shape"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "bar" | "block" | "underscore")[];
|
|
16638
16706
|
clip?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto")[];
|
|
16639
|
-
"clip-path"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "path" | "fill-box" | "stroke-box" | "view-box")[];
|
|
16707
|
+
"clip-path"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "none" | "path" | "fill-box" | "stroke-box" | "view-box")[];
|
|
16640
16708
|
color?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "currentColor")[];
|
|
16641
16709
|
"color-adjust"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16642
16710
|
"color-scheme"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "dark" | "light" | "normal" | "only")[];
|
|
@@ -16674,14 +16742,14 @@ type CssUseBaseline = [] | [{
|
|
|
16674
16742
|
"counter-increment"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "list-item" | "none")[];
|
|
16675
16743
|
"counter-reset"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "reversed" | "list-item" | "none")[];
|
|
16676
16744
|
"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")[];
|
|
16745
|
+
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
16746
|
"dominant-baseline"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "alphabetic" | "auto" | "central" | "hanging" | "ideographic" | "mathematical" | "middle")[];
|
|
16679
16747
|
"dynamic-range-limit"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "constrained" | "no-limit" | "standard")[];
|
|
16680
16748
|
"field-sizing"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "content" | "fixed")[];
|
|
16681
16749
|
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")[];
|
|
16750
|
+
"align-content"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "baseline" | "end" | "normal" | "safe" | "space-evenly" | "start" | "stretch" | "unsafe")[];
|
|
16751
|
+
"align-items"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "anchor-center" | "baseline" | "center" | "end" | "safe" | "start" | "unsafe")[];
|
|
16752
|
+
"align-self"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "anchor-center" | "auto" | "baseline" | "end" | "normal" | "safe" | "start" | "stretch" | "unsafe")[];
|
|
16685
16753
|
flex?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "none")[];
|
|
16686
16754
|
"flex-basis"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "content" | "fit-content" | "max-content" | "min-content")[];
|
|
16687
16755
|
"flex-direction"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "column" | "column-reverse" | "row" | "row-reverse")[];
|
|
@@ -16704,7 +16772,7 @@ type CssUseBaseline = [] | [{
|
|
|
16704
16772
|
"font-optical-sizing"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "none")[];
|
|
16705
16773
|
"font-palette"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "dark" | "light" | "normal")[];
|
|
16706
16774
|
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")[];
|
|
16775
|
+
"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
16776
|
"font-size-adjust"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "from-font" | "none" | "two-values")[];
|
|
16709
16777
|
"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
16778
|
"font-style"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "italic" | "normal" | "oblique" | "oblique-angle")[];
|
|
@@ -16783,6 +16851,7 @@ type CssUseBaseline = [] | [{
|
|
|
16783
16851
|
"grid-template-rows"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "fit-content" | "max-content" | "min-content" | "minmax" | "none" | "repeat" | "animation" | "subgrid")[];
|
|
16784
16852
|
"justify-self"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "anchor-center" | "auto" | "left" | "normal" | "right" | "stretch")[];
|
|
16785
16853
|
"row-gap"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "normal")[];
|
|
16854
|
+
"flow-tolerance"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "infinite" | "normal")[];
|
|
16786
16855
|
"hanging-punctuation"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "allow-end" | "first" | "force-end" | "last" | "none")[];
|
|
16787
16856
|
"hyphenate-character"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto")[];
|
|
16788
16857
|
"hyphenate-limit-chars"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto")[];
|
|
@@ -16803,10 +16872,11 @@ type CssUseBaseline = [] | [{
|
|
|
16803
16872
|
"line-break"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "anywhere" | "auto" | "loose" | "normal" | "strict")[];
|
|
16804
16873
|
"line-clamp"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "none")[];
|
|
16805
16874
|
"line-height"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "normal")[];
|
|
16875
|
+
"link-parameters"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "none")[];
|
|
16806
16876
|
"list-style"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "inside" | "none" | "outside" | "symbols")[];
|
|
16807
16877
|
"list-style-image"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "none")[];
|
|
16808
16878
|
"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" | "
|
|
16879
|
+
"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
16880
|
"block-size"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "anchor-size" | "fit-content" | "max-content" | "min-content")[];
|
|
16811
16881
|
"border-block"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "currentColor" | "dashed" | "dotted" | "double" | "groove" | "hidden" | "inset" | "medium" | "none" | "outset" | "ridge" | "solid" | "thick" | "thin" | "transparent")[];
|
|
16812
16882
|
"border-block-color"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "currentColor" | "transparent")[];
|
|
@@ -16905,14 +16975,14 @@ type CssUseBaseline = [] | [{
|
|
|
16905
16975
|
"column-rule-style"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "dashed" | "dotted" | "double" | "groove" | "hidden" | "inset" | "none" | "outset" | "ridge" | "solid")[];
|
|
16906
16976
|
"column-rule-width"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "medium" | "thick" | "thin")[];
|
|
16907
16977
|
"column-width"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto")[];
|
|
16908
|
-
columns?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16978
|
+
columns?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto")[];
|
|
16909
16979
|
"object-fit"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "contain" | "cover" | "fill" | "none" | "scale-down")[];
|
|
16910
16980
|
"object-position"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16911
16981
|
"object-view-box"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "none")[];
|
|
16912
16982
|
opacity?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "percentages")[];
|
|
16913
16983
|
"fill-opacity"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16914
16984
|
"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")[];
|
|
16985
|
+
outline?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "currentColor" | "dashed" | "dotted" | "double" | "groove" | "inset" | "medium" | "none" | "outset" | "ridge" | "solid" | "thick" | "thin" | "transparent")[];
|
|
16916
16986
|
"outline-color"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "currentColor" | "transparent")[];
|
|
16917
16987
|
"outline-offset"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16918
16988
|
"outline-style"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "dashed" | "dotted" | "double" | "groove" | "inset" | "none" | "outset" | "ridge" | "solid")[];
|
|
@@ -16946,7 +17016,7 @@ type CssUseBaseline = [] | [{
|
|
|
16946
17016
|
left?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "anchor" | "anchor-size" | "auto")[];
|
|
16947
17017
|
right?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "anchor" | "anchor-size" | "auto")[];
|
|
16948
17018
|
top?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "anchor" | "anchor-size" | "auto")[];
|
|
16949
|
-
"pointer-events"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
17019
|
+
"pointer-events"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "all" | "auto" | "fill" | "none" | "painted" | "stroke" | "visible")[];
|
|
16950
17020
|
position?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "absolute" | "fixed" | "relative" | "static" | "sticky")[];
|
|
16951
17021
|
"print-color-adjust"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "economy" | "exact")[];
|
|
16952
17022
|
quotes?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "none")[];
|
|
@@ -16956,6 +17026,7 @@ type CssUseBaseline = [] | [{
|
|
|
16956
17026
|
"ruby-align"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "center" | "space-around" | "space-between" | "start")[];
|
|
16957
17027
|
"ruby-overhang"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "none")[];
|
|
16958
17028
|
"ruby-position"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "alternate" | "inter-character" | "over" | "under")[];
|
|
17029
|
+
"scroll-axis-lock"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "none")[];
|
|
16959
17030
|
"scroll-behavior"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "smooth")[];
|
|
16960
17031
|
"animation-range"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16961
17032
|
"animation-range-end"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "normal")[];
|
|
@@ -17006,7 +17077,7 @@ type CssUseBaseline = [] | [{
|
|
|
17006
17077
|
speak?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
17007
17078
|
"speak-as"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "digits" | "literal-punctuation" | "no-punctuation" | "normal" | "spell-out")[];
|
|
17008
17079
|
"clip-rule"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "evenodd" | "nonzero")[];
|
|
17009
|
-
"color-interpolation"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "linearGradient" | "sRGB")[];
|
|
17080
|
+
"color-interpolation"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "linearGradient" | "linearRGB" | "sRGB")[];
|
|
17010
17081
|
cx?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
17011
17082
|
cy?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
17012
17083
|
d?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
@@ -17047,7 +17118,7 @@ type CssUseBaseline = [] | [{
|
|
|
17047
17118
|
"table-layout"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "fixed")[];
|
|
17048
17119
|
"text-align"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start")[];
|
|
17049
17120
|
"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"
|
|
17121
|
+
"text-autospace"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "ideograph-alpha" | "ideograph-numeric" | "insert" | "no-autospace" | "normal")[];
|
|
17051
17122
|
"text-box"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "normal")[];
|
|
17052
17123
|
"text-box-edge"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto")[];
|
|
17053
17124
|
"text-box-trim"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "none" | "trim-both" | "trim-end" | "trim-start")[];
|
|
@@ -17058,6 +17129,7 @@ type CssUseBaseline = [] | [{
|
|
|
17058
17129
|
"text-decoration-style"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "wavy")[];
|
|
17059
17130
|
"text-decoration-thickness"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "from-font" | "percentage")[];
|
|
17060
17131
|
"text-decoration-skip-ink"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "none" | "all")[];
|
|
17132
|
+
"text-decoration-skip-spaces"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "all" | "end" | "none" | "start")[];
|
|
17061
17133
|
"text-emphasis"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "currentColor" | "transparent")[];
|
|
17062
17134
|
"text-emphasis-color"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "currentColor" | "transparent")[];
|
|
17063
17135
|
"text-emphasis-position"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "left" | "over" | "right" | "under")[];
|
|
@@ -17067,7 +17139,7 @@ type CssUseBaseline = [] | [{
|
|
|
17067
17139
|
"text-justify"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "inter-character" | "inter-word" | "none")[];
|
|
17068
17140
|
"text-orientation"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "mixed" | "sideways" | "upright")[];
|
|
17069
17141
|
"text-overflow"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "string" | "clip" | "ellipsis")[];
|
|
17070
|
-
"text-shadow"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
17142
|
+
"text-shadow"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "none")[];
|
|
17071
17143
|
"text-size-adjust"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "none" | "percentages")[];
|
|
17072
17144
|
"text-spacing-trim"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "normal" | "space-all" | "space-first" | "trim-start")[];
|
|
17073
17145
|
"-webkit-text-fill-color"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
@@ -17123,6 +17195,10 @@ type CssUseLayers = [] | [{
|
|
|
17123
17195
|
requireImportLayers?: boolean;
|
|
17124
17196
|
layerNamePattern?: string;
|
|
17125
17197
|
}];
|
|
17198
|
+
// ----- cssicorn/consistent-custom-property-fallbacks -----
|
|
17199
|
+
type CssicornConsistentCustomPropertyFallbacks = [] | [{
|
|
17200
|
+
customProperties?: string[];
|
|
17201
|
+
}];
|
|
17126
17202
|
// ----- cssicorn/consistent-layer-order -----
|
|
17127
17203
|
type CssicornConsistentLayerOrder = [] | [{
|
|
17128
17204
|
checkUndeclaredLayers?: boolean;
|
|
@@ -17143,6 +17219,13 @@ type CssicornNoRedundantLonghandProperties = [] | [{
|
|
|
17143
17219
|
type CssicornNoUnknownPseudoSelectors = [] | [{
|
|
17144
17220
|
allow?: string[];
|
|
17145
17221
|
}];
|
|
17222
|
+
// ----- cssicorn/no-unknown-type-selectors -----
|
|
17223
|
+
type CssicornNoUnknownTypeSelectors = [] | [{
|
|
17224
|
+
checkCustomElements?: boolean;
|
|
17225
|
+
allow?: (string | {
|
|
17226
|
+
[k: string]: unknown | undefined;
|
|
17227
|
+
})[];
|
|
17228
|
+
}];
|
|
17146
17229
|
// ----- cssicorn/no-unscoped-nesting-selector -----
|
|
17147
17230
|
type CssicornNoUnscopedNestingSelector = [] | [{
|
|
17148
17231
|
scopingRootAtRules?: string[];
|
|
@@ -17157,6 +17240,10 @@ type CssicornPreferExistingCustomProperties = [] | [{
|
|
|
17157
17240
|
type CssicornPreferExplicitViewportUnits = [] | [{
|
|
17158
17241
|
unit?: ("dvh" | "svh" | "lvh");
|
|
17159
17242
|
}];
|
|
17243
|
+
// ----- cssicorn/prefer-nesting -----
|
|
17244
|
+
type CssicornPreferNesting = [] | [{
|
|
17245
|
+
checkSharedPrefixes?: boolean;
|
|
17246
|
+
}];
|
|
17160
17247
|
// ----- curly -----
|
|
17161
17248
|
type Curly = ([] | ["all"] | [] | [("multi" | "multi-line" | "multi-or-nest")] | [("multi" | "multi-line" | "multi-or-nest"), "consistent"]);
|
|
17162
17249
|
// ----- cypress/unsafe-to-chain-command -----
|
|
@@ -18501,7 +18588,7 @@ type NNoUnsupportedFeaturesEsSyntax = [] | [{
|
|
|
18501
18588
|
type NNoUnsupportedFeaturesNodeBuiltins = [] | [{
|
|
18502
18589
|
version?: string;
|
|
18503
18590
|
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")[];
|
|
18591
|
+
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
18592
|
}];
|
|
18506
18593
|
// ----- n/prefer-global/buffer -----
|
|
18507
18594
|
type NPreferGlobalBuffer = [] | [("always" | "never")];
|
|
@@ -19037,6 +19124,17 @@ type OperatorLinebreak = [] | [("after" | "before" | "none" | null)] | [("after"
|
|
|
19037
19124
|
[k: string]: ("after" | "before" | "none" | "ignore") | undefined;
|
|
19038
19125
|
};
|
|
19039
19126
|
}];
|
|
19127
|
+
// ----- package-json/consistent-package-manager-declaration -----
|
|
19128
|
+
type PackageJsonConsistentPackageManagerDeclaration = [] | [{
|
|
19129
|
+
prefer?: ("devEngines" | "packageManager");
|
|
19130
|
+
}];
|
|
19131
|
+
// ----- package-json/consistent-property-aliases -----
|
|
19132
|
+
type PackageJsonConsistentPropertyAliases = [] | [{
|
|
19133
|
+
prefer?: {
|
|
19134
|
+
bundleDependencies?: (boolean | ("bundleDependencies" | "bundledDependencies"));
|
|
19135
|
+
license?: (boolean | ("license" | "licence"));
|
|
19136
|
+
};
|
|
19137
|
+
}];
|
|
19040
19138
|
// ----- package-json/exports-subpaths-style -----
|
|
19041
19139
|
type PackageJsonExportsSubpathsStyle = [] | [{
|
|
19042
19140
|
prefer?: ("implicit" | "explicit");
|
|
@@ -19757,6 +19855,266 @@ type PerfectionistSortClasses = {
|
|
|
19757
19855
|
});
|
|
19758
19856
|
partitionByNewLine?: boolean;
|
|
19759
19857
|
}[];
|
|
19858
|
+
// ----- perfectionist/sort-constructor-parameters -----
|
|
19859
|
+
type PerfectionistSortConstructorParameters = [{
|
|
19860
|
+
fallbackSort?: {
|
|
19861
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
19862
|
+
order?: ("asc" | "desc");
|
|
19863
|
+
};
|
|
19864
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
19865
|
+
specialCharacters?: ("remove" | "trim" | "keep");
|
|
19866
|
+
ignoreCase?: boolean;
|
|
19867
|
+
alphabet?: string;
|
|
19868
|
+
locales?: (string | string[]);
|
|
19869
|
+
order?: ("asc" | "desc");
|
|
19870
|
+
customGroups?: ({
|
|
19871
|
+
fallbackSort?: {
|
|
19872
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
19873
|
+
order?: ("asc" | "desc");
|
|
19874
|
+
};
|
|
19875
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
19876
|
+
groupName: string;
|
|
19877
|
+
newlinesInside?: ("ignore" | number);
|
|
19878
|
+
order?: ("asc" | "desc");
|
|
19879
|
+
anyOf: [{
|
|
19880
|
+
elementNamePattern?: (({
|
|
19881
|
+
pattern: string;
|
|
19882
|
+
flags?: string;
|
|
19883
|
+
} | string)[] | ({
|
|
19884
|
+
pattern: string;
|
|
19885
|
+
flags?: string;
|
|
19886
|
+
} | string));
|
|
19887
|
+
modifiers?: ("decorated" | "override" | "readonly" | "protected" | "private" | "public")[];
|
|
19888
|
+
selector?: "parameter";
|
|
19889
|
+
decoratorNamePattern?: (({
|
|
19890
|
+
pattern: string;
|
|
19891
|
+
flags?: string;
|
|
19892
|
+
} | string)[] | ({
|
|
19893
|
+
pattern: string;
|
|
19894
|
+
flags?: string;
|
|
19895
|
+
} | string));
|
|
19896
|
+
}, ...({
|
|
19897
|
+
elementNamePattern?: (({
|
|
19898
|
+
pattern: string;
|
|
19899
|
+
flags?: string;
|
|
19900
|
+
} | string)[] | ({
|
|
19901
|
+
pattern: string;
|
|
19902
|
+
flags?: string;
|
|
19903
|
+
} | string));
|
|
19904
|
+
modifiers?: ("decorated" | "override" | "readonly" | "protected" | "private" | "public")[];
|
|
19905
|
+
selector?: "parameter";
|
|
19906
|
+
decoratorNamePattern?: (({
|
|
19907
|
+
pattern: string;
|
|
19908
|
+
flags?: string;
|
|
19909
|
+
} | string)[] | ({
|
|
19910
|
+
pattern: string;
|
|
19911
|
+
flags?: string;
|
|
19912
|
+
} | string));
|
|
19913
|
+
})[]];
|
|
19914
|
+
} | {
|
|
19915
|
+
fallbackSort?: {
|
|
19916
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
19917
|
+
order?: ("asc" | "desc");
|
|
19918
|
+
};
|
|
19919
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
19920
|
+
groupName: string;
|
|
19921
|
+
newlinesInside?: ("ignore" | number);
|
|
19922
|
+
order?: ("asc" | "desc");
|
|
19923
|
+
elementNamePattern?: (({
|
|
19924
|
+
pattern: string;
|
|
19925
|
+
flags?: string;
|
|
19926
|
+
} | string)[] | ({
|
|
19927
|
+
pattern: string;
|
|
19928
|
+
flags?: string;
|
|
19929
|
+
} | string));
|
|
19930
|
+
modifiers?: ("decorated" | "override" | "readonly" | "protected" | "private" | "public")[];
|
|
19931
|
+
selector?: "parameter";
|
|
19932
|
+
decoratorNamePattern?: (({
|
|
19933
|
+
pattern: string;
|
|
19934
|
+
flags?: string;
|
|
19935
|
+
} | string)[] | ({
|
|
19936
|
+
pattern: string;
|
|
19937
|
+
flags?: string;
|
|
19938
|
+
} | string));
|
|
19939
|
+
})[];
|
|
19940
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
19941
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
19942
|
+
newlinesBetween: ("ignore" | number);
|
|
19943
|
+
} | {
|
|
19944
|
+
group: (string | [string, ...(string)[]]);
|
|
19945
|
+
fallbackSort?: {
|
|
19946
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
19947
|
+
order?: ("asc" | "desc");
|
|
19948
|
+
};
|
|
19949
|
+
commentAbove?: string;
|
|
19950
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
19951
|
+
newlinesInside?: ("ignore" | number);
|
|
19952
|
+
order?: ("asc" | "desc");
|
|
19953
|
+
})[];
|
|
19954
|
+
newlinesBetween?: ("ignore" | number);
|
|
19955
|
+
useConfigurationIf: {
|
|
19956
|
+
allNamesMatchPattern?: (({
|
|
19957
|
+
pattern: string;
|
|
19958
|
+
flags?: string;
|
|
19959
|
+
} | string)[] | ({
|
|
19960
|
+
pattern: string;
|
|
19961
|
+
flags?: string;
|
|
19962
|
+
} | string));
|
|
19963
|
+
matchesAstSelector?: string;
|
|
19964
|
+
};
|
|
19965
|
+
partitionByComment?: (boolean | (({
|
|
19966
|
+
pattern: string;
|
|
19967
|
+
flags?: string;
|
|
19968
|
+
} | string)[] | ({
|
|
19969
|
+
pattern: string;
|
|
19970
|
+
flags?: string;
|
|
19971
|
+
} | string)) | {
|
|
19972
|
+
block?: (boolean | (({
|
|
19973
|
+
pattern: string;
|
|
19974
|
+
flags?: string;
|
|
19975
|
+
} | string)[] | ({
|
|
19976
|
+
pattern: string;
|
|
19977
|
+
flags?: string;
|
|
19978
|
+
} | string)));
|
|
19979
|
+
line?: (boolean | (({
|
|
19980
|
+
pattern: string;
|
|
19981
|
+
flags?: string;
|
|
19982
|
+
} | string)[] | ({
|
|
19983
|
+
pattern: string;
|
|
19984
|
+
flags?: string;
|
|
19985
|
+
} | string)));
|
|
19986
|
+
});
|
|
19987
|
+
partitionByNewLine?: boolean;
|
|
19988
|
+
}, ...({
|
|
19989
|
+
fallbackSort?: {
|
|
19990
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
19991
|
+
order?: ("asc" | "desc");
|
|
19992
|
+
};
|
|
19993
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
19994
|
+
specialCharacters?: ("remove" | "trim" | "keep");
|
|
19995
|
+
ignoreCase?: boolean;
|
|
19996
|
+
alphabet?: string;
|
|
19997
|
+
locales?: (string | string[]);
|
|
19998
|
+
order?: ("asc" | "desc");
|
|
19999
|
+
customGroups?: ({
|
|
20000
|
+
fallbackSort?: {
|
|
20001
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
20002
|
+
order?: ("asc" | "desc");
|
|
20003
|
+
};
|
|
20004
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
20005
|
+
groupName: string;
|
|
20006
|
+
newlinesInside?: ("ignore" | number);
|
|
20007
|
+
order?: ("asc" | "desc");
|
|
20008
|
+
anyOf: [{
|
|
20009
|
+
elementNamePattern?: (({
|
|
20010
|
+
pattern: string;
|
|
20011
|
+
flags?: string;
|
|
20012
|
+
} | string)[] | ({
|
|
20013
|
+
pattern: string;
|
|
20014
|
+
flags?: string;
|
|
20015
|
+
} | string));
|
|
20016
|
+
modifiers?: ("decorated" | "override" | "readonly" | "protected" | "private" | "public")[];
|
|
20017
|
+
selector?: "parameter";
|
|
20018
|
+
decoratorNamePattern?: (({
|
|
20019
|
+
pattern: string;
|
|
20020
|
+
flags?: string;
|
|
20021
|
+
} | string)[] | ({
|
|
20022
|
+
pattern: string;
|
|
20023
|
+
flags?: string;
|
|
20024
|
+
} | string));
|
|
20025
|
+
}, ...({
|
|
20026
|
+
elementNamePattern?: (({
|
|
20027
|
+
pattern: string;
|
|
20028
|
+
flags?: string;
|
|
20029
|
+
} | string)[] | ({
|
|
20030
|
+
pattern: string;
|
|
20031
|
+
flags?: string;
|
|
20032
|
+
} | string));
|
|
20033
|
+
modifiers?: ("decorated" | "override" | "readonly" | "protected" | "private" | "public")[];
|
|
20034
|
+
selector?: "parameter";
|
|
20035
|
+
decoratorNamePattern?: (({
|
|
20036
|
+
pattern: string;
|
|
20037
|
+
flags?: string;
|
|
20038
|
+
} | string)[] | ({
|
|
20039
|
+
pattern: string;
|
|
20040
|
+
flags?: string;
|
|
20041
|
+
} | string));
|
|
20042
|
+
})[]];
|
|
20043
|
+
} | {
|
|
20044
|
+
fallbackSort?: {
|
|
20045
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
20046
|
+
order?: ("asc" | "desc");
|
|
20047
|
+
};
|
|
20048
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
20049
|
+
groupName: string;
|
|
20050
|
+
newlinesInside?: ("ignore" | number);
|
|
20051
|
+
order?: ("asc" | "desc");
|
|
20052
|
+
elementNamePattern?: (({
|
|
20053
|
+
pattern: string;
|
|
20054
|
+
flags?: string;
|
|
20055
|
+
} | string)[] | ({
|
|
20056
|
+
pattern: string;
|
|
20057
|
+
flags?: string;
|
|
20058
|
+
} | string));
|
|
20059
|
+
modifiers?: ("decorated" | "override" | "readonly" | "protected" | "private" | "public")[];
|
|
20060
|
+
selector?: "parameter";
|
|
20061
|
+
decoratorNamePattern?: (({
|
|
20062
|
+
pattern: string;
|
|
20063
|
+
flags?: string;
|
|
20064
|
+
} | string)[] | ({
|
|
20065
|
+
pattern: string;
|
|
20066
|
+
flags?: string;
|
|
20067
|
+
} | string));
|
|
20068
|
+
})[];
|
|
20069
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
20070
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
20071
|
+
newlinesBetween: ("ignore" | number);
|
|
20072
|
+
} | {
|
|
20073
|
+
group: (string | [string, ...(string)[]]);
|
|
20074
|
+
fallbackSort?: {
|
|
20075
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
20076
|
+
order?: ("asc" | "desc");
|
|
20077
|
+
};
|
|
20078
|
+
commentAbove?: string;
|
|
20079
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
|
|
20080
|
+
newlinesInside?: ("ignore" | number);
|
|
20081
|
+
order?: ("asc" | "desc");
|
|
20082
|
+
})[];
|
|
20083
|
+
newlinesBetween?: ("ignore" | number);
|
|
20084
|
+
useConfigurationIf: {
|
|
20085
|
+
allNamesMatchPattern?: (({
|
|
20086
|
+
pattern: string;
|
|
20087
|
+
flags?: string;
|
|
20088
|
+
} | string)[] | ({
|
|
20089
|
+
pattern: string;
|
|
20090
|
+
flags?: string;
|
|
20091
|
+
} | string));
|
|
20092
|
+
matchesAstSelector?: string;
|
|
20093
|
+
};
|
|
20094
|
+
partitionByComment?: (boolean | (({
|
|
20095
|
+
pattern: string;
|
|
20096
|
+
flags?: string;
|
|
20097
|
+
} | string)[] | ({
|
|
20098
|
+
pattern: string;
|
|
20099
|
+
flags?: string;
|
|
20100
|
+
} | string)) | {
|
|
20101
|
+
block?: (boolean | (({
|
|
20102
|
+
pattern: string;
|
|
20103
|
+
flags?: string;
|
|
20104
|
+
} | string)[] | ({
|
|
20105
|
+
pattern: string;
|
|
20106
|
+
flags?: string;
|
|
20107
|
+
} | string)));
|
|
20108
|
+
line?: (boolean | (({
|
|
20109
|
+
pattern: string;
|
|
20110
|
+
flags?: string;
|
|
20111
|
+
} | string)[] | ({
|
|
20112
|
+
pattern: string;
|
|
20113
|
+
flags?: string;
|
|
20114
|
+
} | string)));
|
|
20115
|
+
});
|
|
20116
|
+
partitionByNewLine?: boolean;
|
|
20117
|
+
})[]];
|
|
19760
20118
|
// ----- perfectionist/sort-decorators -----
|
|
19761
20119
|
type PerfectionistSortDecorators = {
|
|
19762
20120
|
fallbackSort?: {
|
|
@@ -22387,6 +22745,9 @@ type UnicornClassReferenceInStaticMethods = [] | [{
|
|
|
22387
22745
|
}];
|
|
22388
22746
|
// ----- unicorn/comment-content -----
|
|
22389
22747
|
type UnicornCommentContent = [] | [{
|
|
22748
|
+
ignore?: (string | {
|
|
22749
|
+
[k: string]: unknown | undefined;
|
|
22750
|
+
})[];
|
|
22390
22751
|
checkUniformCase?: boolean;
|
|
22391
22752
|
extendDefaultReplacements?: boolean;
|
|
22392
22753
|
replacements?: {
|
|
@@ -22659,6 +23020,7 @@ type UnicornNoNull = [] | [{
|
|
|
22659
23020
|
}];
|
|
22660
23021
|
// ----- unicorn/no-top-level-side-effects -----
|
|
22661
23022
|
type UnicornNoTopLevelSideEffects = [] | [{
|
|
23023
|
+
checkUnknownCalls?: boolean;
|
|
22662
23024
|
allow?: {
|
|
22663
23025
|
[k: string]: string[] | undefined;
|
|
22664
23026
|
};
|
|
@@ -24402,7 +24764,7 @@ type ZodArrayStyle = [] | [{
|
|
|
24402
24764
|
}];
|
|
24403
24765
|
// ----- zod/consistent-import -----
|
|
24404
24766
|
type ZodConsistentImport = [] | [{
|
|
24405
|
-
syntax?: ("namespace" | "named");
|
|
24767
|
+
syntax?: ("namespace" | "named" | "default");
|
|
24406
24768
|
}];
|
|
24407
24769
|
// ----- zod/consistent-import-source -----
|
|
24408
24770
|
type ZodConsistentImportSource = [] | [{
|
|
@@ -24440,5 +24802,4 @@ type ZodSchemaErrorPropertyStyle = [] | [{
|
|
|
24440
24802
|
selector?: string;
|
|
24441
24803
|
example?: string;
|
|
24442
24804
|
}];
|
|
24443
|
-
//#endregion
|
|
24444
24805
|
export {};
|