@shayanthenerd/eslint-config 0.34.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 +32 -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 +3 -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 +1030 -471
- 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 +27 -27
|
@@ -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,10 +71,10 @@ 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
|
-
'@eslint-react/dom-no-unsafe-target-blank'?: Linter.RuleEntry<
|
|
77
|
+
'@eslint-react/dom-no-unsafe-target-blank'?: Linter.RuleEntry<EslintReactDomNoUnsafeTargetBlank>;
|
|
79
78
|
/**
|
|
80
79
|
* Replaces usage of 'useFormState' with 'useActionState'.
|
|
81
80
|
* @see https://eslint-react.xyz/docs/rules/dom-no-use-form-state
|
|
@@ -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
|
|
@@ -2650,26 +2664,32 @@ export interface ESLintSchema {
|
|
|
2650
2664
|
'astro/valid-compile'?: Linter.RuleEntry<[]>;
|
|
2651
2665
|
/**
|
|
2652
2666
|
* disallow Atomics.pause() usage
|
|
2667
|
+
* @see https://baselinejs.vercel.app/docs/config#standalone-rules
|
|
2653
2668
|
*/
|
|
2654
2669
|
'baseline-js/no-atomics-pause'?: Linter.RuleEntry<[]>;
|
|
2655
2670
|
/**
|
|
2656
2671
|
* disallow BigInt64Array/BigUint64Array usage
|
|
2672
|
+
* @see https://baselinejs.vercel.app/docs/config#standalone-rules
|
|
2657
2673
|
*/
|
|
2658
2674
|
'baseline-js/no-bigint64array'?: Linter.RuleEntry<[]>;
|
|
2659
2675
|
/**
|
|
2660
2676
|
* disallow Function#caller and Function#arguments
|
|
2677
|
+
* @see https://baselinejs.vercel.app/docs/config#standalone-rules
|
|
2661
2678
|
*/
|
|
2662
2679
|
'baseline-js/no-function-caller-arguments'?: Linter.RuleEntry<[]>;
|
|
2663
2680
|
/**
|
|
2664
2681
|
* disallow Math.sumPrecise() usage
|
|
2682
|
+
* @see https://baselinejs.vercel.app/docs/config#standalone-rules
|
|
2665
2683
|
*/
|
|
2666
2684
|
'baseline-js/no-math-sum-precise'?: Linter.RuleEntry<[]>;
|
|
2667
2685
|
/**
|
|
2668
2686
|
* disallow Temporal API usage
|
|
2687
|
+
* @see https://baselinejs.vercel.app/docs/config#standalone-rules
|
|
2669
2688
|
*/
|
|
2670
2689
|
'baseline-js/no-temporal'?: Linter.RuleEntry<[]>;
|
|
2671
2690
|
/**
|
|
2672
2691
|
* Enforce JS Baseline by delegating to underlying syntax rules (es-x)
|
|
2692
|
+
* @see https://baselinejs.vercel.app/docs/config#rule-options
|
|
2673
2693
|
*/
|
|
2674
2694
|
'baseline-js/use-baseline'?: Linter.RuleEntry<BaselineJsUseBaseline>;
|
|
2675
2695
|
/**
|
|
@@ -2904,121 +2924,296 @@ export interface ESLintSchema {
|
|
|
2904
2924
|
* @see https://github.com/eslint/css/blob/main/docs/rules/use-layers.md
|
|
2905
2925
|
*/
|
|
2906
2926
|
'css/use-layers'?: Linter.RuleEntry<CssUseLayers>;
|
|
2927
|
+
/**
|
|
2928
|
+
* Enforce consistent ordering of compound selector components.
|
|
2929
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/consistent-compound-selector-order.md
|
|
2930
|
+
*/
|
|
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>;
|
|
2937
|
+
/**
|
|
2938
|
+
* Enforce consistent ordering of cascade layer statements.
|
|
2939
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/consistent-layer-order.md
|
|
2940
|
+
*/
|
|
2941
|
+
'cssicorn/consistent-layer-order'?: Linter.RuleEntry<CssicornConsistentLayerOrder>;
|
|
2942
|
+
/**
|
|
2943
|
+
* Enforce consistent ordering of CSS properties.
|
|
2944
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/consistent-property-order.md
|
|
2945
|
+
*/
|
|
2946
|
+
'cssicorn/consistent-property-order'?: Linter.RuleEntry<CssicornConsistentPropertyOrder>;
|
|
2947
|
+
/**
|
|
2948
|
+
* Enforce consistent ordering of CSS value components.
|
|
2949
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/consistent-value-order.md
|
|
2950
|
+
*/
|
|
2951
|
+
'cssicorn/consistent-value-order'?: Linter.RuleEntry<[]>;
|
|
2907
2952
|
/**
|
|
2908
2953
|
* Enforce lowercase CSS syntax.
|
|
2909
|
-
* @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
|
|
2910
2955
|
*/
|
|
2911
2956
|
'cssicorn/lowercase'?: Linter.RuleEntry<[]>;
|
|
2957
|
+
/**
|
|
2958
|
+
* Disallow CSS values that browsers silently clamp.
|
|
2959
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-clamped-values.md
|
|
2960
|
+
*/
|
|
2961
|
+
'cssicorn/no-clamped-values'?: Linter.RuleEntry<[]>;
|
|
2912
2962
|
/**
|
|
2913
2963
|
* Disallow declarations after nested rules.
|
|
2914
|
-
* @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
|
|
2915
2965
|
*/
|
|
2916
2966
|
'cssicorn/no-declarations-after-nested-rules'?: Linter.RuleEntry<[]>;
|
|
2917
2967
|
/**
|
|
2918
2968
|
* Disallow deprecated CSS features.
|
|
2919
|
-
* @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
|
|
2920
2970
|
*/
|
|
2921
2971
|
'cssicorn/no-deprecated-features'?: Linter.RuleEntry<CssicornNoDeprecatedFeatures>;
|
|
2922
2972
|
/**
|
|
2923
2973
|
* Disallow lower-specificity selectors from following higher-specificity selectors that set the same property.
|
|
2924
|
-
* @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
|
|
2925
2975
|
*/
|
|
2926
2976
|
'cssicorn/no-descending-specificity'?: Linter.RuleEntry<[]>;
|
|
2977
|
+
/**
|
|
2978
|
+
* Disallow `touch-action` values that disable browser pinch zoom.
|
|
2979
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-disabled-pinch-zoom.md
|
|
2980
|
+
*/
|
|
2981
|
+
'cssicorn/no-disabled-pinch-zoom'?: Linter.RuleEntry<[]>;
|
|
2982
|
+
/**
|
|
2983
|
+
* Disallow duplicate named at-rule definitions.
|
|
2984
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-duplicate-at-rule-definitions.md
|
|
2985
|
+
*/
|
|
2986
|
+
'cssicorn/no-duplicate-at-rule-definitions'?: Linter.RuleEntry<[]>;
|
|
2927
2987
|
/**
|
|
2928
2988
|
* Disallow duplicate font family names.
|
|
2929
|
-
* @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
|
|
2930
2990
|
*/
|
|
2931
2991
|
'cssicorn/no-duplicate-font-family-names'?: Linter.RuleEntry<[]>;
|
|
2932
2992
|
/**
|
|
2933
2993
|
* Disallow duplicate properties within CSS declaration blocks.
|
|
2934
|
-
* @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
|
|
2935
2995
|
*/
|
|
2936
2996
|
'cssicorn/no-duplicate-properties'?: Linter.RuleEntry<[]>;
|
|
2937
2997
|
/**
|
|
2938
2998
|
* Disallow duplicate CSS selectors.
|
|
2939
|
-
* @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
|
|
2940
3000
|
*/
|
|
2941
3001
|
'cssicorn/no-duplicate-selectors'?: Linter.RuleEntry<[]>;
|
|
2942
3002
|
/**
|
|
2943
|
-
* Disallow
|
|
2944
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3003
|
+
* Disallow ineffective declarations in keyframes.
|
|
3004
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-ineffective-keyframe-declarations.md
|
|
3005
|
+
*/
|
|
3006
|
+
'cssicorn/no-ineffective-keyframe-declarations'?: Linter.RuleEntry<[]>;
|
|
3007
|
+
/**
|
|
3008
|
+
* Disallow state and conditional overrides blocked by cascade priority.
|
|
3009
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-ineffective-overrides.md
|
|
3010
|
+
*/
|
|
3011
|
+
'cssicorn/no-ineffective-overrides'?: Linter.RuleEntry<[]>;
|
|
3012
|
+
/**
|
|
3013
|
+
* Disallow properties that have no effect given other declarations or shorthand defaults.
|
|
3014
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-ineffective-properties.md
|
|
3015
|
+
*/
|
|
3016
|
+
'cssicorn/no-ineffective-properties'?: Linter.RuleEntry<[]>;
|
|
3017
|
+
/**
|
|
3018
|
+
* Disallow properties that cannot affect their selected targets.
|
|
3019
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-ineffective-selector-properties.md
|
|
3020
|
+
*/
|
|
3021
|
+
'cssicorn/no-ineffective-selector-properties'?: Linter.RuleEntry<[]>;
|
|
3022
|
+
/**
|
|
3023
|
+
* Disallow supports conditions that do not test their value functions.
|
|
3024
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-ineffective-supports-conditions.md
|
|
3025
|
+
*/
|
|
3026
|
+
'cssicorn/no-ineffective-supports-conditions'?: Linter.RuleEntry<[]>;
|
|
3027
|
+
/**
|
|
3028
|
+
* Disallow transition targets that cannot transition under the declared behavior.
|
|
3029
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-ineffective-transitions.md
|
|
3030
|
+
*/
|
|
3031
|
+
'cssicorn/no-ineffective-transitions'?: Linter.RuleEntry<[]>;
|
|
3032
|
+
/**
|
|
3033
|
+
* Disallow unknown media features, invalid values, and invalid notation.
|
|
3034
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-invalid-media-features.md
|
|
2945
3035
|
*/
|
|
2946
3036
|
'cssicorn/no-invalid-media-features'?: Linter.RuleEntry<[]>;
|
|
2947
3037
|
/**
|
|
2948
|
-
* Disallow
|
|
2949
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3038
|
+
* Disallow invalid property references in transitions and will-change.
|
|
3039
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-invalid-property-references.md
|
|
3040
|
+
*/
|
|
3041
|
+
'cssicorn/no-invalid-property-references'?: Linter.RuleEntry<[]>;
|
|
3042
|
+
/**
|
|
3043
|
+
* Disallow animating properties that can affect layout.
|
|
3044
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-layout-animations.md
|
|
3045
|
+
*/
|
|
3046
|
+
'cssicorn/no-layout-animations'?: Linter.RuleEntry<[]>;
|
|
3047
|
+
/**
|
|
3048
|
+
* Disallow mixed specificity in nesting parents and selector-list pseudo-classes.
|
|
3049
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-nesting-with-mixed-specificity.md
|
|
2950
3050
|
*/
|
|
2951
3051
|
'cssicorn/no-nesting-with-mixed-specificity'?: Linter.RuleEntry<[]>;
|
|
3052
|
+
/**
|
|
3053
|
+
* Disallow overflow values that are coerced by the other axis.
|
|
3054
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-overflow-axis-coercion.md
|
|
3055
|
+
*/
|
|
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<[]>;
|
|
3062
|
+
/**
|
|
3063
|
+
* Disallow redundant function calls and arguments.
|
|
3064
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-redundant-functions.md
|
|
3065
|
+
*/
|
|
3066
|
+
'cssicorn/no-redundant-functions'?: Linter.RuleEntry<[]>;
|
|
2952
3067
|
/**
|
|
2953
3068
|
* Disallow longhand properties that can be combined into a shorthand.
|
|
2954
|
-
* @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
|
|
2955
3070
|
*/
|
|
2956
3071
|
'cssicorn/no-redundant-longhand-properties'?: Linter.RuleEntry<CssicornNoRedundantLonghandProperties>;
|
|
2957
3072
|
/**
|
|
2958
3073
|
* Disallow nested style rules that do not modify the parent selector.
|
|
2959
|
-
* @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
|
|
2960
3075
|
*/
|
|
2961
3076
|
'cssicorn/no-redundant-nested-style-rules'?: Linter.RuleEntry<[]>;
|
|
3077
|
+
/**
|
|
3078
|
+
* Disallow redundant nesting selectors.
|
|
3079
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-redundant-nesting-selector.md
|
|
3080
|
+
*/
|
|
3081
|
+
'cssicorn/no-redundant-nesting-selector'?: Linter.RuleEntry<[]>;
|
|
2962
3082
|
/**
|
|
2963
3083
|
* Disallow redundant values in CSS shorthand properties.
|
|
2964
|
-
* @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
|
|
2965
3085
|
*/
|
|
2966
3086
|
'cssicorn/no-redundant-shorthand-values'?: Linter.RuleEntry<[]>;
|
|
2967
3087
|
/**
|
|
2968
|
-
* Disallow
|
|
2969
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
3088
|
+
* Disallow cyclic dependencies in CSS custom properties.
|
|
3089
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-self-referencing-custom-properties.md
|
|
2970
3090
|
*/
|
|
2971
3091
|
'cssicorn/no-self-referencing-custom-properties'?: Linter.RuleEntry<[]>;
|
|
2972
3092
|
/**
|
|
2973
3093
|
* Disallow unknown animations.
|
|
2974
|
-
* @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
|
|
2975
3095
|
*/
|
|
2976
3096
|
'cssicorn/no-unknown-animations'?: Linter.RuleEntry<[]>;
|
|
2977
3097
|
/**
|
|
2978
3098
|
* Disallow unknown and noncanonical CSS annotations.
|
|
2979
|
-
* @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
|
|
2980
3100
|
*/
|
|
2981
3101
|
'cssicorn/no-unknown-annotations'?: Linter.RuleEntry<[]>;
|
|
2982
3102
|
/**
|
|
2983
3103
|
* Disallow unknown pseudo-class and pseudo-element selectors.
|
|
2984
|
-
* @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
|
|
2985
3105
|
*/
|
|
2986
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>;
|
|
2987
3112
|
/**
|
|
2988
3113
|
* Disallow unscoped CSS nesting selectors.
|
|
2989
|
-
* @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
|
|
2990
3115
|
*/
|
|
2991
3116
|
'cssicorn/no-unscoped-nesting-selector'?: Linter.RuleEntry<CssicornNoUnscopedNestingSelector>;
|
|
3117
|
+
/**
|
|
3118
|
+
* Disallow unnecessary `:is()` wrappers.
|
|
3119
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/no-useless-is.md
|
|
3120
|
+
*/
|
|
3121
|
+
'cssicorn/no-useless-is'?: Linter.RuleEntry<[]>;
|
|
2992
3122
|
/**
|
|
2993
3123
|
* Disallow units on zero CSS lengths.
|
|
2994
|
-
* @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
|
|
2995
3125
|
*/
|
|
2996
3126
|
'cssicorn/no-zero-length-unit'?: Linter.RuleEntry<[]>;
|
|
3127
|
+
/**
|
|
3128
|
+
* Prefer `aspect-ratio` over zero-height percentage-padding workarounds.
|
|
3129
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/prefer-aspect-ratio.md
|
|
3130
|
+
*/
|
|
3131
|
+
'cssicorn/prefer-aspect-ratio'?: Linter.RuleEntry<[]>;
|
|
3132
|
+
/**
|
|
3133
|
+
* Prefer `clamp()` over nested `min()` and `max()`.
|
|
3134
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/prefer-clamp.md
|
|
3135
|
+
*/
|
|
3136
|
+
'cssicorn/prefer-clamp'?: Linter.RuleEntry<[]>;
|
|
3137
|
+
/**
|
|
3138
|
+
* Prefer currentcolor over repeating the foreground color.
|
|
3139
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/prefer-current-color.md
|
|
3140
|
+
*/
|
|
3141
|
+
'cssicorn/prefer-current-color'?: Linter.RuleEntry<[]>;
|
|
3142
|
+
/**
|
|
3143
|
+
* Prefer existing custom properties over matching literal values.
|
|
3144
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/prefer-existing-custom-properties.md
|
|
3145
|
+
*/
|
|
3146
|
+
'cssicorn/prefer-existing-custom-properties'?: Linter.RuleEntry<CssicornPreferExistingCustomProperties>;
|
|
2997
3147
|
/**
|
|
2998
3148
|
* Prefer explicit viewport units.
|
|
2999
|
-
* @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
|
|
3000
3150
|
*/
|
|
3001
3151
|
'cssicorn/prefer-explicit-viewport-units'?: Linter.RuleEntry<CssicornPreferExplicitViewportUnits>;
|
|
3152
|
+
/**
|
|
3153
|
+
* Prefer individual transform properties over transform functions.
|
|
3154
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/prefer-individual-transform-properties.md
|
|
3155
|
+
*/
|
|
3156
|
+
'cssicorn/prefer-individual-transform-properties'?: Linter.RuleEntry<[]>;
|
|
3157
|
+
/**
|
|
3158
|
+
* Prefer `light-dark()` over paired light and dark color declarations.
|
|
3159
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/prefer-light-dark.md
|
|
3160
|
+
*/
|
|
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<[]>;
|
|
3002
3167
|
/**
|
|
3003
3168
|
* Prefer modern media feature range syntax.
|
|
3004
|
-
* @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
|
|
3005
3170
|
*/
|
|
3006
3171
|
'cssicorn/prefer-media-feature-range-syntax'?: Linter.RuleEntry<[]>;
|
|
3172
|
+
/**
|
|
3173
|
+
* Prefer merging adjacent rules with identical declarations or conditions.
|
|
3174
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/prefer-merged-rules.md
|
|
3175
|
+
*/
|
|
3176
|
+
'cssicorn/prefer-merged-rules'?: Linter.RuleEntry<[]>;
|
|
3007
3177
|
/**
|
|
3008
3178
|
* Prefer modern CSS color and pseudo-element syntax.
|
|
3009
|
-
* @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
|
|
3010
3180
|
*/
|
|
3011
3181
|
'cssicorn/prefer-modern-syntax'?: Linter.RuleEntry<[]>;
|
|
3182
|
+
/**
|
|
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
|
|
3185
|
+
*/
|
|
3186
|
+
'cssicorn/prefer-nesting'?: Linter.RuleEntry<CssicornPreferNesting>;
|
|
3187
|
+
/**
|
|
3188
|
+
* Prefer relative colors for alpha variants of existing color custom properties.
|
|
3189
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/prefer-relative-colors.md
|
|
3190
|
+
*/
|
|
3191
|
+
'cssicorn/prefer-relative-colors'?: Linter.RuleEntry<[]>;
|
|
3012
3192
|
/**
|
|
3013
3193
|
* Prefer short hexadecimal color notation.
|
|
3014
|
-
* @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
|
|
3015
3195
|
*/
|
|
3016
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<[]>;
|
|
3202
|
+
/**
|
|
3203
|
+
* Require motion effects inside `prefers-reduced-motion: no-preference` media queries.
|
|
3204
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/require-prefers-reduced-motion.md
|
|
3205
|
+
*/
|
|
3206
|
+
'cssicorn/require-prefers-reduced-motion'?: Linter.RuleEntry<[]>;
|
|
3017
3207
|
/**
|
|
3018
3208
|
* Require descriptors in CSS `@property` rules.
|
|
3019
|
-
* @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
|
|
3020
3210
|
*/
|
|
3021
3211
|
'cssicorn/require-property-descriptors'?: Linter.RuleEntry<[]>;
|
|
3212
|
+
/**
|
|
3213
|
+
* Require a positive scoping boundary for every selector.
|
|
3214
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.3.0/docs/rules/require-selector-scope.md
|
|
3215
|
+
*/
|
|
3216
|
+
'cssicorn/require-selector-scope'?: Linter.RuleEntry<[]>;
|
|
3022
3217
|
/**
|
|
3023
3218
|
* Enforce consistent brace style for all control statements
|
|
3024
3219
|
* @see https://eslint.org/docs/latest/rules/curly
|
|
@@ -5130,6 +5325,16 @@ export interface ESLintSchema {
|
|
|
5130
5325
|
* @see https://eslint-plugin-package-json.dev/rules/bin-name-casing
|
|
5131
5326
|
*/
|
|
5132
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>;
|
|
5133
5338
|
/**
|
|
5134
5339
|
* Enforce consistent format for the exports field (implicit or explicit subpaths).
|
|
5135
5340
|
* @see https://eslint-plugin-package-json.dev/rules/exports-subpaths-style
|
|
@@ -5196,7 +5401,7 @@ export interface ESLintSchema {
|
|
|
5196
5401
|
*/
|
|
5197
5402
|
'package-json/require-bugs'?: Linter.RuleEntry<PackageJsonRequireBugs>;
|
|
5198
5403
|
/**
|
|
5199
|
-
* Requires the `bundleDependencies` property to be present.
|
|
5404
|
+
* Requires the `bundleDependencies` property (or its alias `bundledDependencies`) to be present.
|
|
5200
5405
|
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-bundleDependencies
|
|
5201
5406
|
*/
|
|
5202
5407
|
'package-json/require-bundleDependencies'?: Linter.RuleEntry<PackageJsonRequireBundleDependencies>;
|
|
@@ -5281,7 +5486,7 @@ export interface ESLintSchema {
|
|
|
5281
5486
|
*/
|
|
5282
5487
|
'package-json/require-libc'?: Linter.RuleEntry<PackageJsonRequireLibc>;
|
|
5283
5488
|
/**
|
|
5284
|
-
* Requires the `license` property to be present.
|
|
5489
|
+
* Requires the `license` property (or its alias `licence`) to be present.
|
|
5285
5490
|
* @see https://eslint-plugin-package-json.dev/rules/require-properties/require-license
|
|
5286
5491
|
*/
|
|
5287
5492
|
'package-json/require-license'?: Linter.RuleEntry<PackageJsonRequireLicense>;
|
|
@@ -5436,7 +5641,7 @@ export interface ESLintSchema {
|
|
|
5436
5641
|
*/
|
|
5437
5642
|
'package-json/valid-bugs'?: Linter.RuleEntry<[]>;
|
|
5438
5643
|
/**
|
|
5439
|
-
* Enforce that the `bundleDependencies` (
|
|
5644
|
+
* Enforce that the `bundleDependencies` property (or its alias `bundledDependencies`) is valid.
|
|
5440
5645
|
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-bundleDependencies
|
|
5441
5646
|
*/
|
|
5442
5647
|
'package-json/valid-bundleDependencies'?: Linter.RuleEntry<[]>;
|
|
@@ -5521,7 +5726,7 @@ export interface ESLintSchema {
|
|
|
5521
5726
|
*/
|
|
5522
5727
|
'package-json/valid-libc'?: Linter.RuleEntry<[]>;
|
|
5523
5728
|
/**
|
|
5524
|
-
* Enforce that the `license` property is valid.
|
|
5729
|
+
* Enforce that the `license` property (or its alias `licence`) is valid.
|
|
5525
5730
|
* @see https://eslint-plugin-package-json.dev/rules/valid-properties/valid-license
|
|
5526
5731
|
*/
|
|
5527
5732
|
'package-json/valid-license'?: Linter.RuleEntry<[]>;
|
|
@@ -5647,6 +5852,11 @@ export interface ESLintSchema {
|
|
|
5647
5852
|
* @see https://perfectionist.dev/rules/sort-classes
|
|
5648
5853
|
*/
|
|
5649
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>;
|
|
5650
5860
|
/**
|
|
5651
5861
|
* Enforce sorted decorators.
|
|
5652
5862
|
* @see https://perfectionist.dev/rules/sort-decorators
|
|
@@ -6470,1992 +6680,2002 @@ export interface ESLintSchema {
|
|
|
6470
6680
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>;
|
|
6471
6681
|
/**
|
|
6472
6682
|
* Prefer better DOM traversal APIs.
|
|
6473
|
-
* @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
|
|
6474
6684
|
*/
|
|
6475
6685
|
'unicorn/better-dom-traversing'?: Linter.RuleEntry<[]>;
|
|
6476
6686
|
/**
|
|
6477
6687
|
* Removed. Prefer `eslint-plugin-regexp`
|
|
6478
|
-
* @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
|
|
6479
6689
|
* @deprecated
|
|
6480
6690
|
*/
|
|
6481
6691
|
'unicorn/better-regex'?: Linter.RuleEntry<[]>;
|
|
6482
6692
|
/**
|
|
6483
6693
|
* Enforce a specific parameter name in catch clauses.
|
|
6484
|
-
* @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
|
|
6485
6695
|
*/
|
|
6486
6696
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>;
|
|
6487
6697
|
/**
|
|
6488
6698
|
* Enforce consistent class references in static methods.
|
|
6489
|
-
* @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
|
|
6490
6700
|
*/
|
|
6491
6701
|
'unicorn/class-reference-in-static-methods'?: Linter.RuleEntry<UnicornClassReferenceInStaticMethods>;
|
|
6492
6702
|
/**
|
|
6493
|
-
* Enforce consistent spacing before and after commas in JSON.
|
|
6494
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6703
|
+
* Enforce consistent spacing before and after commas in JSON and SOML.
|
|
6704
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/comma-spacing.md
|
|
6495
6705
|
*/
|
|
6496
6706
|
'unicorn/comma-spacing'?: Linter.RuleEntry<[]>;
|
|
6497
6707
|
/**
|
|
6498
6708
|
* Enforce better comment content.
|
|
6499
|
-
* @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
|
|
6500
6710
|
*/
|
|
6501
6711
|
'unicorn/comment-content'?: Linter.RuleEntry<UnicornCommentContent>;
|
|
6502
6712
|
/**
|
|
6503
6713
|
* Enforce a consistent return style for multiline arrow function bodies.
|
|
6504
|
-
* @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
|
|
6505
6715
|
*/
|
|
6506
6716
|
'unicorn/consistent-arrow-return-style'?: Linter.RuleEntry<[]>;
|
|
6507
6717
|
/**
|
|
6508
6718
|
* Enforce consistent assertion style with `node:assert`.
|
|
6509
|
-
* @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
|
|
6510
6720
|
*/
|
|
6511
6721
|
'unicorn/consistent-assert'?: Linter.RuleEntry<[]>;
|
|
6512
6722
|
/**
|
|
6513
6723
|
* Enforce consistent naming for boolean names.
|
|
6514
|
-
* @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
|
|
6515
6725
|
*/
|
|
6516
6726
|
'unicorn/consistent-boolean-name'?: Linter.RuleEntry<UnicornConsistentBooleanName>;
|
|
6517
6727
|
/**
|
|
6518
6728
|
* Enforce consistent class member order.
|
|
6519
|
-
* @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
|
|
6520
6730
|
*/
|
|
6521
6731
|
'unicorn/consistent-class-member-order'?: Linter.RuleEntry<UnicornConsistentClassMemberOrder>;
|
|
6522
6732
|
/**
|
|
6523
6733
|
* Enforce consistent spelling of compound words in identifiers.
|
|
6524
|
-
* @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
|
|
6525
6735
|
*/
|
|
6526
6736
|
'unicorn/consistent-compound-words'?: Linter.RuleEntry<UnicornConsistentCompoundWords>;
|
|
6527
6737
|
/**
|
|
6528
6738
|
* Enforce consistent conditional object spread style.
|
|
6529
|
-
* @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
|
|
6530
6740
|
*/
|
|
6531
6741
|
'unicorn/consistent-conditional-object-spread'?: Linter.RuleEntry<UnicornConsistentConditionalObjectSpread>;
|
|
6532
6742
|
/**
|
|
6533
6743
|
* Prefer passing `Date` directly to the constructor when cloning.
|
|
6534
|
-
* @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
|
|
6535
6745
|
*/
|
|
6536
6746
|
'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>;
|
|
6537
6747
|
/**
|
|
6538
6748
|
* Use destructured variables over properties.
|
|
6539
|
-
* @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
|
|
6540
6750
|
*/
|
|
6541
6751
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>;
|
|
6542
6752
|
/**
|
|
6543
6753
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
6544
|
-
* @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
|
|
6545
6755
|
*/
|
|
6546
6756
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>;
|
|
6547
6757
|
/**
|
|
6548
6758
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
6549
|
-
* @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
|
|
6550
6760
|
*/
|
|
6551
6761
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>;
|
|
6552
6762
|
/**
|
|
6553
6763
|
* Enforce consistent decorator position on exported classes.
|
|
6554
|
-
* @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
|
|
6555
6765
|
*/
|
|
6556
6766
|
'unicorn/consistent-export-decorator-position'?: Linter.RuleEntry<UnicornConsistentExportDecoratorPosition>;
|
|
6557
6767
|
/**
|
|
6558
6768
|
* Move function definitions to the highest possible scope.
|
|
6559
|
-
* @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
|
|
6560
6770
|
*/
|
|
6561
6771
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
|
|
6562
6772
|
/**
|
|
6563
6773
|
* Enforce function syntax by role.
|
|
6564
|
-
* @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
|
|
6565
6775
|
*/
|
|
6566
6776
|
'unicorn/consistent-function-style'?: Linter.RuleEntry<UnicornConsistentFunctionStyle>;
|
|
6567
6777
|
/**
|
|
6568
6778
|
* Enforce consistent JSON file reads before `JSON.parse()`.
|
|
6569
|
-
* @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
|
|
6570
6780
|
*/
|
|
6571
6781
|
'unicorn/consistent-json-file-read'?: Linter.RuleEntry<UnicornConsistentJsonFileRead>;
|
|
6572
6782
|
/**
|
|
6573
6783
|
* Enforce consistent optional chaining for same-base member access.
|
|
6574
|
-
* @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
|
|
6575
6785
|
*/
|
|
6576
6786
|
'unicorn/consistent-optional-chaining'?: Linter.RuleEntry<[]>;
|
|
6577
6787
|
/**
|
|
6578
6788
|
* Enforce consistent style for escaping `${` in template literals.
|
|
6579
|
-
* @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
|
|
6580
6790
|
*/
|
|
6581
6791
|
'unicorn/consistent-template-literal-escape'?: Linter.RuleEntry<[]>;
|
|
6582
6792
|
/**
|
|
6583
6793
|
* Enforce consistent labels on tuple type elements.
|
|
6584
|
-
* @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
|
|
6585
6795
|
*/
|
|
6586
6796
|
'unicorn/consistent-tuple-labels'?: Linter.RuleEntry<[]>;
|
|
6587
6797
|
/**
|
|
6588
6798
|
* Enforce correct `Error` subclassing.
|
|
6589
|
-
* @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
|
|
6590
6800
|
*/
|
|
6591
6801
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>;
|
|
6592
6802
|
/**
|
|
6593
6803
|
* Enforce consistent default export declarations.
|
|
6594
|
-
* @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
|
|
6595
6805
|
*/
|
|
6596
6806
|
'unicorn/default-export-style'?: Linter.RuleEntry<UnicornDefaultExportStyle>;
|
|
6597
6807
|
/**
|
|
6598
6808
|
* Enforce consistent style for DOM element dataset access.
|
|
6599
|
-
* @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
|
|
6600
6810
|
*/
|
|
6601
6811
|
'unicorn/dom-node-dataset'?: Linter.RuleEntry<UnicornDomNodeDataset>;
|
|
6602
6812
|
/**
|
|
6603
6813
|
* Enforce no spaces between braces.
|
|
6604
|
-
* @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
|
|
6605
6815
|
*/
|
|
6606
6816
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>;
|
|
6607
6817
|
/**
|
|
6608
6818
|
* Enforce passing a `message` value when creating a built-in error.
|
|
6609
|
-
* @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
|
|
6610
6820
|
*/
|
|
6611
6821
|
'unicorn/error-message'?: Linter.RuleEntry<[]>;
|
|
6612
6822
|
/**
|
|
6613
6823
|
* Require escape sequences to use uppercase or lowercase values.
|
|
6614
|
-
* @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
|
|
6615
6825
|
*/
|
|
6616
6826
|
'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>;
|
|
6617
6827
|
/**
|
|
6618
6828
|
* Add expiration conditions to TODO comments.
|
|
6619
|
-
* @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
|
|
6620
6830
|
*/
|
|
6621
6831
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>;
|
|
6622
6832
|
/**
|
|
6623
6833
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
6624
|
-
* @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
|
|
6625
6835
|
*/
|
|
6626
6836
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
|
|
6627
6837
|
/**
|
|
6628
6838
|
* Enforce or disallow explicit `delay` argument for `setTimeout()` and `setInterval()`.
|
|
6629
|
-
* @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
|
|
6630
6840
|
*/
|
|
6631
6841
|
'unicorn/explicit-timer-delay'?: Linter.RuleEntry<UnicornExplicitTimerDelay>;
|
|
6632
6842
|
/**
|
|
6633
6843
|
* Enforce a case style for filenames and directory names.
|
|
6634
|
-
* @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
|
|
6635
6845
|
*/
|
|
6636
6846
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>;
|
|
6637
6847
|
/**
|
|
6638
6848
|
* Require identifiers to match a specified regular expression.
|
|
6639
|
-
* @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
|
|
6640
6850
|
*/
|
|
6641
6851
|
'unicorn/id-match'?: Linter.RuleEntry<UnicornIdMatch>;
|
|
6642
6852
|
/**
|
|
6643
6853
|
* Enforce specific import styles per module.
|
|
6644
|
-
* @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
|
|
6645
6855
|
*/
|
|
6646
6856
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>;
|
|
6647
6857
|
/**
|
|
6648
6858
|
* Enforce consistent indentation in JSON and CSS.
|
|
6649
|
-
* @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
|
|
6650
6860
|
*/
|
|
6651
6861
|
'unicorn/indent'?: Linter.RuleEntry<UnicornIndent>;
|
|
6652
6862
|
/**
|
|
6653
6863
|
* Prevent usage of variables from outside the scope of isolated functions.
|
|
6654
|
-
* @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
|
|
6655
6865
|
*/
|
|
6656
6866
|
'unicorn/isolated-functions'?: Linter.RuleEntry<UnicornIsolatedFunctions>;
|
|
6657
6867
|
/**
|
|
6658
6868
|
* Enforce a consistent style for optional loop sources.
|
|
6659
|
-
* @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
|
|
6660
6870
|
*/
|
|
6661
6871
|
'unicorn/iteration-fallback-style'?: Linter.RuleEntry<UnicornIterationFallbackStyle>;
|
|
6662
6872
|
/**
|
|
6663
6873
|
* Enforce a case style for data keys.
|
|
6664
|
-
* @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
|
|
6665
6875
|
*/
|
|
6666
6876
|
'unicorn/key-name-casing'?: Linter.RuleEntry<UnicornKeyNameCasing>;
|
|
6667
6877
|
/**
|
|
6668
6878
|
* Require or disallow logical assignment operator shorthand
|
|
6669
|
-
* @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
|
|
6670
6880
|
*/
|
|
6671
6881
|
'unicorn/logical-assignment-operators'?: Linter.RuleEntry<UnicornLogicalAssignmentOperators>;
|
|
6672
6882
|
/**
|
|
6673
6883
|
* Limit the depth of nested calls.
|
|
6674
|
-
* @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
|
|
6675
6885
|
*/
|
|
6676
6886
|
'unicorn/max-nested-calls'?: Linter.RuleEntry<UnicornMaxNestedCalls>;
|
|
6677
6887
|
/**
|
|
6678
6888
|
* Enforce replacements for variable, property, and filenames.
|
|
6679
|
-
* @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
|
|
6680
6890
|
*/
|
|
6681
6891
|
'unicorn/name-replacements'?: Linter.RuleEntry<UnicornNameReplacements>;
|
|
6682
6892
|
/**
|
|
6683
6893
|
* Enforce correct use of `new` for builtin constructors.
|
|
6684
|
-
* @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
|
|
6685
6895
|
*/
|
|
6686
6896
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>;
|
|
6687
6897
|
/**
|
|
6688
6898
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
6689
|
-
* @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
|
|
6690
6900
|
*/
|
|
6691
6901
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>;
|
|
6692
6902
|
/**
|
|
6693
6903
|
* Disallow recursive access to `this` within getters and setters.
|
|
6694
|
-
* @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
|
|
6695
6905
|
*/
|
|
6696
6906
|
'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>;
|
|
6697
6907
|
/**
|
|
6698
6908
|
* Disallow bitwise operators where a logical operator was likely intended.
|
|
6699
|
-
* @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
|
|
6700
6910
|
*/
|
|
6701
6911
|
'unicorn/no-accidental-bitwise-operator'?: Linter.RuleEntry<[]>;
|
|
6702
6912
|
/**
|
|
6703
6913
|
* Disallow anonymous functions and classes as the default export.
|
|
6704
|
-
* @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
|
|
6705
6915
|
*/
|
|
6706
6916
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>;
|
|
6707
6917
|
/**
|
|
6708
6918
|
* Prevent passing a function reference directly to iterator methods.
|
|
6709
|
-
* @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
|
|
6710
6920
|
*/
|
|
6711
6921
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<UnicornNoArrayCallbackReference>;
|
|
6712
6922
|
/**
|
|
6713
6923
|
* Disallow array accumulation with `Array#concat()` in loops.
|
|
6714
|
-
* @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
|
|
6715
6925
|
*/
|
|
6716
6926
|
'unicorn/no-array-concat-in-loop'?: Linter.RuleEntry<[]>;
|
|
6717
6927
|
/**
|
|
6718
6928
|
* Disallow using reference values as `Array#fill()` values.
|
|
6719
|
-
* @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
|
|
6720
6930
|
*/
|
|
6721
6931
|
'unicorn/no-array-fill-with-reference-type'?: Linter.RuleEntry<[]>;
|
|
6722
6932
|
/**
|
|
6723
6933
|
* Disallow `.fill()` after `Array.from({length: …})`.
|
|
6724
|
-
* @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
|
|
6725
6935
|
*/
|
|
6726
6936
|
'unicorn/no-array-from-fill'?: Linter.RuleEntry<[]>;
|
|
6727
6937
|
/**
|
|
6728
6938
|
* Disallow front-of-array mutation.
|
|
6729
|
-
* @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
|
|
6730
6940
|
*/
|
|
6731
6941
|
'unicorn/no-array-front-mutation'?: Linter.RuleEntry<[]>;
|
|
6732
6942
|
/**
|
|
6733
6943
|
* Disallow using the `this` argument in array methods.
|
|
6734
|
-
* @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
|
|
6735
6945
|
*/
|
|
6736
6946
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>;
|
|
6737
6947
|
/**
|
|
6738
6948
|
* Replaced by `unicorn/prefer-single-call` which covers more cases.
|
|
6739
|
-
* @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
|
|
6740
6950
|
* @deprecated
|
|
6741
6951
|
*/
|
|
6742
6952
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>;
|
|
6743
6953
|
/**
|
|
6744
6954
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
6745
|
-
* @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
|
|
6746
6956
|
*/
|
|
6747
6957
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>;
|
|
6748
6958
|
/**
|
|
6749
6959
|
* Prefer `Array#toReversed()` over `Array#reverse()`.
|
|
6750
|
-
* @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
|
|
6751
6961
|
*/
|
|
6752
6962
|
'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>;
|
|
6753
6963
|
/**
|
|
6754
6964
|
* Prefer `Array#toSorted()` over `Array#sort()`.
|
|
6755
|
-
* @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
|
|
6756
6966
|
*/
|
|
6757
6967
|
'unicorn/no-array-sort'?: Linter.RuleEntry<UnicornNoArraySort>;
|
|
6758
6968
|
/**
|
|
6759
6969
|
* Disallow sorting arrays to get the minimum or maximum value.
|
|
6760
|
-
* @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
|
|
6761
6971
|
*/
|
|
6762
6972
|
'unicorn/no-array-sort-for-min-max'?: Linter.RuleEntry<[]>;
|
|
6763
6973
|
/**
|
|
6764
6974
|
* Prefer `Array#toSpliced()` over `Array#splice()`.
|
|
6765
|
-
* @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
|
|
6766
6976
|
*/
|
|
6767
6977
|
'unicorn/no-array-splice'?: Linter.RuleEntry<[]>;
|
|
6768
6978
|
/**
|
|
6769
|
-
* Disallow asterisk prefixes in multiline comments.
|
|
6770
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6979
|
+
* Disallow asterisk prefixes and shared indentation in multiline comments.
|
|
6980
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-asterisk-prefix-in-documentation-comments.md
|
|
6771
6981
|
*/
|
|
6772
6982
|
'unicorn/no-asterisk-prefix-in-documentation-comments'?: Linter.RuleEntry<[]>;
|
|
6773
6983
|
/**
|
|
6774
6984
|
* Disallow asynchronous callbacks in synchronous iterator helpers.
|
|
6775
|
-
* @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
|
|
6776
6986
|
*/
|
|
6777
6987
|
'unicorn/no-async-iterator-callback'?: Linter.RuleEntry<[]>;
|
|
6778
6988
|
/**
|
|
6779
6989
|
* Disallow async functions as `Promise#finally()` callbacks.
|
|
6780
|
-
* @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
|
|
6781
6991
|
*/
|
|
6782
6992
|
'unicorn/no-async-promise-finally'?: Linter.RuleEntry<[]>;
|
|
6783
6993
|
/**
|
|
6784
6994
|
* Disallow member access from await expression.
|
|
6785
|
-
* @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
|
|
6786
6996
|
*/
|
|
6787
6997
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>;
|
|
6788
6998
|
/**
|
|
6789
6999
|
* Disallow using `await` in `Promise` method parameters.
|
|
6790
|
-
* @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
|
|
6791
7001
|
*/
|
|
6792
7002
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
6793
7003
|
/**
|
|
6794
7004
|
* Disallow barrel files.
|
|
6795
|
-
* @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
|
|
6796
7006
|
*/
|
|
6797
7007
|
'unicorn/no-barrel-files'?: Linter.RuleEntry<[]>;
|
|
6798
7008
|
/**
|
|
6799
7009
|
* Disallow unnecessary `Blob` to `File` conversion.
|
|
6800
|
-
* @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
|
|
6801
7011
|
*/
|
|
6802
7012
|
'unicorn/no-blob-to-file'?: Linter.RuleEntry<[]>;
|
|
6803
7013
|
/**
|
|
6804
7014
|
* Disallow boolean-returning sort comparators.
|
|
6805
|
-
* @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
|
|
6806
7016
|
*/
|
|
6807
7017
|
'unicorn/no-boolean-sort-comparator'?: Linter.RuleEntry<[]>;
|
|
6808
7018
|
/**
|
|
6809
7019
|
* Disallow `break` and optionally `continue` in nested loops and switches inside loops.
|
|
6810
|
-
* @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
|
|
6811
7021
|
*/
|
|
6812
7022
|
'unicorn/no-break-in-nested-loop'?: Linter.RuleEntry<UnicornNoBreakInNestedLoop>;
|
|
6813
7023
|
/**
|
|
6814
7024
|
* Prefer drawing canvases directly instead of converting them to images.
|
|
6815
|
-
* @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
|
|
6816
7026
|
*/
|
|
6817
7027
|
'unicorn/no-canvas-to-image'?: Linter.RuleEntry<[]>;
|
|
6818
7028
|
/**
|
|
6819
7029
|
* Disallow chained comparisons such as `a < b < c`.
|
|
6820
|
-
* @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
|
|
6821
7031
|
*/
|
|
6822
7032
|
'unicorn/no-chained-comparison'?: Linter.RuleEntry<[]>;
|
|
6823
7033
|
/**
|
|
6824
7034
|
* Disallow accessing `Map`, `Set`, `WeakMap`, and `WeakSet` entries with bracket notation.
|
|
6825
|
-
* @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
|
|
6826
7036
|
*/
|
|
6827
7037
|
'unicorn/no-collection-bracket-access'?: Linter.RuleEntry<[]>;
|
|
6828
7038
|
/**
|
|
6829
7039
|
* Disallow dynamic object property existence checks.
|
|
6830
|
-
* @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
|
|
6831
7041
|
*/
|
|
6832
7042
|
'unicorn/no-computed-property-existence-check'?: Linter.RuleEntry<[]>;
|
|
6833
7043
|
/**
|
|
6834
7044
|
* Disallow conflicting CSS query and HTML form constraints.
|
|
6835
|
-
* @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
|
|
6836
7046
|
*/
|
|
6837
7047
|
'unicorn/no-conflicting-constraints'?: Linter.RuleEntry<[]>;
|
|
6838
7048
|
/**
|
|
6839
7049
|
* Disallow confusing uses of `Array#{splice,toSpliced}()`.
|
|
6840
|
-
* @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
|
|
6841
7051
|
*/
|
|
6842
7052
|
'unicorn/no-confusing-array-splice'?: Linter.RuleEntry<[]>;
|
|
6843
7053
|
/**
|
|
6844
7054
|
* Disallow confusing uses of `Array#with()`.
|
|
6845
|
-
* @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
|
|
6846
7056
|
*/
|
|
6847
7057
|
'unicorn/no-confusing-array-with'?: Linter.RuleEntry<[]>;
|
|
6848
7058
|
/**
|
|
6849
7059
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
6850
|
-
* @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
|
|
6851
7061
|
*/
|
|
6852
7062
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>;
|
|
6853
7063
|
/**
|
|
6854
7064
|
* Disallow arithmetic and bitwise operations that always evaluate to `0`.
|
|
6855
|
-
* @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
|
|
6856
7066
|
*/
|
|
6857
7067
|
'unicorn/no-constant-zero-expression'?: Linter.RuleEntry<[]>;
|
|
6858
7068
|
/**
|
|
6859
7069
|
* Disallow declarations before conditional early exits when they are only used after the exit.
|
|
6860
|
-
* @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
|
|
6861
7071
|
*/
|
|
6862
7072
|
'unicorn/no-declarations-before-early-exit'?: Linter.RuleEntry<[]>;
|
|
6863
7073
|
/**
|
|
6864
7074
|
* Moved to `eslint-cssicorn` as `cssicorn/no-deprecated-features`.
|
|
6865
|
-
* @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
|
|
6866
7076
|
* @deprecated
|
|
6867
7077
|
*/
|
|
6868
7078
|
'unicorn/no-deprecated-css-features'?: Linter.RuleEntry<[]>;
|
|
6869
7079
|
/**
|
|
6870
7080
|
* Do not use `document.cookie` directly.
|
|
6871
|
-
* @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
|
|
6872
7082
|
*/
|
|
6873
7083
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>;
|
|
6874
7084
|
/**
|
|
6875
7085
|
* Disallow two comparisons of the same operands that can be combined into one.
|
|
6876
|
-
* @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
|
|
6877
7087
|
*/
|
|
6878
7088
|
'unicorn/no-double-comparison'?: Linter.RuleEntry<[]>;
|
|
6879
7089
|
/**
|
|
6880
7090
|
* Moved to `eslint-cssicorn` as `cssicorn/no-duplicate-selectors`.
|
|
6881
|
-
* @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
|
|
6882
7092
|
* @deprecated
|
|
6883
7093
|
*/
|
|
6884
7094
|
'unicorn/no-duplicate-css-selectors'?: Linter.RuleEntry<[]>;
|
|
6885
7095
|
/**
|
|
6886
7096
|
* Moved to `eslint-cssicorn` as `cssicorn/no-duplicate-font-family-names`.
|
|
6887
|
-
* @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
|
|
6888
7098
|
* @deprecated
|
|
6889
7099
|
*/
|
|
6890
7100
|
'unicorn/no-duplicate-font-family-names'?: Linter.RuleEntry<[]>;
|
|
6891
7101
|
/**
|
|
6892
7102
|
* Disallow duplicate adjacent branches in if chains.
|
|
6893
|
-
* @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
|
|
6894
7104
|
*/
|
|
6895
7105
|
'unicorn/no-duplicate-if-branches'?: Linter.RuleEntry<[]>;
|
|
6896
7106
|
/**
|
|
6897
7107
|
* Disallow adjacent duplicate operands in logical expressions.
|
|
6898
|
-
* @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
|
|
6899
7109
|
*/
|
|
6900
7110
|
'unicorn/no-duplicate-logical-operands'?: Linter.RuleEntry<[]>;
|
|
6901
7111
|
/**
|
|
6902
7112
|
* Disallow `.map()` and `.filter()` in `for…of` and `for await…of` loop headers.
|
|
6903
|
-
* @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
|
|
6904
7114
|
*/
|
|
6905
7115
|
'unicorn/no-duplicate-loops'?: Linter.RuleEntry<[]>;
|
|
6906
7116
|
/**
|
|
6907
7117
|
* Disallow duplicate values in `Set` constructor array literals.
|
|
6908
|
-
* @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
|
|
6909
7119
|
*/
|
|
6910
7120
|
'unicorn/no-duplicate-set-values'?: Linter.RuleEntry<[]>;
|
|
6911
7121
|
/**
|
|
6912
7122
|
* Disallow empty files.
|
|
6913
|
-
* @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
|
|
6914
7124
|
*/
|
|
6915
7125
|
'unicorn/no-empty-file'?: Linter.RuleEntry<UnicornNoEmptyFile>;
|
|
6916
7126
|
/**
|
|
6917
7127
|
* Disallow empty link text in Markdown.
|
|
6918
|
-
* @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
|
|
6919
7129
|
*/
|
|
6920
7130
|
'unicorn/no-empty-link-text'?: Linter.RuleEntry<[]>;
|
|
6921
7131
|
/**
|
|
6922
7132
|
* Disallow assigning to built-in error properties.
|
|
6923
|
-
* @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
|
|
6924
7134
|
*/
|
|
6925
7135
|
'unicorn/no-error-property-assignment'?: Linter.RuleEntry<[]>;
|
|
6926
7136
|
/**
|
|
6927
7137
|
* Disallow exports in scripts.
|
|
6928
|
-
* @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
|
|
6929
7139
|
*/
|
|
6930
7140
|
'unicorn/no-exports-in-scripts'?: Linter.RuleEntry<[]>;
|
|
6931
7141
|
/**
|
|
6932
7142
|
* Prefer `for…of` over the `forEach` method.
|
|
6933
|
-
* @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
|
|
6934
7144
|
*/
|
|
6935
7145
|
'unicorn/no-for-each'?: Linter.RuleEntry<[]>;
|
|
6936
7146
|
/**
|
|
6937
7147
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
6938
|
-
* @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
|
|
6939
7149
|
*/
|
|
6940
7150
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>;
|
|
6941
7151
|
/**
|
|
6942
7152
|
* Disallow assigning properties on the global object.
|
|
6943
|
-
* @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
|
|
6944
7154
|
*/
|
|
6945
7155
|
'unicorn/no-global-object-property-assignment'?: Linter.RuleEntry<[]>;
|
|
6946
7156
|
/**
|
|
6947
7157
|
* Replaced by `unicorn/prefer-literal-ascii` and `unicorn/prefer-unicode-code-point-escapes`, which cover more cases.
|
|
6948
|
-
* @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
|
|
6949
7159
|
* @deprecated
|
|
6950
7160
|
*/
|
|
6951
7161
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>;
|
|
6952
7162
|
/**
|
|
6953
|
-
* Disallow immediate mutation after
|
|
6954
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
7163
|
+
* Disallow immediate mutation after assignment and initialization immediately after declaration.
|
|
7164
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-immediate-mutation.md
|
|
6955
7165
|
*/
|
|
6956
7166
|
'unicorn/no-immediate-mutation'?: Linter.RuleEntry<UnicornNoImmediateMutation>;
|
|
6957
7167
|
/**
|
|
6958
7168
|
* Disallow impossible comparisons against `.length` or `.size`.
|
|
6959
|
-
* @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
|
|
6960
7170
|
*/
|
|
6961
7171
|
'unicorn/no-impossible-length-comparison'?: Linter.RuleEntry<[]>;
|
|
6962
7172
|
/**
|
|
6963
7173
|
* Disallow class accessors that hide an inherited getter or setter.
|
|
6964
|
-
* @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
|
|
6965
7175
|
*/
|
|
6966
7176
|
'unicorn/no-incomplete-accessor-override'?: Linter.RuleEntry<[]>;
|
|
6967
7177
|
/**
|
|
6968
7178
|
* Disallow incorrect `querySelector()` and `querySelectorAll()` usage.
|
|
6969
|
-
* @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
|
|
6970
7180
|
*/
|
|
6971
7181
|
'unicorn/no-incorrect-query-selector'?: Linter.RuleEntry<[]>;
|
|
6972
7182
|
/**
|
|
6973
7183
|
* Disallow incorrect template literal interpolation syntax.
|
|
6974
|
-
* @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
|
|
6975
7185
|
*/
|
|
6976
7186
|
'unicorn/no-incorrect-template-string-interpolation'?: Linter.RuleEntry<[]>;
|
|
6977
7187
|
/**
|
|
6978
7188
|
* Disallow ineffective CSP directives in `<meta>` elements.
|
|
6979
|
-
* @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
|
|
6980
7190
|
*/
|
|
6981
7191
|
'unicorn/no-ineffective-csp-directives'?: Linter.RuleEntry<[]>;
|
|
6982
7192
|
/**
|
|
6983
7193
|
* Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
|
|
6984
|
-
* @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
|
|
6985
7195
|
* @deprecated
|
|
6986
7196
|
*/
|
|
6987
7197
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>;
|
|
6988
7198
|
/**
|
|
6989
7199
|
* Disallow `instanceof` with built-in objects
|
|
6990
|
-
* @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
|
|
6991
7201
|
*/
|
|
6992
7202
|
'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
|
|
6993
7203
|
/**
|
|
6994
7204
|
* Disallow calling functions and constructors with an invalid number of arguments.
|
|
6995
|
-
* @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
|
|
6996
7206
|
*/
|
|
6997
7207
|
'unicorn/no-invalid-argument-count'?: Linter.RuleEntry<UnicornNoInvalidArgumentCount>;
|
|
6998
7208
|
/**
|
|
6999
7209
|
* Disallow invalid values for HTML boolean attributes.
|
|
7000
|
-
* @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
|
|
7001
7211
|
*/
|
|
7002
7212
|
'unicorn/no-invalid-boolean-attribute-value'?: Linter.RuleEntry<[]>;
|
|
7003
7213
|
/**
|
|
7004
7214
|
* Disallow comparing a single character from a string to a multi-character string.
|
|
7005
|
-
* @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
|
|
7006
7216
|
*/
|
|
7007
7217
|
'unicorn/no-invalid-character-comparison'?: Linter.RuleEntry<[]>;
|
|
7008
7218
|
/**
|
|
7009
7219
|
* Disallow invalid DOM tokens.
|
|
7010
|
-
* @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
|
|
7011
7221
|
*/
|
|
7012
7222
|
'unicorn/no-invalid-dom-token'?: Linter.RuleEntry<[]>;
|
|
7013
7223
|
/**
|
|
7014
7224
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
7015
|
-
* @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
|
|
7016
7226
|
*/
|
|
7017
7227
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>;
|
|
7018
7228
|
/**
|
|
7019
7229
|
* Disallow invalid `accept` values on file inputs.
|
|
7020
|
-
* @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
|
|
7021
7231
|
*/
|
|
7022
7232
|
'unicorn/no-invalid-file-input-accept'?: Linter.RuleEntry<[]>;
|
|
7023
7233
|
/**
|
|
7024
7234
|
* Disallow invalid subresource integrity metadata.
|
|
7025
|
-
* @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
|
|
7026
7236
|
*/
|
|
7027
7237
|
'unicorn/no-invalid-integrity'?: Linter.RuleEntry<[]>;
|
|
7028
7238
|
/**
|
|
7029
7239
|
* Disallow invalid or ignored Intl options.
|
|
7030
|
-
* @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
|
|
7031
7241
|
*/
|
|
7032
7242
|
'unicorn/no-invalid-intl-options'?: Linter.RuleEntry<[]>;
|
|
7033
7243
|
/**
|
|
7034
7244
|
* Moved to `eslint-cssicorn` as `cssicorn/no-invalid-media-features`.
|
|
7035
|
-
* @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
|
|
7036
7246
|
* @deprecated
|
|
7037
7247
|
*/
|
|
7038
7248
|
'unicorn/no-invalid-media-features'?: Linter.RuleEntry<[]>;
|
|
7039
7249
|
/**
|
|
7040
7250
|
* Disallow invalid property descriptors.
|
|
7041
|
-
* @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
|
|
7042
7252
|
*/
|
|
7043
7253
|
'unicorn/no-invalid-property-descriptor'?: Linter.RuleEntry<[]>;
|
|
7044
7254
|
/**
|
|
7045
7255
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
7046
|
-
* @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
|
|
7047
7257
|
*/
|
|
7048
7258
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>;
|
|
7049
7259
|
/**
|
|
7050
7260
|
* Disallow invalid options in `new Response()`, `Response.json()`, and `Response.redirect()`.
|
|
7051
|
-
* @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
|
|
7052
7262
|
*/
|
|
7053
7263
|
'unicorn/no-invalid-response-options'?: Linter.RuleEntry<[]>;
|
|
7054
7264
|
/**
|
|
7055
7265
|
* Disallow invalid arguments to `CSSStyleDeclaration#setProperty()`.
|
|
7056
|
-
* @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
|
|
7057
7267
|
*/
|
|
7058
7268
|
'unicorn/no-invalid-style-set-property'?: Linter.RuleEntry<[]>;
|
|
7059
7269
|
/**
|
|
7060
7270
|
* Disallow statically known invalid Temporal arithmetic.
|
|
7061
|
-
* @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
|
|
7062
7272
|
*/
|
|
7063
7273
|
'unicorn/no-invalid-temporal-arithmetic'?: Linter.RuleEntry<[]>;
|
|
7064
7274
|
/**
|
|
7065
7275
|
* Disallow invalid protocol strings in comparisons with `URL#protocol`.
|
|
7066
|
-
* @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
|
|
7067
7277
|
*/
|
|
7068
7278
|
'unicorn/no-invalid-url-protocol-comparison'?: Linter.RuleEntry<[]>;
|
|
7069
7279
|
/**
|
|
7070
7280
|
* Disallow invalid implementations of well-known symbol methods.
|
|
7071
|
-
* @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
|
|
7072
7282
|
*/
|
|
7073
7283
|
'unicorn/no-invalid-well-known-symbol-methods'?: Linter.RuleEntry<[]>;
|
|
7074
7284
|
/**
|
|
7075
7285
|
* Disallow `javascript:` URLs in Markdown.
|
|
7076
|
-
* @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
|
|
7077
7287
|
*/
|
|
7078
7288
|
'unicorn/no-javascript-url'?: Linter.RuleEntry<[]>;
|
|
7079
7289
|
/**
|
|
7080
7290
|
* Disallow identifiers starting with `new` or `class`.
|
|
7081
|
-
* @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
|
|
7082
7292
|
*/
|
|
7083
7293
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
|
|
7084
7294
|
/**
|
|
7085
7295
|
* Disallow accessing `event.currentTarget` after the synchronous event dispatch has finished.
|
|
7086
|
-
* @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
|
|
7087
7297
|
*/
|
|
7088
7298
|
'unicorn/no-late-current-target-access'?: Linter.RuleEntry<[]>;
|
|
7089
7299
|
/**
|
|
7090
7300
|
* Disallow event-control method calls after the synchronous event dispatch has finished.
|
|
7091
|
-
* @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
|
|
7092
7302
|
*/
|
|
7093
7303
|
'unicorn/no-late-event-control'?: Linter.RuleEntry<[]>;
|
|
7094
7304
|
/**
|
|
7095
7305
|
* Disallow empty lines at the beginning of a file.
|
|
7096
|
-
* @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
|
|
7097
7307
|
*/
|
|
7098
7308
|
'unicorn/no-leading-empty-lines'?: Linter.RuleEntry<[]>;
|
|
7099
7309
|
/**
|
|
7100
7310
|
* Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
|
|
7101
|
-
* @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
|
|
7102
7312
|
* @deprecated
|
|
7103
7313
|
*/
|
|
7104
7314
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>;
|
|
7105
7315
|
/**
|
|
7106
7316
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
7107
|
-
* @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
|
|
7108
7318
|
*/
|
|
7109
7319
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>;
|
|
7110
7320
|
/**
|
|
7111
7321
|
* Disallow mutating a loop iterable during iteration.
|
|
7112
|
-
* @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
|
|
7113
7323
|
*/
|
|
7114
7324
|
'unicorn/no-loop-iterable-mutation'?: Linter.RuleEntry<[]>;
|
|
7115
7325
|
/**
|
|
7116
7326
|
* Disallow numeric literals that lose precision when represented as IEEE 754 binary64 values.
|
|
7117
|
-
* @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
|
|
7118
7328
|
*/
|
|
7119
7329
|
'unicorn/no-loss-of-precision'?: Linter.RuleEntry<[]>;
|
|
7120
7330
|
/**
|
|
7121
7331
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
7122
|
-
* @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
|
|
7123
7333
|
*/
|
|
7124
7334
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>;
|
|
7125
7335
|
/**
|
|
7126
7336
|
* Disallow manually wrapped comments.
|
|
7127
|
-
* @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
|
|
7128
7338
|
*/
|
|
7129
7339
|
'unicorn/no-manually-wrapped-comments'?: Linter.RuleEntry<[]>;
|
|
7130
7340
|
/**
|
|
7131
7341
|
* Disallow checking a Map key before accessing a different key.
|
|
7132
|
-
* @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
|
|
7133
7343
|
*/
|
|
7134
7344
|
'unicorn/no-mismatched-map-key'?: Linter.RuleEntry<[]>;
|
|
7135
7345
|
/**
|
|
7136
7346
|
* Disallow misrefactored compound assignments where the target is duplicated in the right-hand side.
|
|
7137
|
-
* @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
|
|
7138
7348
|
*/
|
|
7139
7349
|
'unicorn/no-misrefactored-assignment'?: Linter.RuleEntry<[]>;
|
|
7140
7350
|
/**
|
|
7141
7351
|
* Disallow references to missing local resources.
|
|
7142
|
-
* @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
|
|
7143
7353
|
*/
|
|
7144
7354
|
'unicorn/no-missing-local-resource'?: Linter.RuleEntry<[]>;
|
|
7145
7355
|
/**
|
|
7146
7356
|
* Disallow calling Promise executor resolver functions more than once on the same execution path.
|
|
7147
|
-
* @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
|
|
7148
7358
|
*/
|
|
7149
7359
|
'unicorn/no-multiple-promise-resolver-calls'?: Linter.RuleEntry<[]>;
|
|
7150
7360
|
/**
|
|
7151
7361
|
* Disallow named usage of default import and export.
|
|
7152
|
-
* @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
|
|
7153
7363
|
*/
|
|
7154
7364
|
'unicorn/no-named-default'?: Linter.RuleEntry<[]>;
|
|
7155
7365
|
/**
|
|
7156
7366
|
* Disallow negated array predicate calls.
|
|
7157
|
-
* @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
|
|
7158
7368
|
*/
|
|
7159
7369
|
'unicorn/no-negated-array-predicate'?: Linter.RuleEntry<[]>;
|
|
7160
7370
|
/**
|
|
7161
7371
|
* Disallow negated comparisons.
|
|
7162
|
-
* @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
|
|
7163
7373
|
*/
|
|
7164
7374
|
'unicorn/no-negated-comparison'?: Linter.RuleEntry<UnicornNoNegatedComparison>;
|
|
7165
7375
|
/**
|
|
7166
7376
|
* Disallow negated conditions.
|
|
7167
|
-
* @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
|
|
7168
7378
|
*/
|
|
7169
7379
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>;
|
|
7170
7380
|
/**
|
|
7171
7381
|
* Disallow negated expression in equality check.
|
|
7172
|
-
* @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
|
|
7173
7383
|
*/
|
|
7174
7384
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>;
|
|
7175
7385
|
/**
|
|
7176
7386
|
* Disallow nested ternary expressions.
|
|
7177
|
-
* @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
|
|
7178
7388
|
*/
|
|
7179
7389
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>;
|
|
7180
7390
|
/**
|
|
7181
7391
|
* Moved to `eslint-cssicorn` as `cssicorn/no-nesting-with-mixed-specificity`.
|
|
7182
|
-
* @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
|
|
7183
7393
|
* @deprecated
|
|
7184
7394
|
*/
|
|
7185
7395
|
'unicorn/no-nesting-with-mixed-specificity'?: Linter.RuleEntry<[]>;
|
|
7186
7396
|
/**
|
|
7187
7397
|
* Disallow `new Array()`.
|
|
7188
|
-
* @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
|
|
7189
7399
|
*/
|
|
7190
7400
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>;
|
|
7191
7401
|
/**
|
|
7192
7402
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
7193
|
-
* @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
|
|
7194
7404
|
*/
|
|
7195
7405
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>;
|
|
7196
7406
|
/**
|
|
7197
7407
|
* Disallow non-function values with function-style verb prefixes.
|
|
7198
|
-
* @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
|
|
7199
7409
|
*/
|
|
7200
7410
|
'unicorn/no-non-function-verb-prefix'?: Linter.RuleEntry<UnicornNoNonFunctionVerbPrefix>;
|
|
7201
7411
|
/**
|
|
7202
7412
|
* Disallow non-standard properties on built-in objects.
|
|
7203
|
-
* @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
|
|
7204
7414
|
*/
|
|
7205
7415
|
'unicorn/no-nonstandard-builtin-properties'?: Linter.RuleEntry<[]>;
|
|
7206
7416
|
/**
|
|
7207
7417
|
* Disallow the use of the `null` literal.
|
|
7208
|
-
* @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
|
|
7209
7419
|
*/
|
|
7210
7420
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>;
|
|
7211
7421
|
/**
|
|
7212
7422
|
* Disallow the use of objects as default parameters.
|
|
7213
|
-
* @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
|
|
7214
7424
|
*/
|
|
7215
7425
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>;
|
|
7216
7426
|
/**
|
|
7217
7427
|
* Disallow `Object` methods with `Map` or `Set`.
|
|
7218
|
-
* @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
|
|
7219
7429
|
*/
|
|
7220
7430
|
'unicorn/no-object-methods-with-collections'?: Linter.RuleEntry<[]>;
|
|
7221
7431
|
/**
|
|
7222
7432
|
* Disallow optional chaining on undeclared variables.
|
|
7223
|
-
* @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
|
|
7224
7434
|
*/
|
|
7225
7435
|
'unicorn/no-optional-chaining-on-undeclared-variable'?: Linter.RuleEntry<[]>;
|
|
7226
7436
|
/**
|
|
7227
7437
|
* Disallow ineffective `preventDefault()` calls in passive event listeners.
|
|
7228
|
-
* @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
|
|
7229
7439
|
*/
|
|
7230
7440
|
'unicorn/no-prevent-default-in-passive-listener'?: Linter.RuleEntry<[]>;
|
|
7231
7441
|
/**
|
|
7232
7442
|
* Disallow `process.exit()`.
|
|
7233
|
-
* @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
|
|
7234
7444
|
*/
|
|
7235
7445
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>;
|
|
7236
7446
|
/**
|
|
7237
7447
|
* Disallow comparisons made redundant by an equality check in the same logical AND.
|
|
7238
|
-
* @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
|
|
7239
7449
|
*/
|
|
7240
7450
|
'unicorn/no-redundant-comparison'?: Linter.RuleEntry<[]>;
|
|
7241
7451
|
/**
|
|
7242
7452
|
* Moved to `eslint-cssicorn` as `cssicorn/no-redundant-nested-style-rules`.
|
|
7243
|
-
* @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
|
|
7244
7454
|
* @deprecated
|
|
7245
7455
|
*/
|
|
7246
7456
|
'unicorn/no-redundant-nested-style-rules'?: Linter.RuleEntry<[]>;
|
|
7457
|
+
/**
|
|
7458
|
+
* Disallow repeating the same wrapper at every call to a function.
|
|
7459
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-repeated-call-wrappers.md
|
|
7460
|
+
*/
|
|
7461
|
+
'unicorn/no-repeated-call-wrappers'?: Linter.RuleEntry<[]>;
|
|
7247
7462
|
/**
|
|
7248
7463
|
* Disallow using the return value of `Array#push()` and `Array#unshift()`.
|
|
7249
|
-
* @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
|
|
7250
7465
|
*/
|
|
7251
7466
|
'unicorn/no-return-array-push'?: Linter.RuleEntry<[]>;
|
|
7252
7467
|
/**
|
|
7253
7468
|
* Disallow selector syntax in DOM names.
|
|
7254
|
-
* @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
|
|
7255
7470
|
*/
|
|
7256
7471
|
'unicorn/no-selector-as-dom-name'?: Linter.RuleEntry<[]>;
|
|
7257
7472
|
/**
|
|
7258
7473
|
* Disallow shorthand properties that override related longhand properties.
|
|
7259
|
-
* @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
|
|
7260
7475
|
*/
|
|
7261
7476
|
'unicorn/no-shorthand-property-overrides'?: Linter.RuleEntry<[]>;
|
|
7262
7477
|
/**
|
|
7263
7478
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
7264
|
-
* @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
|
|
7265
7480
|
*/
|
|
7266
7481
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
7267
7482
|
/**
|
|
7268
7483
|
* Disallow classes that only have static members.
|
|
7269
|
-
* @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
|
|
7270
7485
|
*/
|
|
7271
7486
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>;
|
|
7272
7487
|
/**
|
|
7273
7488
|
* Prefer comparing values directly over subtracting and comparing to `0`.
|
|
7274
|
-
* @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
|
|
7275
7490
|
*/
|
|
7276
7491
|
'unicorn/no-subtraction-comparison'?: Linter.RuleEntry<[]>;
|
|
7277
7492
|
/**
|
|
7278
7493
|
* Disallow `then` property.
|
|
7279
|
-
* @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
|
|
7280
7495
|
*/
|
|
7281
7496
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>;
|
|
7282
7497
|
/**
|
|
7283
7498
|
* Disallow assigning `this` to a variable.
|
|
7284
|
-
* @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
|
|
7285
7500
|
*/
|
|
7286
7501
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>;
|
|
7287
7502
|
/**
|
|
7288
7503
|
* Disallow `this` outside of classes.
|
|
7289
|
-
* @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
|
|
7290
7505
|
*/
|
|
7291
7506
|
'unicorn/no-this-outside-of-class'?: Linter.RuleEntry<[]>;
|
|
7292
7507
|
/**
|
|
7293
7508
|
* Disallow assigning to top-level variables from inside functions.
|
|
7294
|
-
* @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
|
|
7295
7510
|
*/
|
|
7296
7511
|
'unicorn/no-top-level-assignment-in-function'?: Linter.RuleEntry<[]>;
|
|
7297
7512
|
/**
|
|
7298
7513
|
* Disallow top-level side effects in exported modules.
|
|
7299
|
-
* @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
|
|
7300
7515
|
*/
|
|
7301
|
-
'unicorn/no-top-level-side-effects'?: Linter.RuleEntry<
|
|
7516
|
+
'unicorn/no-top-level-side-effects'?: Linter.RuleEntry<UnicornNoTopLevelSideEffects>;
|
|
7302
7517
|
/**
|
|
7303
7518
|
* Disallow `all` as a transition property.
|
|
7304
|
-
* @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
|
|
7305
7520
|
*/
|
|
7306
7521
|
'unicorn/no-transition-all'?: Linter.RuleEntry<[]>;
|
|
7307
7522
|
/**
|
|
7308
7523
|
* Disallow comparing `undefined` using `typeof`.
|
|
7309
|
-
* @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
|
|
7310
7525
|
*/
|
|
7311
7526
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
|
|
7312
7527
|
/**
|
|
7313
7528
|
* Disallow referencing methods without calling them.
|
|
7314
|
-
* @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
|
|
7315
7530
|
*/
|
|
7316
7531
|
'unicorn/no-uncalled-method'?: Linter.RuleEntry<[]>;
|
|
7317
7532
|
/**
|
|
7318
7533
|
* Require class members to be declared.
|
|
7319
|
-
* @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
|
|
7320
7535
|
*/
|
|
7321
7536
|
'unicorn/no-undeclared-class-members'?: Linter.RuleEntry<[]>;
|
|
7322
7537
|
/**
|
|
7323
7538
|
* Moved to `eslint-cssicorn` as `cssicorn/no-unknown-annotations`.
|
|
7324
|
-
* @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
|
|
7325
7540
|
* @deprecated
|
|
7326
7541
|
*/
|
|
7327
7542
|
'unicorn/no-unknown-css-annotations'?: Linter.RuleEntry<[]>;
|
|
7328
7543
|
/**
|
|
7329
7544
|
* Moved to `eslint-cssicorn` as `cssicorn/no-unknown-pseudo-selectors`.
|
|
7330
|
-
* @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
|
|
7331
7546
|
* @deprecated
|
|
7332
7547
|
*/
|
|
7333
7548
|
'unicorn/no-unknown-pseudo-selectors'?: Linter.RuleEntry<[]>;
|
|
7334
7549
|
/**
|
|
7335
7550
|
* Disallow using `1` as the `depth` argument of `Array#flat()`.
|
|
7336
|
-
* @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
|
|
7337
7552
|
*/
|
|
7338
7553
|
'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>;
|
|
7339
7554
|
/**
|
|
7340
7555
|
* Disallow unnecessary use of `Array#flatMap()`.
|
|
7341
|
-
* @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
|
|
7342
7557
|
*/
|
|
7343
7558
|
'unicorn/no-unnecessary-array-flat-map'?: Linter.RuleEntry<[]>;
|
|
7344
7559
|
/**
|
|
7345
7560
|
* Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
|
|
7346
|
-
* @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
|
|
7347
7562
|
*/
|
|
7348
7563
|
'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>;
|
|
7349
7564
|
/**
|
|
7350
7565
|
* Disallow awaiting non-promise values.
|
|
7351
|
-
* @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
|
|
7352
7567
|
*/
|
|
7353
7568
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>;
|
|
7354
7569
|
/**
|
|
7355
7570
|
* Disallow unnecessary comparisons against boolean literals.
|
|
7356
|
-
* @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
|
|
7357
7572
|
*/
|
|
7358
7573
|
'unicorn/no-unnecessary-boolean-comparison'?: Linter.RuleEntry<[]>;
|
|
7574
|
+
/**
|
|
7575
|
+
* Disallow arguments that match their parameter defaults.
|
|
7576
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/no-unnecessary-default-arguments.md
|
|
7577
|
+
*/
|
|
7578
|
+
'unicorn/no-unnecessary-default-arguments'?: Linter.RuleEntry<[]>;
|
|
7359
7579
|
/**
|
|
7360
7580
|
* Disallow unnecessary options in `fetch()` and `new Request()`.
|
|
7361
|
-
* @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
|
|
7362
7582
|
*/
|
|
7363
7583
|
'unicorn/no-unnecessary-fetch-options'?: Linter.RuleEntry<[]>;
|
|
7364
7584
|
/**
|
|
7365
7585
|
* Disallow unnecessary `globalThis` references.
|
|
7366
|
-
* @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
|
|
7367
7587
|
*/
|
|
7368
7588
|
'unicorn/no-unnecessary-global-this'?: Linter.RuleEntry<[]>;
|
|
7369
7589
|
/**
|
|
7370
7590
|
* Disallow unnecessary nested ternary expressions.
|
|
7371
|
-
* @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
|
|
7372
7592
|
*/
|
|
7373
7593
|
'unicorn/no-unnecessary-nested-ternary'?: Linter.RuleEntry<[]>;
|
|
7374
7594
|
/**
|
|
7375
7595
|
* Disallow parameters that receive the same value at every call.
|
|
7376
|
-
* @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
|
|
7377
7597
|
*/
|
|
7378
7598
|
'unicorn/no-unnecessary-parameters'?: Linter.RuleEntry<UnicornNoUnnecessaryParameters>;
|
|
7379
7599
|
/**
|
|
7380
7600
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
7381
|
-
* @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
|
|
7382
7602
|
*/
|
|
7383
7603
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
|
|
7384
7604
|
/**
|
|
7385
7605
|
* Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
7386
|
-
* @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
|
|
7387
7607
|
*/
|
|
7388
7608
|
'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>;
|
|
7389
7609
|
/**
|
|
7390
7610
|
* Disallow `Array#splice()` when simpler alternatives exist.
|
|
7391
|
-
* @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
|
|
7392
7612
|
*/
|
|
7393
7613
|
'unicorn/no-unnecessary-splice'?: Linter.RuleEntry<[]>;
|
|
7394
7614
|
/**
|
|
7395
7615
|
* Disallow `String#trim()` before `String#startsWith()` or `String#endsWith()`.
|
|
7396
|
-
* @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
|
|
7397
7617
|
*/
|
|
7398
7618
|
'unicorn/no-unnecessary-string-trim'?: Linter.RuleEntry<[]>;
|
|
7399
7619
|
/**
|
|
7400
7620
|
* Disallow unreadable array destructuring.
|
|
7401
|
-
* @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
|
|
7402
7622
|
*/
|
|
7403
7623
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<UnicornNoUnreadableArrayDestructuring>;
|
|
7404
7624
|
/**
|
|
7405
7625
|
* Disallow unreadable iterable expressions in `for…of` and `for await…of` loop headers.
|
|
7406
|
-
* @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
|
|
7407
7627
|
*/
|
|
7408
7628
|
'unicorn/no-unreadable-for-of-expression'?: Linter.RuleEntry<[]>;
|
|
7409
7629
|
/**
|
|
7410
7630
|
* Disallow unreadable IIFEs.
|
|
7411
|
-
* @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
|
|
7412
7632
|
*/
|
|
7413
7633
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>;
|
|
7414
7634
|
/**
|
|
7415
7635
|
* Disallow unreadable `new` expressions.
|
|
7416
|
-
* @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
|
|
7417
7637
|
*/
|
|
7418
7638
|
'unicorn/no-unreadable-new-expression'?: Linter.RuleEntry<[]>;
|
|
7419
7639
|
/**
|
|
7420
7640
|
* Disallow unreadable object destructuring.
|
|
7421
|
-
* @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
|
|
7422
7642
|
*/
|
|
7423
7643
|
'unicorn/no-unreadable-object-destructuring'?: Linter.RuleEntry<[]>;
|
|
7424
7644
|
/**
|
|
7425
7645
|
* Prevent unsafe use of ArrayBuffer view `.buffer`.
|
|
7426
|
-
* @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
|
|
7427
7647
|
*/
|
|
7428
7648
|
'unicorn/no-unsafe-buffer-conversion'?: Linter.RuleEntry<[]>;
|
|
7429
7649
|
/**
|
|
7430
7650
|
* Disallow unsafe DOM HTML APIs.
|
|
7431
|
-
* @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
|
|
7432
7652
|
*/
|
|
7433
7653
|
'unicorn/no-unsafe-dom-html'?: Linter.RuleEntry<[]>;
|
|
7434
7654
|
/**
|
|
7435
7655
|
* Disallow known values that JSON serialization cannot represent faithfully.
|
|
7436
|
-
* @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
|
|
7437
7657
|
*/
|
|
7438
7658
|
'unicorn/no-unsafe-json-serialization'?: Linter.RuleEntry<[]>;
|
|
7439
7659
|
/**
|
|
7440
7660
|
* Disallow reading `.value` from `Promise.allSettled()` results without a fulfilled status guard.
|
|
7441
|
-
* @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
|
|
7442
7662
|
*/
|
|
7443
7663
|
'unicorn/no-unsafe-promise-all-settled-values'?: Linter.RuleEntry<[]>;
|
|
7444
7664
|
/**
|
|
7445
7665
|
* Disallow unsafe values as property keys.
|
|
7446
|
-
* @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
|
|
7447
7667
|
*/
|
|
7448
7668
|
'unicorn/no-unsafe-property-key'?: Linter.RuleEntry<[]>;
|
|
7449
7669
|
/**
|
|
7450
7670
|
* Disallow interpolation into SQL strings passed to Node’s `node:sqlite` APIs.
|
|
7451
|
-
* @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
|
|
7452
7672
|
*/
|
|
7453
7673
|
'unicorn/no-unsafe-sqlite-interpolation'?: Linter.RuleEntry<[]>;
|
|
7454
7674
|
/**
|
|
7455
7675
|
* Disallow non-literal replacement values in `String#replace()` and `String#replaceAll()`.
|
|
7456
|
-
* @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
|
|
7457
7677
|
*/
|
|
7458
7678
|
'unicorn/no-unsafe-string-replacement'?: Linter.RuleEntry<[]>;
|
|
7459
7679
|
/**
|
|
7460
7680
|
* Moved to `eslint-cssicorn` as `cssicorn/no-unscoped-nesting-selector`.
|
|
7461
|
-
* @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
|
|
7462
7682
|
* @deprecated
|
|
7463
7683
|
*/
|
|
7464
7684
|
'unicorn/no-unscoped-css-nesting-selector'?: Linter.RuleEntry<[]>;
|
|
7465
7685
|
/**
|
|
7466
7686
|
* Replaced by `unicorn/no-unused-builtin-method-return` which covers more cases.
|
|
7467
|
-
* @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
|
|
7468
7688
|
* @deprecated
|
|
7469
7689
|
*/
|
|
7470
7690
|
'unicorn/no-unused-array-method-return'?: Linter.RuleEntry<[]>;
|
|
7471
7691
|
/**
|
|
7472
7692
|
* Disallow ignoring the return value of selected built-in methods.
|
|
7473
|
-
* @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
|
|
7474
7694
|
*/
|
|
7475
7695
|
'unicorn/no-unused-builtin-method-return'?: Linter.RuleEntry<[]>;
|
|
7476
7696
|
/**
|
|
7477
7697
|
* Disallow discarding lazy iterator helpers.
|
|
7478
|
-
* @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
|
|
7479
7699
|
*/
|
|
7480
7700
|
'unicorn/no-unused-iterator-helper'?: Linter.RuleEntry<[]>;
|
|
7481
7701
|
/**
|
|
7482
7702
|
* Disallow unused object properties.
|
|
7483
|
-
* @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
|
|
7484
7704
|
*/
|
|
7485
7705
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>;
|
|
7486
7706
|
/**
|
|
7487
7707
|
* Disallow passing full URLs to `URLSearchParams`.
|
|
7488
|
-
* @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
|
|
7489
7709
|
*/
|
|
7490
7710
|
'unicorn/no-url-in-search-params'?: Linter.RuleEntry<[]>;
|
|
7491
7711
|
/**
|
|
7492
7712
|
* Disallow unnecessary `Boolean()` casts in array predicate callbacks.
|
|
7493
|
-
* @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
|
|
7494
7714
|
*/
|
|
7495
7715
|
'unicorn/no-useless-boolean-cast'?: Linter.RuleEntry<[]>;
|
|
7496
7716
|
/**
|
|
7497
7717
|
* Disallow useless type coercions of values that are already of the target type.
|
|
7498
|
-
* @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
|
|
7499
7719
|
*/
|
|
7500
7720
|
'unicorn/no-useless-coercion'?: Linter.RuleEntry<[]>;
|
|
7501
7721
|
/**
|
|
7502
7722
|
* Disallow useless values or fallbacks in `Set`, `Map`, `WeakSet`, or `WeakMap`.
|
|
7503
|
-
* @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
|
|
7504
7724
|
*/
|
|
7505
7725
|
'unicorn/no-useless-collection-argument'?: Linter.RuleEntry<[]>;
|
|
7506
7726
|
/**
|
|
7507
7727
|
* Disallow useless compound assignments such as `x += 0`.
|
|
7508
|
-
* @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
|
|
7509
7729
|
*/
|
|
7510
7730
|
'unicorn/no-useless-compound-assignment'?: Linter.RuleEntry<[]>;
|
|
7511
7731
|
/**
|
|
7512
7732
|
* Disallow useless concatenation of literals.
|
|
7513
|
-
* @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
|
|
7514
7734
|
*/
|
|
7515
7735
|
'unicorn/no-useless-concat'?: Linter.RuleEntry<[]>;
|
|
7516
7736
|
/**
|
|
7517
7737
|
* Disallow useless `continue` statements.
|
|
7518
|
-
* @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
|
|
7519
7739
|
*/
|
|
7520
7740
|
'unicorn/no-useless-continue'?: Linter.RuleEntry<[]>;
|
|
7521
7741
|
/**
|
|
7522
7742
|
* Disallow unnecessary existence checks before deletion.
|
|
7523
|
-
* @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
|
|
7524
7744
|
*/
|
|
7525
7745
|
'unicorn/no-useless-delete-check'?: Linter.RuleEntry<[]>;
|
|
7526
7746
|
/**
|
|
7527
7747
|
* Disallow `else` after a statement that exits.
|
|
7528
|
-
* @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
|
|
7529
7749
|
*/
|
|
7530
7750
|
'unicorn/no-useless-else'?: Linter.RuleEntry<[]>;
|
|
7531
7751
|
/**
|
|
7532
7752
|
* Disallow unnecessary `Error.captureStackTrace(…)`.
|
|
7533
|
-
* @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
|
|
7534
7754
|
*/
|
|
7535
7755
|
'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>;
|
|
7536
7756
|
/**
|
|
7537
7757
|
* Disallow useless fallback when spreading in object literals.
|
|
7538
|
-
* @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
|
|
7539
7759
|
*/
|
|
7540
7760
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>;
|
|
7541
7761
|
/**
|
|
7542
7762
|
* Disallow unnecessary `.toArray()` on iterators.
|
|
7543
|
-
* @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
|
|
7544
7764
|
*/
|
|
7545
7765
|
'unicorn/no-useless-iterator-to-array'?: Linter.RuleEntry<[]>;
|
|
7546
7766
|
/**
|
|
7547
7767
|
* Disallow useless array length check.
|
|
7548
|
-
* @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
|
|
7549
7769
|
*/
|
|
7550
7770
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>;
|
|
7551
7771
|
/**
|
|
7552
7772
|
* Disallow unnecessary operands in logical expressions involving boolean literals.
|
|
7553
|
-
* @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
|
|
7554
7774
|
*/
|
|
7555
7775
|
'unicorn/no-useless-logical-operand'?: Linter.RuleEntry<[]>;
|
|
7556
7776
|
/**
|
|
7557
7777
|
* Disallow useless overrides of class methods.
|
|
7558
|
-
* @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
|
|
7559
7779
|
*/
|
|
7560
7780
|
'unicorn/no-useless-override'?: Linter.RuleEntry<[]>;
|
|
7561
7781
|
/**
|
|
7562
7782
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
7563
|
-
* @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
|
|
7564
7784
|
*/
|
|
7565
7785
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>;
|
|
7566
7786
|
/**
|
|
7567
7787
|
* Disallow redundant re-exports.
|
|
7568
|
-
* @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
|
|
7569
7789
|
*/
|
|
7570
7790
|
'unicorn/no-useless-re-export'?: Linter.RuleEntry<[]>;
|
|
7571
7791
|
/**
|
|
7572
7792
|
* Disallow simple recursive function calls that can be replaced with a loop.
|
|
7573
|
-
* @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
|
|
7574
7794
|
*/
|
|
7575
7795
|
'unicorn/no-useless-recursion'?: Linter.RuleEntry<[]>;
|
|
7576
7796
|
/**
|
|
7577
7797
|
* Disallow unnecessary `Set` construction around `Set` methods.
|
|
7578
|
-
* @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
|
|
7579
7799
|
*/
|
|
7580
7800
|
'unicorn/no-useless-set-construction'?: Linter.RuleEntry<[]>;
|
|
7581
7801
|
/**
|
|
7582
7802
|
* Disallow unnecessary spread.
|
|
7583
|
-
* @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
|
|
7584
7804
|
*/
|
|
7585
7805
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>;
|
|
7586
7806
|
/**
|
|
7587
7807
|
* Disallow useless case in switch statements.
|
|
7588
|
-
* @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
|
|
7589
7809
|
*/
|
|
7590
7810
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>;
|
|
7591
7811
|
/**
|
|
7592
7812
|
* Disallow useless template literal expressions.
|
|
7593
|
-
* @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
|
|
7594
7814
|
*/
|
|
7595
7815
|
'unicorn/no-useless-template-literals'?: Linter.RuleEntry<[]>;
|
|
7596
7816
|
/**
|
|
7597
7817
|
* Disallow useless `undefined`.
|
|
7598
|
-
* @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
|
|
7599
7819
|
*/
|
|
7600
7820
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>;
|
|
7601
7821
|
/**
|
|
7602
7822
|
* Disallow returning or exporting resources declared with `using`, including through capturing functions.
|
|
7603
|
-
* @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
|
|
7604
7824
|
*/
|
|
7605
7825
|
'unicorn/no-using-resource-escape'?: Linter.RuleEntry<[]>;
|
|
7606
7826
|
/**
|
|
7607
7827
|
* Disallow the bitwise XOR operator where exponentiation was likely intended.
|
|
7608
|
-
* @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
|
|
7609
7829
|
*/
|
|
7610
7830
|
'unicorn/no-xor-as-exponentiation'?: Linter.RuleEntry<[]>;
|
|
7611
7831
|
/**
|
|
7612
7832
|
* Require consistent decimal numbers without redundant zeros.
|
|
7613
|
-
* @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
|
|
7614
7834
|
*/
|
|
7615
7835
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>;
|
|
7616
7836
|
/**
|
|
7617
7837
|
* Enforce proper case for numeric literals.
|
|
7618
|
-
* @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
|
|
7619
7839
|
*/
|
|
7620
7840
|
'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>;
|
|
7621
7841
|
/**
|
|
7622
7842
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
7623
|
-
* @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
|
|
7624
7844
|
*/
|
|
7625
7845
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
|
|
7626
7846
|
/**
|
|
7627
7847
|
* Require assignment operator shorthand where possible.
|
|
7628
|
-
* @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
|
|
7629
7849
|
*/
|
|
7630
7850
|
'unicorn/operator-assignment'?: Linter.RuleEntry<UnicornOperatorAssignment>;
|
|
7631
7851
|
/**
|
|
7632
7852
|
* Prefer `AbortSignal.any()` over manually forwarding abort events between signals.
|
|
7633
|
-
* @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
|
|
7634
7854
|
*/
|
|
7635
7855
|
'unicorn/prefer-abort-signal-any'?: Linter.RuleEntry<[]>;
|
|
7636
7856
|
/**
|
|
7637
7857
|
* Prefer `AbortSignal.timeout()` over manually aborting an `AbortController` with `setTimeout()`.
|
|
7638
|
-
* @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
|
|
7639
7859
|
*/
|
|
7640
7860
|
'unicorn/prefer-abort-signal-timeout'?: Linter.RuleEntry<[]>;
|
|
7641
7861
|
/**
|
|
7642
7862
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
7643
|
-
* @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
|
|
7644
7864
|
*/
|
|
7645
7865
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>;
|
|
7646
7866
|
/**
|
|
7647
7867
|
* Prefer an options object over a boolean in `.addEventListener()`.
|
|
7648
|
-
* @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
|
|
7649
7869
|
*/
|
|
7650
7870
|
'unicorn/prefer-add-event-listener-options'?: Linter.RuleEntry<[]>;
|
|
7651
7871
|
/**
|
|
7652
7872
|
* Prefer `AggregateError` when throwing collected errors.
|
|
7653
|
-
* @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
|
|
7654
7874
|
*/
|
|
7655
7875
|
'unicorn/prefer-aggregate-error'?: Linter.RuleEntry<[]>;
|
|
7656
7876
|
/**
|
|
7657
7877
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
7658
|
-
* @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
|
|
7659
7879
|
*/
|
|
7660
7880
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>;
|
|
7661
7881
|
/**
|
|
7662
7882
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
7663
|
-
* @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
|
|
7664
7884
|
*/
|
|
7665
7885
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>;
|
|
7666
7886
|
/**
|
|
7667
7887
|
* Prefer `.flatMap(…)` over `.map(…).flat()` and `.filter(…).flatMap(…)`.
|
|
7668
|
-
* @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
|
|
7669
7889
|
*/
|
|
7670
7890
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>;
|
|
7671
7891
|
/**
|
|
7672
7892
|
* Prefer `Array.fromAsync()` over array accumulation loops.
|
|
7673
|
-
* @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
|
|
7674
7894
|
*/
|
|
7675
7895
|
'unicorn/prefer-array-from-async'?: Linter.RuleEntry<[]>;
|
|
7676
7896
|
/**
|
|
7677
7897
|
* Prefer using the `Array.from()` mapping function argument.
|
|
7678
|
-
* @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
|
|
7679
7899
|
*/
|
|
7680
7900
|
'unicorn/prefer-array-from-map'?: Linter.RuleEntry<[]>;
|
|
7681
7901
|
/**
|
|
7682
7902
|
* Prefer `Array.from({length}, …)` when creating range arrays.
|
|
7683
|
-
* @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
|
|
7684
7904
|
*/
|
|
7685
7905
|
'unicorn/prefer-array-from-range'?: Linter.RuleEntry<[]>;
|
|
7686
7906
|
/**
|
|
7687
7907
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
7688
|
-
* @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
|
|
7689
7909
|
*/
|
|
7690
7910
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>;
|
|
7691
7911
|
/**
|
|
7692
7912
|
* Prefer iterating an array directly or with `Array#keys()` over `Array#entries()` when the index or value is unused.
|
|
7693
|
-
* @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
|
|
7694
7914
|
*/
|
|
7695
7915
|
'unicorn/prefer-array-iterable-methods'?: Linter.RuleEntry<[]>;
|
|
7696
7916
|
/**
|
|
7697
7917
|
* Prefer last-oriented array methods over `Array#reverse()` or `Array#toReversed()` followed by a method.
|
|
7698
|
-
* @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
|
|
7699
7919
|
*/
|
|
7700
7920
|
'unicorn/prefer-array-last-methods'?: Linter.RuleEntry<[]>;
|
|
7701
7921
|
/**
|
|
7702
7922
|
* Prefer `Array#slice()` over `Array#splice()` when reading from the returned array.
|
|
7703
|
-
* @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
|
|
7704
7924
|
*/
|
|
7705
7925
|
'unicorn/prefer-array-slice'?: Linter.RuleEntry<[]>;
|
|
7706
7926
|
/**
|
|
7707
7927
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
7708
|
-
* @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
|
|
7709
7929
|
*/
|
|
7710
7930
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>;
|
|
7711
7931
|
/**
|
|
7712
7932
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
7713
|
-
* @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
|
|
7714
7934
|
*/
|
|
7715
7935
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>;
|
|
7716
7936
|
/**
|
|
7717
7937
|
* Prefer `await` over promise chaining.
|
|
7718
|
-
* @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
|
|
7719
7939
|
*/
|
|
7720
7940
|
'unicorn/prefer-await'?: Linter.RuleEntry<[]>;
|
|
7721
7941
|
/**
|
|
7722
7942
|
* Prefer `BigInt` literals over the constructor.
|
|
7723
|
-
* @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
|
|
7724
7944
|
*/
|
|
7725
7945
|
'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>;
|
|
7726
7946
|
/**
|
|
7727
7947
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
7728
|
-
* @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
|
|
7729
7949
|
*/
|
|
7730
7950
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>;
|
|
7731
7951
|
/**
|
|
7732
7952
|
* Prefer block statements over IIFEs used only for scoping.
|
|
7733
|
-
* @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
|
|
7734
7954
|
*/
|
|
7735
7955
|
'unicorn/prefer-block-statement-over-iife'?: Linter.RuleEntry<[]>;
|
|
7736
7956
|
/**
|
|
7737
7957
|
* Prefer directly returning boolean expressions over `if` statements.
|
|
7738
|
-
* @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
|
|
7739
7959
|
*/
|
|
7740
7960
|
'unicorn/prefer-boolean-return'?: Linter.RuleEntry<[]>;
|
|
7741
7961
|
/**
|
|
7742
7962
|
* Prefer class field declarations over `this` assignments in constructors.
|
|
7743
|
-
* @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
|
|
7744
7964
|
*/
|
|
7745
7965
|
'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>;
|
|
7746
7966
|
/**
|
|
7747
7967
|
* Prefer using `Element#classList.toggle()` to toggle class names.
|
|
7748
|
-
* @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
|
|
7749
7969
|
*/
|
|
7750
7970
|
'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>;
|
|
7751
7971
|
/**
|
|
7752
7972
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
7753
|
-
* @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
|
|
7754
7974
|
*/
|
|
7755
7975
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>;
|
|
7756
7976
|
/**
|
|
7757
7977
|
* Prefer combining consecutive guards with identical exit statements.
|
|
7758
|
-
* @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
|
|
7759
7979
|
*/
|
|
7760
7980
|
'unicorn/prefer-combined-guards'?: Linter.RuleEntry<UnicornPreferCombinedGuards>;
|
|
7761
7981
|
/**
|
|
7762
7982
|
* Prefer early continues over conditionals wrapping the remainder of the loop body.
|
|
7763
|
-
* @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
|
|
7764
7984
|
*/
|
|
7765
7985
|
'unicorn/prefer-continue'?: Linter.RuleEntry<UnicornPreferContinue>;
|
|
7766
7986
|
/**
|
|
7767
7987
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
7768
|
-
* @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
|
|
7769
7989
|
*/
|
|
7770
7990
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>;
|
|
7771
7991
|
/**
|
|
7772
7992
|
* Prefer default parameters and destructuring defaults over reassignment and fallback expressions.
|
|
7773
|
-
* @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
|
|
7774
7994
|
*/
|
|
7775
|
-
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<
|
|
7995
|
+
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<UnicornPreferDefaultParameters>;
|
|
7776
7996
|
/**
|
|
7777
7997
|
* Prefer direct iteration over default iterator method calls.
|
|
7778
|
-
* @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
|
|
7779
7999
|
*/
|
|
7780
8000
|
'unicorn/prefer-direct-iteration'?: Linter.RuleEntry<[]>;
|
|
7781
8001
|
/**
|
|
7782
8002
|
* Prefer using `using`/`await using` over manual `try`/`finally` resource disposal.
|
|
7783
|
-
* @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
|
|
7784
8004
|
*/
|
|
7785
8005
|
'unicorn/prefer-dispose'?: Linter.RuleEntry<[]>;
|
|
7786
8006
|
/**
|
|
7787
8007
|
* Prefer `Element#append()` over `Node#appendChild()`.
|
|
7788
|
-
* @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
|
|
7789
8009
|
*/
|
|
7790
8010
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>;
|
|
7791
8011
|
/**
|
|
7792
8012
|
* Renamed to `unicorn/dom-node-dataset`.
|
|
7793
|
-
* @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
|
|
7794
8014
|
* @deprecated
|
|
7795
8015
|
*/
|
|
7796
8016
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>;
|
|
7797
8017
|
/**
|
|
7798
8018
|
* Prefer `.getHTML()` and `.setHTML()` over `.innerHTML`.
|
|
7799
|
-
* @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
|
|
7800
8020
|
*/
|
|
7801
8021
|
'unicorn/prefer-dom-node-html-methods'?: Linter.RuleEntry<UnicornPreferDomNodeHtmlMethods>;
|
|
7802
8022
|
/**
|
|
7803
8023
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
7804
|
-
* @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
|
|
7805
8025
|
*/
|
|
7806
8026
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>;
|
|
7807
8027
|
/**
|
|
7808
8028
|
* Prefer `.replaceChildren()` when replacing DOM children.
|
|
7809
|
-
* @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
|
|
7810
8030
|
*/
|
|
7811
8031
|
'unicorn/prefer-dom-node-replace-children'?: Linter.RuleEntry<[]>;
|
|
7812
8032
|
/**
|
|
7813
8033
|
* Prefer `.textContent` over `.innerText`.
|
|
7814
|
-
* @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
|
|
7815
8035
|
*/
|
|
7816
8036
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>;
|
|
7817
8037
|
/**
|
|
7818
8038
|
* Prefer early returns over conditionals wrapping the remainder of the function body.
|
|
7819
|
-
* @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
|
|
7820
8040
|
*/
|
|
7821
8041
|
'unicorn/prefer-early-return'?: Linter.RuleEntry<UnicornPreferEarlyReturn>;
|
|
7822
8042
|
/**
|
|
7823
8043
|
* Prefer `else if` over adjacent `if` statements with related conditions.
|
|
7824
|
-
* @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
|
|
7825
8045
|
*/
|
|
7826
8046
|
'unicorn/prefer-else-if'?: Linter.RuleEntry<[]>;
|
|
7827
8047
|
/**
|
|
7828
8048
|
* Prefer `Error.isError()` when checking for errors.
|
|
7829
|
-
* @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
|
|
7830
8050
|
*/
|
|
7831
8051
|
'unicorn/prefer-error-is-error'?: Linter.RuleEntry<[]>;
|
|
7832
8052
|
/**
|
|
7833
8053
|
* Prefer escape sequences for irregular whitespace characters.
|
|
7834
|
-
* @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
|
|
7835
8055
|
*/
|
|
7836
8056
|
'unicorn/prefer-escaped-irregular-whitespace'?: Linter.RuleEntry<[]>;
|
|
7837
8057
|
/**
|
|
7838
8058
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
7839
|
-
* @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
|
|
7840
8060
|
*/
|
|
7841
8061
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>;
|
|
7842
8062
|
/**
|
|
7843
8063
|
* Moved to `eslint-cssicorn` as `cssicorn/prefer-explicit-viewport-units`.
|
|
7844
|
-
* @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
|
|
7845
8065
|
* @deprecated
|
|
7846
8066
|
*/
|
|
7847
8067
|
'unicorn/prefer-explicit-viewport-units'?: Linter.RuleEntry<[]>;
|
|
7848
8068
|
/**
|
|
7849
8069
|
* Prefer `export…from` when re-exporting.
|
|
7850
|
-
* @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
|
|
7851
8071
|
*/
|
|
7852
8072
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>;
|
|
7853
8073
|
/**
|
|
7854
8074
|
* Prefer flat `Math.min()` and `Math.max()` calls over nested calls.
|
|
7855
|
-
* @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
|
|
7856
8076
|
*/
|
|
7857
8077
|
'unicorn/prefer-flat-math-min-max'?: Linter.RuleEntry<[]>;
|
|
7858
8078
|
/**
|
|
7859
8079
|
* Prefer `.getOrInsertComputed()` when the default value has side effects.
|
|
7860
|
-
* @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
|
|
7861
8081
|
*/
|
|
7862
8082
|
'unicorn/prefer-get-or-insert-computed'?: Linter.RuleEntry<[]>;
|
|
7863
8083
|
/**
|
|
7864
8084
|
* Prefer global numeric constants over `Number` static properties.
|
|
7865
|
-
* @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
|
|
7866
8086
|
*/
|
|
7867
8087
|
'unicorn/prefer-global-number-constants'?: Linter.RuleEntry<[]>;
|
|
7868
8088
|
/**
|
|
7869
8089
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
7870
|
-
* @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
|
|
7871
8091
|
*/
|
|
7872
8092
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>;
|
|
7873
8093
|
/**
|
|
7874
8094
|
* Prefer `Object.groupBy()` or `Map.groupBy()` over manual grouping.
|
|
7875
|
-
* @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
|
|
7876
8096
|
*/
|
|
7877
8097
|
'unicorn/prefer-group-by'?: Linter.RuleEntry<[]>;
|
|
7878
8098
|
/**
|
|
7879
8099
|
* Prefer `.has()` when checking existence.
|
|
7880
|
-
* @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
|
|
7881
8101
|
*/
|
|
7882
8102
|
'unicorn/prefer-has-check'?: Linter.RuleEntry<[]>;
|
|
7883
8103
|
/**
|
|
7884
8104
|
* Prefer moving code shared by all branches of an `if` statement out of the branches.
|
|
7885
|
-
* @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
|
|
7886
8106
|
*/
|
|
7887
8107
|
'unicorn/prefer-hoisting-branch-code'?: Linter.RuleEntry<[]>;
|
|
7888
8108
|
/**
|
|
7889
8109
|
* Prefer HTTPS over HTTP.
|
|
7890
|
-
* @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
|
|
7891
8111
|
*/
|
|
7892
8112
|
'unicorn/prefer-https'?: Linter.RuleEntry<UnicornPreferHttps>;
|
|
7893
8113
|
/**
|
|
7894
8114
|
* Prefer identifiers over string literals in import and export specifiers.
|
|
7895
|
-
* @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
|
|
7896
8116
|
*/
|
|
7897
8117
|
'unicorn/prefer-identifier-import-export-specifiers'?: Linter.RuleEntry<[]>;
|
|
7898
8118
|
/**
|
|
7899
8119
|
* Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
|
|
7900
|
-
* @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
|
|
7901
8121
|
*/
|
|
7902
8122
|
'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>;
|
|
7903
8123
|
/**
|
|
7904
8124
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
7905
|
-
* @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
|
|
7906
8126
|
*/
|
|
7907
8127
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>;
|
|
7908
8128
|
/**
|
|
7909
8129
|
* Prefer `.includes()` over repeated equality comparisons.
|
|
7910
|
-
* @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
|
|
7911
8131
|
*/
|
|
7912
8132
|
'unicorn/prefer-includes-over-repeated-comparisons'?: Linter.RuleEntry<UnicornPreferIncludesOverRepeatedComparisons>;
|
|
7913
8133
|
/**
|
|
7914
8134
|
* Prefer passing iterables directly to constructors instead of filling empty collections.
|
|
7915
|
-
* @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
|
|
7916
8136
|
*/
|
|
7917
8137
|
'unicorn/prefer-iterable-in-constructor'?: Linter.RuleEntry<[]>;
|
|
7918
8138
|
/**
|
|
7919
8139
|
* Prefer `Iterator.concat(…)` over temporary spread arrays.
|
|
7920
|
-
* @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
|
|
7921
8141
|
*/
|
|
7922
8142
|
'unicorn/prefer-iterator-concat'?: Linter.RuleEntry<[]>;
|
|
7923
8143
|
/**
|
|
7924
8144
|
* Prefer iterator helpers over temporary arrays from iterators.
|
|
7925
|
-
* @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
|
|
7926
8146
|
*/
|
|
7927
8147
|
'unicorn/prefer-iterator-helpers'?: Linter.RuleEntry<[]>;
|
|
7928
8148
|
/**
|
|
7929
8149
|
* Prefer `Iterator#toArray()` over temporary arrays from iterator spreads.
|
|
7930
|
-
* @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
|
|
7931
8151
|
*/
|
|
7932
8152
|
'unicorn/prefer-iterator-to-array'?: Linter.RuleEntry<[]>;
|
|
7933
8153
|
/**
|
|
7934
8154
|
* Prefer moving `.toArray()` to the end of iterator helper chains.
|
|
7935
|
-
* @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
|
|
7936
8156
|
*/
|
|
7937
8157
|
'unicorn/prefer-iterator-to-array-at-end'?: Linter.RuleEntry<[]>;
|
|
7938
8158
|
/**
|
|
7939
8159
|
* Prefer `Iterator.zip()` over parallel-array indexing.
|
|
7940
|
-
* @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
|
|
7941
8161
|
*/
|
|
7942
8162
|
'unicorn/prefer-iterator-zip'?: Linter.RuleEntry<[]>;
|
|
7943
8163
|
/**
|
|
7944
8164
|
* Prefer JSON imports over reading and parsing JSON files.
|
|
7945
|
-
* @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
|
|
7946
8166
|
*/
|
|
7947
8167
|
'unicorn/prefer-json-import'?: Linter.RuleEntry<[]>;
|
|
7948
8168
|
/**
|
|
7949
8169
|
* Renamed to `unicorn/consistent-json-file-read`.
|
|
7950
|
-
* @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
|
|
7951
8171
|
* @deprecated
|
|
7952
8172
|
*/
|
|
7953
8173
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>;
|
|
7954
8174
|
/**
|
|
7955
8175
|
* Prefer `KeyboardEvent#key` over deprecated keyboard event properties.
|
|
7956
|
-
* @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
|
|
7957
8177
|
*/
|
|
7958
8178
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>;
|
|
7959
8179
|
/**
|
|
7960
8180
|
* Prefer literal printable ASCII characters over escape sequences.
|
|
7961
|
-
* @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
|
|
7962
8182
|
*/
|
|
7963
8183
|
'unicorn/prefer-literal-ascii'?: Linter.RuleEntry<[]>;
|
|
7964
8184
|
/**
|
|
7965
8185
|
* Prefer `location.assign()` over assigning to `location.href`.
|
|
7966
|
-
* @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
|
|
7967
8187
|
*/
|
|
7968
8188
|
'unicorn/prefer-location-assign'?: Linter.RuleEntry<[]>;
|
|
7969
8189
|
/**
|
|
7970
8190
|
* Prefer using a logical operator over a ternary.
|
|
7971
|
-
* @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
|
|
7972
8192
|
*/
|
|
7973
8193
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>;
|
|
7974
8194
|
/**
|
|
7975
8195
|
* Prefer `new Map()` over `Object.fromEntries()` when using the result as a map.
|
|
7976
|
-
* @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
|
|
7977
8197
|
*/
|
|
7978
8198
|
'unicorn/prefer-map-from-entries'?: Linter.RuleEntry<[]>;
|
|
7979
8199
|
/**
|
|
7980
8200
|
* Prefer `Math.abs()` over manual absolute value expressions and symmetric range checks.
|
|
7981
|
-
* @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
|
|
7982
8202
|
*/
|
|
7983
8203
|
'unicorn/prefer-math-abs'?: Linter.RuleEntry<[]>;
|
|
7984
8204
|
/**
|
|
7985
8205
|
* Prefer `Math` constants over their approximate numeric values.
|
|
7986
|
-
* @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
|
|
7987
8207
|
*/
|
|
7988
8208
|
'unicorn/prefer-math-constants'?: Linter.RuleEntry<[]>;
|
|
7989
8209
|
/**
|
|
7990
8210
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
7991
|
-
* @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
|
|
7992
8212
|
*/
|
|
7993
8213
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>;
|
|
7994
8214
|
/**
|
|
7995
8215
|
* Prefer `Math.trunc()` for truncating numbers.
|
|
7996
|
-
* @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
|
|
7997
8217
|
*/
|
|
7998
8218
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>;
|
|
7999
8219
|
/**
|
|
8000
8220
|
* Moved to `eslint-cssicorn` as `cssicorn/prefer-media-feature-range-syntax`.
|
|
8001
|
-
* @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
|
|
8002
8222
|
* @deprecated
|
|
8003
8223
|
*/
|
|
8004
8224
|
'unicorn/prefer-media-feature-range-syntax'?: Linter.RuleEntry<[]>;
|
|
8005
8225
|
/**
|
|
8006
8226
|
* Prefer moving ternaries into the minimal varying part of an expression.
|
|
8007
|
-
* @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
|
|
8008
8228
|
*/
|
|
8009
8229
|
'unicorn/prefer-minimal-ternary'?: Linter.RuleEntry<UnicornPreferMinimalTernary>;
|
|
8010
8230
|
/**
|
|
8011
8231
|
* Prefer modern DOM APIs.
|
|
8012
|
-
* @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
|
|
8013
8233
|
*/
|
|
8014
8234
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>;
|
|
8015
8235
|
/**
|
|
8016
8236
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
8017
|
-
* @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
|
|
8018
8238
|
*/
|
|
8019
8239
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>;
|
|
8020
8240
|
/**
|
|
8021
8241
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
8022
|
-
* @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
|
|
8023
8243
|
*/
|
|
8024
8244
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>;
|
|
8025
8245
|
/**
|
|
8026
8246
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
8027
|
-
* @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
|
|
8028
8248
|
*/
|
|
8029
8249
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>;
|
|
8030
8250
|
/**
|
|
8031
8251
|
* Prefer negative index over `.length - index` when possible.
|
|
8032
|
-
* @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
|
|
8033
8253
|
*/
|
|
8034
8254
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>;
|
|
8035
8255
|
/**
|
|
8036
8256
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
8037
|
-
* @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
|
|
8038
8258
|
*/
|
|
8039
8259
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>;
|
|
8040
8260
|
/**
|
|
8041
8261
|
* Prefer `Number()` over `parseFloat()` and base-10 `parseInt()`.
|
|
8042
|
-
* @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
|
|
8043
8263
|
*/
|
|
8044
8264
|
'unicorn/prefer-number-coercion'?: Linter.RuleEntry<[]>;
|
|
8045
8265
|
/**
|
|
8046
8266
|
* Prefer `Number.isSafeInteger()` over integer checks.
|
|
8047
|
-
* @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
|
|
8048
8268
|
*/
|
|
8049
8269
|
'unicorn/prefer-number-is-safe-integer'?: Linter.RuleEntry<[]>;
|
|
8050
8270
|
/**
|
|
8051
8271
|
* Prefer `Number` static methods over global functions and optionally static properties over global constants.
|
|
8052
|
-
* @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
|
|
8053
8273
|
*/
|
|
8054
8274
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>;
|
|
8055
8275
|
/**
|
|
8056
8276
|
* Prefer `Object.defineProperties()` over multiple `Object.defineProperty()` calls.
|
|
8057
|
-
* @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
|
|
8058
8278
|
*/
|
|
8059
8279
|
'unicorn/prefer-object-define-properties'?: Linter.RuleEntry<[]>;
|
|
8060
8280
|
/**
|
|
8061
8281
|
* Prefer object destructuring defaults over default object literals with spread.
|
|
8062
|
-
* @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
|
|
8063
8283
|
*/
|
|
8064
8284
|
'unicorn/prefer-object-destructuring-defaults'?: Linter.RuleEntry<[]>;
|
|
8065
8285
|
/**
|
|
8066
8286
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
8067
|
-
* @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
|
|
8068
8288
|
*/
|
|
8069
8289
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
|
|
8070
8290
|
/**
|
|
8071
8291
|
* Prefer the most specific `Object` iterable method.
|
|
8072
|
-
* @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
|
|
8073
8293
|
*/
|
|
8074
8294
|
'unicorn/prefer-object-iterable-methods'?: Linter.RuleEntry<[]>;
|
|
8075
8295
|
/**
|
|
8076
8296
|
* Prefer observer APIs over resize and scroll listeners with layout reads.
|
|
8077
|
-
* @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
|
|
8078
8298
|
*/
|
|
8079
8299
|
'unicorn/prefer-observer-apis'?: Linter.RuleEntry<[]>;
|
|
8080
8300
|
/**
|
|
8081
8301
|
* Prefer omitting the `catch` binding parameter.
|
|
8082
|
-
* @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
|
|
8083
8303
|
*/
|
|
8084
8304
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>;
|
|
8085
8305
|
/**
|
|
8086
8306
|
* Prefer `Path2D` for repeatedly drawn canvas paths.
|
|
8087
|
-
* @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
|
|
8088
8308
|
*/
|
|
8089
8309
|
'unicorn/prefer-path2d'?: Linter.RuleEntry<[]>;
|
|
8090
8310
|
/**
|
|
8091
8311
|
* Prefer private class fields over the underscore-prefix convention.
|
|
8092
|
-
* @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
|
|
8093
8313
|
*/
|
|
8094
8314
|
'unicorn/prefer-private-class-fields'?: Linter.RuleEntry<[]>;
|
|
8095
8315
|
/**
|
|
8096
8316
|
* Prefer `Promise.resolve()` and `Promise.reject()` over trivial `new Promise()` calls.
|
|
8097
|
-
* @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
|
|
8098
8318
|
*/
|
|
8099
8319
|
'unicorn/prefer-promise-static-methods'?: Linter.RuleEntry<[]>;
|
|
8100
8320
|
/**
|
|
8101
8321
|
* Prefer `Promise.try()` over promise-wrapping boilerplate.
|
|
8102
|
-
* @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
|
|
8103
8323
|
*/
|
|
8104
8324
|
'unicorn/prefer-promise-try'?: Linter.RuleEntry<[]>;
|
|
8105
8325
|
/**
|
|
8106
8326
|
* Prefer `Promise.withResolvers()` when extracting resolver functions from `new Promise()`.
|
|
8107
|
-
* @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
|
|
8108
8328
|
*/
|
|
8109
8329
|
'unicorn/prefer-promise-with-resolvers'?: Linter.RuleEntry<[]>;
|
|
8110
8330
|
/**
|
|
8111
8331
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
8112
|
-
* @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
|
|
8113
8333
|
*/
|
|
8114
8334
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>;
|
|
8115
8335
|
/**
|
|
8116
8336
|
* Prefer `.querySelector()` and `.querySelectorAll()` over older DOM query methods.
|
|
8117
|
-
* @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
|
|
8118
8338
|
*/
|
|
8119
8339
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<UnicornPreferQuerySelector>;
|
|
8120
8340
|
/**
|
|
8121
8341
|
* Prefer `queueMicrotask()` over `process.nextTick()`, `setImmediate()`, and `setTimeout(…, 0)`.
|
|
8122
|
-
* @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
|
|
8123
8343
|
*/
|
|
8124
8344
|
'unicorn/prefer-queue-microtask'?: Linter.RuleEntry<UnicornPreferQueueMicrotask>;
|
|
8125
8345
|
/**
|
|
8126
8346
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
8127
|
-
* @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
|
|
8128
8348
|
*/
|
|
8129
8349
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>;
|
|
8130
8350
|
/**
|
|
8131
8351
|
* Prefer `RegExp.escape()` for escaping strings to use in regular expressions.
|
|
8132
|
-
* @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
|
|
8133
8353
|
*/
|
|
8134
8354
|
'unicorn/prefer-regexp-escape'?: Linter.RuleEntry<[]>;
|
|
8135
8355
|
/**
|
|
8136
8356
|
* Prefer `RegExp#test()` over `String#match()`, `String#search()`, and `RegExp#exec()`.
|
|
8137
|
-
* @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
|
|
8138
8358
|
*/
|
|
8139
8359
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>;
|
|
8140
8360
|
/**
|
|
8141
8361
|
* Prefer `Response.json()` over `new Response(JSON.stringify())`.
|
|
8142
|
-
* @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
|
|
8143
8363
|
*/
|
|
8144
8364
|
'unicorn/prefer-response-static-json'?: Linter.RuleEntry<[]>;
|
|
8145
8365
|
/**
|
|
8146
8366
|
* Prefer `:scope` when using element query selector methods.
|
|
8147
|
-
* @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
|
|
8148
8368
|
*/
|
|
8149
8369
|
'unicorn/prefer-scoped-selector'?: Linter.RuleEntry<[]>;
|
|
8150
8370
|
/**
|
|
8151
8371
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
8152
|
-
* @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
|
|
8153
8373
|
*/
|
|
8154
8374
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<UnicornPreferSetHas>;
|
|
8155
8375
|
/**
|
|
8156
8376
|
* Prefer `Set` methods for Set operations.
|
|
8157
|
-
* @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
|
|
8158
8378
|
*/
|
|
8159
8379
|
'unicorn/prefer-set-methods'?: Linter.RuleEntry<[]>;
|
|
8160
8380
|
/**
|
|
8161
8381
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
8162
|
-
* @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
|
|
8163
8383
|
*/
|
|
8164
8384
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>;
|
|
8165
8385
|
/**
|
|
8166
8386
|
* Prefer arrow function properties over methods with a single return.
|
|
8167
|
-
* @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
|
|
8168
8388
|
*/
|
|
8169
8389
|
'unicorn/prefer-short-arrow-method'?: Linter.RuleEntry<UnicornPreferShortArrowMethod>;
|
|
8170
8390
|
/**
|
|
8171
8391
|
* Prefer shorter alternatives to Unicode escape sequences.
|
|
8172
|
-
* @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
|
|
8173
8393
|
*/
|
|
8174
8394
|
'unicorn/prefer-short-escape-sequences'?: Linter.RuleEntry<[]>;
|
|
8175
8395
|
/**
|
|
8176
8396
|
* Prefer simple conditions first in logical expressions.
|
|
8177
|
-
* @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
|
|
8178
8398
|
*/
|
|
8179
8399
|
'unicorn/prefer-simple-condition-first'?: Linter.RuleEntry<[]>;
|
|
8180
8400
|
/**
|
|
8181
8401
|
* Prefer a simple comparison function for `Array#sort()`.
|
|
8182
|
-
* @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
|
|
8183
8403
|
*/
|
|
8184
8404
|
'unicorn/prefer-simple-sort-comparator'?: Linter.RuleEntry<[]>;
|
|
8185
8405
|
/**
|
|
8186
8406
|
* Prefer simplified conditions.
|
|
8187
|
-
* @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
|
|
8188
8408
|
*/
|
|
8189
8409
|
'unicorn/prefer-simplified-conditions'?: Linter.RuleEntry<UnicornPreferSimplifiedConditions>;
|
|
8190
8410
|
/**
|
|
8191
8411
|
* Prefer a single `Array#some()` or `Array#every()` with a combined predicate.
|
|
8192
|
-
* @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
|
|
8193
8413
|
*/
|
|
8194
8414
|
'unicorn/prefer-single-array-predicate'?: Linter.RuleEntry<[]>;
|
|
8195
8415
|
/**
|
|
8196
8416
|
* Enforce combining multiple `Array#{push,unshift}()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
|
|
8197
|
-
* @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
|
|
8198
8418
|
*/
|
|
8199
8419
|
'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>;
|
|
8200
8420
|
/**
|
|
8201
8421
|
* Prefer a single object destructuring declaration per local const source.
|
|
8202
|
-
* @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
|
|
8203
8423
|
*/
|
|
8204
8424
|
'unicorn/prefer-single-object-destructuring'?: Linter.RuleEntry<[]>;
|
|
8205
8425
|
/**
|
|
8206
8426
|
* Enforce combining multiple single-character replacements into a single `String#replaceAll()` with a regular expression.
|
|
8207
|
-
* @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
|
|
8208
8428
|
*/
|
|
8209
8429
|
'unicorn/prefer-single-replace'?: Linter.RuleEntry<[]>;
|
|
8210
8430
|
/**
|
|
8211
|
-
* Prefer declaring variables in the smallest possible scope.
|
|
8212
|
-
* @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
|
|
8213
8433
|
*/
|
|
8214
8434
|
'unicorn/prefer-smaller-scope'?: Linter.RuleEntry<[]>;
|
|
8215
8435
|
/**
|
|
8216
8436
|
* Prefer `String#split()` with a limit.
|
|
8217
|
-
* @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
|
|
8218
8438
|
*/
|
|
8219
8439
|
'unicorn/prefer-split-limit'?: Linter.RuleEntry<[]>;
|
|
8220
8440
|
/**
|
|
8221
8441
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()`, and trivial `for…of` copies.
|
|
8222
|
-
* @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
|
|
8223
8443
|
*/
|
|
8224
8444
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>;
|
|
8225
8445
|
/**
|
|
8226
8446
|
* Prefer `String#matchAll()` over `RegExp#exec()` loops.
|
|
8227
|
-
* @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
|
|
8228
8448
|
*/
|
|
8229
8449
|
'unicorn/prefer-string-match-all'?: Linter.RuleEntry<[]>;
|
|
8230
8450
|
/**
|
|
8231
8451
|
* Prefer `String#padStart()` and `String#padEnd()` over manual string padding.
|
|
8232
|
-
* @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
|
|
8233
8453
|
*/
|
|
8234
8454
|
'unicorn/prefer-string-pad-start-end'?: Linter.RuleEntry<[]>;
|
|
8235
8455
|
/**
|
|
8236
8456
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
8237
|
-
* @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
|
|
8238
8458
|
*/
|
|
8239
8459
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>;
|
|
8240
8460
|
/**
|
|
8241
8461
|
* Prefer `String#repeat()` for repeated whitespace.
|
|
8242
|
-
* @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
|
|
8243
8463
|
*/
|
|
8244
8464
|
'unicorn/prefer-string-repeat'?: Linter.RuleEntry<UnicornPreferStringRepeat>;
|
|
8245
8465
|
/**
|
|
8246
8466
|
* Prefer `String#replaceAll()` over regex searches with the global flag and `String#split().join()`.
|
|
8247
|
-
* @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
|
|
8248
8468
|
*/
|
|
8249
8469
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>;
|
|
8250
8470
|
/**
|
|
8251
8471
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
8252
|
-
* @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
|
|
8253
8473
|
*/
|
|
8254
8474
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>;
|
|
8255
8475
|
/**
|
|
8256
8476
|
* Prefer `String#startsWith()` & `String#endsWith()` over regexes, `String#indexOf() === 0`, and slice checks.
|
|
8257
|
-
* @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
|
|
8258
8478
|
*/
|
|
8259
8479
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>;
|
|
8260
8480
|
/**
|
|
8261
8481
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
8262
|
-
* @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
|
|
8263
8483
|
*/
|
|
8264
8484
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>;
|
|
8265
8485
|
/**
|
|
8266
8486
|
* Prefer using `structuredClone` to create a deep clone.
|
|
8267
|
-
* @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
|
|
8268
8488
|
*/
|
|
8269
8489
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>;
|
|
8270
8490
|
/**
|
|
8271
8491
|
* Prefer `switch` over multiple `else-if`.
|
|
8272
|
-
* @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
|
|
8273
8493
|
*/
|
|
8274
8494
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>;
|
|
8275
8495
|
/**
|
|
8276
8496
|
* Prefer `Temporal` over `Date`.
|
|
8277
|
-
* @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
|
|
8278
8498
|
*/
|
|
8279
8499
|
'unicorn/prefer-temporal'?: Linter.RuleEntry<UnicornPreferTemporal>;
|
|
8280
8500
|
/**
|
|
8281
8501
|
* Prefer direct Temporal conversion methods.
|
|
8282
|
-
* @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
|
|
8283
8503
|
*/
|
|
8284
8504
|
'unicorn/prefer-temporal-conversion'?: Linter.RuleEntry<[]>;
|
|
8285
8505
|
/**
|
|
8286
|
-
* Prefer ternary expressions over simple `if` statements
|
|
8287
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
8506
|
+
* Prefer ternary expressions over simple `if` statements.
|
|
8507
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v79.0.0/docs/rules/prefer-ternary.md
|
|
8288
8508
|
*/
|
|
8289
8509
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>;
|
|
8290
8510
|
/**
|
|
8291
8511
|
* Prefer `.then().catch()` over `.then(…, …)` for error handling.
|
|
8292
|
-
* @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
|
|
8293
8513
|
*/
|
|
8294
8514
|
'unicorn/prefer-then-catch'?: Linter.RuleEntry<[]>;
|
|
8295
8515
|
/**
|
|
8296
8516
|
* Prefer using `Element#toggleAttribute()` to toggle attributes.
|
|
8297
|
-
* @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
|
|
8298
8518
|
*/
|
|
8299
8519
|
'unicorn/prefer-toggle-attribute'?: Linter.RuleEntry<[]>;
|
|
8300
8520
|
/**
|
|
8301
8521
|
* Prefer top-level await over top-level promises and async function calls.
|
|
8302
|
-
* @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
|
|
8303
8523
|
*/
|
|
8304
8524
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>;
|
|
8305
8525
|
/**
|
|
8306
8526
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
8307
|
-
* @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
|
|
8308
8528
|
*/
|
|
8309
8529
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>;
|
|
8310
8530
|
/**
|
|
8311
8531
|
* Require type literals to be last in union types.
|
|
8312
|
-
* @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
|
|
8313
8533
|
*/
|
|
8314
8534
|
'unicorn/prefer-type-literal-last'?: Linter.RuleEntry<[]>;
|
|
8315
8535
|
/**
|
|
8316
8536
|
* Prefer `Uint8Array#toBase64()` and `Uint8Array.fromBase64()` over legacy base64 conversions and manual postprocessing.
|
|
8317
|
-
* @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
|
|
8318
8538
|
*/
|
|
8319
8539
|
'unicorn/prefer-uint8array-base64'?: Linter.RuleEntry<[]>;
|
|
8320
8540
|
/**
|
|
8321
8541
|
* Prefer `Uint8Array#toHex()` and `Uint8Array.fromHex()` over manual and Buffer hex conversions.
|
|
8322
|
-
* @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
|
|
8323
8543
|
*/
|
|
8324
8544
|
'unicorn/prefer-uint8array-hex'?: Linter.RuleEntry<[]>;
|
|
8325
8545
|
/**
|
|
8326
8546
|
* Prefer the unary minus operator over multiplying or dividing by `-1`.
|
|
8327
|
-
* @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
|
|
8328
8548
|
*/
|
|
8329
8549
|
'unicorn/prefer-unary-minus'?: Linter.RuleEntry<[]>;
|
|
8330
8550
|
/**
|
|
8331
8551
|
* Prefer Unicode code point escapes over legacy escape sequences.
|
|
8332
|
-
* @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
|
|
8333
8553
|
*/
|
|
8334
8554
|
'unicorn/prefer-unicode-code-point-escapes'?: Linter.RuleEntry<[]>;
|
|
8335
8555
|
/**
|
|
8336
8556
|
* Prefer `URL.canParse()` over constructing a `URL` in a try/catch for validation.
|
|
8337
|
-
* @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
|
|
8338
8558
|
*/
|
|
8339
8559
|
'unicorn/prefer-url-can-parse'?: Linter.RuleEntry<[]>;
|
|
8340
8560
|
/**
|
|
8341
8561
|
* Prefer `URL#href` over stringifying a `URL`.
|
|
8342
|
-
* @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
|
|
8343
8563
|
*/
|
|
8344
8564
|
'unicorn/prefer-url-href'?: Linter.RuleEntry<[]>;
|
|
8345
8565
|
/**
|
|
8346
8566
|
* Prefer `URLSearchParams` over manually splitting query strings.
|
|
8347
|
-
* @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
|
|
8348
8568
|
*/
|
|
8349
8569
|
'unicorn/prefer-url-search-parameters'?: Linter.RuleEntry<[]>;
|
|
8350
8570
|
/**
|
|
8351
8571
|
* Prefer putting the condition in the while statement.
|
|
8352
|
-
* @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
|
|
8353
8573
|
*/
|
|
8354
8574
|
'unicorn/prefer-while-loop-condition'?: Linter.RuleEntry<[]>;
|
|
8355
8575
|
/**
|
|
8356
8576
|
* Renamed to `unicorn/name-replacements`.
|
|
8357
|
-
* @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
|
|
8358
8578
|
* @deprecated
|
|
8359
8579
|
*/
|
|
8360
8580
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<[]>;
|
|
8361
8581
|
/**
|
|
8362
8582
|
* Enforce consistent relative URL style.
|
|
8363
|
-
* @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
|
|
8364
8584
|
*/
|
|
8365
8585
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
|
|
8366
8586
|
/**
|
|
8367
8587
|
* Enforce using the separator argument with `Array#join()`.
|
|
8368
|
-
* @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
|
|
8369
8589
|
*/
|
|
8370
8590
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>;
|
|
8371
8591
|
/**
|
|
8372
8592
|
* Require a compare function when calling `Array#sort()` or `Array#toSorted()`.
|
|
8373
|
-
* @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
|
|
8374
8594
|
*/
|
|
8375
8595
|
'unicorn/require-array-sort-compare'?: Linter.RuleEntry<[]>;
|
|
8376
8596
|
/**
|
|
8377
8597
|
* Require `CSS.escape()` for interpolated values in CSS selectors.
|
|
8378
|
-
* @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
|
|
8379
8599
|
*/
|
|
8380
8600
|
'unicorn/require-css-escape'?: Linter.RuleEntry<UnicornRequireCssEscape>;
|
|
8381
8601
|
/**
|
|
8382
8602
|
* Require configured YAML frontmatter fields.
|
|
8383
|
-
* @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
|
|
8384
8604
|
*/
|
|
8385
8605
|
'unicorn/require-frontmatter-fields'?: Linter.RuleEntry<UnicornRequireFrontmatterFields>;
|
|
8386
8606
|
/**
|
|
8387
8607
|
* Require non-empty module attributes for imports and exports
|
|
8388
|
-
* @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
|
|
8389
8609
|
*/
|
|
8390
8610
|
'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>;
|
|
8391
8611
|
/**
|
|
8392
8612
|
* Require non-empty specifier list in import and export statements.
|
|
8393
|
-
* @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
|
|
8394
8614
|
*/
|
|
8395
8615
|
'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>;
|
|
8396
8616
|
/**
|
|
8397
8617
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
8398
|
-
* @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
|
|
8399
8619
|
*/
|
|
8400
8620
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>;
|
|
8401
8621
|
/**
|
|
8402
8622
|
* Require passive event listeners for high-frequency events.
|
|
8403
|
-
* @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
|
|
8404
8624
|
*/
|
|
8405
8625
|
'unicorn/require-passive-events'?: Linter.RuleEntry<[]>;
|
|
8406
8626
|
/**
|
|
8407
8627
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
8408
|
-
* @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
|
|
8409
8629
|
*/
|
|
8410
8630
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>;
|
|
8411
8631
|
/**
|
|
8412
8632
|
* Require boolean-returning Proxy traps to return booleans.
|
|
8413
|
-
* @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
|
|
8414
8634
|
*/
|
|
8415
8635
|
'unicorn/require-proxy-trap-boolean-return'?: Linter.RuleEntry<[]>;
|
|
8416
8636
|
/**
|
|
8417
8637
|
* Require streaming decoding of fetch-body chunks with `TextDecoder`.
|
|
8418
|
-
* @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
|
|
8419
8639
|
*/
|
|
8420
8640
|
'unicorn/require-text-decoder-streaming'?: Linter.RuleEntry<[]>;
|
|
8421
8641
|
/**
|
|
8422
8642
|
* Enforce a consistent style for single-line block comments.
|
|
8423
|
-
* @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
|
|
8424
8644
|
*/
|
|
8425
8645
|
'unicorn/single-line-block-comment-style'?: Linter.RuleEntry<UnicornSingleLineBlockCommentStyle>;
|
|
8426
8646
|
/**
|
|
8427
8647
|
* Enforce better string content.
|
|
8428
|
-
* @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
|
|
8429
8649
|
*/
|
|
8430
8650
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>;
|
|
8431
8651
|
/**
|
|
8432
8652
|
* Enforce consistent brace style for `case` clauses.
|
|
8433
|
-
* @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
|
|
8434
8654
|
*/
|
|
8435
8655
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
|
|
8436
8656
|
/**
|
|
8437
8657
|
* Enforce consistent `break`/`return`/`continue`/`throw` position in `case` clauses.
|
|
8438
|
-
* @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
|
|
8439
8659
|
*/
|
|
8440
8660
|
'unicorn/switch-case-break-position'?: Linter.RuleEntry<[]>;
|
|
8441
8661
|
/**
|
|
8442
8662
|
* Fix whitespace-insensitive template indentation.
|
|
8443
|
-
* @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
|
|
8444
8664
|
*/
|
|
8445
8665
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>;
|
|
8446
8666
|
/**
|
|
8447
8667
|
* Enforce consistent case for text encoding identifiers.
|
|
8448
|
-
* @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
|
|
8449
8669
|
*/
|
|
8450
8670
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<UnicornTextEncodingIdentifierCase>;
|
|
8451
8671
|
/**
|
|
8452
8672
|
* Require `new` when creating an error.
|
|
8453
|
-
* @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
|
|
8454
8674
|
*/
|
|
8455
8675
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>;
|
|
8456
8676
|
/**
|
|
8457
8677
|
* Limit the complexity of `try` blocks.
|
|
8458
|
-
* @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
|
|
8459
8679
|
*/
|
|
8460
8680
|
'unicorn/try-complexity'?: Linter.RuleEntry<UnicornTryComplexity>;
|
|
8461
8681
|
/**
|
|
@@ -10636,6 +10856,10 @@ type EslintReactDomNoUnknownProperty = [] | [{
|
|
|
10636
10856
|
ignore?: string[];
|
|
10637
10857
|
requireDataLowercase?: boolean;
|
|
10638
10858
|
}];
|
|
10859
|
+
// ----- @eslint-react/dom-no-unsafe-target-blank -----
|
|
10860
|
+
type EslintReactDomNoUnsafeTargetBlank = [] | [{
|
|
10861
|
+
allowReferrer?: boolean;
|
|
10862
|
+
}];
|
|
10639
10863
|
// ----- @eslint-react/exhaustive-deps -----
|
|
10640
10864
|
type EslintReactExhaustiveDeps = [] | [{
|
|
10641
10865
|
additionalHooks?: string;
|
|
@@ -10785,6 +11009,11 @@ type HtmlEslintQuotes = [] | [("single" | "double")] | [("single" | "double"), {
|
|
|
10785
11009
|
type HtmlEslintReactClassnameSpacing = [] | [{
|
|
10786
11010
|
callees?: string[];
|
|
10787
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
|
+
}];
|
|
10788
11017
|
// ----- @html-eslint/react/no-duplicate-classname -----
|
|
10789
11018
|
type HtmlEslintReactNoDuplicateClassname = [] | [{
|
|
10790
11019
|
callees?: string[];
|
|
@@ -10809,6 +11038,11 @@ type HtmlEslintReactNoRestrictedAttrs = {
|
|
|
10809
11038
|
attrPatterns: string[];
|
|
10810
11039
|
message?: string;
|
|
10811
11040
|
}[];
|
|
11041
|
+
// ----- @html-eslint/react/no-restricted-tags -----
|
|
11042
|
+
type HtmlEslintReactNoRestrictedTags = {
|
|
11043
|
+
tagPatterns: string[];
|
|
11044
|
+
message?: string;
|
|
11045
|
+
}[];
|
|
10812
11046
|
// ----- @html-eslint/react/require-attrs -----
|
|
10813
11047
|
type HtmlEslintReactRequireAttrs = {
|
|
10814
11048
|
tag: string;
|
|
@@ -12142,6 +12376,10 @@ type TypescriptEslintArrayType = [] | [{
|
|
|
12142
12376
|
default?: ("array" | "generic" | "array-simple");
|
|
12143
12377
|
readonly?: ("array" | "generic" | "array-simple");
|
|
12144
12378
|
}];
|
|
12379
|
+
// ----- @typescript-eslint/await-thenable -----
|
|
12380
|
+
type TypescriptEslintAwaitThenable = [] | [{
|
|
12381
|
+
allowMixedPromiseArrays?: boolean;
|
|
12382
|
+
}];
|
|
12145
12383
|
// ----- @typescript-eslint/ban-ts-comment -----
|
|
12146
12384
|
type TypescriptEslintBanTsComment = [] | [{
|
|
12147
12385
|
minimumDescriptionLength?: number;
|
|
@@ -16386,9 +16624,9 @@ type CssSelectorComplexity = [] | [{
|
|
|
16386
16624
|
type CssUseBaseline = [] | [{
|
|
16387
16625
|
available?: (("widely" | "newly") | number);
|
|
16388
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")[];
|
|
16389
|
-
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")[];
|
|
16390
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")[];
|
|
16391
|
-
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")[];
|
|
16392
16630
|
allowPropertyValues?: {
|
|
16393
16631
|
"accent-color"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "currentColor" | "transparent")[];
|
|
16394
16632
|
"alignment-baseline"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "alphabetic" | "baseline" | "central" | "ideographic" | "mathematical" | "middle" | "text-after-edge" | "text-before-edge")[];
|
|
@@ -16414,7 +16652,7 @@ type CssUseBaseline = [] | [{
|
|
|
16414
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")[];
|
|
16415
16653
|
"aspect-ratio"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto")[];
|
|
16416
16654
|
"backdrop-filter"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16417
|
-
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")[];
|
|
16418
16656
|
"background-attachment"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "fixed" | "local" | "scroll")[];
|
|
16419
16657
|
"background-blend-mode"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16420
16658
|
"background-clip"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "border-box" | "content-box" | "padding-box" | "border-area" | "text")[];
|
|
@@ -16422,8 +16660,8 @@ type CssUseBaseline = [] | [{
|
|
|
16422
16660
|
"background-image"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "none" | "element" | "gradients" | "image-set")[];
|
|
16423
16661
|
"background-origin"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "border-box" | "content-box" | "padding-box")[];
|
|
16424
16662
|
"background-position"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "bottom" | "center" | "left" | "right" | "top")[];
|
|
16425
|
-
"background-position-x"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16426
|
-
"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")[];
|
|
16427
16665
|
"background-repeat"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "2-value" | "no-repeat" | "repeat" | "repeat-x" | "repeat-y" | "round" | "space")[];
|
|
16428
16666
|
"background-size"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "contain" | "cover")[];
|
|
16429
16667
|
"baseline-shift"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "sub" | "super")[];
|
|
@@ -16432,7 +16670,7 @@ type CssUseBaseline = [] | [{
|
|
|
16432
16670
|
"border-image-outset"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16433
16671
|
"border-image-repeat"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "repeat" | "round" | "space" | "stretch")[];
|
|
16434
16672
|
"border-image-slice"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16435
|
-
"border-image-source"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16673
|
+
"border-image-source"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "none")[];
|
|
16436
16674
|
"border-image-width"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto")[];
|
|
16437
16675
|
"border-bottom-left-radius"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "percentages")[];
|
|
16438
16676
|
"border-bottom-right-radius"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "percentages")[];
|
|
@@ -16466,7 +16704,7 @@ type CssUseBaseline = [] | [{
|
|
|
16466
16704
|
"caret-color"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "currentColor" | "transparent")[];
|
|
16467
16705
|
"caret-shape"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "bar" | "block" | "underscore")[];
|
|
16468
16706
|
clip?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto")[];
|
|
16469
|
-
"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")[];
|
|
16470
16708
|
color?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "transparent" | "currentColor")[];
|
|
16471
16709
|
"color-adjust"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16472
16710
|
"color-scheme"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "dark" | "light" | "normal" | "only")[];
|
|
@@ -16504,14 +16742,14 @@ type CssUseBaseline = [] | [{
|
|
|
16504
16742
|
"counter-increment"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "list-item" | "none")[];
|
|
16505
16743
|
"counter-reset"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "reversed" | "list-item" | "none")[];
|
|
16506
16744
|
"custom-property"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16507
|
-
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")[];
|
|
16508
16746
|
"dominant-baseline"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "alphabetic" | "auto" | "central" | "hanging" | "ideographic" | "mathematical" | "middle")[];
|
|
16509
16747
|
"dynamic-range-limit"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "constrained" | "no-limit" | "standard")[];
|
|
16510
16748
|
"field-sizing"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "content" | "fixed")[];
|
|
16511
16749
|
filter?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "blur" | "brightness" | "contrast" | "drop-shadow" | "grayscale" | "hue-rotate" | "invert" | "opacity" | "saturate" | "sepia")[];
|
|
16512
|
-
"align-content"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "normal")[];
|
|
16513
|
-
"align-items"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "anchor-center")[];
|
|
16514
|
-
"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")[];
|
|
16515
16753
|
flex?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "none")[];
|
|
16516
16754
|
"flex-basis"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "content" | "fit-content" | "max-content" | "min-content")[];
|
|
16517
16755
|
"flex-direction"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "column" | "column-reverse" | "row" | "row-reverse")[];
|
|
@@ -16534,7 +16772,7 @@ type CssUseBaseline = [] | [{
|
|
|
16534
16772
|
"font-optical-sizing"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "none")[];
|
|
16535
16773
|
"font-palette"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "dark" | "light" | "normal")[];
|
|
16536
16774
|
font?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "caption" | "icon" | "menu" | "message-box" | "small-caption" | "status-bar")[];
|
|
16537
|
-
"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")[];
|
|
16538
16776
|
"font-size-adjust"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "from-font" | "none" | "two-values")[];
|
|
16539
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")[];
|
|
16540
16778
|
"font-style"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "italic" | "normal" | "oblique" | "oblique-angle")[];
|
|
@@ -16613,6 +16851,7 @@ type CssUseBaseline = [] | [{
|
|
|
16613
16851
|
"grid-template-rows"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "fit-content" | "max-content" | "min-content" | "minmax" | "none" | "repeat" | "animation" | "subgrid")[];
|
|
16614
16852
|
"justify-self"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "anchor-center" | "auto" | "left" | "normal" | "right" | "stretch")[];
|
|
16615
16853
|
"row-gap"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "normal")[];
|
|
16854
|
+
"flow-tolerance"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "infinite" | "normal")[];
|
|
16616
16855
|
"hanging-punctuation"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "allow-end" | "first" | "force-end" | "last" | "none")[];
|
|
16617
16856
|
"hyphenate-character"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto")[];
|
|
16618
16857
|
"hyphenate-limit-chars"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto")[];
|
|
@@ -16633,10 +16872,11 @@ type CssUseBaseline = [] | [{
|
|
|
16633
16872
|
"line-break"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "anywhere" | "auto" | "loose" | "normal" | "strict")[];
|
|
16634
16873
|
"line-clamp"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "none")[];
|
|
16635
16874
|
"line-height"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "normal")[];
|
|
16875
|
+
"link-parameters"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "none")[];
|
|
16636
16876
|
"list-style"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "inside" | "none" | "outside" | "symbols")[];
|
|
16637
16877
|
"list-style-image"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "none")[];
|
|
16638
16878
|
"list-style-position"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "inside" | "outside")[];
|
|
16639
|
-
"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")[];
|
|
16640
16880
|
"block-size"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "anchor-size" | "fit-content" | "max-content" | "min-content")[];
|
|
16641
16881
|
"border-block"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "currentColor" | "dashed" | "dotted" | "double" | "groove" | "hidden" | "inset" | "medium" | "none" | "outset" | "ridge" | "solid" | "thick" | "thin" | "transparent")[];
|
|
16642
16882
|
"border-block-color"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "currentColor" | "transparent")[];
|
|
@@ -16735,14 +16975,14 @@ type CssUseBaseline = [] | [{
|
|
|
16735
16975
|
"column-rule-style"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "dashed" | "dotted" | "double" | "groove" | "hidden" | "inset" | "none" | "outset" | "ridge" | "solid")[];
|
|
16736
16976
|
"column-rule-width"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "medium" | "thick" | "thin")[];
|
|
16737
16977
|
"column-width"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto")[];
|
|
16738
|
-
columns?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16978
|
+
columns?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto")[];
|
|
16739
16979
|
"object-fit"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "contain" | "cover" | "fill" | "none" | "scale-down")[];
|
|
16740
16980
|
"object-position"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16741
16981
|
"object-view-box"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "none")[];
|
|
16742
16982
|
opacity?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "percentages")[];
|
|
16743
16983
|
"fill-opacity"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16744
16984
|
"stroke-opacity"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16745
|
-
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")[];
|
|
16746
16986
|
"outline-color"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "currentColor" | "transparent")[];
|
|
16747
16987
|
"outline-offset"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16748
16988
|
"outline-style"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "dashed" | "dotted" | "double" | "groove" | "inset" | "none" | "outset" | "ridge" | "solid")[];
|
|
@@ -16776,7 +17016,7 @@ type CssUseBaseline = [] | [{
|
|
|
16776
17016
|
left?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "anchor" | "anchor-size" | "auto")[];
|
|
16777
17017
|
right?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "anchor" | "anchor-size" | "auto")[];
|
|
16778
17018
|
top?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "anchor" | "anchor-size" | "auto")[];
|
|
16779
|
-
"pointer-events"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
17019
|
+
"pointer-events"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "all" | "auto" | "fill" | "none" | "painted" | "stroke" | "visible")[];
|
|
16780
17020
|
position?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "absolute" | "fixed" | "relative" | "static" | "sticky")[];
|
|
16781
17021
|
"print-color-adjust"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "economy" | "exact")[];
|
|
16782
17022
|
quotes?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "none")[];
|
|
@@ -16786,6 +17026,7 @@ type CssUseBaseline = [] | [{
|
|
|
16786
17026
|
"ruby-align"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "center" | "space-around" | "space-between" | "start")[];
|
|
16787
17027
|
"ruby-overhang"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "none")[];
|
|
16788
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")[];
|
|
16789
17030
|
"scroll-behavior"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "smooth")[];
|
|
16790
17031
|
"animation-range"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16791
17032
|
"animation-range-end"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "normal")[];
|
|
@@ -16836,7 +17077,7 @@ type CssUseBaseline = [] | [{
|
|
|
16836
17077
|
speak?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16837
17078
|
"speak-as"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "digits" | "literal-punctuation" | "no-punctuation" | "normal" | "spell-out")[];
|
|
16838
17079
|
"clip-rule"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "evenodd" | "nonzero")[];
|
|
16839
|
-
"color-interpolation"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "linearGradient" | "sRGB")[];
|
|
17080
|
+
"color-interpolation"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "linearGradient" | "linearRGB" | "sRGB")[];
|
|
16840
17081
|
cx?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16841
17082
|
cy?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
16842
17083
|
d?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
@@ -16877,7 +17118,7 @@ type CssUseBaseline = [] | [{
|
|
|
16877
17118
|
"table-layout"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "fixed")[];
|
|
16878
17119
|
"text-align"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start")[];
|
|
16879
17120
|
"text-align-last"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto")[];
|
|
16880
|
-
"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")[];
|
|
16881
17122
|
"text-box"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "normal")[];
|
|
16882
17123
|
"text-box-edge"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto")[];
|
|
16883
17124
|
"text-box-trim"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "none" | "trim-both" | "trim-end" | "trim-start")[];
|
|
@@ -16888,6 +17129,7 @@ type CssUseBaseline = [] | [{
|
|
|
16888
17129
|
"text-decoration-style"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "wavy")[];
|
|
16889
17130
|
"text-decoration-thickness"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "from-font" | "percentage")[];
|
|
16890
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")[];
|
|
16891
17133
|
"text-emphasis"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "currentColor" | "transparent")[];
|
|
16892
17134
|
"text-emphasis-color"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "currentColor" | "transparent")[];
|
|
16893
17135
|
"text-emphasis-position"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "left" | "over" | "right" | "under")[];
|
|
@@ -16897,7 +17139,7 @@ type CssUseBaseline = [] | [{
|
|
|
16897
17139
|
"text-justify"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "inter-character" | "inter-word" | "none")[];
|
|
16898
17140
|
"text-orientation"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "mixed" | "sideways" | "upright")[];
|
|
16899
17141
|
"text-overflow"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "string" | "clip" | "ellipsis")[];
|
|
16900
|
-
"text-shadow"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
17142
|
+
"text-shadow"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "none")[];
|
|
16901
17143
|
"text-size-adjust"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "auto" | "none" | "percentages")[];
|
|
16902
17144
|
"text-spacing-trim"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset" | "normal" | "space-all" | "space-first" | "trim-start")[];
|
|
16903
17145
|
"-webkit-text-fill-color"?: ("revert-layer" | "inherit" | "initial" | "revert" | "unset")[];
|
|
@@ -16953,6 +17195,18 @@ type CssUseLayers = [] | [{
|
|
|
16953
17195
|
requireImportLayers?: boolean;
|
|
16954
17196
|
layerNamePattern?: string;
|
|
16955
17197
|
}];
|
|
17198
|
+
// ----- cssicorn/consistent-custom-property-fallbacks -----
|
|
17199
|
+
type CssicornConsistentCustomPropertyFallbacks = [] | [{
|
|
17200
|
+
customProperties?: string[];
|
|
17201
|
+
}];
|
|
17202
|
+
// ----- cssicorn/consistent-layer-order -----
|
|
17203
|
+
type CssicornConsistentLayerOrder = [] | [{
|
|
17204
|
+
checkUndeclaredLayers?: boolean;
|
|
17205
|
+
}];
|
|
17206
|
+
// ----- cssicorn/consistent-property-order -----
|
|
17207
|
+
type CssicornConsistentPropertyOrder = [] | [{
|
|
17208
|
+
order?: (("concentric-css" | "alphabetical") | [string, ...(string)[]]);
|
|
17209
|
+
}];
|
|
16956
17210
|
// ----- cssicorn/no-deprecated-features -----
|
|
16957
17211
|
type CssicornNoDeprecatedFeatures = [] | [{
|
|
16958
17212
|
allow?: string[];
|
|
@@ -16965,14 +17219,31 @@ type CssicornNoRedundantLonghandProperties = [] | [{
|
|
|
16965
17219
|
type CssicornNoUnknownPseudoSelectors = [] | [{
|
|
16966
17220
|
allow?: string[];
|
|
16967
17221
|
}];
|
|
17222
|
+
// ----- cssicorn/no-unknown-type-selectors -----
|
|
17223
|
+
type CssicornNoUnknownTypeSelectors = [] | [{
|
|
17224
|
+
checkCustomElements?: boolean;
|
|
17225
|
+
allow?: (string | {
|
|
17226
|
+
[k: string]: unknown | undefined;
|
|
17227
|
+
})[];
|
|
17228
|
+
}];
|
|
16968
17229
|
// ----- cssicorn/no-unscoped-nesting-selector -----
|
|
16969
17230
|
type CssicornNoUnscopedNestingSelector = [] | [{
|
|
16970
17231
|
scopingRootAtRules?: string[];
|
|
16971
17232
|
}];
|
|
17233
|
+
// ----- cssicorn/prefer-existing-custom-properties -----
|
|
17234
|
+
type CssicornPreferExistingCustomProperties = [] | [{
|
|
17235
|
+
customProperties?: {
|
|
17236
|
+
[k: string]: string | undefined;
|
|
17237
|
+
};
|
|
17238
|
+
}];
|
|
16972
17239
|
// ----- cssicorn/prefer-explicit-viewport-units -----
|
|
16973
17240
|
type CssicornPreferExplicitViewportUnits = [] | [{
|
|
16974
17241
|
unit?: ("dvh" | "svh" | "lvh");
|
|
16975
17242
|
}];
|
|
17243
|
+
// ----- cssicorn/prefer-nesting -----
|
|
17244
|
+
type CssicornPreferNesting = [] | [{
|
|
17245
|
+
checkSharedPrefixes?: boolean;
|
|
17246
|
+
}];
|
|
16976
17247
|
// ----- curly -----
|
|
16977
17248
|
type Curly = ([] | ["all"] | [] | [("multi" | "multi-line" | "multi-or-nest")] | [("multi" | "multi-line" | "multi-or-nest"), "consistent"]);
|
|
16978
17249
|
// ----- cypress/unsafe-to-chain-command -----
|
|
@@ -18317,7 +18588,7 @@ type NNoUnsupportedFeaturesEsSyntax = [] | [{
|
|
|
18317
18588
|
type NNoUnsupportedFeaturesNodeBuiltins = [] | [{
|
|
18318
18589
|
version?: string;
|
|
18319
18590
|
allowExperimental?: boolean;
|
|
18320
|
-
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")[];
|
|
18321
18592
|
}];
|
|
18322
18593
|
// ----- n/prefer-global/buffer -----
|
|
18323
18594
|
type NPreferGlobalBuffer = [] | [("always" | "never")];
|
|
@@ -18853,6 +19124,17 @@ type OperatorLinebreak = [] | [("after" | "before" | "none" | null)] | [("after"
|
|
|
18853
19124
|
[k: string]: ("after" | "before" | "none" | "ignore") | undefined;
|
|
18854
19125
|
};
|
|
18855
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
|
+
}];
|
|
18856
19138
|
// ----- package-json/exports-subpaths-style -----
|
|
18857
19139
|
type PackageJsonExportsSubpathsStyle = [] | [{
|
|
18858
19140
|
prefer?: ("implicit" | "explicit");
|
|
@@ -19573,6 +19855,266 @@ type PerfectionistSortClasses = {
|
|
|
19573
19855
|
});
|
|
19574
19856
|
partitionByNewLine?: boolean;
|
|
19575
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
|
+
})[]];
|
|
19576
20118
|
// ----- perfectionist/sort-decorators -----
|
|
19577
20119
|
type PerfectionistSortDecorators = {
|
|
19578
20120
|
fallbackSort?: {
|
|
@@ -21872,7 +22414,7 @@ type PlaywrightNoActionTimeout = [] | [{
|
|
|
21872
22414
|
}];
|
|
21873
22415
|
// ----- playwright/no-hooks -----
|
|
21874
22416
|
type PlaywrightNoHooks = [] | [{
|
|
21875
|
-
allow?:
|
|
22417
|
+
allow?: ("beforeAll" | "beforeEach" | "afterAll" | "afterEach")[];
|
|
21876
22418
|
}];
|
|
21877
22419
|
// ----- playwright/no-magic-timeouts -----
|
|
21878
22420
|
type PlaywrightNoMagicTimeouts = [] | [{
|
|
@@ -22203,6 +22745,9 @@ type UnicornClassReferenceInStaticMethods = [] | [{
|
|
|
22203
22745
|
}];
|
|
22204
22746
|
// ----- unicorn/comment-content -----
|
|
22205
22747
|
type UnicornCommentContent = [] | [{
|
|
22748
|
+
ignore?: (string | {
|
|
22749
|
+
[k: string]: unknown | undefined;
|
|
22750
|
+
})[];
|
|
22206
22751
|
checkUniformCase?: boolean;
|
|
22207
22752
|
extendDefaultReplacements?: boolean;
|
|
22208
22753
|
replacements?: {
|
|
@@ -22473,6 +23018,13 @@ type UnicornNoNull = [] | [{
|
|
|
22473
23018
|
checkArguments?: boolean;
|
|
22474
23019
|
checkStrictEquality?: boolean;
|
|
22475
23020
|
}];
|
|
23021
|
+
// ----- unicorn/no-top-level-side-effects -----
|
|
23022
|
+
type UnicornNoTopLevelSideEffects = [] | [{
|
|
23023
|
+
checkUnknownCalls?: boolean;
|
|
23024
|
+
allow?: {
|
|
23025
|
+
[k: string]: string[] | undefined;
|
|
23026
|
+
};
|
|
23027
|
+
}];
|
|
22476
23028
|
// ----- unicorn/no-typeof-undefined -----
|
|
22477
23029
|
type UnicornNoTypeofUndefined = [] | [{
|
|
22478
23030
|
checkGlobalVariables?: boolean;
|
|
@@ -22554,6 +23106,10 @@ type UnicornPreferContinue = [] | [{
|
|
|
22554
23106
|
maximumStatements?: number;
|
|
22555
23107
|
checkShortBodies?: boolean;
|
|
22556
23108
|
}];
|
|
23109
|
+
// ----- unicorn/prefer-default-parameters -----
|
|
23110
|
+
type UnicornPreferDefaultParameters = [] | [{
|
|
23111
|
+
checkFallbackExpressions?: boolean;
|
|
23112
|
+
}];
|
|
22557
23113
|
// ----- unicorn/prefer-dom-node-html-methods -----
|
|
22558
23114
|
type UnicornPreferDomNodeHtmlMethods = [] | [{
|
|
22559
23115
|
checkGetHTML?: boolean;
|
|
@@ -22635,7 +23191,10 @@ type UnicornPreferTemporal = [] | [{
|
|
|
22635
23191
|
checkMethods?: boolean;
|
|
22636
23192
|
}];
|
|
22637
23193
|
// ----- unicorn/prefer-ternary -----
|
|
22638
|
-
type UnicornPreferTernary = [] | [("always" | "only-single-line")]
|
|
23194
|
+
type UnicornPreferTernary = [] | [("always" | "only-single-line")] | [("always" | "only-single-line"), {
|
|
23195
|
+
checkVaryingBase?: boolean;
|
|
23196
|
+
checkComputedMemberAccess?: boolean;
|
|
23197
|
+
}];
|
|
22639
23198
|
// ----- unicorn/relative-url-style -----
|
|
22640
23199
|
type UnicornRelativeUrlStyle = [] | [("never" | "always")];
|
|
22641
23200
|
// ----- unicorn/require-css-escape -----
|
|
@@ -24205,7 +24764,7 @@ type ZodArrayStyle = [] | [{
|
|
|
24205
24764
|
}];
|
|
24206
24765
|
// ----- zod/consistent-import -----
|
|
24207
24766
|
type ZodConsistentImport = [] | [{
|
|
24208
|
-
syntax?: ("namespace" | "named");
|
|
24767
|
+
syntax?: ("namespace" | "named" | "default");
|
|
24209
24768
|
}];
|
|
24210
24769
|
// ----- zod/consistent-import-source -----
|
|
24211
24770
|
type ZodConsistentImportSource = [] | [{
|
|
@@ -24243,4 +24802,4 @@ type ZodSchemaErrorPropertyStyle = [] | [{
|
|
|
24243
24802
|
selector?: string;
|
|
24244
24803
|
example?: string;
|
|
24245
24804
|
}];
|
|
24246
|
-
|
|
24805
|
+
export {};
|