@2digits/eslint-config 2.3.5 → 2.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.cts +241 -176
- package/dist/index.d.ts +241 -176
- package/package.json +23 -23
package/dist/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { FlatGitignoreOptions } from 'eslint-config-flat-gitignore';
|
|
|
10
10
|
interface RuleOptions {
|
|
11
11
|
/**
|
|
12
12
|
* Enforce giving proper names to type parameters when there are two or more
|
|
13
|
-
* @see https://github.com/2digits-agency/configs/blob/@2digits/eslint-plugin@2.1.
|
|
13
|
+
* @see https://github.com/2digits-agency/configs/blob/@2digits/eslint-plugin@2.1.5/packages/eslint/src/rules/type-param-names.ts
|
|
14
14
|
*/
|
|
15
15
|
'@2digits/type-param-names'?: Linter.RuleEntry<[]>
|
|
16
16
|
/**
|
|
@@ -775,6 +775,11 @@ Backward pagination arguments
|
|
|
775
775
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-tag-names.md#repos-sticky-header
|
|
776
776
|
*/
|
|
777
777
|
'jsdoc/check-tag-names'?: Linter.RuleEntry<JsdocCheckTagNames>
|
|
778
|
+
/**
|
|
779
|
+
* Checks that any `@template` names are actually used in the connected `@typedef` or type alias.
|
|
780
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template.md#repos-sticky-header
|
|
781
|
+
*/
|
|
782
|
+
'jsdoc/check-template-names'?: Linter.RuleEntry<[]>
|
|
778
783
|
/**
|
|
779
784
|
* Reports invalid types.
|
|
780
785
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-types.md#repos-sticky-header
|
|
@@ -2462,17 +2467,17 @@ Backward pagination arguments
|
|
|
2462
2467
|
*/
|
|
2463
2468
|
'react-dom/no-unsafe-target-blank'?: Linter.RuleEntry<[]>
|
|
2464
2469
|
/**
|
|
2465
|
-
*
|
|
2470
|
+
* avoid using shorthand boolean attribute
|
|
2466
2471
|
* @see https://eslint-react.xyz/docs/rules/avoid-shorthand-boolean
|
|
2467
2472
|
*/
|
|
2468
2473
|
'react-extra/avoid-shorthand-boolean'?: Linter.RuleEntry<[]>
|
|
2469
2474
|
/**
|
|
2470
|
-
*
|
|
2475
|
+
* avoid using shorthand fragment syntax
|
|
2471
2476
|
* @see https://eslint-react.xyz/docs/rules/avoid-shorthand-fragment
|
|
2472
2477
|
*/
|
|
2473
2478
|
'react-extra/avoid-shorthand-fragment'?: Linter.RuleEntry<[]>
|
|
2474
2479
|
/**
|
|
2475
|
-
* require
|
|
2480
|
+
* require a 'ref' parameter to be set when using 'forwardRef'
|
|
2476
2481
|
* @see https://eslint-react.xyz/docs/rules/ensure-forward-ref-using-ref
|
|
2477
2482
|
*/
|
|
2478
2483
|
'react-extra/ensure-forward-ref-using-ref'?: Linter.RuleEntry<[]>
|
|
@@ -2482,47 +2487,47 @@ Backward pagination arguments
|
|
|
2482
2487
|
*/
|
|
2483
2488
|
'react-extra/no-access-state-in-setstate'?: Linter.RuleEntry<[]>
|
|
2484
2489
|
/**
|
|
2485
|
-
* disallow using Array index as key
|
|
2490
|
+
* disallow using Array index as 'key'
|
|
2486
2491
|
* @see https://eslint-react.xyz/docs/rules/no-array-index-key
|
|
2487
2492
|
*/
|
|
2488
2493
|
'react-extra/no-array-index-key'?: Linter.RuleEntry<[]>
|
|
2489
2494
|
/**
|
|
2490
|
-
* disallow 'Children.count'
|
|
2495
|
+
* disallow using 'Children.count'
|
|
2491
2496
|
* @see https://eslint-react.xyz/docs/rules/no-children-count
|
|
2492
2497
|
*/
|
|
2493
2498
|
'react-extra/no-children-count'?: Linter.RuleEntry<[]>
|
|
2494
2499
|
/**
|
|
2495
|
-
* disallow 'Children.forEach'
|
|
2500
|
+
* disallow using 'Children.forEach'
|
|
2496
2501
|
* @see https://eslint-react.xyz/docs/rules/no-children-for-each
|
|
2497
2502
|
*/
|
|
2498
2503
|
'react-extra/no-children-for-each'?: Linter.RuleEntry<[]>
|
|
2499
2504
|
/**
|
|
2500
|
-
* disallow 'Children.map'
|
|
2505
|
+
* disallow using 'Children.map'
|
|
2501
2506
|
* @see https://eslint-react.xyz/docs/rules/no-children-map
|
|
2502
2507
|
*/
|
|
2503
2508
|
'react-extra/no-children-map'?: Linter.RuleEntry<[]>
|
|
2504
2509
|
/**
|
|
2505
|
-
* disallow 'Children.only'
|
|
2510
|
+
* disallow using 'Children.only'
|
|
2506
2511
|
* @see https://eslint-react.xyz/docs/rules/no-children-only
|
|
2507
2512
|
*/
|
|
2508
2513
|
'react-extra/no-children-only'?: Linter.RuleEntry<[]>
|
|
2509
2514
|
/**
|
|
2510
|
-
* disallow passing
|
|
2515
|
+
* disallow passing 'children' as props
|
|
2511
2516
|
* @see https://eslint-react.xyz/docs/rules/no-children-prop
|
|
2512
2517
|
*/
|
|
2513
2518
|
'react-extra/no-children-prop'?: Linter.RuleEntry<[]>
|
|
2514
2519
|
/**
|
|
2515
|
-
* disallow 'Children.toArray'
|
|
2520
|
+
* disallow using 'Children.toArray'
|
|
2516
2521
|
* @see https://eslint-react.xyz/docs/rules/no-children-to-array
|
|
2517
2522
|
*/
|
|
2518
2523
|
'react-extra/no-children-to-array'?: Linter.RuleEntry<[]>
|
|
2519
2524
|
/**
|
|
2520
|
-
* disallow class
|
|
2525
|
+
* disallow using class components
|
|
2521
2526
|
* @see https://eslint-react.xyz/docs/rules/no-class-component
|
|
2522
2527
|
*/
|
|
2523
2528
|
'react-extra/no-class-component'?: Linter.RuleEntry<[]>
|
|
2524
2529
|
/**
|
|
2525
|
-
* disallow 'cloneElement'
|
|
2530
|
+
* disallow using 'cloneElement'
|
|
2526
2531
|
* @see https://eslint-react.xyz/docs/rules/no-clone-element
|
|
2527
2532
|
*/
|
|
2528
2533
|
'react-extra/no-clone-element'?: Linter.RuleEntry<[]>
|
|
@@ -2532,31 +2537,42 @@ Backward pagination arguments
|
|
|
2532
2537
|
*/
|
|
2533
2538
|
'react-extra/no-comment-textnodes'?: Linter.RuleEntry<[]>
|
|
2534
2539
|
/**
|
|
2535
|
-
* disallow
|
|
2536
|
-
* @see https://eslint-react.xyz/docs/rules/no-
|
|
2540
|
+
* disallow complex conditional rendering
|
|
2541
|
+
* @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
|
|
2542
|
+
* @deprecated
|
|
2543
|
+
*/
|
|
2544
|
+
'react-extra/no-complex-conditional-rendering'?: Linter.RuleEntry<[]>
|
|
2545
|
+
/**
|
|
2546
|
+
* disallow complex conditional rendering
|
|
2547
|
+
* @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
|
|
2537
2548
|
* @deprecated
|
|
2538
2549
|
*/
|
|
2539
2550
|
'react-extra/no-complicated-conditional-rendering'?: Linter.RuleEntry<[]>
|
|
2540
2551
|
/**
|
|
2541
|
-
* disallow
|
|
2552
|
+
* disallow using 'componentWillMount'
|
|
2542
2553
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-mount
|
|
2543
2554
|
*/
|
|
2544
2555
|
'react-extra/no-component-will-mount'?: Linter.RuleEntry<[]>
|
|
2545
2556
|
/**
|
|
2546
|
-
* disallow
|
|
2557
|
+
* disallow using 'componentWillReceiveProps'
|
|
2547
2558
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-receive-props
|
|
2548
2559
|
*/
|
|
2549
2560
|
'react-extra/no-component-will-receive-props'?: Linter.RuleEntry<[]>
|
|
2550
2561
|
/**
|
|
2551
|
-
* disallow
|
|
2562
|
+
* disallow using 'componentWillReceiveProps'
|
|
2552
2563
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-update
|
|
2553
2564
|
*/
|
|
2554
2565
|
'react-extra/no-component-will-update'?: Linter.RuleEntry<[]>
|
|
2555
2566
|
/**
|
|
2556
|
-
* disallow 'createRef' in function components
|
|
2567
|
+
* disallow using 'createRef' in function components
|
|
2557
2568
|
* @see https://eslint-react.xyz/docs/rules/no-create-ref
|
|
2558
2569
|
*/
|
|
2559
2570
|
'react-extra/no-create-ref'?: Linter.RuleEntry<[]>
|
|
2571
|
+
/**
|
|
2572
|
+
* disallow using 'defaultProps' property in components
|
|
2573
|
+
* @see https://eslint-react.xyz/docs/rules/no-default-props
|
|
2574
|
+
*/
|
|
2575
|
+
'react-extra/no-default-props'?: Linter.RuleEntry<[]>
|
|
2560
2576
|
/**
|
|
2561
2577
|
* disallow direct mutation of state
|
|
2562
2578
|
* @see https://eslint-react.xyz/docs/rules/no-direct-mutation-state
|
|
@@ -2568,9 +2584,8 @@ Backward pagination arguments
|
|
|
2568
2584
|
*/
|
|
2569
2585
|
'react-extra/no-duplicate-key'?: Linter.RuleEntry<[]>
|
|
2570
2586
|
/**
|
|
2571
|
-
* disallow
|
|
2587
|
+
* disallow implicit 'key' props
|
|
2572
2588
|
* @see https://eslint-react.xyz/docs/rules/no-implicit-key
|
|
2573
|
-
* @deprecated
|
|
2574
2589
|
*/
|
|
2575
2590
|
'react-extra/no-implicit-key'?: Linter.RuleEntry<[]>
|
|
2576
2591
|
/**
|
|
@@ -2579,7 +2594,7 @@ Backward pagination arguments
|
|
|
2579
2594
|
*/
|
|
2580
2595
|
'react-extra/no-leaked-conditional-rendering'?: Linter.RuleEntry<[]>
|
|
2581
2596
|
/**
|
|
2582
|
-
* require 'displayName' for memo and forwardRef components
|
|
2597
|
+
* require 'displayName' for 'memo' and 'forwardRef' components
|
|
2583
2598
|
* @see https://eslint-react.xyz/docs/rules/no-missing-component-display-name
|
|
2584
2599
|
*/
|
|
2585
2600
|
'react-extra/no-missing-component-display-name'?: Linter.RuleEntry<[]>
|
|
@@ -2589,27 +2604,32 @@ Backward pagination arguments
|
|
|
2589
2604
|
*/
|
|
2590
2605
|
'react-extra/no-missing-key'?: Linter.RuleEntry<[]>
|
|
2591
2606
|
/**
|
|
2592
|
-
* disallow
|
|
2607
|
+
* disallow using unstable nested components
|
|
2593
2608
|
* @see https://eslint-react.xyz/docs/rules/no-nested-components
|
|
2594
2609
|
*/
|
|
2595
2610
|
'react-extra/no-nested-components'?: Linter.RuleEntry<[]>
|
|
2596
2611
|
/**
|
|
2597
|
-
* disallow
|
|
2612
|
+
* disallow using 'propTypes' property in components
|
|
2613
|
+
* @see https://eslint-react.xyz/docs/rules/no-prop-types
|
|
2614
|
+
*/
|
|
2615
|
+
'react-extra/no-prop-types'?: Linter.RuleEntry<[]>
|
|
2616
|
+
/**
|
|
2617
|
+
* disallow using 'shouldComponentUpdate' in class component extends 'React.PureComponent'
|
|
2598
2618
|
* @see https://eslint-react.xyz/docs/rules/no-redundant-should-component-update
|
|
2599
2619
|
*/
|
|
2600
2620
|
'react-extra/no-redundant-should-component-update'?: Linter.RuleEntry<[]>
|
|
2601
2621
|
/**
|
|
2602
|
-
* disallow 'setState' in 'componentDidMount'
|
|
2622
|
+
* disallow using 'setState' in 'componentDidMount'
|
|
2603
2623
|
* @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-mount
|
|
2604
2624
|
*/
|
|
2605
2625
|
'react-extra/no-set-state-in-component-did-mount'?: Linter.RuleEntry<[]>
|
|
2606
2626
|
/**
|
|
2607
|
-
* disallow 'setState' in 'componentDidUpdate'
|
|
2627
|
+
* disallow using 'setState' in 'componentDidUpdate'
|
|
2608
2628
|
* @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-update
|
|
2609
2629
|
*/
|
|
2610
2630
|
'react-extra/no-set-state-in-component-did-update'?: Linter.RuleEntry<[]>
|
|
2611
2631
|
/**
|
|
2612
|
-
* disallow 'setState' in 'componentWillUpdate'
|
|
2632
|
+
* disallow using 'setState' in 'componentWillUpdate'
|
|
2613
2633
|
* @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-will-update
|
|
2614
2634
|
*/
|
|
2615
2635
|
'react-extra/no-set-state-in-component-will-update'?: Linter.RuleEntry<[]>
|
|
@@ -2619,17 +2639,17 @@ Backward pagination arguments
|
|
|
2619
2639
|
*/
|
|
2620
2640
|
'react-extra/no-string-refs'?: Linter.RuleEntry<[]>
|
|
2621
2641
|
/**
|
|
2622
|
-
* disallow
|
|
2642
|
+
* disallow using 'UNSAFE_componentWillMount'
|
|
2623
2643
|
* @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-mount
|
|
2624
2644
|
*/
|
|
2625
2645
|
'react-extra/no-unsafe-component-will-mount'?: Linter.RuleEntry<[]>
|
|
2626
2646
|
/**
|
|
2627
|
-
* disallow
|
|
2647
|
+
* disallow using 'UNSAFE_componentWillReceiveProps'
|
|
2628
2648
|
* @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-receive-props
|
|
2629
2649
|
*/
|
|
2630
2650
|
'react-extra/no-unsafe-component-will-receive-props'?: Linter.RuleEntry<[]>
|
|
2631
2651
|
/**
|
|
2632
|
-
* disallow
|
|
2652
|
+
* disallow using 'UNSAFE_componentWillUpdate'
|
|
2633
2653
|
* @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-update
|
|
2634
2654
|
*/
|
|
2635
2655
|
'react-extra/no-unsafe-component-will-update'?: Linter.RuleEntry<[]>
|
|
@@ -2639,7 +2659,7 @@ Backward pagination arguments
|
|
|
2639
2659
|
*/
|
|
2640
2660
|
'react-extra/no-unstable-context-value'?: Linter.RuleEntry<[]>
|
|
2641
2661
|
/**
|
|
2642
|
-
* disallow
|
|
2662
|
+
* disallow using unstable value as default param in function component
|
|
2643
2663
|
* @see https://eslint-react.xyz/docs/rules/no-unstable-default-props
|
|
2644
2664
|
*/
|
|
2645
2665
|
'react-extra/no-unstable-default-props'?: Linter.RuleEntry<[]>
|
|
@@ -2649,7 +2669,7 @@ Backward pagination arguments
|
|
|
2649
2669
|
*/
|
|
2650
2670
|
'react-extra/no-unused-class-component-members'?: Linter.RuleEntry<[]>
|
|
2651
2671
|
/**
|
|
2652
|
-
*
|
|
2672
|
+
* disallow unused state of class component
|
|
2653
2673
|
* @see https://eslint-react.xyz/docs/rules/no-unused-state
|
|
2654
2674
|
*/
|
|
2655
2675
|
'react-extra/no-unused-state'?: Linter.RuleEntry<[]>
|
|
@@ -2664,17 +2684,17 @@ Backward pagination arguments
|
|
|
2664
2684
|
*/
|
|
2665
2685
|
'react-extra/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>
|
|
2666
2686
|
/**
|
|
2667
|
-
* enforce
|
|
2687
|
+
* enforce read-only props in components
|
|
2668
2688
|
* @see https://eslint-react.xyz/docs/rules/prefer-read-only-props
|
|
2669
2689
|
*/
|
|
2670
2690
|
'react-extra/prefer-read-only-props'?: Linter.RuleEntry<[]>
|
|
2671
2691
|
/**
|
|
2672
|
-
* enforce boolean attributes
|
|
2692
|
+
* enforce using shorthand boolean attributes
|
|
2673
2693
|
* @see https://eslint-react.xyz/docs/rules/prefer-shorthand-boolean
|
|
2674
2694
|
*/
|
|
2675
2695
|
'react-extra/prefer-shorthand-boolean'?: Linter.RuleEntry<[]>
|
|
2676
2696
|
/**
|
|
2677
|
-
* enforce using fragment syntax instead of Fragment component
|
|
2697
|
+
* enforce using fragment syntax instead of 'Fragment' component
|
|
2678
2698
|
* @see https://eslint-react.xyz/docs/rules/prefer-shorthand-fragment
|
|
2679
2699
|
*/
|
|
2680
2700
|
'react-extra/prefer-shorthand-fragment'?: Linter.RuleEntry<[]>
|
|
@@ -2827,7 +2847,7 @@ Backward pagination arguments
|
|
|
2827
2847
|
* Enforce closing tag location for multiline JSX
|
|
2828
2848
|
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-closing-tag-location.md
|
|
2829
2849
|
*/
|
|
2830
|
-
'react/jsx-closing-tag-location'?: Linter.RuleEntry<
|
|
2850
|
+
'react/jsx-closing-tag-location'?: Linter.RuleEntry<ReactJsxClosingTagLocation>
|
|
2831
2851
|
/**
|
|
2832
2852
|
* Disallow unnecessary JSX expressions when literals alone are sufficient or enforce JSX expressions on literals in JSX children or attributes
|
|
2833
2853
|
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-curly-brace-presence.md
|
|
@@ -2963,6 +2983,11 @@ Backward pagination arguments
|
|
|
2963
2983
|
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-props-no-multi-spaces.md
|
|
2964
2984
|
*/
|
|
2965
2985
|
'react/jsx-props-no-multi-spaces'?: Linter.RuleEntry<[]>
|
|
2986
|
+
/**
|
|
2987
|
+
* Disallow JSX prop spreading the same identifier multiple times
|
|
2988
|
+
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-props-no-spread-multi.md
|
|
2989
|
+
*/
|
|
2990
|
+
'react/jsx-props-no-spread-multi'?: Linter.RuleEntry<[]>
|
|
2966
2991
|
/**
|
|
2967
2992
|
* Disallow JSX prop spreading
|
|
2968
2993
|
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-props-no-spreading.md
|
|
@@ -3034,7 +3059,7 @@ Backward pagination arguments
|
|
|
3034
3059
|
* Disallow usage of dangerous JSX properties
|
|
3035
3060
|
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-danger.md
|
|
3036
3061
|
*/
|
|
3037
|
-
'react/no-danger'?: Linter.RuleEntry<
|
|
3062
|
+
'react/no-danger'?: Linter.RuleEntry<ReactNoDanger>
|
|
3038
3063
|
/**
|
|
3039
3064
|
* Disallow when a DOM element is using both children and dangerouslySetInnerHTML
|
|
3040
3065
|
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-danger-with-children.md
|
|
@@ -4133,6 +4158,11 @@ Backward pagination arguments
|
|
|
4133
4158
|
* @see https://typescript-eslint.io/rules/no-unsafe-enum-comparison
|
|
4134
4159
|
*/
|
|
4135
4160
|
'ts/no-unsafe-enum-comparison'?: Linter.RuleEntry<[]>
|
|
4161
|
+
/**
|
|
4162
|
+
* Disallow using the unsafe built-in Function type
|
|
4163
|
+
* @see https://typescript-eslint.io/rules/no-unsafe-function-type
|
|
4164
|
+
*/
|
|
4165
|
+
'ts/no-unsafe-function-type'?: Linter.RuleEntry<[]>
|
|
4136
4166
|
/**
|
|
4137
4167
|
* Disallow member access on a value with type `any`
|
|
4138
4168
|
* @see https://typescript-eslint.io/rules/no-unsafe-member-access
|
|
@@ -4184,6 +4214,11 @@ Backward pagination arguments
|
|
|
4184
4214
|
* @see https://typescript-eslint.io/rules/no-var-requires
|
|
4185
4215
|
*/
|
|
4186
4216
|
'ts/no-var-requires'?: Linter.RuleEntry<TsNoVarRequires>
|
|
4217
|
+
/**
|
|
4218
|
+
* Disallow using confusing built-in primitive class wrappers
|
|
4219
|
+
* @see https://typescript-eslint.io/rules/no-wrapper-object-types
|
|
4220
|
+
*/
|
|
4221
|
+
'ts/no-wrapper-object-types'?: Linter.RuleEntry<[]>
|
|
4187
4222
|
/**
|
|
4188
4223
|
* Enforce non-null assertions over explicit type casts
|
|
4189
4224
|
* @see https://typescript-eslint.io/rules/non-nullable-type-assertion-style
|
|
@@ -4426,682 +4461,687 @@ Backward pagination arguments
|
|
|
4426
4461
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
4427
4462
|
/**
|
|
4428
4463
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
4429
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4464
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/better-regex.md
|
|
4430
4465
|
*/
|
|
4431
4466
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
4432
4467
|
/**
|
|
4433
4468
|
* Enforce a specific parameter name in catch clauses.
|
|
4434
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4469
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/catch-error-name.md
|
|
4435
4470
|
*/
|
|
4436
4471
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
4437
4472
|
/**
|
|
4438
4473
|
* Use destructured variables over properties.
|
|
4439
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4474
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/consistent-destructuring.md
|
|
4440
4475
|
*/
|
|
4441
4476
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
|
|
4442
4477
|
/**
|
|
4443
4478
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
4444
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4479
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/consistent-empty-array-spread.md
|
|
4445
4480
|
*/
|
|
4446
4481
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
|
|
4447
4482
|
/**
|
|
4448
4483
|
* Move function definitions to the highest possible scope.
|
|
4449
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4484
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/consistent-function-scoping.md
|
|
4450
4485
|
*/
|
|
4451
4486
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
4452
4487
|
/**
|
|
4453
4488
|
* Enforce correct `Error` subclassing.
|
|
4454
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4489
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/custom-error-definition.md
|
|
4455
4490
|
*/
|
|
4456
4491
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
4457
4492
|
/**
|
|
4458
4493
|
* Enforce no spaces between braces.
|
|
4459
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4494
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/empty-brace-spaces.md
|
|
4460
4495
|
*/
|
|
4461
4496
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
4462
4497
|
/**
|
|
4463
4498
|
* Enforce passing a `message` value when creating a built-in error.
|
|
4464
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4499
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/error-message.md
|
|
4465
4500
|
*/
|
|
4466
4501
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
4467
4502
|
/**
|
|
4468
4503
|
* Require escape sequences to use uppercase values.
|
|
4469
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4504
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/escape-case.md
|
|
4470
4505
|
*/
|
|
4471
4506
|
'unicorn/escape-case'?: Linter.RuleEntry<[]>
|
|
4472
4507
|
/**
|
|
4473
4508
|
* Add expiration conditions to TODO comments.
|
|
4474
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4509
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/expiring-todo-comments.md
|
|
4475
4510
|
*/
|
|
4476
4511
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
4477
4512
|
/**
|
|
4478
4513
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
4479
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4514
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/explicit-length-check.md
|
|
4480
4515
|
*/
|
|
4481
4516
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
4482
4517
|
/**
|
|
4483
4518
|
* Enforce a case style for filenames.
|
|
4484
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4519
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/filename-case.md
|
|
4485
4520
|
*/
|
|
4486
4521
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
4487
4522
|
/**
|
|
4488
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4523
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#import-index
|
|
4489
4524
|
* @deprecated
|
|
4490
4525
|
*/
|
|
4491
4526
|
'unicorn/import-index'?: Linter.RuleEntry<[]>
|
|
4492
4527
|
/**
|
|
4493
4528
|
* Enforce specific import styles per module.
|
|
4494
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4529
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/import-style.md
|
|
4495
4530
|
*/
|
|
4496
4531
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
4497
4532
|
/**
|
|
4498
4533
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
4499
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4534
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/new-for-builtins.md
|
|
4500
4535
|
*/
|
|
4501
4536
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
4502
4537
|
/**
|
|
4503
4538
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
4504
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4539
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-abusive-eslint-disable.md
|
|
4505
4540
|
*/
|
|
4506
4541
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
4507
4542
|
/**
|
|
4508
4543
|
* Disallow anonymous functions and classes as the default export.
|
|
4509
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4544
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-anonymous-default-export.md
|
|
4510
4545
|
*/
|
|
4511
4546
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
4512
4547
|
/**
|
|
4513
4548
|
* Prevent passing a function reference directly to iterator methods.
|
|
4514
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4549
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-callback-reference.md
|
|
4515
4550
|
*/
|
|
4516
4551
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
4517
4552
|
/**
|
|
4518
4553
|
* Prefer `for…of` over the `forEach` method.
|
|
4519
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4554
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-for-each.md
|
|
4520
4555
|
*/
|
|
4521
4556
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
4522
4557
|
/**
|
|
4523
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4558
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-array-instanceof
|
|
4524
4559
|
* @deprecated
|
|
4525
4560
|
*/
|
|
4526
4561
|
'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
|
|
4527
4562
|
/**
|
|
4528
4563
|
* Disallow using the `this` argument in array methods.
|
|
4529
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4564
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-method-this-argument.md
|
|
4530
4565
|
*/
|
|
4531
4566
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
4532
4567
|
/**
|
|
4533
4568
|
* Enforce combining multiple `Array#push()` into one call.
|
|
4534
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4569
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-push-push.md
|
|
4535
4570
|
*/
|
|
4536
4571
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
|
|
4537
4572
|
/**
|
|
4538
4573
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
4539
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4574
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-reduce.md
|
|
4540
4575
|
*/
|
|
4541
4576
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
4542
4577
|
/**
|
|
4543
4578
|
* Disallow member access from await expression.
|
|
4544
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4579
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-await-expression-member.md
|
|
4545
4580
|
*/
|
|
4546
4581
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
4547
4582
|
/**
|
|
4548
4583
|
* Disallow using `await` in `Promise` method parameters.
|
|
4549
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4584
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-await-in-promise-methods.md
|
|
4550
4585
|
*/
|
|
4551
4586
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
4552
4587
|
/**
|
|
4553
4588
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
4554
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4589
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-console-spaces.md
|
|
4555
4590
|
*/
|
|
4556
4591
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
4557
4592
|
/**
|
|
4558
4593
|
* Do not use `document.cookie` directly.
|
|
4559
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4594
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-document-cookie.md
|
|
4560
4595
|
*/
|
|
4561
4596
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
4562
4597
|
/**
|
|
4563
4598
|
* Disallow empty files.
|
|
4564
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4599
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-empty-file.md
|
|
4565
4600
|
*/
|
|
4566
4601
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
4567
4602
|
/**
|
|
4568
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4603
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator
|
|
4569
4604
|
* @deprecated
|
|
4570
4605
|
*/
|
|
4571
4606
|
'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
|
|
4572
4607
|
/**
|
|
4573
4608
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
4574
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4609
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-for-loop.md
|
|
4575
4610
|
*/
|
|
4576
4611
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
4577
4612
|
/**
|
|
4578
4613
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
4579
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4614
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-hex-escape.md
|
|
4580
4615
|
*/
|
|
4581
4616
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
4582
4617
|
/**
|
|
4583
4618
|
* Require `Array.isArray()` instead of `instanceof Array`.
|
|
4584
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4619
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-instanceof-array.md
|
|
4585
4620
|
*/
|
|
4586
4621
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
|
|
4587
4622
|
/**
|
|
4588
4623
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
4589
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4624
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-invalid-fetch-options.md
|
|
4590
4625
|
*/
|
|
4591
4626
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
|
|
4592
4627
|
/**
|
|
4593
4628
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
4594
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4629
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-invalid-remove-event-listener.md
|
|
4595
4630
|
*/
|
|
4596
4631
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
4597
4632
|
/**
|
|
4598
4633
|
* Disallow identifiers starting with `new` or `class`.
|
|
4599
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4634
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-keyword-prefix.md
|
|
4600
4635
|
*/
|
|
4601
4636
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
4637
|
+
/**
|
|
4638
|
+
* Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
4639
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-length-as-slice-end.md
|
|
4640
|
+
*/
|
|
4641
|
+
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
|
|
4602
4642
|
/**
|
|
4603
4643
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
4604
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4644
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-lonely-if.md
|
|
4605
4645
|
*/
|
|
4606
4646
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
|
|
4607
4647
|
/**
|
|
4608
4648
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
4609
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4649
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-magic-array-flat-depth.md
|
|
4610
4650
|
*/
|
|
4611
4651
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
4612
4652
|
/**
|
|
4613
4653
|
* Disallow negated conditions.
|
|
4614
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4654
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-negated-condition.md
|
|
4615
4655
|
*/
|
|
4616
4656
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
4617
4657
|
/**
|
|
4618
4658
|
* Disallow negated expression in equality check.
|
|
4619
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4659
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-negation-in-equality-check.md
|
|
4620
4660
|
*/
|
|
4621
4661
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
|
|
4622
4662
|
/**
|
|
4623
4663
|
* Disallow nested ternary expressions.
|
|
4624
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4664
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-nested-ternary.md
|
|
4625
4665
|
*/
|
|
4626
4666
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
4627
4667
|
/**
|
|
4628
4668
|
* Disallow `new Array()`.
|
|
4629
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4669
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-new-array.md
|
|
4630
4670
|
*/
|
|
4631
4671
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
4632
4672
|
/**
|
|
4633
4673
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
4634
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4674
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-new-buffer.md
|
|
4635
4675
|
*/
|
|
4636
4676
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
4637
4677
|
/**
|
|
4638
4678
|
* Disallow the use of the `null` literal.
|
|
4639
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4679
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-null.md
|
|
4640
4680
|
*/
|
|
4641
4681
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
4642
4682
|
/**
|
|
4643
4683
|
* Disallow the use of objects as default parameters.
|
|
4644
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4684
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-object-as-default-parameter.md
|
|
4645
4685
|
*/
|
|
4646
4686
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
4647
4687
|
/**
|
|
4648
4688
|
* Disallow `process.exit()`.
|
|
4649
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4689
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-process-exit.md
|
|
4650
4690
|
*/
|
|
4651
4691
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
4652
4692
|
/**
|
|
4653
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4693
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-reduce
|
|
4654
4694
|
* @deprecated
|
|
4655
4695
|
*/
|
|
4656
4696
|
'unicorn/no-reduce'?: Linter.RuleEntry<[]>
|
|
4657
4697
|
/**
|
|
4658
4698
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
4659
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4699
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-single-promise-in-promise-methods.md
|
|
4660
4700
|
*/
|
|
4661
4701
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
4662
4702
|
/**
|
|
4663
4703
|
* Disallow classes that only have static members.
|
|
4664
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4704
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-static-only-class.md
|
|
4665
4705
|
*/
|
|
4666
4706
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
4667
4707
|
/**
|
|
4668
4708
|
* Disallow `then` property.
|
|
4669
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4709
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-thenable.md
|
|
4670
4710
|
*/
|
|
4671
4711
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
4672
4712
|
/**
|
|
4673
4713
|
* Disallow assigning `this` to a variable.
|
|
4674
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4714
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-this-assignment.md
|
|
4675
4715
|
*/
|
|
4676
4716
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
4677
4717
|
/**
|
|
4678
4718
|
* Disallow comparing `undefined` using `typeof`.
|
|
4679
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4719
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-typeof-undefined.md
|
|
4680
4720
|
*/
|
|
4681
4721
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
4682
4722
|
/**
|
|
4683
4723
|
* Disallow awaiting non-promise values.
|
|
4684
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4724
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unnecessary-await.md
|
|
4685
4725
|
*/
|
|
4686
4726
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
4687
4727
|
/**
|
|
4688
4728
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
4689
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4729
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unnecessary-polyfills.md
|
|
4690
4730
|
*/
|
|
4691
4731
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
4692
4732
|
/**
|
|
4693
4733
|
* Disallow unreadable array destructuring.
|
|
4694
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4734
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unreadable-array-destructuring.md
|
|
4695
4735
|
*/
|
|
4696
4736
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
4697
4737
|
/**
|
|
4698
4738
|
* Disallow unreadable IIFEs.
|
|
4699
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4739
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unreadable-iife.md
|
|
4700
4740
|
*/
|
|
4701
4741
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
4702
4742
|
/**
|
|
4703
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4743
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-unsafe-regex
|
|
4704
4744
|
* @deprecated
|
|
4705
4745
|
*/
|
|
4706
4746
|
'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
|
|
4707
4747
|
/**
|
|
4708
4748
|
* Disallow unused object properties.
|
|
4709
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4749
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unused-properties.md
|
|
4710
4750
|
*/
|
|
4711
4751
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
4712
4752
|
/**
|
|
4713
4753
|
* Disallow useless fallback when spreading in object literals.
|
|
4714
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4754
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-fallback-in-spread.md
|
|
4715
4755
|
*/
|
|
4716
4756
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
4717
4757
|
/**
|
|
4718
4758
|
* Disallow useless array length check.
|
|
4719
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4759
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-length-check.md
|
|
4720
4760
|
*/
|
|
4721
4761
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
4722
4762
|
/**
|
|
4723
4763
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
4724
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4764
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-promise-resolve-reject.md
|
|
4725
4765
|
*/
|
|
4726
4766
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
4727
4767
|
/**
|
|
4728
4768
|
* Disallow unnecessary spread.
|
|
4729
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4769
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-spread.md
|
|
4730
4770
|
*/
|
|
4731
4771
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
4732
4772
|
/**
|
|
4733
4773
|
* Disallow useless case in switch statements.
|
|
4734
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4774
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-switch-case.md
|
|
4735
4775
|
*/
|
|
4736
4776
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
4737
4777
|
/**
|
|
4738
4778
|
* Disallow useless `undefined`.
|
|
4739
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4779
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-undefined.md
|
|
4740
4780
|
*/
|
|
4741
4781
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
4742
4782
|
/**
|
|
4743
4783
|
* Disallow number literals with zero fractions or dangling dots.
|
|
4744
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4784
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-zero-fractions.md
|
|
4745
4785
|
*/
|
|
4746
4786
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
4747
4787
|
/**
|
|
4748
4788
|
* Enforce proper case for numeric literals.
|
|
4749
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4789
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/number-literal-case.md
|
|
4750
4790
|
*/
|
|
4751
4791
|
'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
|
|
4752
4792
|
/**
|
|
4753
4793
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
4754
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4794
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/numeric-separators-style.md
|
|
4755
4795
|
*/
|
|
4756
4796
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
4757
4797
|
/**
|
|
4758
4798
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
4759
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4799
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-add-event-listener.md
|
|
4760
4800
|
*/
|
|
4761
4801
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
4762
4802
|
/**
|
|
4763
4803
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
4764
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4804
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-find.md
|
|
4765
4805
|
*/
|
|
4766
4806
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
4767
4807
|
/**
|
|
4768
4808
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
4769
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4809
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-flat.md
|
|
4770
4810
|
*/
|
|
4771
4811
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
4772
4812
|
/**
|
|
4773
4813
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
4774
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4814
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-flat-map.md
|
|
4775
4815
|
*/
|
|
4776
4816
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
4777
4817
|
/**
|
|
4778
4818
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
4779
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4819
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-index-of.md
|
|
4780
4820
|
*/
|
|
4781
4821
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
4782
4822
|
/**
|
|
4783
4823
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
4784
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4824
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-some.md
|
|
4785
4825
|
*/
|
|
4786
4826
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
4787
4827
|
/**
|
|
4788
4828
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
4789
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4829
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-at.md
|
|
4790
4830
|
*/
|
|
4791
4831
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
4792
4832
|
/**
|
|
4793
4833
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
4794
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4834
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-blob-reading-methods.md
|
|
4795
4835
|
*/
|
|
4796
4836
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
4797
4837
|
/**
|
|
4798
4838
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
4799
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4839
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-code-point.md
|
|
4800
4840
|
*/
|
|
4801
4841
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
4802
4842
|
/**
|
|
4803
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4843
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-dataset
|
|
4804
4844
|
* @deprecated
|
|
4805
4845
|
*/
|
|
4806
4846
|
'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
|
|
4807
4847
|
/**
|
|
4808
4848
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
4809
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4849
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-date-now.md
|
|
4810
4850
|
*/
|
|
4811
4851
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
4812
4852
|
/**
|
|
4813
4853
|
* Prefer default parameters over reassignment.
|
|
4814
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4854
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-default-parameters.md
|
|
4815
4855
|
*/
|
|
4816
4856
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
4817
4857
|
/**
|
|
4818
4858
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
4819
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4859
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-dom-node-append.md
|
|
4820
4860
|
*/
|
|
4821
4861
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
4822
4862
|
/**
|
|
4823
4863
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
4824
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4864
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-dom-node-dataset.md
|
|
4825
4865
|
*/
|
|
4826
4866
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
4827
4867
|
/**
|
|
4828
4868
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
4829
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4869
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-dom-node-remove.md
|
|
4830
4870
|
*/
|
|
4831
4871
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
4832
4872
|
/**
|
|
4833
4873
|
* Prefer `.textContent` over `.innerText`.
|
|
4834
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4874
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-dom-node-text-content.md
|
|
4835
4875
|
*/
|
|
4836
4876
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
4837
4877
|
/**
|
|
4838
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4878
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-event-key
|
|
4839
4879
|
* @deprecated
|
|
4840
4880
|
*/
|
|
4841
4881
|
'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
|
|
4842
4882
|
/**
|
|
4843
4883
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
4844
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4884
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-event-target.md
|
|
4845
4885
|
*/
|
|
4846
4886
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
4847
4887
|
/**
|
|
4848
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4888
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator
|
|
4849
4889
|
* @deprecated
|
|
4850
4890
|
*/
|
|
4851
4891
|
'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
|
|
4852
4892
|
/**
|
|
4853
4893
|
* Prefer `export…from` when re-exporting.
|
|
4854
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4894
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-export-from.md
|
|
4855
4895
|
*/
|
|
4856
4896
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
4857
4897
|
/**
|
|
4858
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4898
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-flat-map
|
|
4859
4899
|
* @deprecated
|
|
4860
4900
|
*/
|
|
4861
4901
|
'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
|
|
4862
4902
|
/**
|
|
4863
4903
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
4864
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4904
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-includes.md
|
|
4865
4905
|
*/
|
|
4866
4906
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
4867
4907
|
/**
|
|
4868
4908
|
* Prefer reading a JSON file as a buffer.
|
|
4869
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4909
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-json-parse-buffer.md
|
|
4870
4910
|
*/
|
|
4871
4911
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
4872
4912
|
/**
|
|
4873
4913
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
4874
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4914
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-keyboard-event-key.md
|
|
4875
4915
|
*/
|
|
4876
4916
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
4877
4917
|
/**
|
|
4878
4918
|
* Prefer using a logical operator over a ternary.
|
|
4879
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4919
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-logical-operator-over-ternary.md
|
|
4880
4920
|
*/
|
|
4881
4921
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
4882
4922
|
/**
|
|
4883
4923
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
4884
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4924
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-math-trunc.md
|
|
4885
4925
|
*/
|
|
4886
4926
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
4887
4927
|
/**
|
|
4888
4928
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
4889
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4929
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-modern-dom-apis.md
|
|
4890
4930
|
*/
|
|
4891
4931
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
4892
4932
|
/**
|
|
4893
4933
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
4894
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4934
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-modern-math-apis.md
|
|
4895
4935
|
*/
|
|
4896
4936
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
4897
4937
|
/**
|
|
4898
4938
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
4899
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4939
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-module.md
|
|
4900
4940
|
*/
|
|
4901
4941
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
4902
4942
|
/**
|
|
4903
4943
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
4904
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4944
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-native-coercion-functions.md
|
|
4905
4945
|
*/
|
|
4906
4946
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
4907
4947
|
/**
|
|
4908
4948
|
* Prefer negative index over `.length - index` when possible.
|
|
4909
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4949
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-negative-index.md
|
|
4910
4950
|
*/
|
|
4911
4951
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
4912
4952
|
/**
|
|
4913
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4953
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-node-append
|
|
4914
4954
|
* @deprecated
|
|
4915
4955
|
*/
|
|
4916
4956
|
'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
|
|
4917
4957
|
/**
|
|
4918
4958
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
4919
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4959
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-node-protocol.md
|
|
4920
4960
|
*/
|
|
4921
4961
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
4922
4962
|
/**
|
|
4923
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4963
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-node-remove
|
|
4924
4964
|
* @deprecated
|
|
4925
4965
|
*/
|
|
4926
4966
|
'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
|
|
4927
4967
|
/**
|
|
4928
4968
|
* Prefer `Number` static properties over global ones.
|
|
4929
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4969
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-number-properties.md
|
|
4930
4970
|
*/
|
|
4931
4971
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
4932
4972
|
/**
|
|
4933
4973
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
4934
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4974
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-object-from-entries.md
|
|
4935
4975
|
*/
|
|
4936
4976
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
4937
4977
|
/**
|
|
4938
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4978
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-object-has-own
|
|
4939
4979
|
* @deprecated
|
|
4940
4980
|
*/
|
|
4941
4981
|
'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
|
|
4942
4982
|
/**
|
|
4943
4983
|
* Prefer omitting the `catch` binding parameter.
|
|
4944
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4984
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-optional-catch-binding.md
|
|
4945
4985
|
*/
|
|
4946
4986
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
4947
4987
|
/**
|
|
4948
4988
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
4949
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4989
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-prototype-methods.md
|
|
4950
4990
|
*/
|
|
4951
4991
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
4952
4992
|
/**
|
|
4953
4993
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()`.
|
|
4954
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4994
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-query-selector.md
|
|
4955
4995
|
*/
|
|
4956
4996
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
4957
4997
|
/**
|
|
4958
4998
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
4959
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4999
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-reflect-apply.md
|
|
4960
5000
|
*/
|
|
4961
5001
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
4962
5002
|
/**
|
|
4963
5003
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
4964
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5004
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-regexp-test.md
|
|
4965
5005
|
*/
|
|
4966
5006
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
4967
5007
|
/**
|
|
4968
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5008
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-replace-all
|
|
4969
5009
|
* @deprecated
|
|
4970
5010
|
*/
|
|
4971
5011
|
'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
|
|
4972
5012
|
/**
|
|
4973
5013
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
4974
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5014
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-set-has.md
|
|
4975
5015
|
*/
|
|
4976
5016
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
4977
5017
|
/**
|
|
4978
5018
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
4979
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5019
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-set-size.md
|
|
4980
5020
|
*/
|
|
4981
5021
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
4982
5022
|
/**
|
|
4983
5023
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
4984
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5024
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-spread.md
|
|
4985
5025
|
*/
|
|
4986
5026
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
4987
5027
|
/**
|
|
4988
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5028
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-starts-ends-with
|
|
4989
5029
|
* @deprecated
|
|
4990
5030
|
*/
|
|
4991
5031
|
'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
4992
5032
|
/**
|
|
4993
5033
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
4994
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5034
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-raw.md
|
|
4995
5035
|
*/
|
|
4996
5036
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
|
|
4997
5037
|
/**
|
|
4998
5038
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
4999
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5039
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-replace-all.md
|
|
5000
5040
|
*/
|
|
5001
5041
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
5002
5042
|
/**
|
|
5003
5043
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
5004
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5044
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-slice.md
|
|
5005
5045
|
*/
|
|
5006
5046
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
5007
5047
|
/**
|
|
5008
5048
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
5009
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5049
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-starts-ends-with.md
|
|
5010
5050
|
*/
|
|
5011
5051
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
5012
5052
|
/**
|
|
5013
5053
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
5014
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5054
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-trim-start-end.md
|
|
5015
5055
|
*/
|
|
5016
5056
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
|
|
5017
5057
|
/**
|
|
5018
5058
|
* Prefer using `structuredClone` to create a deep clone.
|
|
5019
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5059
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-structured-clone.md
|
|
5020
5060
|
*/
|
|
5021
5061
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
|
|
5022
5062
|
/**
|
|
5023
5063
|
* Prefer `switch` over multiple `else-if`.
|
|
5024
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5064
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-switch.md
|
|
5025
5065
|
*/
|
|
5026
5066
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
5027
5067
|
/**
|
|
5028
5068
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
5029
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5069
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-ternary.md
|
|
5030
5070
|
*/
|
|
5031
5071
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
5032
5072
|
/**
|
|
5033
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5073
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-text-content
|
|
5034
5074
|
* @deprecated
|
|
5035
5075
|
*/
|
|
5036
5076
|
'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
|
|
5037
5077
|
/**
|
|
5038
5078
|
* Prefer top-level await over top-level promises and async function calls.
|
|
5039
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5079
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-top-level-await.md
|
|
5040
5080
|
*/
|
|
5041
5081
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
5042
5082
|
/**
|
|
5043
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5083
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-trim-start-end
|
|
5044
5084
|
* @deprecated
|
|
5045
5085
|
*/
|
|
5046
5086
|
'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
|
|
5047
5087
|
/**
|
|
5048
5088
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
5049
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5089
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-type-error.md
|
|
5050
5090
|
*/
|
|
5051
5091
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
5052
5092
|
/**
|
|
5053
5093
|
* Prevent abbreviations.
|
|
5054
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5094
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prevent-abbreviations.md
|
|
5055
5095
|
*/
|
|
5056
5096
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
5057
5097
|
/**
|
|
5058
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5098
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#regex-shorthand
|
|
5059
5099
|
* @deprecated
|
|
5060
5100
|
*/
|
|
5061
5101
|
'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
|
|
5062
5102
|
/**
|
|
5063
5103
|
* Enforce consistent relative URL style.
|
|
5064
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5104
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/relative-url-style.md
|
|
5065
5105
|
*/
|
|
5066
5106
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
5067
5107
|
/**
|
|
5068
5108
|
* Enforce using the separator argument with `Array#join()`.
|
|
5069
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5109
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/require-array-join-separator.md
|
|
5070
5110
|
*/
|
|
5071
5111
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
5072
5112
|
/**
|
|
5073
5113
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
5074
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5114
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/require-number-to-fixed-digits-argument.md
|
|
5075
5115
|
*/
|
|
5076
5116
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
5077
5117
|
/**
|
|
5078
5118
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
5079
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5119
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/require-post-message-target-origin.md
|
|
5080
5120
|
*/
|
|
5081
5121
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
5082
5122
|
/**
|
|
5083
5123
|
* Enforce better string content.
|
|
5084
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5124
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/string-content.md
|
|
5085
5125
|
*/
|
|
5086
5126
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
5087
5127
|
/**
|
|
5088
5128
|
* Enforce consistent brace style for `case` clauses.
|
|
5089
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5129
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/switch-case-braces.md
|
|
5090
5130
|
*/
|
|
5091
5131
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
5092
5132
|
/**
|
|
5093
5133
|
* Fix whitespace-insensitive template indentation.
|
|
5094
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5134
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/template-indent.md
|
|
5095
5135
|
*/
|
|
5096
5136
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
5097
5137
|
/**
|
|
5098
5138
|
* Enforce consistent case for text encoding identifiers.
|
|
5099
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5139
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/text-encoding-identifier-case.md
|
|
5100
5140
|
*/
|
|
5101
5141
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
|
|
5102
5142
|
/**
|
|
5103
5143
|
* Require `new` when creating an error.
|
|
5104
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5144
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/throw-new-error.md
|
|
5105
5145
|
*/
|
|
5106
5146
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
5107
5147
|
/**
|
|
@@ -7172,7 +7212,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
7172
7212
|
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
7173
7213
|
version?: string
|
|
7174
7214
|
allowExperimental?: boolean
|
|
7175
|
-
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" | "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" | "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.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.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.createRequire" | "module.createRequireFromPath" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "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.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.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.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.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.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.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" | "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.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.MockFunctionContext" | "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.MockFunctionContext" | "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.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.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.BrotliDecompress" | "zlib.Deflate" | "zlib.DeflateRaw" | "zlib.Gunzip" | "zlib.Gzip" | "zlib.Inflate" | "zlib.InflateRaw" | "zlib.Unzip" | "zlib")[]
|
|
7215
|
+
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" | "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.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.createRequire" | "module.createRequireFromPath" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "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.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" | "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.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.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.BrotliDecompress" | "zlib.Deflate" | "zlib.DeflateRaw" | "zlib.Gunzip" | "zlib.Gzip" | "zlib.Inflate" | "zlib.InflateRaw" | "zlib.Unzip" | "zlib")[]
|
|
7176
7216
|
}]
|
|
7177
7217
|
// ----- node/prefer-global/buffer -----
|
|
7178
7218
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -7442,6 +7482,15 @@ type ReactForbidComponentProps = []|[{
|
|
|
7442
7482
|
} | {
|
|
7443
7483
|
propName?: string
|
|
7444
7484
|
|
|
7485
|
+
disallowedFor: [string, ...(string)[]]
|
|
7486
|
+
message?: string
|
|
7487
|
+
} | {
|
|
7488
|
+
propNamePattern?: string
|
|
7489
|
+
allowedFor?: string[]
|
|
7490
|
+
message?: string
|
|
7491
|
+
} | {
|
|
7492
|
+
propNamePattern?: string
|
|
7493
|
+
|
|
7445
7494
|
disallowedFor: [string, ...(string)[]]
|
|
7446
7495
|
message?: string
|
|
7447
7496
|
})[]
|
|
@@ -7499,6 +7548,10 @@ type ReactJsxClosingBracketLocation = []|[(("after-props" | "props-aligned" | "t
|
|
|
7499
7548
|
nonEmpty?: ("after-props" | "props-aligned" | "tag-aligned" | "line-aligned" | false)
|
|
7500
7549
|
selfClosing?: ("after-props" | "props-aligned" | "tag-aligned" | "line-aligned" | false)
|
|
7501
7550
|
})]
|
|
7551
|
+
// ----- react/jsx-closing-tag-location -----
|
|
7552
|
+
type ReactJsxClosingTagLocation = []|[(("tag-aligned" | "line-aligned") | {
|
|
7553
|
+
location?: ("tag-aligned" | "line-aligned")
|
|
7554
|
+
})]
|
|
7502
7555
|
// ----- react/jsx-curly-brace-presence -----
|
|
7503
7556
|
type ReactJsxCurlyBracePresence = []|[({
|
|
7504
7557
|
props?: ("always" | "never" | "ignore")
|
|
@@ -7554,20 +7607,26 @@ type ReactJsxHandlerNames = []|[({
|
|
|
7554
7607
|
eventHandlerPropPrefix?: string
|
|
7555
7608
|
checkLocalVariables?: boolean
|
|
7556
7609
|
checkInlineFunction?: boolean
|
|
7610
|
+
ignoreComponentNames?: string[]
|
|
7557
7611
|
} | {
|
|
7558
7612
|
eventHandlerPrefix?: string
|
|
7559
7613
|
eventHandlerPropPrefix?: false
|
|
7560
7614
|
checkLocalVariables?: boolean
|
|
7561
7615
|
checkInlineFunction?: boolean
|
|
7616
|
+
ignoreComponentNames?: string[]
|
|
7562
7617
|
} | {
|
|
7563
7618
|
eventHandlerPrefix?: false
|
|
7564
7619
|
eventHandlerPropPrefix?: string
|
|
7565
7620
|
checkLocalVariables?: boolean
|
|
7566
7621
|
checkInlineFunction?: boolean
|
|
7622
|
+
ignoreComponentNames?: string[]
|
|
7567
7623
|
} | {
|
|
7568
7624
|
checkLocalVariables?: boolean
|
|
7569
7625
|
} | {
|
|
7570
7626
|
checkInlineFunction?: boolean
|
|
7627
|
+
} | {
|
|
7628
|
+
ignoreComponentNames?: string[]
|
|
7629
|
+
[k: string]: unknown | undefined
|
|
7571
7630
|
})]
|
|
7572
7631
|
// ----- react/jsx-indent -----
|
|
7573
7632
|
type ReactJsxIndent = []|[("tab" | number)]|[("tab" | number), {
|
|
@@ -7719,6 +7778,12 @@ type ReactJsxWrapMultilines = []|[{
|
|
|
7719
7778
|
type ReactNoChildrenProp = []|[{
|
|
7720
7779
|
allowFunctions?: boolean
|
|
7721
7780
|
}]
|
|
7781
|
+
// ----- react/no-danger -----
|
|
7782
|
+
type ReactNoDanger = []|[{
|
|
7783
|
+
|
|
7784
|
+
customComponentNames?: string[]
|
|
7785
|
+
[k: string]: unknown | undefined
|
|
7786
|
+
}]
|
|
7722
7787
|
// ----- react/no-did-mount-set-state -----
|
|
7723
7788
|
type ReactNoDidMountSetState = []|["disallow-in-func"]
|
|
7724
7789
|
// ----- react/no-did-update-set-state -----
|
|
@@ -9441,7 +9506,7 @@ type TsRestrictTemplateExpressions = []|[{
|
|
|
9441
9506
|
allowNever?: boolean
|
|
9442
9507
|
}]
|
|
9443
9508
|
// ----- ts/return-await -----
|
|
9444
|
-
type TsReturnAwait = []|[("in-try-catch" | "always" | "never")]
|
|
9509
|
+
type TsReturnAwait = []|[("in-try-catch" | "always" | "never" | "error-handling-correctness-only")]
|
|
9445
9510
|
// ----- ts/semi -----
|
|
9446
9511
|
type TsSemi = ([]|["never"]|["never", {
|
|
9447
9512
|
beforeStatementContinuationChars?: ("always" | "any" | "never")
|
|
@@ -9771,7 +9836,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
9771
9836
|
type ConfigNames = '2digits:comments' | '2digits:graphql' | '2digits:ignores' | '2digits:gitignore' | '2digits:javascript' | '2digits:jsdoc' | '2digits:next/setup' | '2digits:next/rules' | '2digits:node' | '2digits:prettier' | '2digits:react/setup' | '2digits:react/rules' | '2digits:sonar' | '2digits:storybook/setup' | '2digits:storybook/rules' | '2digits:storybook/disables' | '2digits:storybook/config' | '2digits:tailwind' | '2digits:tanstack' | '2digits:turbo' | '2digits:typescript/setup' | '2digits:typescript/rules' | '2digits:typescript/disables/dts' | '2digits:typescript/disables/test' | '2digits:typescript/disables/cjs' | '2digits:unicorn'
|
|
9772
9837
|
|
|
9773
9838
|
type Rules = RuleOptions;
|
|
9774
|
-
interface TypedFlatConfigItem extends Omit<Linter.
|
|
9839
|
+
interface TypedFlatConfigItem extends Omit<Linter.Config<Linter.RulesRecord & Rules>, 'plugins' | 'languageOptions'> {
|
|
9775
9840
|
/**
|
|
9776
9841
|
* An object containing a name-value mapping of plugin names to plugin objects. When `files` is
|
|
9777
9842
|
* specified, these plugins are only available to the matching files.
|