@lichthagel/eslint-config 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -2
- package/dist/index.d.cts +517 -391
- package/dist/index.d.ts +517 -391
- package/dist/index.js +1 -2
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -904,6 +904,11 @@ interface RuleOptions {
|
|
|
904
904
|
* @see https://typescript-eslint.io/rules/no-unsafe-return
|
|
905
905
|
*/
|
|
906
906
|
'@typescript-eslint/no-unsafe-return'?: Linter.RuleEntry<[]>
|
|
907
|
+
/**
|
|
908
|
+
* Disallow type assertions that narrow a type
|
|
909
|
+
* @see https://typescript-eslint.io/rules/no-unsafe-type-assertion
|
|
910
|
+
*/
|
|
911
|
+
'@typescript-eslint/no-unsafe-type-assertion'?: Linter.RuleEntry<[]>
|
|
907
912
|
/**
|
|
908
913
|
* Require unary negation to take a number
|
|
909
914
|
* @see https://typescript-eslint.io/rules/no-unsafe-unary-minus
|
|
@@ -1061,6 +1066,11 @@ interface RuleOptions {
|
|
|
1061
1066
|
* @see https://typescript-eslint.io/rules/promise-function-async
|
|
1062
1067
|
*/
|
|
1063
1068
|
'@typescript-eslint/promise-function-async'?: Linter.RuleEntry<TypescriptEslintPromiseFunctionAsync>
|
|
1069
|
+
/**
|
|
1070
|
+
* Enforce that `get()` types should be assignable to their equivalent `set()` type
|
|
1071
|
+
* @see https://typescript-eslint.io/rules/related-getter-setter-pairs
|
|
1072
|
+
*/
|
|
1073
|
+
'@typescript-eslint/related-getter-setter-pairs'?: Linter.RuleEntry<[]>
|
|
1064
1074
|
/**
|
|
1065
1075
|
* Require `Array#sort` and `Array#toSorted` calls to always provide a `compareFunction`
|
|
1066
1076
|
* @see https://typescript-eslint.io/rules/require-array-sort-compare
|
|
@@ -2623,17 +2633,16 @@ interface RuleOptions {
|
|
|
2623
2633
|
* @see https://perfectionist.dev/rules/sort-array-includes
|
|
2624
2634
|
*/
|
|
2625
2635
|
'perfectionist/sort-array-includes'?: Linter.RuleEntry<PerfectionistSortArrayIncludes>
|
|
2626
|
-
/**
|
|
2627
|
-
* Enforce sorted Astro attributes.
|
|
2628
|
-
* @see https://perfectionist.dev/rules/sort-astro-attributes
|
|
2629
|
-
* @deprecated
|
|
2630
|
-
*/
|
|
2631
|
-
'perfectionist/sort-astro-attributes'?: Linter.RuleEntry<PerfectionistSortAstroAttributes>
|
|
2632
2636
|
/**
|
|
2633
2637
|
* Enforce sorted classes.
|
|
2634
2638
|
* @see https://perfectionist.dev/rules/sort-classes
|
|
2635
2639
|
*/
|
|
2636
2640
|
'perfectionist/sort-classes'?: Linter.RuleEntry<PerfectionistSortClasses>
|
|
2641
|
+
/**
|
|
2642
|
+
* Enforce sorted decorators.
|
|
2643
|
+
* @see https://perfectionist.dev/rules/sort-decorators
|
|
2644
|
+
*/
|
|
2645
|
+
'perfectionist/sort-decorators'?: Linter.RuleEntry<PerfectionistSortDecorators>
|
|
2637
2646
|
/**
|
|
2638
2647
|
* Enforce sorted TypeScript enums.
|
|
2639
2648
|
* @see https://perfectionist.dev/rules/sort-enums
|
|
@@ -2644,6 +2653,11 @@ interface RuleOptions {
|
|
|
2644
2653
|
* @see https://perfectionist.dev/rules/sort-exports
|
|
2645
2654
|
*/
|
|
2646
2655
|
'perfectionist/sort-exports'?: Linter.RuleEntry<PerfectionistSortExports>
|
|
2656
|
+
/**
|
|
2657
|
+
* Enforce sorted heritage clauses.
|
|
2658
|
+
* @see https://perfectionist.dev/rules/sort-heritage-clauses
|
|
2659
|
+
*/
|
|
2660
|
+
'perfectionist/sort-heritage-clauses'?: Linter.RuleEntry<PerfectionistSortHeritageClauses>
|
|
2647
2661
|
/**
|
|
2648
2662
|
* Enforce sorted imports.
|
|
2649
2663
|
* @see https://perfectionist.dev/rules/sort-imports
|
|
@@ -2669,6 +2683,11 @@ interface RuleOptions {
|
|
|
2669
2683
|
* @see https://perfectionist.dev/rules/sort-maps
|
|
2670
2684
|
*/
|
|
2671
2685
|
'perfectionist/sort-maps'?: Linter.RuleEntry<PerfectionistSortMaps>
|
|
2686
|
+
/**
|
|
2687
|
+
* Enforce sorted modules.
|
|
2688
|
+
* @see https://perfectionist.dev/rules/sort-modules
|
|
2689
|
+
*/
|
|
2690
|
+
'perfectionist/sort-modules'?: Linter.RuleEntry<PerfectionistSortModules>
|
|
2672
2691
|
/**
|
|
2673
2692
|
* Enforce sorted named exports.
|
|
2674
2693
|
* @see https://perfectionist.dev/rules/sort-named-exports
|
|
@@ -2694,12 +2713,6 @@ interface RuleOptions {
|
|
|
2694
2713
|
* @see https://perfectionist.dev/rules/sort-sets
|
|
2695
2714
|
*/
|
|
2696
2715
|
'perfectionist/sort-sets'?: Linter.RuleEntry<PerfectionistSortSets>
|
|
2697
|
-
/**
|
|
2698
|
-
* Enforce sorted Svelte attributes.
|
|
2699
|
-
* @see https://perfectionist.dev/rules/sort-svelte-attributes
|
|
2700
|
-
* @deprecated
|
|
2701
|
-
*/
|
|
2702
|
-
'perfectionist/sort-svelte-attributes'?: Linter.RuleEntry<PerfectionistSortSvelteAttributes>
|
|
2703
2716
|
/**
|
|
2704
2717
|
* Enforce sorted switch cases.
|
|
2705
2718
|
* @see https://perfectionist.dev/rules/sort-switch-case
|
|
@@ -2715,12 +2728,6 @@ interface RuleOptions {
|
|
|
2715
2728
|
* @see https://perfectionist.dev/rules/sort-variable-declarations
|
|
2716
2729
|
*/
|
|
2717
2730
|
'perfectionist/sort-variable-declarations'?: Linter.RuleEntry<PerfectionistSortVariableDeclarations>
|
|
2718
|
-
/**
|
|
2719
|
-
* Enforce sorted Vue attributes.
|
|
2720
|
-
* @see https://perfectionist.dev/rules/sort-vue-attributes
|
|
2721
|
-
* @deprecated
|
|
2722
|
-
*/
|
|
2723
|
-
'perfectionist/sort-vue-attributes'?: Linter.RuleEntry<PerfectionistSortVueAttributes>
|
|
2724
2731
|
/**
|
|
2725
2732
|
* Require using arrow functions for callbacks
|
|
2726
2733
|
* @see https://eslint.org/docs/latest/rules/prefer-arrow-callback
|
|
@@ -2855,103 +2862,103 @@ interface RuleOptions {
|
|
|
2855
2862
|
'semi-style'?: Linter.RuleEntry<SemiStyle>
|
|
2856
2863
|
/**
|
|
2857
2864
|
* Disallow early returns in components. Solid components only run once, and so conditionals should be inside JSX.
|
|
2858
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/components-return-once.md
|
|
2865
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/components-return-once.md
|
|
2859
2866
|
*/
|
|
2860
2867
|
'solid/components-return-once'?: Linter.RuleEntry<[]>
|
|
2861
2868
|
/**
|
|
2862
2869
|
* Enforce naming DOM element event handlers consistently and prevent Solid's analysis from misunderstanding whether a prop should be an event handler.
|
|
2863
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/event-handlers.md
|
|
2870
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/event-handlers.md
|
|
2864
2871
|
*/
|
|
2865
2872
|
'solid/event-handlers'?: Linter.RuleEntry<SolidEventHandlers>
|
|
2866
2873
|
/**
|
|
2867
2874
|
* Enforce consistent imports from "solid-js", "solid-js/web", and "solid-js/store".
|
|
2868
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/imports.md
|
|
2875
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/imports.md
|
|
2869
2876
|
*/
|
|
2870
2877
|
'solid/imports'?: Linter.RuleEntry<[]>
|
|
2871
2878
|
/**
|
|
2872
2879
|
* Disallow passing the same prop twice in JSX.
|
|
2873
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/jsx-no-duplicate-props.md
|
|
2880
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/jsx-no-duplicate-props.md
|
|
2874
2881
|
*/
|
|
2875
2882
|
'solid/jsx-no-duplicate-props'?: Linter.RuleEntry<SolidJsxNoDuplicateProps>
|
|
2876
2883
|
/**
|
|
2877
2884
|
* Disallow javascript: URLs.
|
|
2878
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/jsx-no-script-url.md
|
|
2885
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/jsx-no-script-url.md
|
|
2879
2886
|
*/
|
|
2880
2887
|
'solid/jsx-no-script-url'?: Linter.RuleEntry<[]>
|
|
2881
2888
|
/**
|
|
2882
2889
|
* Disallow references to undefined variables in JSX. Handles custom directives.
|
|
2883
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/jsx-no-undef.md
|
|
2890
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/jsx-no-undef.md
|
|
2884
2891
|
*/
|
|
2885
2892
|
'solid/jsx-no-undef'?: Linter.RuleEntry<SolidJsxNoUndef>
|
|
2886
2893
|
/**
|
|
2887
2894
|
* Prevent variables used in JSX from being marked as unused.
|
|
2888
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/jsx-uses-vars.md
|
|
2895
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/jsx-uses-vars.md
|
|
2889
2896
|
*/
|
|
2890
2897
|
'solid/jsx-uses-vars'?: Linter.RuleEntry<[]>
|
|
2891
2898
|
/**
|
|
2892
2899
|
* Disallow usage of type-unsafe event handlers.
|
|
2893
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/no-array-handlers.md
|
|
2900
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-array-handlers.md
|
|
2894
2901
|
*/
|
|
2895
2902
|
'solid/no-array-handlers'?: Linter.RuleEntry<[]>
|
|
2896
2903
|
/**
|
|
2897
2904
|
* Disallow destructuring props. In Solid, props must be used with property accesses (`props.foo`) to preserve reactivity. This rule only tracks destructuring in the parameter list.
|
|
2898
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/no-destructure.md
|
|
2905
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-destructure.md
|
|
2899
2906
|
*/
|
|
2900
2907
|
'solid/no-destructure'?: Linter.RuleEntry<[]>
|
|
2901
2908
|
/**
|
|
2902
2909
|
* Disallow usage of the innerHTML attribute, which can often lead to security vulnerabilities.
|
|
2903
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/no-innerhtml.md
|
|
2910
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-innerhtml.md
|
|
2904
2911
|
*/
|
|
2905
2912
|
'solid/no-innerhtml'?: Linter.RuleEntry<SolidNoInnerhtml>
|
|
2906
2913
|
/**
|
|
2907
2914
|
* Disallow usage of APIs that use ES6 Proxies, only to target environments that don't support them.
|
|
2908
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/no-proxy-apis.md
|
|
2915
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-proxy-apis.md
|
|
2909
2916
|
*/
|
|
2910
2917
|
'solid/no-proxy-apis'?: Linter.RuleEntry<[]>
|
|
2911
2918
|
/**
|
|
2912
2919
|
* Disallow usage of dependency arrays in `createEffect` and `createMemo`.
|
|
2913
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/no-react-deps.md
|
|
2920
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-react-deps.md
|
|
2914
2921
|
*/
|
|
2915
2922
|
'solid/no-react-deps'?: Linter.RuleEntry<[]>
|
|
2916
2923
|
/**
|
|
2917
2924
|
* Disallow usage of React-specific `className`/`htmlFor` props, which were deprecated in v1.4.0.
|
|
2918
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/no-react-specific-props.md
|
|
2925
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-react-specific-props.md
|
|
2919
2926
|
*/
|
|
2920
2927
|
'solid/no-react-specific-props'?: Linter.RuleEntry<[]>
|
|
2921
2928
|
/**
|
|
2922
2929
|
* Enforce using only Solid-specific namespaced attribute names (i.e. `'on:'` in `<div on:click={...} />`).
|
|
2923
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/no-unknown-namespaces.md
|
|
2930
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-unknown-namespaces.md
|
|
2924
2931
|
*/
|
|
2925
2932
|
'solid/no-unknown-namespaces'?: Linter.RuleEntry<SolidNoUnknownNamespaces>
|
|
2926
2933
|
/**
|
|
2927
2934
|
* Enforce using the classlist prop over importing a classnames helper. The classlist prop accepts an object `{ [class: string]: boolean }` just like classnames.
|
|
2928
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/prefer-classlist.md
|
|
2935
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/prefer-classlist.md
|
|
2929
2936
|
* @deprecated
|
|
2930
2937
|
*/
|
|
2931
2938
|
'solid/prefer-classlist'?: Linter.RuleEntry<SolidPreferClasslist>
|
|
2932
2939
|
/**
|
|
2933
2940
|
* Enforce using Solid's `<For />` component for mapping an array to JSX elements.
|
|
2934
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/prefer-for.md
|
|
2941
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/prefer-for.md
|
|
2935
2942
|
*/
|
|
2936
2943
|
'solid/prefer-for'?: Linter.RuleEntry<[]>
|
|
2937
2944
|
/**
|
|
2938
2945
|
* Enforce using Solid's `<Show />` component for conditionally showing content. Solid's compiler covers this case, so it's a stylistic rule only.
|
|
2939
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/prefer-show.md
|
|
2946
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/prefer-show.md
|
|
2940
2947
|
*/
|
|
2941
2948
|
'solid/prefer-show'?: Linter.RuleEntry<[]>
|
|
2942
2949
|
/**
|
|
2943
2950
|
* Enforce that reactivity (props, signals, memos, etc.) is properly used, so changes in those values will be tracked and update the view as expected.
|
|
2944
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/reactivity.md
|
|
2951
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/reactivity.md
|
|
2945
2952
|
*/
|
|
2946
2953
|
'solid/reactivity'?: Linter.RuleEntry<SolidReactivity>
|
|
2947
2954
|
/**
|
|
2948
2955
|
* Disallow extra closing tags for components without children.
|
|
2949
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/self-closing-comp.md
|
|
2956
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/self-closing-comp.md
|
|
2950
2957
|
*/
|
|
2951
2958
|
'solid/self-closing-comp'?: Linter.RuleEntry<SolidSelfClosingComp>
|
|
2952
2959
|
/**
|
|
2953
2960
|
* Require CSS properties in the `style` prop to be valid and kebab-cased (ex. 'font-size'), not camel-cased (ex. 'fontSize') like in React, and that property values with dimensions are strings, not numbers with implicit 'px' units.
|
|
2954
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/style-prop.md
|
|
2961
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/style-prop.md
|
|
2955
2962
|
*/
|
|
2956
2963
|
'solid/style-prop'?: Linter.RuleEntry<SolidStyleProp>
|
|
2957
2964
|
/**
|
|
@@ -3406,702 +3413,702 @@ interface RuleOptions {
|
|
|
3406
3413
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
3407
3414
|
/**
|
|
3408
3415
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
3409
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3416
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/better-regex.md
|
|
3410
3417
|
*/
|
|
3411
3418
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
3412
3419
|
/**
|
|
3413
3420
|
* Enforce a specific parameter name in catch clauses.
|
|
3414
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3421
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/catch-error-name.md
|
|
3415
3422
|
*/
|
|
3416
3423
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
3417
3424
|
/**
|
|
3418
3425
|
* Use destructured variables over properties.
|
|
3419
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3426
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-destructuring.md
|
|
3420
3427
|
*/
|
|
3421
3428
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
|
|
3422
3429
|
/**
|
|
3423
3430
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
3424
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3431
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-empty-array-spread.md
|
|
3425
3432
|
*/
|
|
3426
3433
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
|
|
3427
3434
|
/**
|
|
3428
3435
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
3429
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3436
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-existence-index-check.md
|
|
3430
3437
|
*/
|
|
3431
3438
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
|
|
3432
3439
|
/**
|
|
3433
3440
|
* Move function definitions to the highest possible scope.
|
|
3434
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3441
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-function-scoping.md
|
|
3435
3442
|
*/
|
|
3436
3443
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
3437
3444
|
/**
|
|
3438
3445
|
* Enforce correct `Error` subclassing.
|
|
3439
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3446
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/custom-error-definition.md
|
|
3440
3447
|
*/
|
|
3441
3448
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
3442
3449
|
/**
|
|
3443
3450
|
* Enforce no spaces between braces.
|
|
3444
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3451
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/empty-brace-spaces.md
|
|
3445
3452
|
*/
|
|
3446
3453
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
3447
3454
|
/**
|
|
3448
3455
|
* Enforce passing a `message` value when creating a built-in error.
|
|
3449
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3456
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/error-message.md
|
|
3450
3457
|
*/
|
|
3451
3458
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
3452
3459
|
/**
|
|
3453
3460
|
* Require escape sequences to use uppercase values.
|
|
3454
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3461
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/escape-case.md
|
|
3455
3462
|
*/
|
|
3456
3463
|
'unicorn/escape-case'?: Linter.RuleEntry<[]>
|
|
3457
3464
|
/**
|
|
3458
3465
|
* Add expiration conditions to TODO comments.
|
|
3459
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3466
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/expiring-todo-comments.md
|
|
3460
3467
|
*/
|
|
3461
3468
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
3462
3469
|
/**
|
|
3463
3470
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
3464
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3471
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/explicit-length-check.md
|
|
3465
3472
|
*/
|
|
3466
3473
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
3467
3474
|
/**
|
|
3468
3475
|
* Enforce a case style for filenames.
|
|
3469
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3476
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/filename-case.md
|
|
3470
3477
|
*/
|
|
3471
3478
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
3472
3479
|
/**
|
|
3473
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3480
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#import-index
|
|
3474
3481
|
* @deprecated
|
|
3475
3482
|
*/
|
|
3476
3483
|
'unicorn/import-index'?: Linter.RuleEntry<[]>
|
|
3477
3484
|
/**
|
|
3478
3485
|
* Enforce specific import styles per module.
|
|
3479
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3486
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/import-style.md
|
|
3480
3487
|
*/
|
|
3481
3488
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
3482
3489
|
/**
|
|
3483
3490
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
3484
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3491
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/new-for-builtins.md
|
|
3485
3492
|
*/
|
|
3486
3493
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
3487
3494
|
/**
|
|
3488
3495
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
3489
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3496
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-abusive-eslint-disable.md
|
|
3490
3497
|
*/
|
|
3491
3498
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
3492
3499
|
/**
|
|
3493
3500
|
* Disallow anonymous functions and classes as the default export.
|
|
3494
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3501
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-anonymous-default-export.md
|
|
3495
3502
|
*/
|
|
3496
3503
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
3497
3504
|
/**
|
|
3498
3505
|
* Prevent passing a function reference directly to iterator methods.
|
|
3499
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3506
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-callback-reference.md
|
|
3500
3507
|
*/
|
|
3501
3508
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
3502
3509
|
/**
|
|
3503
3510
|
* Prefer `for…of` over the `forEach` method.
|
|
3504
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3511
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-for-each.md
|
|
3505
3512
|
*/
|
|
3506
3513
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
3507
3514
|
/**
|
|
3508
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3515
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-array-instanceof
|
|
3509
3516
|
* @deprecated
|
|
3510
3517
|
*/
|
|
3511
3518
|
'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
|
|
3512
3519
|
/**
|
|
3513
3520
|
* Disallow using the `this` argument in array methods.
|
|
3514
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3521
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-method-this-argument.md
|
|
3515
3522
|
*/
|
|
3516
3523
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
3517
3524
|
/**
|
|
3518
3525
|
* Enforce combining multiple `Array#push()` into one call.
|
|
3519
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3526
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-push-push.md
|
|
3520
3527
|
*/
|
|
3521
3528
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
|
|
3522
3529
|
/**
|
|
3523
3530
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
3524
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3531
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-reduce.md
|
|
3525
3532
|
*/
|
|
3526
3533
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
3527
3534
|
/**
|
|
3528
3535
|
* Disallow member access from await expression.
|
|
3529
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3536
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-await-expression-member.md
|
|
3530
3537
|
*/
|
|
3531
3538
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
3532
3539
|
/**
|
|
3533
3540
|
* Disallow using `await` in `Promise` method parameters.
|
|
3534
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3541
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-await-in-promise-methods.md
|
|
3535
3542
|
*/
|
|
3536
3543
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
3537
3544
|
/**
|
|
3538
3545
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
3539
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3546
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-console-spaces.md
|
|
3540
3547
|
*/
|
|
3541
3548
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
3542
3549
|
/**
|
|
3543
3550
|
* Do not use `document.cookie` directly.
|
|
3544
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3551
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-document-cookie.md
|
|
3545
3552
|
*/
|
|
3546
3553
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
3547
3554
|
/**
|
|
3548
3555
|
* Disallow empty files.
|
|
3549
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3556
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-empty-file.md
|
|
3550
3557
|
*/
|
|
3551
3558
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
3552
3559
|
/**
|
|
3553
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3560
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-fn-reference-in-iterator
|
|
3554
3561
|
* @deprecated
|
|
3555
3562
|
*/
|
|
3556
3563
|
'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
|
|
3557
3564
|
/**
|
|
3558
3565
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
3559
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3566
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-for-loop.md
|
|
3560
3567
|
*/
|
|
3561
3568
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
3562
3569
|
/**
|
|
3563
3570
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
3564
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3571
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-hex-escape.md
|
|
3565
3572
|
*/
|
|
3566
3573
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
3567
3574
|
/**
|
|
3568
3575
|
* Require `Array.isArray()` instead of `instanceof Array`.
|
|
3569
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3576
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-instanceof-array.md
|
|
3570
3577
|
*/
|
|
3571
3578
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
|
|
3572
3579
|
/**
|
|
3573
3580
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
3574
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3581
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-invalid-fetch-options.md
|
|
3575
3582
|
*/
|
|
3576
3583
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
|
|
3577
3584
|
/**
|
|
3578
3585
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
3579
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3586
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-invalid-remove-event-listener.md
|
|
3580
3587
|
*/
|
|
3581
3588
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
3582
3589
|
/**
|
|
3583
3590
|
* Disallow identifiers starting with `new` or `class`.
|
|
3584
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3591
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-keyword-prefix.md
|
|
3585
3592
|
*/
|
|
3586
3593
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
3587
3594
|
/**
|
|
3588
3595
|
* Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
3589
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3596
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-length-as-slice-end.md
|
|
3590
3597
|
*/
|
|
3591
3598
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
|
|
3592
3599
|
/**
|
|
3593
3600
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
3594
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3601
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-lonely-if.md
|
|
3595
3602
|
*/
|
|
3596
3603
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
|
|
3597
3604
|
/**
|
|
3598
3605
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
3599
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3606
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-magic-array-flat-depth.md
|
|
3600
3607
|
*/
|
|
3601
3608
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
3602
3609
|
/**
|
|
3603
3610
|
* Disallow negated conditions.
|
|
3604
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3611
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-negated-condition.md
|
|
3605
3612
|
*/
|
|
3606
3613
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
3607
3614
|
/**
|
|
3608
3615
|
* Disallow negated expression in equality check.
|
|
3609
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3616
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-negation-in-equality-check.md
|
|
3610
3617
|
*/
|
|
3611
3618
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
|
|
3612
3619
|
/**
|
|
3613
3620
|
* Disallow nested ternary expressions.
|
|
3614
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3621
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-nested-ternary.md
|
|
3615
3622
|
*/
|
|
3616
3623
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
3617
3624
|
/**
|
|
3618
3625
|
* Disallow `new Array()`.
|
|
3619
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3626
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-new-array.md
|
|
3620
3627
|
*/
|
|
3621
3628
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
3622
3629
|
/**
|
|
3623
3630
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
3624
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3631
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-new-buffer.md
|
|
3625
3632
|
*/
|
|
3626
3633
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
3627
3634
|
/**
|
|
3628
3635
|
* Disallow the use of the `null` literal.
|
|
3629
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3636
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-null.md
|
|
3630
3637
|
*/
|
|
3631
3638
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
3632
3639
|
/**
|
|
3633
3640
|
* Disallow the use of objects as default parameters.
|
|
3634
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3641
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-object-as-default-parameter.md
|
|
3635
3642
|
*/
|
|
3636
3643
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
3637
3644
|
/**
|
|
3638
3645
|
* Disallow `process.exit()`.
|
|
3639
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3646
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-process-exit.md
|
|
3640
3647
|
*/
|
|
3641
3648
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
3642
3649
|
/**
|
|
3643
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3650
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-reduce
|
|
3644
3651
|
* @deprecated
|
|
3645
3652
|
*/
|
|
3646
3653
|
'unicorn/no-reduce'?: Linter.RuleEntry<[]>
|
|
3647
3654
|
/**
|
|
3648
3655
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
3649
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3656
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-single-promise-in-promise-methods.md
|
|
3650
3657
|
*/
|
|
3651
3658
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
3652
3659
|
/**
|
|
3653
3660
|
* Disallow classes that only have static members.
|
|
3654
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3661
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-static-only-class.md
|
|
3655
3662
|
*/
|
|
3656
3663
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
3657
3664
|
/**
|
|
3658
3665
|
* Disallow `then` property.
|
|
3659
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3666
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-thenable.md
|
|
3660
3667
|
*/
|
|
3661
3668
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
3662
3669
|
/**
|
|
3663
3670
|
* Disallow assigning `this` to a variable.
|
|
3664
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3671
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-this-assignment.md
|
|
3665
3672
|
*/
|
|
3666
3673
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
3667
3674
|
/**
|
|
3668
3675
|
* Disallow comparing `undefined` using `typeof`.
|
|
3669
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3676
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-typeof-undefined.md
|
|
3670
3677
|
*/
|
|
3671
3678
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
3672
3679
|
/**
|
|
3673
3680
|
* Disallow awaiting non-promise values.
|
|
3674
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3681
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unnecessary-await.md
|
|
3675
3682
|
*/
|
|
3676
3683
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
3677
3684
|
/**
|
|
3678
3685
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
3679
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3686
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unnecessary-polyfills.md
|
|
3680
3687
|
*/
|
|
3681
3688
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
3682
3689
|
/**
|
|
3683
3690
|
* Disallow unreadable array destructuring.
|
|
3684
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3691
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unreadable-array-destructuring.md
|
|
3685
3692
|
*/
|
|
3686
3693
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
3687
3694
|
/**
|
|
3688
3695
|
* Disallow unreadable IIFEs.
|
|
3689
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3696
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unreadable-iife.md
|
|
3690
3697
|
*/
|
|
3691
3698
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
3692
3699
|
/**
|
|
3693
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3700
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-unsafe-regex
|
|
3694
3701
|
* @deprecated
|
|
3695
3702
|
*/
|
|
3696
3703
|
'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
|
|
3697
3704
|
/**
|
|
3698
3705
|
* Disallow unused object properties.
|
|
3699
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3706
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unused-properties.md
|
|
3700
3707
|
*/
|
|
3701
3708
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
3702
3709
|
/**
|
|
3703
3710
|
* Disallow useless fallback when spreading in object literals.
|
|
3704
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3711
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-fallback-in-spread.md
|
|
3705
3712
|
*/
|
|
3706
3713
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
3707
3714
|
/**
|
|
3708
3715
|
* Disallow useless array length check.
|
|
3709
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3716
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-length-check.md
|
|
3710
3717
|
*/
|
|
3711
3718
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
3712
3719
|
/**
|
|
3713
3720
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
3714
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3721
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-promise-resolve-reject.md
|
|
3715
3722
|
*/
|
|
3716
3723
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
3717
3724
|
/**
|
|
3718
3725
|
* Disallow unnecessary spread.
|
|
3719
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3726
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-spread.md
|
|
3720
3727
|
*/
|
|
3721
3728
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
3722
3729
|
/**
|
|
3723
3730
|
* Disallow useless case in switch statements.
|
|
3724
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3731
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-switch-case.md
|
|
3725
3732
|
*/
|
|
3726
3733
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
3727
3734
|
/**
|
|
3728
3735
|
* Disallow useless `undefined`.
|
|
3729
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3736
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-undefined.md
|
|
3730
3737
|
*/
|
|
3731
3738
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
3732
3739
|
/**
|
|
3733
3740
|
* Disallow number literals with zero fractions or dangling dots.
|
|
3734
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3741
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-zero-fractions.md
|
|
3735
3742
|
*/
|
|
3736
3743
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
3737
3744
|
/**
|
|
3738
3745
|
* Enforce proper case for numeric literals.
|
|
3739
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3746
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/number-literal-case.md
|
|
3740
3747
|
*/
|
|
3741
3748
|
'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
|
|
3742
3749
|
/**
|
|
3743
3750
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
3744
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3751
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/numeric-separators-style.md
|
|
3745
3752
|
*/
|
|
3746
3753
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
3747
3754
|
/**
|
|
3748
3755
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
3749
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3756
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-add-event-listener.md
|
|
3750
3757
|
*/
|
|
3751
3758
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
3752
3759
|
/**
|
|
3753
3760
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
3754
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3761
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-find.md
|
|
3755
3762
|
*/
|
|
3756
3763
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
3757
3764
|
/**
|
|
3758
3765
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
3759
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3766
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-flat.md
|
|
3760
3767
|
*/
|
|
3761
3768
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
3762
3769
|
/**
|
|
3763
3770
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
3764
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3771
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-flat-map.md
|
|
3765
3772
|
*/
|
|
3766
3773
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
3767
3774
|
/**
|
|
3768
3775
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
3769
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3776
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-index-of.md
|
|
3770
3777
|
*/
|
|
3771
3778
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
3772
3779
|
/**
|
|
3773
3780
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
3774
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3781
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-some.md
|
|
3775
3782
|
*/
|
|
3776
3783
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
3777
3784
|
/**
|
|
3778
3785
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
3779
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3786
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-at.md
|
|
3780
3787
|
*/
|
|
3781
3788
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
3782
3789
|
/**
|
|
3783
3790
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
3784
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3791
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-blob-reading-methods.md
|
|
3785
3792
|
*/
|
|
3786
3793
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
3787
3794
|
/**
|
|
3788
3795
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
3789
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3796
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-code-point.md
|
|
3790
3797
|
*/
|
|
3791
3798
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
3792
3799
|
/**
|
|
3793
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3800
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-dataset
|
|
3794
3801
|
* @deprecated
|
|
3795
3802
|
*/
|
|
3796
3803
|
'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
|
|
3797
3804
|
/**
|
|
3798
3805
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
3799
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3806
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-date-now.md
|
|
3800
3807
|
*/
|
|
3801
3808
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
3802
3809
|
/**
|
|
3803
3810
|
* Prefer default parameters over reassignment.
|
|
3804
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3811
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-default-parameters.md
|
|
3805
3812
|
*/
|
|
3806
3813
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
3807
3814
|
/**
|
|
3808
3815
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
3809
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3816
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-append.md
|
|
3810
3817
|
*/
|
|
3811
3818
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
3812
3819
|
/**
|
|
3813
3820
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
3814
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3821
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-dataset.md
|
|
3815
3822
|
*/
|
|
3816
3823
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
3817
3824
|
/**
|
|
3818
3825
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
3819
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3826
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-remove.md
|
|
3820
3827
|
*/
|
|
3821
3828
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
3822
3829
|
/**
|
|
3823
3830
|
* Prefer `.textContent` over `.innerText`.
|
|
3824
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3831
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-text-content.md
|
|
3825
3832
|
*/
|
|
3826
3833
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
3827
3834
|
/**
|
|
3828
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3835
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-event-key
|
|
3829
3836
|
* @deprecated
|
|
3830
3837
|
*/
|
|
3831
3838
|
'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
|
|
3832
3839
|
/**
|
|
3833
3840
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
3834
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3841
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-event-target.md
|
|
3835
3842
|
*/
|
|
3836
3843
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
3837
3844
|
/**
|
|
3838
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3845
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-exponentiation-operator
|
|
3839
3846
|
* @deprecated
|
|
3840
3847
|
*/
|
|
3841
3848
|
'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
|
|
3842
3849
|
/**
|
|
3843
3850
|
* Prefer `export…from` when re-exporting.
|
|
3844
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3851
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-export-from.md
|
|
3845
3852
|
*/
|
|
3846
3853
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
3847
3854
|
/**
|
|
3848
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3855
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-flat-map
|
|
3849
3856
|
* @deprecated
|
|
3850
3857
|
*/
|
|
3851
3858
|
'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
|
|
3852
3859
|
/**
|
|
3853
3860
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
3854
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3861
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-global-this.md
|
|
3855
3862
|
*/
|
|
3856
3863
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
|
|
3857
3864
|
/**
|
|
3858
3865
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
3859
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3866
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-includes.md
|
|
3860
3867
|
*/
|
|
3861
3868
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
3862
3869
|
/**
|
|
3863
3870
|
* Prefer reading a JSON file as a buffer.
|
|
3864
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3871
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-json-parse-buffer.md
|
|
3865
3872
|
*/
|
|
3866
3873
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
3867
3874
|
/**
|
|
3868
3875
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
3869
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3876
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-keyboard-event-key.md
|
|
3870
3877
|
*/
|
|
3871
3878
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
3872
3879
|
/**
|
|
3873
3880
|
* Prefer using a logical operator over a ternary.
|
|
3874
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3881
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-logical-operator-over-ternary.md
|
|
3875
3882
|
*/
|
|
3876
3883
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
3877
3884
|
/**
|
|
3878
3885
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
3879
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3886
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-math-min-max.md
|
|
3880
3887
|
*/
|
|
3881
3888
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
|
|
3882
3889
|
/**
|
|
3883
3890
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
3884
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3891
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-math-trunc.md
|
|
3885
3892
|
*/
|
|
3886
3893
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
3887
3894
|
/**
|
|
3888
3895
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
3889
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3896
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-modern-dom-apis.md
|
|
3890
3897
|
*/
|
|
3891
3898
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
3892
3899
|
/**
|
|
3893
3900
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
3894
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3901
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-modern-math-apis.md
|
|
3895
3902
|
*/
|
|
3896
3903
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
3897
3904
|
/**
|
|
3898
3905
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
3899
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3906
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-module.md
|
|
3900
3907
|
*/
|
|
3901
3908
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
3902
3909
|
/**
|
|
3903
3910
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
3904
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3911
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-native-coercion-functions.md
|
|
3905
3912
|
*/
|
|
3906
3913
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
3907
3914
|
/**
|
|
3908
3915
|
* Prefer negative index over `.length - index` when possible.
|
|
3909
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3916
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-negative-index.md
|
|
3910
3917
|
*/
|
|
3911
3918
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
3912
3919
|
/**
|
|
3913
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3920
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-node-append
|
|
3914
3921
|
* @deprecated
|
|
3915
3922
|
*/
|
|
3916
3923
|
'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
|
|
3917
3924
|
/**
|
|
3918
3925
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
3919
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3926
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-node-protocol.md
|
|
3920
3927
|
*/
|
|
3921
3928
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
3922
3929
|
/**
|
|
3923
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3930
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-node-remove
|
|
3924
3931
|
* @deprecated
|
|
3925
3932
|
*/
|
|
3926
3933
|
'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
|
|
3927
3934
|
/**
|
|
3928
3935
|
* Prefer `Number` static properties over global ones.
|
|
3929
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3936
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-number-properties.md
|
|
3930
3937
|
*/
|
|
3931
3938
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
3932
3939
|
/**
|
|
3933
3940
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
3934
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3941
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-object-from-entries.md
|
|
3935
3942
|
*/
|
|
3936
3943
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
3937
3944
|
/**
|
|
3938
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3945
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-object-has-own
|
|
3939
3946
|
* @deprecated
|
|
3940
3947
|
*/
|
|
3941
3948
|
'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
|
|
3942
3949
|
/**
|
|
3943
3950
|
* Prefer omitting the `catch` binding parameter.
|
|
3944
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3951
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-optional-catch-binding.md
|
|
3945
3952
|
*/
|
|
3946
3953
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
3947
3954
|
/**
|
|
3948
3955
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
3949
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3956
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-prototype-methods.md
|
|
3950
3957
|
*/
|
|
3951
3958
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
3952
3959
|
/**
|
|
3953
3960
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
3954
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3961
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-query-selector.md
|
|
3955
3962
|
*/
|
|
3956
3963
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
3957
3964
|
/**
|
|
3958
3965
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
3959
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3966
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-reflect-apply.md
|
|
3960
3967
|
*/
|
|
3961
3968
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
3962
3969
|
/**
|
|
3963
3970
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
3964
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3971
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-regexp-test.md
|
|
3965
3972
|
*/
|
|
3966
3973
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
3967
3974
|
/**
|
|
3968
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3975
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-replace-all
|
|
3969
3976
|
* @deprecated
|
|
3970
3977
|
*/
|
|
3971
3978
|
'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
|
|
3972
3979
|
/**
|
|
3973
3980
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
3974
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3981
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-set-has.md
|
|
3975
3982
|
*/
|
|
3976
3983
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
3977
3984
|
/**
|
|
3978
3985
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
3979
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3986
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-set-size.md
|
|
3980
3987
|
*/
|
|
3981
3988
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
3982
3989
|
/**
|
|
3983
3990
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
3984
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3991
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-spread.md
|
|
3985
3992
|
*/
|
|
3986
3993
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
3987
3994
|
/**
|
|
3988
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
3995
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-starts-ends-with
|
|
3989
3996
|
* @deprecated
|
|
3990
3997
|
*/
|
|
3991
3998
|
'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
3992
3999
|
/**
|
|
3993
4000
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
3994
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4001
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-raw.md
|
|
3995
4002
|
*/
|
|
3996
4003
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
|
|
3997
4004
|
/**
|
|
3998
4005
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
3999
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4006
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-replace-all.md
|
|
4000
4007
|
*/
|
|
4001
4008
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
4002
4009
|
/**
|
|
4003
4010
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
4004
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4011
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-slice.md
|
|
4005
4012
|
*/
|
|
4006
4013
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
4007
4014
|
/**
|
|
4008
4015
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
4009
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4016
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-starts-ends-with.md
|
|
4010
4017
|
*/
|
|
4011
4018
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
4012
4019
|
/**
|
|
4013
4020
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
4014
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4021
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-trim-start-end.md
|
|
4015
4022
|
*/
|
|
4016
4023
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
|
|
4017
4024
|
/**
|
|
4018
4025
|
* Prefer using `structuredClone` to create a deep clone.
|
|
4019
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4026
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-structured-clone.md
|
|
4020
4027
|
*/
|
|
4021
4028
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
|
|
4022
4029
|
/**
|
|
4023
4030
|
* Prefer `switch` over multiple `else-if`.
|
|
4024
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4031
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-switch.md
|
|
4025
4032
|
*/
|
|
4026
4033
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
4027
4034
|
/**
|
|
4028
4035
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
4029
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4036
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-ternary.md
|
|
4030
4037
|
*/
|
|
4031
4038
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
4032
4039
|
/**
|
|
4033
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4040
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-text-content
|
|
4034
4041
|
* @deprecated
|
|
4035
4042
|
*/
|
|
4036
4043
|
'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
|
|
4037
4044
|
/**
|
|
4038
4045
|
* Prefer top-level await over top-level promises and async function calls.
|
|
4039
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4046
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-top-level-await.md
|
|
4040
4047
|
*/
|
|
4041
4048
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
4042
4049
|
/**
|
|
4043
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4050
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-trim-start-end
|
|
4044
4051
|
* @deprecated
|
|
4045
4052
|
*/
|
|
4046
4053
|
'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
|
|
4047
4054
|
/**
|
|
4048
4055
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
4049
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4056
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-type-error.md
|
|
4050
4057
|
*/
|
|
4051
4058
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
4052
4059
|
/**
|
|
4053
4060
|
* Prevent abbreviations.
|
|
4054
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4061
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prevent-abbreviations.md
|
|
4055
4062
|
*/
|
|
4056
4063
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
4057
4064
|
/**
|
|
4058
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4065
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#regex-shorthand
|
|
4059
4066
|
* @deprecated
|
|
4060
4067
|
*/
|
|
4061
4068
|
'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
|
|
4062
4069
|
/**
|
|
4063
4070
|
* Enforce consistent relative URL style.
|
|
4064
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4071
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/relative-url-style.md
|
|
4065
4072
|
*/
|
|
4066
4073
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
4067
4074
|
/**
|
|
4068
4075
|
* Enforce using the separator argument with `Array#join()`.
|
|
4069
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4076
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-array-join-separator.md
|
|
4070
4077
|
*/
|
|
4071
4078
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
4072
4079
|
/**
|
|
4073
4080
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
4074
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4081
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-number-to-fixed-digits-argument.md
|
|
4075
4082
|
*/
|
|
4076
4083
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
4077
4084
|
/**
|
|
4078
4085
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
4079
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4086
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-post-message-target-origin.md
|
|
4080
4087
|
*/
|
|
4081
4088
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
4082
4089
|
/**
|
|
4083
4090
|
* Enforce better string content.
|
|
4084
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4091
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/string-content.md
|
|
4085
4092
|
*/
|
|
4086
4093
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
4087
4094
|
/**
|
|
4088
4095
|
* Enforce consistent brace style for `case` clauses.
|
|
4089
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4096
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/switch-case-braces.md
|
|
4090
4097
|
*/
|
|
4091
4098
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
4092
4099
|
/**
|
|
4093
4100
|
* Fix whitespace-insensitive template indentation.
|
|
4094
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4101
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/template-indent.md
|
|
4095
4102
|
*/
|
|
4096
4103
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
4097
4104
|
/**
|
|
4098
4105
|
* Enforce consistent case for text encoding identifiers.
|
|
4099
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4106
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/text-encoding-identifier-case.md
|
|
4100
4107
|
*/
|
|
4101
4108
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
|
|
4102
4109
|
/**
|
|
4103
4110
|
* Require `new` when creating an error.
|
|
4104
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4111
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/throw-new-error.md
|
|
4105
4112
|
*/
|
|
4106
4113
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
4107
4114
|
/**
|
|
@@ -4188,6 +4195,8 @@ type StylisticCommaDangle = []|[(_StylisticCommaDangleValue | {
|
|
|
4188
4195
|
imports?: _StylisticCommaDangleValueWithIgnore
|
|
4189
4196
|
exports?: _StylisticCommaDangleValueWithIgnore
|
|
4190
4197
|
functions?: _StylisticCommaDangleValueWithIgnore
|
|
4198
|
+
importAttributes?: _StylisticCommaDangleValueWithIgnore
|
|
4199
|
+
dynamicImports?: _StylisticCommaDangleValueWithIgnore
|
|
4191
4200
|
enums?: _StylisticCommaDangleValueWithIgnore
|
|
4192
4201
|
generics?: _StylisticCommaDangleValueWithIgnore
|
|
4193
4202
|
tuples?: _StylisticCommaDangleValueWithIgnore
|
|
@@ -4337,12 +4346,20 @@ type StylisticEolLast = []|[("always" | "never" | "unix" | "windows")]
|
|
|
4337
4346
|
// ----- @stylistic/func-call-spacing -----
|
|
4338
4347
|
type StylisticFuncCallSpacing = ([]|["never"] | []|["always"]|["always", {
|
|
4339
4348
|
allowNewlines?: boolean
|
|
4349
|
+
optionalChain?: {
|
|
4350
|
+
before?: boolean
|
|
4351
|
+
after?: boolean
|
|
4352
|
+
}
|
|
4340
4353
|
}])
|
|
4341
4354
|
// ----- @stylistic/function-call-argument-newline -----
|
|
4342
4355
|
type StylisticFunctionCallArgumentNewline = []|[("always" | "never" | "consistent")]
|
|
4343
4356
|
// ----- @stylistic/function-call-spacing -----
|
|
4344
4357
|
type StylisticFunctionCallSpacing = ([]|["never"] | []|["always"]|["always", {
|
|
4345
4358
|
allowNewlines?: boolean
|
|
4359
|
+
optionalChain?: {
|
|
4360
|
+
before?: boolean
|
|
4361
|
+
after?: boolean
|
|
4362
|
+
}
|
|
4346
4363
|
}])
|
|
4347
4364
|
// ----- @stylistic/function-paren-newline -----
|
|
4348
4365
|
type StylisticFunctionParenNewline = []|[(("always" | "never" | "consistent" | "multiline" | "multiline-arguments") | {
|
|
@@ -4994,6 +5011,7 @@ type StylisticMaxLen = []|[({
|
|
|
4994
5011
|
// ----- @stylistic/max-statements-per-line -----
|
|
4995
5012
|
type StylisticMaxStatementsPerLine = []|[{
|
|
4996
5013
|
max?: number
|
|
5014
|
+
ignoredNodes?: ("BreakStatement" | "ClassDeclaration" | "ContinueStatement" | "DebuggerStatement" | "DoWhileStatement" | "ExpressionStatement" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "IfStatement" | "ImportDeclaration" | "LabeledStatement" | "ReturnStatement" | "SwitchStatement" | "ThrowStatement" | "TryStatement" | "VariableDeclaration" | "WhileStatement" | "WithStatement" | "ExportNamedDeclaration" | "ExportDefaultDeclaration" | "ExportAllDeclaration")[]
|
|
4997
5015
|
}]
|
|
4998
5016
|
// ----- @stylistic/member-delimiter-style -----
|
|
4999
5017
|
type StylisticMemberDelimiterStyle = []|[{
|
|
@@ -5163,7 +5181,7 @@ type StylisticPaddedBlocks = []|[(("always" | "never") | {
|
|
|
5163
5181
|
}]
|
|
5164
5182
|
// ----- @stylistic/padding-line-between-statements -----
|
|
5165
5183
|
type _StylisticPaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always")
|
|
5166
|
-
type _StylisticPaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]])
|
|
5184
|
+
type _StylisticPaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]])
|
|
5167
5185
|
type StylisticPaddingLineBetweenStatements = {
|
|
5168
5186
|
blankLine: _StylisticPaddingLineBetweenStatementsPaddingType
|
|
5169
5187
|
prev: _StylisticPaddingLineBetweenStatementsStatementType
|
|
@@ -5778,6 +5796,8 @@ type TypescriptEslintNoConfusingVoidExpression = []|[{
|
|
|
5778
5796
|
ignoreArrowShorthand?: boolean
|
|
5779
5797
|
|
|
5780
5798
|
ignoreVoidOperator?: boolean
|
|
5799
|
+
|
|
5800
|
+
ignoreVoidReturningFunctions?: boolean
|
|
5781
5801
|
}]
|
|
5782
5802
|
// ----- @typescript-eslint/no-duplicate-type-constituents -----
|
|
5783
5803
|
type TypescriptEslintNoDuplicateTypeConstituents = []|[{
|
|
@@ -6105,6 +6125,19 @@ type TypescriptEslintNoVarRequires = []|[{
|
|
|
6105
6125
|
// ----- @typescript-eslint/only-throw-error -----
|
|
6106
6126
|
type TypescriptEslintOnlyThrowError = []|[{
|
|
6107
6127
|
|
|
6128
|
+
allow?: (string | {
|
|
6129
|
+
from: "file"
|
|
6130
|
+
name: (string | [string, ...(string)[]])
|
|
6131
|
+
path?: string
|
|
6132
|
+
} | {
|
|
6133
|
+
from: "lib"
|
|
6134
|
+
name: (string | [string, ...(string)[]])
|
|
6135
|
+
} | {
|
|
6136
|
+
from: "package"
|
|
6137
|
+
name: (string | [string, ...(string)[]])
|
|
6138
|
+
package: string
|
|
6139
|
+
})[]
|
|
6140
|
+
|
|
6108
6141
|
allowThrowingAny?: boolean
|
|
6109
6142
|
|
|
6110
6143
|
allowThrowingUnknown?: boolean
|
|
@@ -6158,6 +6191,8 @@ type TypescriptEslintPreferNullishCoalescing = []|[{
|
|
|
6158
6191
|
|
|
6159
6192
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
6160
6193
|
|
|
6194
|
+
ignoreBooleanCoercion?: boolean
|
|
6195
|
+
|
|
6161
6196
|
ignoreConditionalTests?: boolean
|
|
6162
6197
|
|
|
6163
6198
|
ignoreMixedLogicalExpressions?: boolean
|
|
@@ -7380,7 +7415,7 @@ type NNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
7380
7415
|
type NNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
7381
7416
|
version?: string
|
|
7382
7417
|
allowExperimental?: boolean
|
|
7383
|
-
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CustomEvent" | "Event" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.Network.loadingFinished" | "inspector.Network.loadingFailed" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "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.getCompileCacheDir" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.test.isSea" | "sea.test.getAsset" | "sea.test.getAssetAsBlob" | "sea.test.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.run" | "test.skip" | "test.todo" | "test.only" | "test.describe" | "test.describe.skip" | "test.describe.todo" | "test.describe.only" | "test.it" | "test.it.skip" | "test.it.todo" | "test.it.only" | "test.suite" | "test.suite.skip" | "test.suite.todo" | "test.suite.only" | "test.before" | "test.after" | "test.beforeEach" | "test.afterEach" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.MockFunctionContext" | "test.MockModuleContext" | "test.MockTracker" | "test.MockTimers" | "test.TestsStream" | "test.TestContext" | "test.SuiteContext" | "test.test.run" | "test.test.skip" | "test.test.todo" | "test.test.only" | "test.test.describe" | "test.test.it" | "test.test.suite" | "test.test.before" | "test.test.after" | "test.test.beforeEach" | "test.test.afterEach" | "test.test.snapshot" | "test.test.MockFunctionContext" | "test.test.MockModuleContext" | "test.test.MockTracker" | "test.test.MockTimers" | "test.test.TestsStream" | "test.test.TestContext" | "test.test.SuiteContext" | "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" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib")[]
|
|
7418
|
+
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.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.flushCompileCache" | "module.getCompileCacheDir" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.after" | "test.afterEach" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib")[]
|
|
7384
7419
|
}]
|
|
7385
7420
|
// ----- n/prefer-global/buffer -----
|
|
7386
7421
|
type NPreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -7901,61 +7936,26 @@ type PaddingLineBetweenStatements = {
|
|
|
7901
7936
|
// ----- perfectionist/sort-array-includes -----
|
|
7902
7937
|
type PerfectionistSortArrayIncludes = []|[{
|
|
7903
7938
|
|
|
7904
|
-
|
|
7905
|
-
|
|
7906
|
-
order?: ("asc" | "desc")
|
|
7907
|
-
|
|
7908
|
-
matcher?: ("minimatch" | "regex")
|
|
7909
|
-
|
|
7910
|
-
ignoreCase?: boolean
|
|
7911
|
-
|
|
7912
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7939
|
+
partitionByComment?: (string[] | boolean | string)
|
|
7913
7940
|
|
|
7914
7941
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
7915
7942
|
|
|
7916
|
-
partitionByComment?: (string[] | boolean | string)
|
|
7917
|
-
|
|
7918
7943
|
partitionByNewLine?: boolean
|
|
7919
|
-
}]
|
|
7920
|
-
// ----- perfectionist/sort-astro-attributes -----
|
|
7921
|
-
type PerfectionistSortAstroAttributes = []|[{
|
|
7922
7944
|
|
|
7923
|
-
|
|
7924
|
-
|
|
7925
|
-
order?: ("asc" | "desc")
|
|
7926
|
-
|
|
7927
|
-
matcher?: ("minimatch" | "regex")
|
|
7945
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7928
7946
|
|
|
7929
7947
|
ignoreCase?: boolean
|
|
7930
7948
|
|
|
7931
|
-
|
|
7949
|
+
locales?: (string | string[])
|
|
7932
7950
|
|
|
7933
|
-
|
|
7951
|
+
order?: ("asc" | "desc")
|
|
7934
7952
|
|
|
7935
|
-
|
|
7936
|
-
[k: string]: (string | string[]) | undefined
|
|
7937
|
-
}
|
|
7953
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
7938
7954
|
}]
|
|
7939
7955
|
// ----- perfectionist/sort-classes -----
|
|
7940
7956
|
type PerfectionistSortClasses = []|[{
|
|
7941
7957
|
|
|
7942
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
7943
|
-
|
|
7944
|
-
order?: ("asc" | "desc")
|
|
7945
|
-
|
|
7946
|
-
matcher?: ("minimatch" | "regex")
|
|
7947
|
-
|
|
7948
|
-
ignoreCase?: boolean
|
|
7949
|
-
|
|
7950
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7951
|
-
|
|
7952
|
-
partitionByComment?: (string[] | boolean | string)
|
|
7953
|
-
|
|
7954
|
-
groups?: (string | string[])[]
|
|
7955
|
-
|
|
7956
7958
|
customGroups?: ({
|
|
7957
|
-
[k: string]: (string | string[]) | undefined
|
|
7958
|
-
} | ({
|
|
7959
7959
|
|
|
7960
7960
|
groupName?: string
|
|
7961
7961
|
|
|
@@ -7964,15 +7964,15 @@ type PerfectionistSortClasses = []|[{
|
|
|
7964
7964
|
order?: ("desc" | "asc")
|
|
7965
7965
|
anyOf?: {
|
|
7966
7966
|
|
|
7967
|
-
|
|
7968
|
-
|
|
7969
|
-
modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
7970
|
-
|
|
7971
|
-
elementNamePattern?: string
|
|
7967
|
+
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
7972
7968
|
|
|
7973
7969
|
elementValuePattern?: string
|
|
7974
7970
|
|
|
7975
7971
|
decoratorNamePattern?: string
|
|
7972
|
+
|
|
7973
|
+
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
7974
|
+
|
|
7975
|
+
elementNamePattern?: string
|
|
7976
7976
|
}[]
|
|
7977
7977
|
} | {
|
|
7978
7978
|
|
|
@@ -7982,91 +7982,169 @@ type PerfectionistSortClasses = []|[{
|
|
|
7982
7982
|
|
|
7983
7983
|
order?: ("desc" | "asc")
|
|
7984
7984
|
|
|
7985
|
-
|
|
7986
|
-
|
|
7987
|
-
modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
7988
|
-
|
|
7989
|
-
elementNamePattern?: string
|
|
7985
|
+
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
7990
7986
|
|
|
7991
7987
|
elementValuePattern?: string
|
|
7992
7988
|
|
|
7993
7989
|
decoratorNamePattern?: string
|
|
7994
|
-
|
|
7995
|
-
|
|
7996
|
-
|
|
7997
|
-
|
|
7990
|
+
|
|
7991
|
+
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
7992
|
+
|
|
7993
|
+
elementNamePattern?: string
|
|
7994
|
+
})[]
|
|
7998
7995
|
|
|
7999
|
-
|
|
7996
|
+
ignoreCallbackDependenciesPatterns?: string[]
|
|
8000
7997
|
|
|
8001
|
-
|
|
7998
|
+
partitionByComment?: (string[] | boolean | string)
|
|
8002
7999
|
|
|
8003
|
-
|
|
8000
|
+
partitionByNewLine?: boolean
|
|
8001
|
+
|
|
8002
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8003
|
+
|
|
8004
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8004
8005
|
|
|
8005
8006
|
ignoreCase?: boolean
|
|
8006
8007
|
|
|
8007
|
-
|
|
8008
|
+
locales?: (string | string[])
|
|
8008
8009
|
|
|
8009
|
-
|
|
8010
|
+
groups?: (string | string[])[]
|
|
8010
8011
|
|
|
8011
|
-
|
|
8012
|
+
order?: ("asc" | "desc")
|
|
8013
|
+
|
|
8014
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
8015
|
+
}]
|
|
8016
|
+
// ----- perfectionist/sort-decorators -----
|
|
8017
|
+
type PerfectionistSortDecorators = []|[{
|
|
8012
8018
|
|
|
8013
8019
|
partitionByComment?: (string[] | boolean | string)
|
|
8014
8020
|
|
|
8015
|
-
|
|
8016
|
-
}]
|
|
8017
|
-
// ----- perfectionist/sort-exports -----
|
|
8018
|
-
type PerfectionistSortExports = []|[{
|
|
8021
|
+
sortOnParameters?: boolean
|
|
8019
8022
|
|
|
8020
|
-
|
|
8023
|
+
sortOnProperties?: boolean
|
|
8021
8024
|
|
|
8022
|
-
|
|
8025
|
+
sortOnAccessors?: boolean
|
|
8023
8026
|
|
|
8024
|
-
|
|
8027
|
+
sortOnMethods?: boolean
|
|
8025
8028
|
|
|
8026
|
-
|
|
8029
|
+
sortOnClasses?: boolean
|
|
8027
8030
|
|
|
8028
8031
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8029
8032
|
|
|
8033
|
+
customGroups?: {
|
|
8034
|
+
[k: string]: (string | string[]) | undefined
|
|
8035
|
+
}
|
|
8036
|
+
|
|
8037
|
+
ignoreCase?: boolean
|
|
8038
|
+
|
|
8039
|
+
locales?: (string | string[])
|
|
8040
|
+
|
|
8041
|
+
groups?: (string | string[])[]
|
|
8042
|
+
|
|
8043
|
+
order?: ("asc" | "desc")
|
|
8044
|
+
|
|
8045
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
8046
|
+
}]
|
|
8047
|
+
// ----- perfectionist/sort-enums -----
|
|
8048
|
+
type PerfectionistSortEnums = []|[{
|
|
8049
|
+
|
|
8030
8050
|
partitionByComment?: (string[] | boolean | string)
|
|
8031
8051
|
|
|
8052
|
+
forceNumericSort?: boolean
|
|
8053
|
+
|
|
8054
|
+
sortByValue?: boolean
|
|
8055
|
+
|
|
8032
8056
|
partitionByNewLine?: boolean
|
|
8033
8057
|
|
|
8034
|
-
|
|
8035
|
-
}]
|
|
8036
|
-
// ----- perfectionist/sort-imports -----
|
|
8037
|
-
type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
|
|
8038
|
-
type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
8058
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8039
8059
|
|
|
8040
|
-
|
|
8060
|
+
ignoreCase?: boolean
|
|
8061
|
+
|
|
8062
|
+
locales?: (string | string[])
|
|
8041
8063
|
|
|
8042
8064
|
order?: ("asc" | "desc")
|
|
8043
8065
|
|
|
8044
|
-
|
|
8066
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
8067
|
+
}]
|
|
8068
|
+
// ----- perfectionist/sort-exports -----
|
|
8069
|
+
type PerfectionistSortExports = []|[{
|
|
8045
8070
|
|
|
8046
|
-
|
|
8071
|
+
partitionByComment?: (string[] | boolean | string)
|
|
8072
|
+
|
|
8073
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
8074
|
+
|
|
8075
|
+
partitionByNewLine?: boolean
|
|
8047
8076
|
|
|
8048
8077
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8049
8078
|
|
|
8050
|
-
|
|
8079
|
+
ignoreCase?: boolean
|
|
8051
8080
|
|
|
8052
|
-
|
|
8081
|
+
locales?: (string | string[])
|
|
8053
8082
|
|
|
8054
|
-
|
|
8083
|
+
order?: ("asc" | "desc")
|
|
8055
8084
|
|
|
8056
|
-
|
|
8085
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
8086
|
+
}]
|
|
8087
|
+
// ----- perfectionist/sort-heritage-clauses -----
|
|
8088
|
+
type PerfectionistSortHeritageClauses = []|[{
|
|
8089
|
+
|
|
8090
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8091
|
+
|
|
8092
|
+
customGroups?: {
|
|
8093
|
+
[k: string]: (string | string[]) | undefined
|
|
8094
|
+
}
|
|
8095
|
+
|
|
8096
|
+
ignoreCase?: boolean
|
|
8097
|
+
|
|
8098
|
+
locales?: (string | string[])
|
|
8057
8099
|
|
|
8058
8100
|
groups?: (string | string[])[]
|
|
8059
8101
|
|
|
8102
|
+
order?: ("asc" | "desc")
|
|
8103
|
+
|
|
8104
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
8105
|
+
}]
|
|
8106
|
+
// ----- perfectionist/sort-imports -----
|
|
8107
|
+
type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
|
|
8108
|
+
type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
8109
|
+
|
|
8060
8110
|
customGroups?: {
|
|
8061
|
-
|
|
8111
|
+
|
|
8112
|
+
value?: {
|
|
8062
8113
|
[k: string]: unknown | undefined
|
|
8063
8114
|
}
|
|
8064
|
-
|
|
8115
|
+
|
|
8116
|
+
type?: {
|
|
8065
8117
|
[k: string]: unknown | undefined
|
|
8066
8118
|
}
|
|
8067
8119
|
}
|
|
8068
8120
|
|
|
8121
|
+
partitionByComment?: (string[] | boolean | string)
|
|
8122
|
+
|
|
8123
|
+
internalPattern?: string[]
|
|
8124
|
+
|
|
8125
|
+
maxLineLength?: number
|
|
8126
|
+
|
|
8127
|
+
sortSideEffects?: boolean
|
|
8128
|
+
|
|
8069
8129
|
environment?: ("node" | "bun")
|
|
8130
|
+
|
|
8131
|
+
tsconfigRootDir?: string
|
|
8132
|
+
|
|
8133
|
+
partitionByNewLine?: boolean
|
|
8134
|
+
|
|
8135
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8136
|
+
|
|
8137
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8138
|
+
|
|
8139
|
+
ignoreCase?: boolean
|
|
8140
|
+
|
|
8141
|
+
locales?: (string | string[])
|
|
8142
|
+
|
|
8143
|
+
groups?: (string | string[])[]
|
|
8144
|
+
|
|
8145
|
+
order?: ("asc" | "desc")
|
|
8146
|
+
|
|
8147
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
8070
8148
|
})
|
|
8071
8149
|
type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
|
|
8072
8150
|
[k: string]: unknown | undefined
|
|
@@ -8078,284 +8156,317 @@ interface _PerfectionistSortImports_IsLineLength {
|
|
|
8078
8156
|
// ----- perfectionist/sort-interfaces -----
|
|
8079
8157
|
type PerfectionistSortInterfaces = []|[{
|
|
8080
8158
|
|
|
8081
|
-
|
|
8159
|
+
ignorePattern?: string[]
|
|
8082
8160
|
|
|
8083
|
-
|
|
8161
|
+
partitionByComment?: (string[] | boolean | string)
|
|
8084
8162
|
|
|
8085
|
-
|
|
8163
|
+
groupKind?: ("mixed" | "optional-first" | "required-first")
|
|
8086
8164
|
|
|
8087
|
-
|
|
8165
|
+
partitionByNewLine?: boolean
|
|
8088
8166
|
|
|
8089
8167
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8090
8168
|
|
|
8091
|
-
|
|
8169
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8092
8170
|
|
|
8093
|
-
|
|
8171
|
+
customGroups?: {
|
|
8172
|
+
[k: string]: (string | string[]) | undefined
|
|
8173
|
+
}
|
|
8094
8174
|
|
|
8095
|
-
|
|
8175
|
+
ignoreCase?: boolean
|
|
8096
8176
|
|
|
8097
|
-
|
|
8177
|
+
locales?: (string | string[])
|
|
8098
8178
|
|
|
8099
8179
|
groups?: (string | string[])[]
|
|
8100
8180
|
|
|
8101
|
-
|
|
8102
|
-
|
|
8103
|
-
|
|
8181
|
+
order?: ("asc" | "desc")
|
|
8182
|
+
|
|
8183
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
8104
8184
|
}]
|
|
8105
8185
|
// ----- perfectionist/sort-intersection-types -----
|
|
8106
8186
|
type PerfectionistSortIntersectionTypes = []|[{
|
|
8107
8187
|
|
|
8108
|
-
|
|
8188
|
+
partitionByComment?: (string[] | boolean | string)
|
|
8109
8189
|
|
|
8110
|
-
|
|
8190
|
+
partitionByNewLine?: boolean
|
|
8111
8191
|
|
|
8112
|
-
|
|
8192
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8193
|
+
|
|
8194
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8113
8195
|
|
|
8114
8196
|
ignoreCase?: boolean
|
|
8115
8197
|
|
|
8116
|
-
|
|
8198
|
+
locales?: (string | string[])
|
|
8117
8199
|
|
|
8118
8200
|
groups?: (string | string[])[]
|
|
8119
8201
|
|
|
8120
|
-
|
|
8202
|
+
order?: ("asc" | "desc")
|
|
8121
8203
|
|
|
8122
|
-
|
|
8204
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
8123
8205
|
}]
|
|
8124
8206
|
// ----- perfectionist/sort-jsx-props -----
|
|
8125
8207
|
type PerfectionistSortJsxProps = []|[{
|
|
8126
8208
|
|
|
8127
|
-
|
|
8209
|
+
ignorePattern?: string[]
|
|
8128
8210
|
|
|
8129
|
-
|
|
8211
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8130
8212
|
|
|
8131
|
-
|
|
8213
|
+
customGroups?: {
|
|
8214
|
+
[k: string]: (string | string[]) | undefined
|
|
8215
|
+
}
|
|
8132
8216
|
|
|
8133
8217
|
ignoreCase?: boolean
|
|
8134
8218
|
|
|
8135
|
-
|
|
8136
|
-
|
|
8137
|
-
ignorePattern?: string[]
|
|
8219
|
+
locales?: (string | string[])
|
|
8138
8220
|
|
|
8139
8221
|
groups?: (string | string[])[]
|
|
8140
8222
|
|
|
8141
|
-
|
|
8142
|
-
|
|
8143
|
-
|
|
8223
|
+
order?: ("asc" | "desc")
|
|
8224
|
+
|
|
8225
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
8144
8226
|
}]
|
|
8145
8227
|
// ----- perfectionist/sort-maps -----
|
|
8146
8228
|
type PerfectionistSortMaps = []|[{
|
|
8147
8229
|
|
|
8148
|
-
|
|
8230
|
+
partitionByComment?: (string[] | boolean | string)
|
|
8149
8231
|
|
|
8150
|
-
|
|
8232
|
+
partitionByNewLine?: boolean
|
|
8151
8233
|
|
|
8152
|
-
|
|
8234
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8153
8235
|
|
|
8154
8236
|
ignoreCase?: boolean
|
|
8155
8237
|
|
|
8156
|
-
|
|
8238
|
+
locales?: (string | string[])
|
|
8239
|
+
|
|
8240
|
+
order?: ("asc" | "desc")
|
|
8241
|
+
|
|
8242
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
8243
|
+
}]
|
|
8244
|
+
// ----- perfectionist/sort-modules -----
|
|
8245
|
+
type PerfectionistSortModules = []|[{
|
|
8246
|
+
|
|
8247
|
+
customGroups?: ({
|
|
8248
|
+
|
|
8249
|
+
groupName?: string
|
|
8250
|
+
|
|
8251
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
8252
|
+
|
|
8253
|
+
order?: ("desc" | "asc")
|
|
8254
|
+
anyOf?: {
|
|
8255
|
+
|
|
8256
|
+
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
8257
|
+
|
|
8258
|
+
elementValuePattern?: string
|
|
8259
|
+
|
|
8260
|
+
decoratorNamePattern?: string
|
|
8261
|
+
|
|
8262
|
+
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
8263
|
+
|
|
8264
|
+
elementNamePattern?: string
|
|
8265
|
+
}[]
|
|
8266
|
+
} | {
|
|
8267
|
+
|
|
8268
|
+
groupName?: string
|
|
8269
|
+
|
|
8270
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
8271
|
+
|
|
8272
|
+
order?: ("desc" | "asc")
|
|
8273
|
+
|
|
8274
|
+
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
8275
|
+
|
|
8276
|
+
elementValuePattern?: string
|
|
8277
|
+
|
|
8278
|
+
decoratorNamePattern?: string
|
|
8279
|
+
|
|
8280
|
+
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
8281
|
+
|
|
8282
|
+
elementNamePattern?: string
|
|
8283
|
+
})[]
|
|
8157
8284
|
|
|
8158
8285
|
partitionByComment?: (string[] | boolean | string)
|
|
8159
8286
|
|
|
8160
8287
|
partitionByNewLine?: boolean
|
|
8288
|
+
|
|
8289
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8290
|
+
|
|
8291
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8292
|
+
|
|
8293
|
+
ignoreCase?: boolean
|
|
8294
|
+
|
|
8295
|
+
locales?: (string | string[])
|
|
8296
|
+
|
|
8297
|
+
groups?: (string | string[])[]
|
|
8298
|
+
|
|
8299
|
+
order?: ("asc" | "desc")
|
|
8300
|
+
|
|
8301
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
8161
8302
|
}]
|
|
8162
8303
|
// ----- perfectionist/sort-named-exports -----
|
|
8163
8304
|
type PerfectionistSortNamedExports = []|[{
|
|
8164
8305
|
|
|
8165
|
-
|
|
8166
|
-
|
|
8167
|
-
order?: ("asc" | "desc")
|
|
8306
|
+
partitionByComment?: (string[] | boolean | string)
|
|
8168
8307
|
|
|
8169
|
-
|
|
8308
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
8170
8309
|
|
|
8171
|
-
|
|
8310
|
+
partitionByNewLine?: boolean
|
|
8172
8311
|
|
|
8173
8312
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8174
8313
|
|
|
8175
|
-
|
|
8314
|
+
ignoreCase?: boolean
|
|
8176
8315
|
|
|
8177
|
-
|
|
8316
|
+
locales?: (string | string[])
|
|
8178
8317
|
|
|
8179
|
-
|
|
8318
|
+
order?: ("asc" | "desc")
|
|
8319
|
+
|
|
8320
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
8180
8321
|
}]
|
|
8181
8322
|
// ----- perfectionist/sort-named-imports -----
|
|
8182
8323
|
type PerfectionistSortNamedImports = []|[{
|
|
8183
8324
|
|
|
8184
|
-
|
|
8325
|
+
partitionByComment?: (string[] | boolean | string)
|
|
8185
8326
|
|
|
8186
|
-
|
|
8327
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
8187
8328
|
|
|
8188
|
-
|
|
8329
|
+
ignoreAlias?: boolean
|
|
8189
8330
|
|
|
8190
|
-
|
|
8331
|
+
partitionByNewLine?: boolean
|
|
8191
8332
|
|
|
8192
8333
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8193
8334
|
|
|
8194
|
-
|
|
8335
|
+
ignoreCase?: boolean
|
|
8195
8336
|
|
|
8196
|
-
|
|
8337
|
+
locales?: (string | string[])
|
|
8197
8338
|
|
|
8198
|
-
|
|
8339
|
+
order?: ("asc" | "desc")
|
|
8199
8340
|
|
|
8200
|
-
|
|
8341
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
8201
8342
|
}]
|
|
8202
8343
|
// ----- perfectionist/sort-object-types -----
|
|
8203
8344
|
type PerfectionistSortObjectTypes = []|[{
|
|
8204
8345
|
|
|
8205
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
8206
|
-
|
|
8207
|
-
order?: ("asc" | "desc")
|
|
8208
|
-
|
|
8209
|
-
matcher?: ("minimatch" | "regex")
|
|
8210
|
-
|
|
8211
|
-
ignoreCase?: boolean
|
|
8212
|
-
|
|
8213
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8214
|
-
|
|
8215
8346
|
partitionByComment?: (string[] | boolean | string)
|
|
8216
8347
|
|
|
8348
|
+
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
8349
|
+
|
|
8217
8350
|
partitionByNewLine?: boolean
|
|
8218
8351
|
|
|
8219
|
-
|
|
8352
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8220
8353
|
|
|
8221
|
-
|
|
8354
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8222
8355
|
|
|
8223
8356
|
customGroups?: {
|
|
8224
8357
|
[k: string]: (string | string[]) | undefined
|
|
8225
8358
|
}
|
|
8226
|
-
}]
|
|
8227
|
-
// ----- perfectionist/sort-objects -----
|
|
8228
|
-
type PerfectionistSortObjects = []|[{
|
|
8229
8359
|
|
|
8230
|
-
|
|
8360
|
+
ignoreCase?: boolean
|
|
8231
8361
|
|
|
8232
|
-
|
|
8362
|
+
locales?: (string | string[])
|
|
8233
8363
|
|
|
8234
|
-
|
|
8364
|
+
groups?: (string | string[])[]
|
|
8235
8365
|
|
|
8236
|
-
|
|
8366
|
+
order?: ("asc" | "desc")
|
|
8237
8367
|
|
|
8238
|
-
|
|
8368
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
8369
|
+
}]
|
|
8370
|
+
// ----- perfectionist/sort-objects -----
|
|
8371
|
+
type PerfectionistSortObjects = []|[{
|
|
8372
|
+
|
|
8373
|
+
ignorePattern?: string[]
|
|
8239
8374
|
|
|
8240
8375
|
partitionByComment?: (string[] | boolean | string)
|
|
8241
8376
|
|
|
8242
|
-
|
|
8377
|
+
destructureOnly?: boolean
|
|
8243
8378
|
|
|
8244
8379
|
styledComponents?: boolean
|
|
8245
8380
|
|
|
8246
|
-
|
|
8381
|
+
partitionByNewLine?: boolean
|
|
8247
8382
|
|
|
8248
|
-
|
|
8383
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8249
8384
|
|
|
8250
|
-
|
|
8385
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8251
8386
|
|
|
8252
8387
|
customGroups?: {
|
|
8253
8388
|
[k: string]: (string | string[]) | undefined
|
|
8254
8389
|
}
|
|
8255
|
-
}]
|
|
8256
|
-
// ----- perfectionist/sort-sets -----
|
|
8257
|
-
type PerfectionistSortSets = []|[{
|
|
8258
|
-
|
|
8259
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
8260
|
-
|
|
8261
|
-
order?: ("asc" | "desc")
|
|
8262
|
-
|
|
8263
|
-
matcher?: ("minimatch" | "regex")
|
|
8264
8390
|
|
|
8265
8391
|
ignoreCase?: boolean
|
|
8266
8392
|
|
|
8267
|
-
|
|
8393
|
+
locales?: (string | string[])
|
|
8268
8394
|
|
|
8269
|
-
|
|
8395
|
+
groups?: (string | string[])[]
|
|
8270
8396
|
|
|
8271
|
-
|
|
8397
|
+
order?: ("asc" | "desc")
|
|
8272
8398
|
|
|
8273
|
-
|
|
8399
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
8274
8400
|
}]
|
|
8275
|
-
// ----- perfectionist/sort-
|
|
8276
|
-
type
|
|
8401
|
+
// ----- perfectionist/sort-sets -----
|
|
8402
|
+
type PerfectionistSortSets = []|[{
|
|
8277
8403
|
|
|
8278
|
-
|
|
8404
|
+
partitionByComment?: (string[] | boolean | string)
|
|
8279
8405
|
|
|
8280
|
-
|
|
8406
|
+
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
8407
|
+
|
|
8408
|
+
partitionByNewLine?: boolean
|
|
8281
8409
|
|
|
8282
|
-
|
|
8410
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8283
8411
|
|
|
8284
8412
|
ignoreCase?: boolean
|
|
8285
8413
|
|
|
8286
|
-
|
|
8414
|
+
locales?: (string | string[])
|
|
8287
8415
|
|
|
8288
|
-
|
|
8416
|
+
order?: ("asc" | "desc")
|
|
8289
8417
|
|
|
8290
|
-
|
|
8291
|
-
[k: string]: (string | string[]) | undefined
|
|
8292
|
-
}
|
|
8418
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
8293
8419
|
}]
|
|
8294
8420
|
// ----- perfectionist/sort-switch-case -----
|
|
8295
8421
|
type PerfectionistSortSwitchCase = []|[{
|
|
8296
8422
|
|
|
8297
|
-
|
|
8298
|
-
|
|
8299
|
-
order?: ("asc" | "desc")
|
|
8423
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8300
8424
|
|
|
8301
8425
|
ignoreCase?: boolean
|
|
8302
8426
|
|
|
8303
|
-
|
|
8427
|
+
locales?: (string | string[])
|
|
8428
|
+
|
|
8429
|
+
order?: ("asc" | "desc")
|
|
8430
|
+
|
|
8431
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
8304
8432
|
}]
|
|
8305
8433
|
// ----- perfectionist/sort-union-types -----
|
|
8306
8434
|
type PerfectionistSortUnionTypes = []|[{
|
|
8307
8435
|
|
|
8308
|
-
|
|
8436
|
+
partitionByComment?: (string[] | boolean | string)
|
|
8309
8437
|
|
|
8310
|
-
|
|
8438
|
+
partitionByNewLine?: boolean
|
|
8311
8439
|
|
|
8312
|
-
|
|
8440
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8441
|
+
|
|
8442
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8313
8443
|
|
|
8314
8444
|
ignoreCase?: boolean
|
|
8315
8445
|
|
|
8316
|
-
|
|
8446
|
+
locales?: (string | string[])
|
|
8317
8447
|
|
|
8318
8448
|
groups?: (string | string[])[]
|
|
8319
8449
|
|
|
8320
|
-
|
|
8450
|
+
order?: ("asc" | "desc")
|
|
8321
8451
|
|
|
8322
|
-
|
|
8452
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
8323
8453
|
}]
|
|
8324
8454
|
// ----- perfectionist/sort-variable-declarations -----
|
|
8325
8455
|
type PerfectionistSortVariableDeclarations = []|[{
|
|
8326
8456
|
|
|
8327
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
8328
|
-
|
|
8329
|
-
order?: ("asc" | "desc")
|
|
8330
|
-
|
|
8331
|
-
matcher?: ("minimatch" | "regex")
|
|
8332
|
-
|
|
8333
|
-
ignoreCase?: boolean
|
|
8334
|
-
|
|
8335
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8336
|
-
|
|
8337
8457
|
partitionByComment?: (string[] | boolean | string)
|
|
8338
8458
|
|
|
8339
8459
|
partitionByNewLine?: boolean
|
|
8340
|
-
}]
|
|
8341
|
-
// ----- perfectionist/sort-vue-attributes -----
|
|
8342
|
-
type PerfectionistSortVueAttributes = []|[{
|
|
8343
8460
|
|
|
8344
|
-
|
|
8345
|
-
|
|
8346
|
-
order?: ("asc" | "desc")
|
|
8347
|
-
|
|
8348
|
-
matcher?: ("minimatch" | "regex")
|
|
8461
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8349
8462
|
|
|
8350
8463
|
ignoreCase?: boolean
|
|
8351
8464
|
|
|
8352
|
-
|
|
8465
|
+
locales?: (string | string[])
|
|
8353
8466
|
|
|
8354
|
-
|
|
8467
|
+
order?: ("asc" | "desc")
|
|
8355
8468
|
|
|
8356
|
-
|
|
8357
|
-
[k: string]: (string | string[]) | undefined
|
|
8358
|
-
}
|
|
8469
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
8359
8470
|
}]
|
|
8360
8471
|
// ----- prefer-arrow-callback -----
|
|
8361
8472
|
type PreferArrowCallback = []|[{
|
|
@@ -9041,15 +9152,23 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
9041
9152
|
onlyEquality?: boolean
|
|
9042
9153
|
}]
|
|
9043
9154
|
|
|
9044
|
-
|
|
9155
|
+
/**
|
|
9156
|
+
* A ESLint flat config item with rules defined as obtained from type generation. Allows for rules not defined by one of the used plugins.
|
|
9157
|
+
*/
|
|
9045
9158
|
type FlatConfigItem = Linter.Config<Linter.RulesRecord & Rules>;
|
|
9046
|
-
|
|
9159
|
+
/**
|
|
9160
|
+
* A stricter version of {@linkcode FlatConfigItem} that requires rules to be defined as obtained from type generation.
|
|
9161
|
+
*/
|
|
9162
|
+
type FlatConfigItemStrict = Omit<Linter.Config, "rules"> & {
|
|
9047
9163
|
/**
|
|
9048
9164
|
* An object containing the configured rules. When files or ignores are specified,
|
|
9049
9165
|
* these rule configurations are only available to the matching files.
|
|
9050
9166
|
*/
|
|
9051
9167
|
rules?: Partial<Rules>;
|
|
9052
|
-
}
|
|
9168
|
+
};
|
|
9169
|
+
/**
|
|
9170
|
+
* Configuration options for this config's factory function.
|
|
9171
|
+
*/
|
|
9053
9172
|
type OptionsConfig = {
|
|
9054
9173
|
/**
|
|
9055
9174
|
* Enable browser-specific rules.
|
|
@@ -9094,6 +9213,7 @@ type OptionsConfig = {
|
|
|
9094
9213
|
*/
|
|
9095
9214
|
typescript?: boolean;
|
|
9096
9215
|
};
|
|
9216
|
+
type Rules = RuleOptions;
|
|
9097
9217
|
|
|
9098
9218
|
declare const _default$5: FlatConfigItemStrict[];
|
|
9099
9219
|
|
|
@@ -9122,6 +9242,12 @@ declare const _default$1: FlatConfigItemStrict[];
|
|
|
9122
9242
|
|
|
9123
9243
|
declare const _default: FlatConfigItemStrict[];
|
|
9124
9244
|
|
|
9245
|
+
/**
|
|
9246
|
+
* Constructs an array of ESLint flat config items based on the provided options.
|
|
9247
|
+
*
|
|
9248
|
+
* @param options The options for generating the ESLint configurations. See {@linkcode OptionsConfig}.
|
|
9249
|
+
* @returns An array of ESLint flat config items.
|
|
9250
|
+
*/
|
|
9125
9251
|
declare const lichthagel: (options?: OptionsConfig) => Promise<FlatConfigItemStrict[]>;
|
|
9126
9252
|
|
|
9127
9253
|
export { type FlatConfigItem, type FlatConfigItemStrict, type OptionsConfig, type Rules, _default$5 as browser, lichthagel as default, _default$4 as javascript, node, _default$3 as perfectionist, solid, _default$2 as stylistic, svelte, tailwindcss, _default$1 as typescript, _default as unicorn };
|