@coderwyd/eslint-config 2.4.1 → 2.4.2
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/cli.cjs +5 -4
- package/dist/cli.js +5 -4
- package/dist/index.cjs +93 -48
- package/dist/index.d.cts +222 -828
- package/dist/index.d.ts +222 -828
- package/dist/index.js +93 -48
- package/package.json +14 -13
package/dist/index.d.ts
CHANGED
|
@@ -1112,6 +1112,7 @@ interface RuleOptions {
|
|
|
1112
1112
|
/**
|
|
1113
1113
|
* Enforce position of line comments
|
|
1114
1114
|
* @see https://eslint.org/docs/latest/rules/line-comment-position
|
|
1115
|
+
* @deprecated
|
|
1115
1116
|
*/
|
|
1116
1117
|
'line-comment-position'?: Linter.RuleEntry<LineCommentPosition>
|
|
1117
1118
|
/**
|
|
@@ -1193,6 +1194,7 @@ interface RuleOptions {
|
|
|
1193
1194
|
/**
|
|
1194
1195
|
* Enforce a particular style for multiline comments
|
|
1195
1196
|
* @see https://eslint.org/docs/latest/rules/multiline-comment-style
|
|
1197
|
+
* @deprecated
|
|
1196
1198
|
*/
|
|
1197
1199
|
'multiline-comment-style'?: Linter.RuleEntry<MultilineCommentStyle>
|
|
1198
1200
|
/**
|
|
@@ -1565,7 +1567,7 @@ interface RuleOptions {
|
|
|
1565
1567
|
* Disallow characters which are made with multiple code points in character class syntax
|
|
1566
1568
|
* @see https://eslint.org/docs/latest/rules/no-misleading-character-class
|
|
1567
1569
|
*/
|
|
1568
|
-
'no-misleading-character-class'?: Linter.RuleEntry<
|
|
1570
|
+
'no-misleading-character-class'?: Linter.RuleEntry<NoMisleadingCharacterClass>
|
|
1569
1571
|
/**
|
|
1570
1572
|
* Disallow mixed binary operators
|
|
1571
1573
|
* @see https://eslint.org/docs/latest/rules/no-mixed-operators
|
|
@@ -2474,523 +2476,313 @@ interface RuleOptions {
|
|
|
2474
2476
|
*/
|
|
2475
2477
|
'radix'?: Linter.RuleEntry<Radix>
|
|
2476
2478
|
/**
|
|
2477
|
-
*
|
|
2478
|
-
* @see https://
|
|
2479
|
-
*/
|
|
2480
|
-
'react-hooks/exhaustive-deps'?: Linter.RuleEntry<ReactHooksExhaustiveDeps>
|
|
2481
|
-
/**
|
|
2482
|
-
* enforces the Rules of Hooks
|
|
2483
|
-
* @see https://reactjs.org/docs/hooks-rules.html
|
|
2484
|
-
*/
|
|
2485
|
-
'react-hooks/rules-of-hooks'?: Linter.RuleEntry<[]>
|
|
2486
|
-
'react-refresh/only-export-components'?: Linter.RuleEntry<ReactRefreshOnlyExportComponents>
|
|
2487
|
-
/**
|
|
2488
|
-
* Enforces consistent naming for boolean props
|
|
2489
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/boolean-prop-naming.md
|
|
2490
|
-
*/
|
|
2491
|
-
'react/boolean-prop-naming'?: Linter.RuleEntry<ReactBooleanPropNaming>
|
|
2492
|
-
/**
|
|
2493
|
-
* Disallow usage of `button` elements without an explicit `type` attribute
|
|
2494
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/button-has-type.md
|
|
2495
|
-
*/
|
|
2496
|
-
'react/button-has-type'?: Linter.RuleEntry<ReactButtonHasType>
|
|
2497
|
-
/**
|
|
2498
|
-
* Enforce using `onChange` or `readonly` attribute when `checked` is used
|
|
2499
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/checked-requires-onchange-or-readonly.md
|
|
2500
|
-
*/
|
|
2501
|
-
'react/checked-requires-onchange-or-readonly'?: Linter.RuleEntry<ReactCheckedRequiresOnchangeOrReadonly>
|
|
2502
|
-
/**
|
|
2503
|
-
* Enforce all defaultProps have a corresponding non-required PropType
|
|
2504
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/default-props-match-prop-types.md
|
|
2505
|
-
*/
|
|
2506
|
-
'react/default-props-match-prop-types'?: Linter.RuleEntry<ReactDefaultPropsMatchPropTypes>
|
|
2507
|
-
/**
|
|
2508
|
-
* Enforce consistent usage of destructuring assignment of props, state, and context
|
|
2509
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/destructuring-assignment.md
|
|
2510
|
-
*/
|
|
2511
|
-
'react/destructuring-assignment'?: Linter.RuleEntry<ReactDestructuringAssignment>
|
|
2512
|
-
/**
|
|
2513
|
-
* Disallow missing displayName in a React component definition
|
|
2514
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/display-name.md
|
|
2515
|
-
*/
|
|
2516
|
-
'react/display-name'?: Linter.RuleEntry<ReactDisplayName>
|
|
2517
|
-
/**
|
|
2518
|
-
* Disallow certain props on components
|
|
2519
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/forbid-component-props.md
|
|
2520
|
-
*/
|
|
2521
|
-
'react/forbid-component-props'?: Linter.RuleEntry<ReactForbidComponentProps>
|
|
2522
|
-
/**
|
|
2523
|
-
* Disallow certain props on DOM Nodes
|
|
2524
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/forbid-dom-props.md
|
|
2525
|
-
*/
|
|
2526
|
-
'react/forbid-dom-props'?: Linter.RuleEntry<ReactForbidDomProps>
|
|
2527
|
-
/**
|
|
2528
|
-
* Disallow certain elements
|
|
2529
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/forbid-elements.md
|
|
2479
|
+
* disallow passing 'children' to void DOM elements
|
|
2480
|
+
* @see https://eslint-react.xyz/rules/dom-no-children-in-void-dom-elements
|
|
2530
2481
|
*/
|
|
2531
|
-
'react/
|
|
2482
|
+
'react-dom/no-children-in-void-dom-elements'?: Linter.RuleEntry<[]>
|
|
2532
2483
|
/**
|
|
2533
|
-
*
|
|
2534
|
-
* @see https://
|
|
2484
|
+
* disallow when a DOM component is using 'dangerouslySetInnerHTML'
|
|
2485
|
+
* @see https://eslint-react.xyz/rules/dom-no-dangerously-set-innerhtml
|
|
2535
2486
|
*/
|
|
2536
|
-
'react/
|
|
2487
|
+
'react-dom/no-dangerously-set-innerhtml'?: Linter.RuleEntry<[]>
|
|
2537
2488
|
/**
|
|
2538
|
-
*
|
|
2539
|
-
* @see https://
|
|
2489
|
+
* disallow when a DOM component is using both 'children' and 'dangerouslySetInnerHTML'
|
|
2490
|
+
* @see https://eslint-react.xyz/rules/dom-no-dangerously-set-innerhtml-with-children
|
|
2540
2491
|
*/
|
|
2541
|
-
'react/
|
|
2492
|
+
'react-dom/no-dangerously-set-innerhtml-with-children'?: Linter.RuleEntry<[]>
|
|
2542
2493
|
/**
|
|
2543
|
-
*
|
|
2544
|
-
* @see https://
|
|
2494
|
+
* disallow 'findDOMNode'
|
|
2495
|
+
* @see https://eslint-react.xyz/rules/dom-no-find-dom-node
|
|
2545
2496
|
*/
|
|
2546
|
-
'react/
|
|
2497
|
+
'react-dom/no-find-dom-node'?: Linter.RuleEntry<[]>
|
|
2547
2498
|
/**
|
|
2548
|
-
*
|
|
2549
|
-
* @see https://
|
|
2499
|
+
* enforce that button component have an explicit 'type' attribute
|
|
2500
|
+
* @see https://eslint-react.xyz/rules/dom-no-missing-button-type
|
|
2550
2501
|
*/
|
|
2551
|
-
'react/
|
|
2502
|
+
'react-dom/no-missing-button-type'?: Linter.RuleEntry<[]>
|
|
2552
2503
|
/**
|
|
2553
|
-
*
|
|
2554
|
-
* @see https://
|
|
2504
|
+
* enforce that 'iframe' component have an explicit 'sandbox' attribute
|
|
2505
|
+
* @see https://eslint-react.xyz/rules/dom-no-missing-iframe-sandbox
|
|
2555
2506
|
*/
|
|
2556
|
-
'react/
|
|
2507
|
+
'react-dom/no-missing-iframe-sandbox'?: Linter.RuleEntry<[]>
|
|
2557
2508
|
/**
|
|
2558
|
-
*
|
|
2559
|
-
* @see https://
|
|
2509
|
+
* enforce that namespaces are not used in React elements
|
|
2510
|
+
* @see https://eslint-react.xyz/rules/dom-no-namespace
|
|
2560
2511
|
*/
|
|
2561
|
-
'react/
|
|
2512
|
+
'react-dom/no-namespace'?: Linter.RuleEntry<[]>
|
|
2562
2513
|
/**
|
|
2563
|
-
*
|
|
2564
|
-
* @see https://
|
|
2514
|
+
* disallow usage of the return value of 'ReactDOM.render'
|
|
2515
|
+
* @see https://eslint-react.xyz/rules/dom-no-render-return-value
|
|
2565
2516
|
*/
|
|
2566
|
-
'react/
|
|
2517
|
+
'react-dom/no-render-return-value'?: Linter.RuleEntry<[]>
|
|
2567
2518
|
/**
|
|
2568
|
-
*
|
|
2569
|
-
* @see https://
|
|
2519
|
+
* disallow 'javascript:' URLs as JSX event handler prop's value
|
|
2520
|
+
* @see https://eslint-react.xyz/rules/dom-no-script-url
|
|
2570
2521
|
*/
|
|
2571
|
-
'react/
|
|
2522
|
+
'react-dom/no-script-url'?: Linter.RuleEntry<[]>
|
|
2572
2523
|
/**
|
|
2573
|
-
*
|
|
2574
|
-
* @see https://
|
|
2524
|
+
* disallow unsafe iframe 'sandbox' attribute combinations
|
|
2525
|
+
* @see https://eslint-react.xyz/rules/dom-no-unsafe-iframe-sandbox
|
|
2575
2526
|
*/
|
|
2576
|
-
'react/
|
|
2527
|
+
'react-dom/no-unsafe-iframe-sandbox'?: Linter.RuleEntry<[]>
|
|
2577
2528
|
/**
|
|
2578
|
-
*
|
|
2579
|
-
* @see https://
|
|
2529
|
+
* disallow 'target="_blank"' on an external link without 'rel="noreferrer noopener"'.
|
|
2530
|
+
* @see https://eslint-react.xyz/rules/dom-no-unsafe-target-blank
|
|
2580
2531
|
*/
|
|
2581
|
-
'react/
|
|
2532
|
+
'react-dom/no-unsafe-target-blank'?: Linter.RuleEntry<[]>
|
|
2582
2533
|
/**
|
|
2583
|
-
*
|
|
2584
|
-
* @see https://
|
|
2534
|
+
* enforce custom hooks using other hooks
|
|
2535
|
+
* @see https://eslint-react.xyz/rules/hooks-extra-ensure-custom-hooks-using-other-hooks
|
|
2585
2536
|
*/
|
|
2586
|
-
'react/
|
|
2537
|
+
'react-hooks-extra/ensure-custom-hooks-using-other-hooks'?: Linter.RuleEntry<[]>
|
|
2587
2538
|
/**
|
|
2588
|
-
*
|
|
2589
|
-
* @see https://
|
|
2539
|
+
* enforce 'useCallback' has non-empty dependencies array
|
|
2540
|
+
* @see https://eslint-react.xyz/rules/hooks-extra-ensure-use-callback-has-non-empty-deps
|
|
2590
2541
|
*/
|
|
2591
|
-
'react/
|
|
2542
|
+
'react-hooks-extra/ensure-use-callback-has-non-empty-deps'?: Linter.RuleEntry<[]>
|
|
2592
2543
|
/**
|
|
2593
|
-
*
|
|
2594
|
-
* @see https://
|
|
2544
|
+
* enforce 'useMemo' has non-empty dependencies array
|
|
2545
|
+
* @see https://eslint-react.xyz/rules/hooks-extra-ensure-use-memo-has-non-empty-deps
|
|
2595
2546
|
*/
|
|
2596
|
-
'react/
|
|
2547
|
+
'react-hooks-extra/ensure-use-memo-has-non-empty-deps'?: Linter.RuleEntry<[]>
|
|
2597
2548
|
/**
|
|
2598
|
-
*
|
|
2599
|
-
* @see https://
|
|
2549
|
+
* disallow function calls in 'useState' that aren't wrapped in an initializer function
|
|
2550
|
+
* @see https://eslint-react.xyz/rules/hooks-extra-prefer-use-state-lazy-initialization
|
|
2600
2551
|
*/
|
|
2601
|
-
'react/
|
|
2552
|
+
'react-hooks-extra/prefer-use-state-lazy-initialization'?: Linter.RuleEntry<[]>
|
|
2602
2553
|
/**
|
|
2603
|
-
*
|
|
2604
|
-
* @see https://github.com/
|
|
2605
|
-
*/
|
|
2606
|
-
'react/jsx-first-prop-new-line'?: Linter.RuleEntry<ReactJsxFirstPropNewLine>
|
|
2607
|
-
/**
|
|
2608
|
-
* Enforce shorthand or standard form for React fragments
|
|
2609
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-fragments.md
|
|
2610
|
-
*/
|
|
2611
|
-
'react/jsx-fragments'?: Linter.RuleEntry<ReactJsxFragments>
|
|
2612
|
-
/**
|
|
2613
|
-
* Enforce event handler naming conventions in JSX
|
|
2614
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-handler-names.md
|
|
2615
|
-
*/
|
|
2616
|
-
'react/jsx-handler-names'?: Linter.RuleEntry<ReactJsxHandlerNames>
|
|
2617
|
-
/**
|
|
2618
|
-
* Enforce JSX indentation
|
|
2619
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-indent.md
|
|
2620
|
-
*/
|
|
2621
|
-
'react/jsx-indent'?: Linter.RuleEntry<ReactJsxIndent>
|
|
2622
|
-
/**
|
|
2623
|
-
* Enforce props indentation in JSX
|
|
2624
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-indent-props.md
|
|
2625
|
-
*/
|
|
2626
|
-
'react/jsx-indent-props'?: Linter.RuleEntry<ReactJsxIndentProps>
|
|
2627
|
-
/**
|
|
2628
|
-
* Disallow missing `key` props in iterators/collection literals
|
|
2629
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-key.md
|
|
2630
|
-
*/
|
|
2631
|
-
'react/jsx-key'?: Linter.RuleEntry<ReactJsxKey>
|
|
2632
|
-
/**
|
|
2633
|
-
* Enforce JSX maximum depth
|
|
2634
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-max-depth.md
|
|
2635
|
-
*/
|
|
2636
|
-
'react/jsx-max-depth'?: Linter.RuleEntry<ReactJsxMaxDepth>
|
|
2637
|
-
/**
|
|
2638
|
-
* Enforce maximum of props on a single line in JSX
|
|
2639
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-max-props-per-line.md
|
|
2554
|
+
* verifies the list of dependencies for Hooks like useEffect and similar
|
|
2555
|
+
* @see https://github.com/facebook/react/issues/14920
|
|
2640
2556
|
*/
|
|
2641
|
-
'react/
|
|
2557
|
+
'react-hooks/exhaustive-deps'?: Linter.RuleEntry<ReactHooksExhaustiveDeps>
|
|
2642
2558
|
/**
|
|
2643
|
-
*
|
|
2644
|
-
* @see https://
|
|
2559
|
+
* enforces the Rules of Hooks
|
|
2560
|
+
* @see https://reactjs.org/docs/hooks-rules.html
|
|
2645
2561
|
*/
|
|
2646
|
-
'react/
|
|
2562
|
+
'react-hooks/rules-of-hooks'?: Linter.RuleEntry<[]>
|
|
2647
2563
|
/**
|
|
2648
|
-
*
|
|
2649
|
-
* @see https://
|
|
2564
|
+
* enforce component naming convention to 'PascalCase' or 'CONSTANT_CASE'
|
|
2565
|
+
* @see https://eslint-react.xyz/rules/naming-convention-component-name
|
|
2650
2566
|
*/
|
|
2651
|
-
'react/
|
|
2567
|
+
'react-naming-convention/component-name'?: Linter.RuleEntry<ReactNamingConventionComponentName>
|
|
2652
2568
|
/**
|
|
2653
|
-
*
|
|
2654
|
-
* @see https://
|
|
2569
|
+
* enforce naming convention for JSX filenames
|
|
2570
|
+
* @see https://eslint-react.xyz/rules/naming-convention-filename
|
|
2655
2571
|
*/
|
|
2656
|
-
'react
|
|
2572
|
+
'react-naming-convention/filename'?: Linter.RuleEntry<ReactNamingConventionFilename>
|
|
2657
2573
|
/**
|
|
2658
|
-
*
|
|
2659
|
-
* @see https://
|
|
2574
|
+
* enforce naming convention for JSX file extensions
|
|
2575
|
+
* @see https://eslint-react.xyz/rules/naming-convention-filename-extension
|
|
2660
2576
|
*/
|
|
2661
|
-
'react
|
|
2577
|
+
'react-naming-convention/filename-extension'?: Linter.RuleEntry<ReactNamingConventionFilenameExtension>
|
|
2662
2578
|
/**
|
|
2663
|
-
*
|
|
2664
|
-
* @see https://
|
|
2579
|
+
* enforce destructuring and symmetric naming of 'useState' hook value and setter variables
|
|
2580
|
+
* @see https://eslint-react.xyz/rules/naming-convention-use-state
|
|
2665
2581
|
*/
|
|
2666
|
-
'react
|
|
2582
|
+
'react-naming-convention/use-state'?: Linter.RuleEntry<[]>
|
|
2583
|
+
'react-refresh/only-export-components'?: Linter.RuleEntry<ReactRefreshOnlyExportComponents>
|
|
2667
2584
|
/**
|
|
2668
|
-
*
|
|
2669
|
-
* @see https://
|
|
2585
|
+
* require all 'forwardRef' components include a 'ref' parameter
|
|
2586
|
+
* @see https://eslint-react.xyz/rules/ensure-forward-ref-using-ref
|
|
2670
2587
|
*/
|
|
2671
|
-
'react/
|
|
2588
|
+
'react/ensure-forward-ref-using-ref'?: Linter.RuleEntry<[]>
|
|
2672
2589
|
/**
|
|
2673
|
-
*
|
|
2674
|
-
* @see https://
|
|
2590
|
+
* disallow accessing 'this.state' within 'setState'
|
|
2591
|
+
* @see https://eslint-react.xyz/rules/no-access-state-in-setstate
|
|
2675
2592
|
*/
|
|
2676
|
-
'react/
|
|
2593
|
+
'react/no-access-state-in-setstate'?: Linter.RuleEntry<[]>
|
|
2677
2594
|
/**
|
|
2678
|
-
*
|
|
2679
|
-
* @see https://
|
|
2595
|
+
* disallow using Array index as key
|
|
2596
|
+
* @see https://eslint-react.xyz/rules/no-array-index-key
|
|
2680
2597
|
*/
|
|
2681
|
-
'react/
|
|
2598
|
+
'react/no-array-index-key'?: Linter.RuleEntry<[]>
|
|
2682
2599
|
/**
|
|
2683
|
-
*
|
|
2684
|
-
* @see https://
|
|
2600
|
+
* disallow 'Children.count'
|
|
2601
|
+
* @see https://eslint-react.xyz/rules/no-children-count
|
|
2685
2602
|
*/
|
|
2686
|
-
'react/
|
|
2603
|
+
'react/no-children-count'?: Linter.RuleEntry<[]>
|
|
2687
2604
|
/**
|
|
2688
|
-
*
|
|
2689
|
-
* @see https://
|
|
2605
|
+
* disallow 'Children.forEach'
|
|
2606
|
+
* @see https://eslint-react.xyz/rules/no-children-for-each
|
|
2690
2607
|
*/
|
|
2691
|
-
'react/
|
|
2608
|
+
'react/no-children-for-each'?: Linter.RuleEntry<[]>
|
|
2692
2609
|
/**
|
|
2693
|
-
*
|
|
2694
|
-
* @see https://
|
|
2610
|
+
* disallow 'Children.map'
|
|
2611
|
+
* @see https://eslint-react.xyz/rules/no-children-map
|
|
2695
2612
|
*/
|
|
2696
|
-
'react/
|
|
2613
|
+
'react/no-children-map'?: Linter.RuleEntry<[]>
|
|
2697
2614
|
/**
|
|
2698
|
-
*
|
|
2699
|
-
* @see https://
|
|
2615
|
+
* disallow 'Children.only'
|
|
2616
|
+
* @see https://eslint-react.xyz/rules/no-children-only
|
|
2700
2617
|
*/
|
|
2701
|
-
'react/
|
|
2618
|
+
'react/no-children-only'?: Linter.RuleEntry<[]>
|
|
2702
2619
|
/**
|
|
2703
|
-
*
|
|
2704
|
-
* @see https://
|
|
2620
|
+
* disallow passing of 'children' as props
|
|
2621
|
+
* @see https://eslint-react.xyz/rules/no-children-prop
|
|
2705
2622
|
*/
|
|
2706
|
-
'react/
|
|
2623
|
+
'react/no-children-prop'?: Linter.RuleEntry<[]>
|
|
2707
2624
|
/**
|
|
2708
|
-
*
|
|
2709
|
-
* @see https://
|
|
2625
|
+
* disallow 'Children.toArray'
|
|
2626
|
+
* @see https://eslint-react.xyz/rules/no-children-to-array
|
|
2710
2627
|
*/
|
|
2711
|
-
'react/
|
|
2628
|
+
'react/no-children-to-array'?: Linter.RuleEntry<[]>
|
|
2712
2629
|
/**
|
|
2713
|
-
*
|
|
2714
|
-
* @see https://
|
|
2630
|
+
* disallow class component
|
|
2631
|
+
* @see https://eslint-react.xyz/rules/no-class-component
|
|
2715
2632
|
*/
|
|
2716
|
-
'react/
|
|
2633
|
+
'react/no-class-component'?: Linter.RuleEntry<[]>
|
|
2717
2634
|
/**
|
|
2718
|
-
*
|
|
2719
|
-
* @see https://
|
|
2720
|
-
* @deprecated
|
|
2635
|
+
* disallow 'cloneElement'
|
|
2636
|
+
* @see https://eslint-react.xyz/rules/no-clone-element
|
|
2721
2637
|
*/
|
|
2722
|
-
'react/
|
|
2638
|
+
'react/no-clone-element'?: Linter.RuleEntry<[]>
|
|
2723
2639
|
/**
|
|
2724
|
-
*
|
|
2725
|
-
* @see https://
|
|
2640
|
+
* disallow comments from being inserted as text nodes
|
|
2641
|
+
* @see https://eslint-react.xyz/rules/no-comment-textnodes
|
|
2726
2642
|
*/
|
|
2727
|
-
'react/
|
|
2643
|
+
'react/no-comment-textnodes'?: Linter.RuleEntry<[]>
|
|
2728
2644
|
/**
|
|
2729
|
-
*
|
|
2730
|
-
* @see https://
|
|
2645
|
+
* disallow complicated conditional rendering
|
|
2646
|
+
* @see https://eslint-react.xyz/rules/no-complicated-conditional-rendering
|
|
2731
2647
|
* @deprecated
|
|
2732
2648
|
*/
|
|
2733
|
-
'react/
|
|
2649
|
+
'react/no-complicated-conditional-rendering'?: Linter.RuleEntry<[]>
|
|
2734
2650
|
/**
|
|
2735
|
-
*
|
|
2736
|
-
* @see https://
|
|
2651
|
+
* disallow usage of 'componentWillMount'
|
|
2652
|
+
* @see https://eslint-react.xyz/rules/no-component-will-mount
|
|
2737
2653
|
*/
|
|
2738
|
-
'react/
|
|
2654
|
+
'react/no-component-will-mount'?: Linter.RuleEntry<[]>
|
|
2739
2655
|
/**
|
|
2740
|
-
*
|
|
2741
|
-
* @see https://
|
|
2656
|
+
* disallow usage of 'componentWillReceiveProps'
|
|
2657
|
+
* @see https://eslint-react.xyz/rules/no-component-will-receive-props
|
|
2742
2658
|
*/
|
|
2743
|
-
'react/
|
|
2659
|
+
'react/no-component-will-receive-props'?: Linter.RuleEntry<[]>
|
|
2744
2660
|
/**
|
|
2745
|
-
*
|
|
2746
|
-
* @see https://
|
|
2661
|
+
* disallow usage of 'componentWillUpdate'
|
|
2662
|
+
* @see https://eslint-react.xyz/rules/no-component-will-update
|
|
2747
2663
|
*/
|
|
2748
|
-
'react/
|
|
2664
|
+
'react/no-component-will-update'?: Linter.RuleEntry<[]>
|
|
2749
2665
|
/**
|
|
2750
|
-
*
|
|
2751
|
-
* @see https://
|
|
2666
|
+
* disallow 'createRef' in function components
|
|
2667
|
+
* @see https://eslint-react.xyz/rules/no-create-ref
|
|
2752
2668
|
*/
|
|
2753
|
-
'react/
|
|
2669
|
+
'react/no-create-ref'?: Linter.RuleEntry<[]>
|
|
2754
2670
|
/**
|
|
2755
|
-
*
|
|
2756
|
-
* @see https://
|
|
2757
|
-
*/
|
|
2758
|
-
'react/no-access-state-in-setstate'?: Linter.RuleEntry<[]>
|
|
2759
|
-
/**
|
|
2760
|
-
* Disallow adjacent inline elements not separated by whitespace.
|
|
2761
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-adjacent-inline-elements.md
|
|
2762
|
-
*/
|
|
2763
|
-
'react/no-adjacent-inline-elements'?: Linter.RuleEntry<[]>
|
|
2764
|
-
/**
|
|
2765
|
-
* Disallow usage of Array index in keys
|
|
2766
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-array-index-key.md
|
|
2767
|
-
*/
|
|
2768
|
-
'react/no-array-index-key'?: Linter.RuleEntry<[]>
|
|
2769
|
-
/**
|
|
2770
|
-
* Lifecycle methods should be methods on the prototype, not class fields
|
|
2771
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-arrow-function-lifecycle.md
|
|
2772
|
-
*/
|
|
2773
|
-
'react/no-arrow-function-lifecycle'?: Linter.RuleEntry<[]>
|
|
2774
|
-
/**
|
|
2775
|
-
* Disallow passing of children as props
|
|
2776
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-children-prop.md
|
|
2777
|
-
*/
|
|
2778
|
-
'react/no-children-prop'?: Linter.RuleEntry<ReactNoChildrenProp>
|
|
2779
|
-
/**
|
|
2780
|
-
* Disallow usage of dangerous JSX properties
|
|
2781
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-danger.md
|
|
2782
|
-
*/
|
|
2783
|
-
'react/no-danger'?: Linter.RuleEntry<[]>
|
|
2784
|
-
/**
|
|
2785
|
-
* Disallow when a DOM element is using both children and dangerouslySetInnerHTML
|
|
2786
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-danger-with-children.md
|
|
2787
|
-
*/
|
|
2788
|
-
'react/no-danger-with-children'?: Linter.RuleEntry<[]>
|
|
2789
|
-
/**
|
|
2790
|
-
* Disallow usage of deprecated methods
|
|
2791
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-deprecated.md
|
|
2792
|
-
*/
|
|
2793
|
-
'react/no-deprecated'?: Linter.RuleEntry<[]>
|
|
2794
|
-
/**
|
|
2795
|
-
* Disallow usage of setState in componentDidMount
|
|
2796
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-did-mount-set-state.md
|
|
2797
|
-
*/
|
|
2798
|
-
'react/no-did-mount-set-state'?: Linter.RuleEntry<ReactNoDidMountSetState>
|
|
2799
|
-
/**
|
|
2800
|
-
* Disallow usage of setState in componentDidUpdate
|
|
2801
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-did-update-set-state.md
|
|
2802
|
-
*/
|
|
2803
|
-
'react/no-did-update-set-state'?: Linter.RuleEntry<ReactNoDidUpdateSetState>
|
|
2804
|
-
/**
|
|
2805
|
-
* Disallow direct mutation of this.state
|
|
2806
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-direct-mutation-state.md
|
|
2671
|
+
* disallow direct mutation of state
|
|
2672
|
+
* @see https://eslint-react.xyz/rules/no-direct-mutation-state
|
|
2807
2673
|
*/
|
|
2808
2674
|
'react/no-direct-mutation-state'?: Linter.RuleEntry<[]>
|
|
2809
2675
|
/**
|
|
2810
|
-
*
|
|
2811
|
-
* @see https://
|
|
2676
|
+
* disallow duplicate keys in 'key' prop when rendering list
|
|
2677
|
+
* @see https://eslint-react.xyz/rules/no-duplicate-key
|
|
2812
2678
|
*/
|
|
2813
|
-
'react/no-
|
|
2679
|
+
'react/no-duplicate-key'?: Linter.RuleEntry<[]>
|
|
2814
2680
|
/**
|
|
2815
|
-
*
|
|
2816
|
-
* @see https://
|
|
2681
|
+
* disallow spreading 'key' from objects.
|
|
2682
|
+
* @see https://eslint-react.xyz/rules/no-implicit-key
|
|
2683
|
+
* @deprecated
|
|
2817
2684
|
*/
|
|
2818
|
-
'react/no-
|
|
2685
|
+
'react/no-implicit-key'?: Linter.RuleEntry<[]>
|
|
2819
2686
|
/**
|
|
2820
|
-
*
|
|
2821
|
-
* @see https://
|
|
2687
|
+
* disallow problematic leaked values from being rendered
|
|
2688
|
+
* @see https://eslint-react.xyz/rules/no-leaked-conditional-rendering
|
|
2822
2689
|
*/
|
|
2823
|
-
'react/no-
|
|
2690
|
+
'react/no-leaked-conditional-rendering'?: Linter.RuleEntry<[]>
|
|
2824
2691
|
/**
|
|
2825
|
-
*
|
|
2826
|
-
* @see https://
|
|
2692
|
+
* require 'displayName' for memo and forwardRef components
|
|
2693
|
+
* @see https://eslint-react.xyz/rules/no-missing-component-display-name
|
|
2827
2694
|
*/
|
|
2828
|
-
'react/no-
|
|
2695
|
+
'react/no-missing-component-display-name'?: Linter.RuleEntry<[]>
|
|
2829
2696
|
/**
|
|
2830
|
-
*
|
|
2831
|
-
* @see https://
|
|
2697
|
+
* require 'key' prop when rendering list
|
|
2698
|
+
* @see https://eslint-react.xyz/rules/no-missing-key
|
|
2832
2699
|
*/
|
|
2833
|
-
'react/no-
|
|
2700
|
+
'react/no-missing-key'?: Linter.RuleEntry<[]>
|
|
2834
2701
|
/**
|
|
2835
|
-
*
|
|
2836
|
-
* @see https://
|
|
2702
|
+
* disallow usage of unstable nested components
|
|
2703
|
+
* @see https://eslint-react.xyz/rules/no-nested-components
|
|
2837
2704
|
*/
|
|
2838
|
-
'react/no-
|
|
2705
|
+
'react/no-nested-components'?: Linter.RuleEntry<[]>
|
|
2839
2706
|
/**
|
|
2840
|
-
*
|
|
2841
|
-
* @see https://
|
|
2707
|
+
* disallow usage of 'shouldComponentUpdate' in class component extends 'React.PureComponent'
|
|
2708
|
+
* @see https://eslint-react.xyz/rules/no-redundant-should-component-update
|
|
2842
2709
|
*/
|
|
2843
2710
|
'react/no-redundant-should-component-update'?: Linter.RuleEntry<[]>
|
|
2844
2711
|
/**
|
|
2845
|
-
*
|
|
2846
|
-
* @see https://
|
|
2847
|
-
*/
|
|
2848
|
-
'react/no-render-return-value'?: Linter.RuleEntry<[]>
|
|
2849
|
-
/**
|
|
2850
|
-
* Disallow usage of setState
|
|
2851
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-set-state.md
|
|
2712
|
+
* disallow 'setState' in 'componentDidMount'
|
|
2713
|
+
* @see https://eslint-react.xyz/rules/no-set-state-in-component-did-mount
|
|
2852
2714
|
*/
|
|
2853
|
-
'react/no-set-state'?: Linter.RuleEntry<[]>
|
|
2715
|
+
'react/no-set-state-in-component-did-mount'?: Linter.RuleEntry<[]>
|
|
2854
2716
|
/**
|
|
2855
|
-
*
|
|
2856
|
-
* @see https://
|
|
2717
|
+
* disallow 'setState' in 'componentDidUpdate'
|
|
2718
|
+
* @see https://eslint-react.xyz/rules/no-set-state-in-component-did-update
|
|
2857
2719
|
*/
|
|
2858
|
-
'react/no-
|
|
2720
|
+
'react/no-set-state-in-component-did-update'?: Linter.RuleEntry<[]>
|
|
2859
2721
|
/**
|
|
2860
|
-
*
|
|
2861
|
-
* @see https://
|
|
2722
|
+
* disallow 'setState' in 'componentWillUpdate'
|
|
2723
|
+
* @see https://eslint-react.xyz/rules/no-set-state-in-component-will-update
|
|
2862
2724
|
*/
|
|
2863
|
-
'react/no-
|
|
2725
|
+
'react/no-set-state-in-component-will-update'?: Linter.RuleEntry<[]>
|
|
2864
2726
|
/**
|
|
2865
|
-
*
|
|
2866
|
-
* @see https://
|
|
2727
|
+
* disallow using deprecated string refs
|
|
2728
|
+
* @see https://eslint-react.xyz/rules/no-string-refs
|
|
2867
2729
|
*/
|
|
2868
|
-
'react/no-
|
|
2730
|
+
'react/no-string-refs'?: Linter.RuleEntry<[]>
|
|
2869
2731
|
/**
|
|
2870
|
-
*
|
|
2871
|
-
* @see https://
|
|
2732
|
+
* disallow usage of 'UNSAFE_componentWillMount'
|
|
2733
|
+
* @see https://eslint-react.xyz/rules/no-unsafe-component-will-mount
|
|
2872
2734
|
*/
|
|
2873
|
-
'react/no-
|
|
2735
|
+
'react/no-unsafe-component-will-mount'?: Linter.RuleEntry<[]>
|
|
2874
2736
|
/**
|
|
2875
|
-
*
|
|
2876
|
-
* @see https://
|
|
2737
|
+
* disallow usage of 'UNSAFE_componentWillReceiveProps'
|
|
2738
|
+
* @see https://eslint-react.xyz/rules/no-unsafe-component-will-receive-props
|
|
2877
2739
|
*/
|
|
2878
|
-
'react/no-
|
|
2740
|
+
'react/no-unsafe-component-will-receive-props'?: Linter.RuleEntry<[]>
|
|
2879
2741
|
/**
|
|
2880
|
-
*
|
|
2881
|
-
* @see https://
|
|
2742
|
+
* disallow usage of 'UNSAFE_componentWillUpdate'
|
|
2743
|
+
* @see https://eslint-react.xyz/rules/no-unsafe-component-will-update
|
|
2882
2744
|
*/
|
|
2883
|
-
'react/no-unsafe'?: Linter.RuleEntry<
|
|
2745
|
+
'react/no-unsafe-component-will-update'?: Linter.RuleEntry<[]>
|
|
2884
2746
|
/**
|
|
2885
|
-
*
|
|
2886
|
-
* @see https://
|
|
2747
|
+
* disallow passing constructed values to context providers
|
|
2748
|
+
* @see https://eslint-react.xyz/rules/no-unstable-context-value
|
|
2887
2749
|
*/
|
|
2888
|
-
'react/no-unstable-
|
|
2750
|
+
'react/no-unstable-context-value'?: Linter.RuleEntry<[]>
|
|
2889
2751
|
/**
|
|
2890
|
-
*
|
|
2891
|
-
* @see https://
|
|
2752
|
+
* disallow usage of unstable value as default param in function component
|
|
2753
|
+
* @see https://eslint-react.xyz/rules/no-unstable-default-props
|
|
2892
2754
|
*/
|
|
2893
|
-
'react/no-
|
|
2755
|
+
'react/no-unstable-default-props'?: Linter.RuleEntry<[]>
|
|
2894
2756
|
/**
|
|
2895
|
-
*
|
|
2896
|
-
* @see https://
|
|
2757
|
+
* disallow unused class component members
|
|
2758
|
+
* @see https://eslint-react.xyz/rules/no-unused-class-component-members
|
|
2897
2759
|
*/
|
|
2898
|
-
'react/no-unused-
|
|
2760
|
+
'react/no-unused-class-component-members'?: Linter.RuleEntry<[]>
|
|
2899
2761
|
/**
|
|
2900
|
-
*
|
|
2901
|
-
* @see https://
|
|
2762
|
+
* Prevents unused state of class component.
|
|
2763
|
+
* @see https://eslint-react.xyz/rules/no-unused-state
|
|
2902
2764
|
*/
|
|
2903
2765
|
'react/no-unused-state'?: Linter.RuleEntry<[]>
|
|
2904
2766
|
/**
|
|
2905
|
-
*
|
|
2906
|
-
* @see https://
|
|
2907
|
-
*/
|
|
2908
|
-
'react/no-will-update-set-state'?: Linter.RuleEntry<ReactNoWillUpdateSetState>
|
|
2909
|
-
/**
|
|
2910
|
-
* Enforce ES5 or ES6 class for React Components
|
|
2911
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/prefer-es6-class.md
|
|
2912
|
-
*/
|
|
2913
|
-
'react/prefer-es6-class'?: Linter.RuleEntry<ReactPreferEs6Class>
|
|
2914
|
-
/**
|
|
2915
|
-
* Prefer exact proptype definitions
|
|
2916
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/prefer-exact-props.md
|
|
2917
|
-
*/
|
|
2918
|
-
'react/prefer-exact-props'?: Linter.RuleEntry<[]>
|
|
2919
|
-
/**
|
|
2920
|
-
* Enforce that props are read-only
|
|
2921
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/prefer-read-only-props.md
|
|
2922
|
-
*/
|
|
2923
|
-
'react/prefer-read-only-props'?: Linter.RuleEntry<[]>
|
|
2924
|
-
/**
|
|
2925
|
-
* Enforce stateless components to be written as a pure function
|
|
2926
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/prefer-stateless-function.md
|
|
2927
|
-
*/
|
|
2928
|
-
'react/prefer-stateless-function'?: Linter.RuleEntry<ReactPreferStatelessFunction>
|
|
2929
|
-
/**
|
|
2930
|
-
* Disallow missing props validation in a React component definition
|
|
2931
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/prop-types.md
|
|
2932
|
-
*/
|
|
2933
|
-
'react/prop-types'?: Linter.RuleEntry<ReactPropTypes>
|
|
2934
|
-
/**
|
|
2935
|
-
* Disallow missing React when using JSX
|
|
2936
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/react-in-jsx-scope.md
|
|
2937
|
-
*/
|
|
2938
|
-
'react/react-in-jsx-scope'?: Linter.RuleEntry<[]>
|
|
2939
|
-
/**
|
|
2940
|
-
* Enforce a defaultProps definition for every prop that is not a required prop
|
|
2941
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/require-default-props.md
|
|
2942
|
-
*/
|
|
2943
|
-
'react/require-default-props'?: Linter.RuleEntry<ReactRequireDefaultProps>
|
|
2944
|
-
/**
|
|
2945
|
-
* Enforce React components to have a shouldComponentUpdate method
|
|
2946
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/require-optimization.md
|
|
2947
|
-
*/
|
|
2948
|
-
'react/require-optimization'?: Linter.RuleEntry<ReactRequireOptimization>
|
|
2949
|
-
/**
|
|
2950
|
-
* Enforce ES5 or ES6 class for returning value in render function
|
|
2951
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/require-render-return.md
|
|
2952
|
-
*/
|
|
2953
|
-
'react/require-render-return'?: Linter.RuleEntry<[]>
|
|
2954
|
-
/**
|
|
2955
|
-
* Disallow extra closing tags for components without children
|
|
2956
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/self-closing-comp.md
|
|
2957
|
-
*/
|
|
2958
|
-
'react/self-closing-comp'?: Linter.RuleEntry<ReactSelfClosingComp>
|
|
2959
|
-
/**
|
|
2960
|
-
* Enforce component methods order
|
|
2961
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/sort-comp.md
|
|
2962
|
-
*/
|
|
2963
|
-
'react/sort-comp'?: Linter.RuleEntry<ReactSortComp>
|
|
2964
|
-
/**
|
|
2965
|
-
* Enforce defaultProps declarations alphabetical sorting
|
|
2966
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/sort-default-props.md
|
|
2967
|
-
*/
|
|
2968
|
-
'react/sort-default-props'?: Linter.RuleEntry<ReactSortDefaultProps>
|
|
2969
|
-
/**
|
|
2970
|
-
* Enforce propTypes declarations alphabetical sorting
|
|
2971
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/sort-prop-types.md
|
|
2972
|
-
*/
|
|
2973
|
-
'react/sort-prop-types'?: Linter.RuleEntry<ReactSortPropTypes>
|
|
2974
|
-
/**
|
|
2975
|
-
* Enforce class component state initialization style
|
|
2976
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/state-in-constructor.md
|
|
2767
|
+
* disallow unnecessary fragments
|
|
2768
|
+
* @see https://eslint-react.xyz/rules/no-useless-fragment
|
|
2977
2769
|
*/
|
|
2978
|
-
'react/
|
|
2770
|
+
'react/no-useless-fragment'?: Linter.RuleEntry<[]>
|
|
2979
2771
|
/**
|
|
2980
|
-
*
|
|
2981
|
-
* @see https://
|
|
2772
|
+
* enforce using destructuring assignment in component props and context
|
|
2773
|
+
* @see https://eslint-react.xyz/rules/prefer-destructuring-assignment
|
|
2982
2774
|
*/
|
|
2983
|
-
'react/
|
|
2775
|
+
'react/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>
|
|
2984
2776
|
/**
|
|
2985
|
-
*
|
|
2986
|
-
* @see https://
|
|
2777
|
+
* enforce boolean attributes notation in JSX
|
|
2778
|
+
* @see https://eslint-react.xyz/rules/prefer-shorthand-boolean
|
|
2987
2779
|
*/
|
|
2988
|
-
'react/
|
|
2780
|
+
'react/prefer-shorthand-boolean'?: Linter.RuleEntry<[]>
|
|
2989
2781
|
/**
|
|
2990
|
-
*
|
|
2991
|
-
* @see https://
|
|
2782
|
+
* enforce using fragment syntax instead of Fragment component
|
|
2783
|
+
* @see https://eslint-react.xyz/rules/prefer-shorthand-fragment
|
|
2992
2784
|
*/
|
|
2993
|
-
'react/
|
|
2785
|
+
'react/prefer-shorthand-fragment'?: Linter.RuleEntry<[]>
|
|
2994
2786
|
/**
|
|
2995
2787
|
* disallow confusing quantifiers
|
|
2996
2788
|
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/confusing-quantifier.html
|
|
@@ -7014,6 +6806,9 @@ type _FuncNamesValue = ("always" | "as-needed" | "never")
|
|
|
7014
6806
|
// ----- func-style -----
|
|
7015
6807
|
type FuncStyle = []|[("declaration" | "expression")]|[("declaration" | "expression"), {
|
|
7016
6808
|
allowArrowFunctions?: boolean
|
|
6809
|
+
overrides?: {
|
|
6810
|
+
namedExports?: ("declaration" | "expression" | "ignore")
|
|
6811
|
+
}
|
|
7017
6812
|
}]
|
|
7018
6813
|
// ----- function-call-argument-newline -----
|
|
7019
6814
|
type FunctionCallArgumentNewline = []|[("always" | "never" | "consistent")]
|
|
@@ -8623,9 +8418,11 @@ type NoExtendNative = []|[{
|
|
|
8623
8418
|
exceptions?: string[]
|
|
8624
8419
|
}]
|
|
8625
8420
|
// ----- no-extra-boolean-cast -----
|
|
8626
|
-
type NoExtraBooleanCast = []|[{
|
|
8421
|
+
type NoExtraBooleanCast = []|[({
|
|
8422
|
+
enforceForInnerExpressions?: boolean
|
|
8423
|
+
} | {
|
|
8627
8424
|
enforceForLogicalOperands?: boolean
|
|
8628
|
-
}]
|
|
8425
|
+
})]
|
|
8629
8426
|
// ----- no-extra-parens -----
|
|
8630
8427
|
type NoExtraParens = ([]|["functions"] | []|["all"]|["all", {
|
|
8631
8428
|
conditionalAssign?: boolean
|
|
@@ -8699,6 +8496,10 @@ type NoMagicNumbers = []|[{
|
|
|
8699
8496
|
ignoreDefaultValues?: boolean
|
|
8700
8497
|
ignoreClassFieldInitialValues?: boolean
|
|
8701
8498
|
}]
|
|
8499
|
+
// ----- no-misleading-character-class -----
|
|
8500
|
+
type NoMisleadingCharacterClass = []|[{
|
|
8501
|
+
allowEscape?: boolean
|
|
8502
|
+
}]
|
|
8702
8503
|
// ----- no-mixed-operators -----
|
|
8703
8504
|
type NoMixedOperators = []|[{
|
|
8704
8505
|
groups?: [("+" | "-" | "*" | "/" | "%" | "**" | "&" | "|" | "^" | "~" | "<<" | ">>" | ">>>" | "==" | "!=" | "===" | "!==" | ">" | ">=" | "<" | "<=" | "&&" | "||" | "in" | "instanceof" | "?:" | "??"), ("+" | "-" | "*" | "/" | "%" | "**" | "&" | "|" | "^" | "~" | "<<" | ">>" | ">>>" | "==" | "!=" | "===" | "!==" | ">" | ">=" | "<" | "<=" | "&&" | "||" | "in" | "instanceof" | "?:" | "??"), ...(("+" | "-" | "*" | "/" | "%" | "**" | "&" | "|" | "^" | "~" | "<<" | ">>" | ">>>" | "==" | "!=" | "===" | "!==" | ">" | ">=" | "<" | "<=" | "&&" | "||" | "in" | "instanceof" | "?:" | "??"))[]][]
|
|
@@ -8755,8 +8556,10 @@ type NoRedeclare = []|[{
|
|
|
8755
8556
|
// ----- no-restricted-exports -----
|
|
8756
8557
|
type NoRestrictedExports = []|[({
|
|
8757
8558
|
restrictedNamedExports?: string[]
|
|
8559
|
+
restrictedNamedExportsPattern?: string
|
|
8758
8560
|
} | {
|
|
8759
8561
|
restrictedNamedExports?: string[]
|
|
8562
|
+
restrictedNamedExportsPattern?: string
|
|
8760
8563
|
restrictDefaultExports?: {
|
|
8761
8564
|
direct?: boolean
|
|
8762
8565
|
named?: boolean
|
|
@@ -8964,6 +8767,9 @@ type NodeHashbang = []|[{
|
|
|
8964
8767
|
})[]])
|
|
8965
8768
|
ignoreUnpublished?: boolean
|
|
8966
8769
|
additionalExecutables?: string[]
|
|
8770
|
+
executableMap?: {
|
|
8771
|
+
[k: string]: string
|
|
8772
|
+
}
|
|
8967
8773
|
}]
|
|
8968
8774
|
// ----- node/no-deprecated-api -----
|
|
8969
8775
|
type NodeNoDeprecatedApi = []|[{
|
|
@@ -9134,7 +8940,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
9134
8940
|
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
9135
8941
|
version?: string
|
|
9136
8942
|
allowExperimental?: boolean
|
|
9137
|
-
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.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" | "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.constants" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.lutimes" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readdir" | "fs.promises.readFile" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rmdir" | "fs.promises.rm" | "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.promises.FileHandle" | "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.lchmod" | "fs.lchown" | "fs.lutimes" | "fs.link" | "fs.lstat" | "fs.mkdir" | "fs.mkdtemp" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.native" | "fs.rename" | "fs.rmdir" | "fs.rm" | "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.lchmodSync" | "fs.lchownSync" | "fs.lutimesSync" | "fs.linkSync" | "fs.lstatSync" | "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.statSync" | "fs.statfsSync" | "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" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.constants" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.lutimes" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readdir" | "fs/promises.readFile" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rmdir" | "fs/promises.rm" | "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/promises.FileHandle" | "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.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.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.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.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")[]
|
|
8943
|
+
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.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")[]
|
|
9138
8944
|
}]
|
|
9139
8945
|
// ----- node/prefer-global/buffer -----
|
|
9140
8946
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -9174,6 +8980,9 @@ type NodeShebang = []|[{
|
|
|
9174
8980
|
})[]])
|
|
9175
8981
|
ignoreUnpublished?: boolean
|
|
9176
8982
|
additionalExecutables?: string[]
|
|
8983
|
+
executableMap?: {
|
|
8984
|
+
[k: string]: string
|
|
8985
|
+
}
|
|
9177
8986
|
}]
|
|
9178
8987
|
// ----- nonblock-statement-body-position -----
|
|
9179
8988
|
type NonblockStatementBodyPosition = []|[("beside" | "below" | "any")]|[("beside" | "below" | "any"), {
|
|
@@ -9516,442 +9325,27 @@ type ReactHooksExhaustiveDeps = []|[{
|
|
|
9516
9325
|
additionalHooks?: string
|
|
9517
9326
|
enableDangerousAutofixThisMayCauseInfiniteLoops?: boolean
|
|
9518
9327
|
}]
|
|
9519
|
-
// ----- react-
|
|
9520
|
-
type
|
|
9521
|
-
|
|
9522
|
-
|
|
9523
|
-
allowExportNames?: string[]
|
|
9524
|
-
}]
|
|
9525
|
-
// ----- react/boolean-prop-naming -----
|
|
9526
|
-
type ReactBooleanPropNaming = []|[{
|
|
9527
|
-
|
|
9528
|
-
propTypeNames?: [string, ...(string)[]]
|
|
9529
|
-
rule?: string
|
|
9530
|
-
message?: string
|
|
9531
|
-
validateNested?: boolean
|
|
9532
|
-
}]
|
|
9533
|
-
// ----- react/button-has-type -----
|
|
9534
|
-
type ReactButtonHasType = []|[{
|
|
9535
|
-
button?: boolean
|
|
9536
|
-
submit?: boolean
|
|
9537
|
-
reset?: boolean
|
|
9538
|
-
}]
|
|
9539
|
-
// ----- react/checked-requires-onchange-or-readonly -----
|
|
9540
|
-
type ReactCheckedRequiresOnchangeOrReadonly = []|[{
|
|
9541
|
-
ignoreMissingProperties?: boolean
|
|
9542
|
-
ignoreExclusiveCheckedAttribute?: boolean
|
|
9543
|
-
}]
|
|
9544
|
-
// ----- react/default-props-match-prop-types -----
|
|
9545
|
-
type ReactDefaultPropsMatchPropTypes = []|[{
|
|
9546
|
-
allowRequiredDefaults?: boolean
|
|
9547
|
-
}]
|
|
9548
|
-
// ----- react/destructuring-assignment -----
|
|
9549
|
-
type ReactDestructuringAssignment = []|[("always" | "never")]|[("always" | "never"), {
|
|
9550
|
-
ignoreClassFields?: boolean
|
|
9551
|
-
destructureInSignature?: ("always" | "ignore")
|
|
9552
|
-
}]
|
|
9553
|
-
// ----- react/display-name -----
|
|
9554
|
-
type ReactDisplayName = []|[{
|
|
9555
|
-
ignoreTranspilerName?: boolean
|
|
9556
|
-
checkContextObjects?: boolean
|
|
9557
|
-
}]
|
|
9558
|
-
// ----- react/forbid-component-props -----
|
|
9559
|
-
type ReactForbidComponentProps = []|[{
|
|
9560
|
-
forbid?: (string | {
|
|
9561
|
-
propName?: string
|
|
9562
|
-
allowedFor?: string[]
|
|
9563
|
-
message?: string
|
|
9564
|
-
} | {
|
|
9565
|
-
propName?: string
|
|
9566
|
-
|
|
9567
|
-
disallowedFor: [string, ...(string)[]]
|
|
9568
|
-
message?: string
|
|
9569
|
-
})[]
|
|
9570
|
-
[k: string]: unknown | undefined
|
|
9571
|
-
}]
|
|
9572
|
-
// ----- react/forbid-dom-props -----
|
|
9573
|
-
type ReactForbidDomProps = []|[{
|
|
9574
|
-
forbid?: (string | {
|
|
9575
|
-
propName?: string
|
|
9576
|
-
disallowedFor?: string[]
|
|
9577
|
-
message?: string
|
|
9578
|
-
[k: string]: unknown | undefined
|
|
9579
|
-
})[]
|
|
9580
|
-
}]
|
|
9581
|
-
// ----- react/forbid-elements -----
|
|
9582
|
-
type ReactForbidElements = []|[{
|
|
9583
|
-
forbid?: (string | {
|
|
9584
|
-
element: string
|
|
9585
|
-
message?: string
|
|
9586
|
-
})[]
|
|
9587
|
-
}]
|
|
9588
|
-
// ----- react/forbid-foreign-prop-types -----
|
|
9589
|
-
type ReactForbidForeignPropTypes = []|[{
|
|
9590
|
-
allowInPropTypes?: boolean
|
|
9591
|
-
}]
|
|
9592
|
-
// ----- react/forbid-prop-types -----
|
|
9593
|
-
type ReactForbidPropTypes = []|[{
|
|
9594
|
-
forbid?: string[]
|
|
9595
|
-
checkContextTypes?: boolean
|
|
9596
|
-
checkChildContextTypes?: boolean
|
|
9597
|
-
[k: string]: unknown | undefined
|
|
9598
|
-
}]
|
|
9599
|
-
// ----- react/function-component-definition -----
|
|
9600
|
-
type ReactFunctionComponentDefinition = []|[{
|
|
9601
|
-
namedComponents?: (("function-declaration" | "arrow-function" | "function-expression") | ("function-declaration" | "arrow-function" | "function-expression")[])
|
|
9602
|
-
unnamedComponents?: (("arrow-function" | "function-expression") | ("arrow-function" | "function-expression")[])
|
|
9603
|
-
[k: string]: unknown | undefined
|
|
9604
|
-
}]
|
|
9605
|
-
// ----- react/hook-use-state -----
|
|
9606
|
-
type ReactHookUseState = []|[{
|
|
9607
|
-
allowDestructuredState?: boolean
|
|
9608
|
-
}]
|
|
9609
|
-
// ----- react/jsx-boolean-value -----
|
|
9610
|
-
type ReactJsxBooleanValue = ([]|[("always" | "never")] | []|["always"]|["always", {
|
|
9611
|
-
never?: string[]
|
|
9612
|
-
assumeUndefinedIsFalse?: boolean
|
|
9613
|
-
}] | []|["never"]|["never", {
|
|
9614
|
-
always?: string[]
|
|
9615
|
-
assumeUndefinedIsFalse?: boolean
|
|
9616
|
-
}])
|
|
9617
|
-
// ----- react/jsx-closing-bracket-location -----
|
|
9618
|
-
type ReactJsxClosingBracketLocation = []|[(("after-props" | "props-aligned" | "tag-aligned" | "line-aligned") | {
|
|
9619
|
-
location?: ("after-props" | "props-aligned" | "tag-aligned" | "line-aligned")
|
|
9620
|
-
} | {
|
|
9621
|
-
nonEmpty?: ("after-props" | "props-aligned" | "tag-aligned" | "line-aligned" | false)
|
|
9622
|
-
selfClosing?: ("after-props" | "props-aligned" | "tag-aligned" | "line-aligned" | false)
|
|
9328
|
+
// ----- react-naming-convention/component-name -----
|
|
9329
|
+
type ReactNamingConventionComponentName = []|[(("PascalCase" | "CONSTANT_CASE") | {
|
|
9330
|
+
excepts?: string[]
|
|
9331
|
+
rule?: ("PascalCase" | "CONSTANT_CASE")
|
|
9623
9332
|
})]
|
|
9624
|
-
// ----- react
|
|
9625
|
-
type
|
|
9626
|
-
|
|
9627
|
-
|
|
9628
|
-
|
|
9629
|
-
} | ("always" | "never" | "ignore"))]
|
|
9630
|
-
// ----- react/jsx-curly-newline -----
|
|
9631
|
-
type ReactJsxCurlyNewline = []|[(("consistent" | "never") | {
|
|
9632
|
-
singleline?: ("consistent" | "require" | "forbid")
|
|
9633
|
-
multiline?: ("consistent" | "require" | "forbid")
|
|
9333
|
+
// ----- react-naming-convention/filename -----
|
|
9334
|
+
type ReactNamingConventionFilename = []|[(("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
9335
|
+
excepts?: string[]
|
|
9336
|
+
extensions?: string[]
|
|
9337
|
+
rule?: ("PascalCase" | "camelCase" | "kebab-case" | "snake_case")
|
|
9634
9338
|
})]
|
|
9635
|
-
// ----- react/
|
|
9636
|
-
type
|
|
9637
|
-
attributes?: _ReactJsxCurlySpacingBasicConfigOrBoolean
|
|
9638
|
-
children?: _ReactJsxCurlySpacingBasicConfigOrBoolean
|
|
9639
|
-
[k: string]: unknown | undefined
|
|
9640
|
-
}) | ("always" | "never"))]|[((_ReactJsxCurlySpacing_BasicConfig & {
|
|
9641
|
-
attributes?: _ReactJsxCurlySpacingBasicConfigOrBoolean
|
|
9642
|
-
children?: _ReactJsxCurlySpacingBasicConfigOrBoolean
|
|
9643
|
-
[k: string]: unknown | undefined
|
|
9644
|
-
}) | ("always" | "never")), {
|
|
9645
|
-
allowMultiline?: boolean
|
|
9646
|
-
spacing?: {
|
|
9647
|
-
objectLiterals?: ("always" | "never")
|
|
9648
|
-
[k: string]: unknown | undefined
|
|
9649
|
-
}
|
|
9650
|
-
}]
|
|
9651
|
-
type _ReactJsxCurlySpacingBasicConfigOrBoolean = (_ReactJsxCurlySpacing_BasicConfig | boolean)
|
|
9652
|
-
interface _ReactJsxCurlySpacing_BasicConfig {
|
|
9653
|
-
when?: ("always" | "never")
|
|
9654
|
-
allowMultiline?: boolean
|
|
9655
|
-
spacing?: {
|
|
9656
|
-
objectLiterals?: ("always" | "never")
|
|
9657
|
-
[k: string]: unknown | undefined
|
|
9658
|
-
}
|
|
9659
|
-
[k: string]: unknown | undefined
|
|
9660
|
-
}
|
|
9661
|
-
// ----- react/jsx-equals-spacing -----
|
|
9662
|
-
type ReactJsxEqualsSpacing = []|[("always" | "never")]
|
|
9663
|
-
// ----- react/jsx-filename-extension -----
|
|
9664
|
-
type ReactJsxFilenameExtension = []|[{
|
|
9339
|
+
// ----- react-naming-convention/filename-extension -----
|
|
9340
|
+
type ReactNamingConventionFilenameExtension = []|[(("always" | "as-needed") | {
|
|
9665
9341
|
allow?: ("always" | "as-needed")
|
|
9666
9342
|
extensions?: string[]
|
|
9667
|
-
ignoreFilesWithoutCode?: boolean
|
|
9668
|
-
}]
|
|
9669
|
-
// ----- react/jsx-first-prop-new-line -----
|
|
9670
|
-
type ReactJsxFirstPropNewLine = []|[("always" | "never" | "multiline" | "multiline-multiprop" | "multiprop")]
|
|
9671
|
-
// ----- react/jsx-fragments -----
|
|
9672
|
-
type ReactJsxFragments = []|[("syntax" | "element")]
|
|
9673
|
-
// ----- react/jsx-handler-names -----
|
|
9674
|
-
type ReactJsxHandlerNames = []|[({
|
|
9675
|
-
eventHandlerPrefix?: string
|
|
9676
|
-
eventHandlerPropPrefix?: string
|
|
9677
|
-
checkLocalVariables?: boolean
|
|
9678
|
-
checkInlineFunction?: boolean
|
|
9679
|
-
} | {
|
|
9680
|
-
eventHandlerPrefix?: string
|
|
9681
|
-
eventHandlerPropPrefix?: false
|
|
9682
|
-
checkLocalVariables?: boolean
|
|
9683
|
-
checkInlineFunction?: boolean
|
|
9684
|
-
} | {
|
|
9685
|
-
eventHandlerPrefix?: false
|
|
9686
|
-
eventHandlerPropPrefix?: string
|
|
9687
|
-
checkLocalVariables?: boolean
|
|
9688
|
-
checkInlineFunction?: boolean
|
|
9689
|
-
} | {
|
|
9690
|
-
checkLocalVariables?: boolean
|
|
9691
|
-
} | {
|
|
9692
|
-
checkInlineFunction?: boolean
|
|
9693
9343
|
})]
|
|
9694
|
-
// ----- react/
|
|
9695
|
-
type
|
|
9696
|
-
|
|
9697
|
-
|
|
9698
|
-
|
|
9699
|
-
// ----- react/jsx-indent-props -----
|
|
9700
|
-
type ReactJsxIndentProps = []|[(("tab" | "first") | number | {
|
|
9701
|
-
indentMode?: (("tab" | "first") | number)
|
|
9702
|
-
ignoreTernaryOperator?: boolean
|
|
9703
|
-
[k: string]: unknown | undefined
|
|
9704
|
-
})]
|
|
9705
|
-
// ----- react/jsx-key -----
|
|
9706
|
-
type ReactJsxKey = []|[{
|
|
9707
|
-
checkFragmentShorthand?: boolean
|
|
9708
|
-
checkKeyMustBeforeSpread?: boolean
|
|
9709
|
-
warnOnDuplicates?: boolean
|
|
9710
|
-
}]
|
|
9711
|
-
// ----- react/jsx-max-depth -----
|
|
9712
|
-
type ReactJsxMaxDepth = []|[{
|
|
9713
|
-
max?: number
|
|
9714
|
-
}]
|
|
9715
|
-
// ----- react/jsx-max-props-per-line -----
|
|
9716
|
-
type ReactJsxMaxPropsPerLine = []|[({
|
|
9717
|
-
maximum?: {
|
|
9718
|
-
single?: number
|
|
9719
|
-
multi?: number
|
|
9720
|
-
[k: string]: unknown | undefined
|
|
9721
|
-
}
|
|
9722
|
-
} | {
|
|
9723
|
-
maximum?: number
|
|
9724
|
-
when?: ("always" | "multiline")
|
|
9725
|
-
})]
|
|
9726
|
-
// ----- react/jsx-newline -----
|
|
9727
|
-
type ReactJsxNewline = []|[{
|
|
9728
|
-
prevent?: boolean
|
|
9729
|
-
allowMultilines?: boolean
|
|
9730
|
-
}]
|
|
9731
|
-
// ----- react/jsx-no-bind -----
|
|
9732
|
-
type ReactJsxNoBind = []|[{
|
|
9733
|
-
allowArrowFunctions?: boolean
|
|
9734
|
-
allowBind?: boolean
|
|
9735
|
-
allowFunctions?: boolean
|
|
9736
|
-
ignoreRefs?: boolean
|
|
9737
|
-
ignoreDOMComponents?: boolean
|
|
9738
|
-
}]
|
|
9739
|
-
// ----- react/jsx-no-constructed-context-values -----
|
|
9740
|
-
interface ReactJsxNoConstructedContextValues {
|
|
9741
|
-
[k: string]: unknown | undefined
|
|
9742
|
-
}
|
|
9743
|
-
// ----- react/jsx-no-duplicate-props -----
|
|
9744
|
-
type ReactJsxNoDuplicateProps = []|[{
|
|
9745
|
-
ignoreCase?: boolean
|
|
9746
|
-
}]
|
|
9747
|
-
// ----- react/jsx-no-leaked-render -----
|
|
9748
|
-
type ReactJsxNoLeakedRender = []|[{
|
|
9749
|
-
validStrategies?: ("ternary" | "coerce")[]
|
|
9750
|
-
}]
|
|
9751
|
-
// ----- react/jsx-no-literals -----
|
|
9752
|
-
type ReactJsxNoLiterals = []|[{
|
|
9753
|
-
noStrings?: boolean
|
|
9754
|
-
allowedStrings?: string[]
|
|
9755
|
-
ignoreProps?: boolean
|
|
9756
|
-
noAttributeStrings?: boolean
|
|
9757
|
-
}]
|
|
9758
|
-
// ----- react/jsx-no-script-url -----
|
|
9759
|
-
type ReactJsxNoScriptUrl = ([]|[{
|
|
9760
|
-
name: string
|
|
9761
|
-
props: string[]
|
|
9762
|
-
}[]]|[{
|
|
9763
|
-
name: string
|
|
9764
|
-
props: string[]
|
|
9765
|
-
}[], {
|
|
9766
|
-
includeFromSettings?: boolean
|
|
9767
|
-
[k: string]: unknown | undefined
|
|
9768
|
-
}] | []|[{
|
|
9769
|
-
includeFromSettings?: boolean
|
|
9770
|
-
[k: string]: unknown | undefined
|
|
9771
|
-
}])
|
|
9772
|
-
// ----- react/jsx-no-target-blank -----
|
|
9773
|
-
type ReactJsxNoTargetBlank = []|[{
|
|
9774
|
-
allowReferrer?: boolean
|
|
9775
|
-
enforceDynamicLinks?: ("always" | "never")
|
|
9776
|
-
warnOnSpreadAttributes?: boolean
|
|
9777
|
-
links?: boolean
|
|
9778
|
-
forms?: boolean
|
|
9779
|
-
}]
|
|
9780
|
-
// ----- react/jsx-no-undef -----
|
|
9781
|
-
type ReactJsxNoUndef = []|[{
|
|
9782
|
-
allowGlobals?: boolean
|
|
9783
|
-
}]
|
|
9784
|
-
// ----- react/jsx-no-useless-fragment -----
|
|
9785
|
-
type ReactJsxNoUselessFragment = []|[{
|
|
9786
|
-
allowExpressions?: boolean
|
|
9787
|
-
[k: string]: unknown | undefined
|
|
9788
|
-
}]
|
|
9789
|
-
// ----- react/jsx-one-expression-per-line -----
|
|
9790
|
-
type ReactJsxOneExpressionPerLine = []|[{
|
|
9791
|
-
allow?: ("none" | "literal" | "single-child" | "non-jsx")
|
|
9792
|
-
}]
|
|
9793
|
-
// ----- react/jsx-pascal-case -----
|
|
9794
|
-
type ReactJsxPascalCase = []|[{
|
|
9795
|
-
allowAllCaps?: boolean
|
|
9796
|
-
allowLeadingUnderscore?: boolean
|
|
9797
|
-
allowNamespace?: boolean
|
|
9798
|
-
|
|
9799
|
-
ignore?: []|[string]
|
|
9800
|
-
}]
|
|
9801
|
-
// ----- react/jsx-props-no-spreading -----
|
|
9802
|
-
type ReactJsxPropsNoSpreading = []|[({
|
|
9803
|
-
html?: ("enforce" | "ignore")
|
|
9804
|
-
custom?: ("enforce" | "ignore")
|
|
9805
|
-
exceptions?: string[]
|
|
9806
|
-
[k: string]: unknown | undefined
|
|
9807
|
-
} & {
|
|
9808
|
-
[k: string]: unknown | undefined
|
|
9809
|
-
})]
|
|
9810
|
-
// ----- react/jsx-sort-default-props -----
|
|
9811
|
-
type ReactJsxSortDefaultProps = []|[{
|
|
9812
|
-
ignoreCase?: boolean
|
|
9813
|
-
}]
|
|
9814
|
-
// ----- react/jsx-sort-props -----
|
|
9815
|
-
type ReactJsxSortProps = []|[{
|
|
9816
|
-
callbacksLast?: boolean
|
|
9817
|
-
shorthandFirst?: boolean
|
|
9818
|
-
shorthandLast?: boolean
|
|
9819
|
-
multiline?: ("ignore" | "first" | "last")
|
|
9820
|
-
ignoreCase?: boolean
|
|
9821
|
-
noSortAlphabetically?: boolean
|
|
9822
|
-
reservedFirst?: (unknown[] | boolean)
|
|
9823
|
-
locale?: string
|
|
9824
|
-
}]
|
|
9825
|
-
// ----- react/jsx-space-before-closing -----
|
|
9826
|
-
type ReactJsxSpaceBeforeClosing = []|[("always" | "never")]
|
|
9827
|
-
// ----- react/jsx-tag-spacing -----
|
|
9828
|
-
type ReactJsxTagSpacing = []|[{
|
|
9829
|
-
closingSlash?: ("always" | "never" | "allow")
|
|
9830
|
-
beforeSelfClosing?: ("always" | "proportional-always" | "never" | "allow")
|
|
9831
|
-
afterOpening?: ("always" | "allow-multiline" | "never" | "allow")
|
|
9832
|
-
beforeClosing?: ("always" | "proportional-always" | "never" | "allow")
|
|
9833
|
-
}]
|
|
9834
|
-
// ----- react/jsx-wrap-multilines -----
|
|
9835
|
-
type ReactJsxWrapMultilines = []|[{
|
|
9836
|
-
declaration?: (true | false | "ignore" | "parens" | "parens-new-line" | "never")
|
|
9837
|
-
assignment?: (true | false | "ignore" | "parens" | "parens-new-line" | "never")
|
|
9838
|
-
return?: (true | false | "ignore" | "parens" | "parens-new-line" | "never")
|
|
9839
|
-
arrow?: (true | false | "ignore" | "parens" | "parens-new-line" | "never")
|
|
9840
|
-
condition?: (true | false | "ignore" | "parens" | "parens-new-line" | "never")
|
|
9841
|
-
logical?: (true | false | "ignore" | "parens" | "parens-new-line" | "never")
|
|
9842
|
-
prop?: (true | false | "ignore" | "parens" | "parens-new-line" | "never")
|
|
9843
|
-
}]
|
|
9844
|
-
// ----- react/no-children-prop -----
|
|
9845
|
-
type ReactNoChildrenProp = []|[{
|
|
9846
|
-
allowFunctions?: boolean
|
|
9847
|
-
}]
|
|
9848
|
-
// ----- react/no-did-mount-set-state -----
|
|
9849
|
-
type ReactNoDidMountSetState = []|["disallow-in-func"]
|
|
9850
|
-
// ----- react/no-did-update-set-state -----
|
|
9851
|
-
type ReactNoDidUpdateSetState = []|["disallow-in-func"]
|
|
9852
|
-
// ----- react/no-invalid-html-attribute -----
|
|
9853
|
-
type ReactNoInvalidHtmlAttribute = []|[("rel")[]]
|
|
9854
|
-
// ----- react/no-multi-comp -----
|
|
9855
|
-
type ReactNoMultiComp = []|[{
|
|
9856
|
-
ignoreStateless?: boolean
|
|
9857
|
-
}]
|
|
9858
|
-
// ----- react/no-string-refs -----
|
|
9859
|
-
type ReactNoStringRefs = []|[{
|
|
9860
|
-
noTemplateLiterals?: boolean
|
|
9861
|
-
}]
|
|
9862
|
-
// ----- react/no-unescaped-entities -----
|
|
9863
|
-
type ReactNoUnescapedEntities = []|[{
|
|
9864
|
-
forbid?: (string | {
|
|
9865
|
-
char?: string
|
|
9866
|
-
alternatives?: string[]
|
|
9867
|
-
[k: string]: unknown | undefined
|
|
9868
|
-
})[]
|
|
9869
|
-
}]
|
|
9870
|
-
// ----- react/no-unknown-property -----
|
|
9871
|
-
type ReactNoUnknownProperty = []|[{
|
|
9872
|
-
ignore?: string[]
|
|
9873
|
-
requireDataLowercase?: boolean
|
|
9874
|
-
}]
|
|
9875
|
-
// ----- react/no-unsafe -----
|
|
9876
|
-
type ReactNoUnsafe = []|[{
|
|
9877
|
-
checkAliases?: boolean
|
|
9878
|
-
}]
|
|
9879
|
-
// ----- react/no-unstable-nested-components -----
|
|
9880
|
-
type ReactNoUnstableNestedComponents = []|[{
|
|
9881
|
-
customValidators?: string[]
|
|
9882
|
-
allowAsProps?: boolean
|
|
9883
|
-
}]
|
|
9884
|
-
// ----- react/no-unused-prop-types -----
|
|
9885
|
-
type ReactNoUnusedPropTypes = []|[{
|
|
9886
|
-
ignore?: string[]
|
|
9887
|
-
customValidators?: string[]
|
|
9888
|
-
skipShapeProps?: boolean
|
|
9889
|
-
}]
|
|
9890
|
-
// ----- react/no-will-update-set-state -----
|
|
9891
|
-
type ReactNoWillUpdateSetState = []|["disallow-in-func"]
|
|
9892
|
-
// ----- react/prefer-es6-class -----
|
|
9893
|
-
type ReactPreferEs6Class = []|[("always" | "never")]
|
|
9894
|
-
// ----- react/prefer-stateless-function -----
|
|
9895
|
-
type ReactPreferStatelessFunction = []|[{
|
|
9896
|
-
ignorePureComponents?: boolean
|
|
9897
|
-
}]
|
|
9898
|
-
// ----- react/prop-types -----
|
|
9899
|
-
type ReactPropTypes = []|[{
|
|
9900
|
-
ignore?: string[]
|
|
9901
|
-
customValidators?: string[]
|
|
9902
|
-
skipUndeclared?: boolean
|
|
9903
|
-
}]
|
|
9904
|
-
// ----- react/require-default-props -----
|
|
9905
|
-
type ReactRequireDefaultProps = []|[{
|
|
9906
|
-
forbidDefaultForRequired?: boolean
|
|
9907
|
-
classes?: ("defaultProps" | "ignore")
|
|
9908
|
-
functions?: ("defaultArguments" | "defaultProps" | "ignore")
|
|
9909
|
-
ignoreFunctionalComponents?: boolean
|
|
9910
|
-
}]
|
|
9911
|
-
// ----- react/require-optimization -----
|
|
9912
|
-
type ReactRequireOptimization = []|[{
|
|
9913
|
-
allowDecorators?: string[]
|
|
9914
|
-
}]
|
|
9915
|
-
// ----- react/self-closing-comp -----
|
|
9916
|
-
type ReactSelfClosingComp = []|[{
|
|
9917
|
-
component?: boolean
|
|
9918
|
-
html?: boolean
|
|
9919
|
-
}]
|
|
9920
|
-
// ----- react/sort-comp -----
|
|
9921
|
-
type ReactSortComp = []|[{
|
|
9922
|
-
order?: string[]
|
|
9923
|
-
groups?: {
|
|
9924
|
-
[k: string]: string[]
|
|
9925
|
-
}
|
|
9926
|
-
}]
|
|
9927
|
-
// ----- react/sort-default-props -----
|
|
9928
|
-
type ReactSortDefaultProps = []|[{
|
|
9929
|
-
ignoreCase?: boolean
|
|
9930
|
-
}]
|
|
9931
|
-
// ----- react/sort-prop-types -----
|
|
9932
|
-
type ReactSortPropTypes = []|[{
|
|
9933
|
-
requiredFirst?: boolean
|
|
9934
|
-
callbacksLast?: boolean
|
|
9935
|
-
ignoreCase?: boolean
|
|
9936
|
-
noSortAlphabetically?: boolean
|
|
9937
|
-
sortShapeProp?: boolean
|
|
9938
|
-
checkTypes?: boolean
|
|
9939
|
-
}]
|
|
9940
|
-
// ----- react/state-in-constructor -----
|
|
9941
|
-
type ReactStateInConstructor = []|[("always" | "never")]
|
|
9942
|
-
// ----- react/static-property-placement -----
|
|
9943
|
-
type ReactStaticPropertyPlacement = []|[("static public field" | "static getter" | "property assignment")]|[("static public field" | "static getter" | "property assignment"), {
|
|
9944
|
-
propTypes?: ("static public field" | "static getter" | "property assignment")
|
|
9945
|
-
defaultProps?: ("static public field" | "static getter" | "property assignment")
|
|
9946
|
-
childContextTypes?: ("static public field" | "static getter" | "property assignment")
|
|
9947
|
-
contextTypes?: ("static public field" | "static getter" | "property assignment")
|
|
9948
|
-
contextType?: ("static public field" | "static getter" | "property assignment")
|
|
9949
|
-
displayName?: ("static public field" | "static getter" | "property assignment")
|
|
9950
|
-
}]
|
|
9951
|
-
// ----- react/style-prop-object -----
|
|
9952
|
-
type ReactStylePropObject = []|[{
|
|
9953
|
-
allow?: string[]
|
|
9954
|
-
[k: string]: unknown | undefined
|
|
9344
|
+
// ----- react-refresh/only-export-components -----
|
|
9345
|
+
type ReactRefreshOnlyExportComponents = []|[{
|
|
9346
|
+
allowConstantExport?: boolean
|
|
9347
|
+
checkJS?: boolean
|
|
9348
|
+
allowExportNames?: string[]
|
|
9955
9349
|
}]
|
|
9956
9350
|
// ----- regexp/hexadecimal-escape -----
|
|
9957
9351
|
type RegexpHexadecimalEscape = []|[("always" | "never")]
|
|
@@ -13467,7 +12861,7 @@ interface OptionsConfig extends OptionsComponentExts {
|
|
|
13467
12861
|
* Enable react rules.
|
|
13468
12862
|
*
|
|
13469
12863
|
* Requires installing:
|
|
13470
|
-
* -
|
|
12864
|
+
* - `@eslint-react/eslint-plugin`
|
|
13471
12865
|
* - `eslint-plugin-react-hooks`
|
|
13472
12866
|
* - `eslint-plugin-react-refresh`
|
|
13473
12867
|
*
|