@kirklin/eslint-config 2.3.1 → 2.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +35 -17
- package/README.zh-cn.md +28 -11
- package/dist/cli.cjs +47 -43
- package/dist/cli.js +47 -43
- package/dist/index.cjs +983 -907
- package/dist/index.d.cts +253 -838
- package/dist/index.d.ts +253 -838
- package/dist/index.js +982 -907
- package/package.json +42 -42
package/dist/index.d.ts
CHANGED
|
@@ -364,6 +364,11 @@ interface RuleOptions {
|
|
|
364
364
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/no-deprecated-getentrybyslug/
|
|
365
365
|
*/
|
|
366
366
|
'astro/no-deprecated-getentrybyslug'?: Linter.RuleEntry<[]>
|
|
367
|
+
/**
|
|
368
|
+
* disallow value export
|
|
369
|
+
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/no-exports-from-components/
|
|
370
|
+
*/
|
|
371
|
+
'astro/no-exports-from-components'?: Linter.RuleEntry<[]>
|
|
367
372
|
/**
|
|
368
373
|
* disallow use of `set:html` to prevent XSS attack
|
|
369
374
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/no-set-html-directive/
|
|
@@ -2824,523 +2829,313 @@ interface RuleOptions {
|
|
|
2824
2829
|
*/
|
|
2825
2830
|
'radix'?: Linter.RuleEntry<Radix>
|
|
2826
2831
|
/**
|
|
2827
|
-
*
|
|
2828
|
-
* @see https://
|
|
2829
|
-
*/
|
|
2830
|
-
'react-hooks/exhaustive-deps'?: Linter.RuleEntry<ReactHooksExhaustiveDeps>
|
|
2831
|
-
/**
|
|
2832
|
-
* enforces the Rules of Hooks
|
|
2833
|
-
* @see https://reactjs.org/docs/hooks-rules.html
|
|
2834
|
-
*/
|
|
2835
|
-
'react-hooks/rules-of-hooks'?: Linter.RuleEntry<[]>
|
|
2836
|
-
'react-refresh/only-export-components'?: Linter.RuleEntry<ReactRefreshOnlyExportComponents>
|
|
2837
|
-
/**
|
|
2838
|
-
* Enforces consistent naming for boolean props
|
|
2839
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/boolean-prop-naming.md
|
|
2840
|
-
*/
|
|
2841
|
-
'react/boolean-prop-naming'?: Linter.RuleEntry<ReactBooleanPropNaming>
|
|
2842
|
-
/**
|
|
2843
|
-
* Disallow usage of `button` elements without an explicit `type` attribute
|
|
2844
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/button-has-type.md
|
|
2845
|
-
*/
|
|
2846
|
-
'react/button-has-type'?: Linter.RuleEntry<ReactButtonHasType>
|
|
2847
|
-
/**
|
|
2848
|
-
* Enforce using `onChange` or `readonly` attribute when `checked` is used
|
|
2849
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/checked-requires-onchange-or-readonly.md
|
|
2850
|
-
*/
|
|
2851
|
-
'react/checked-requires-onchange-or-readonly'?: Linter.RuleEntry<ReactCheckedRequiresOnchangeOrReadonly>
|
|
2852
|
-
/**
|
|
2853
|
-
* Enforce all defaultProps have a corresponding non-required PropType
|
|
2854
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/default-props-match-prop-types.md
|
|
2855
|
-
*/
|
|
2856
|
-
'react/default-props-match-prop-types'?: Linter.RuleEntry<ReactDefaultPropsMatchPropTypes>
|
|
2857
|
-
/**
|
|
2858
|
-
* Enforce consistent usage of destructuring assignment of props, state, and context
|
|
2859
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/destructuring-assignment.md
|
|
2860
|
-
*/
|
|
2861
|
-
'react/destructuring-assignment'?: Linter.RuleEntry<ReactDestructuringAssignment>
|
|
2862
|
-
/**
|
|
2863
|
-
* Disallow missing displayName in a React component definition
|
|
2864
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/display-name.md
|
|
2865
|
-
*/
|
|
2866
|
-
'react/display-name'?: Linter.RuleEntry<ReactDisplayName>
|
|
2867
|
-
/**
|
|
2868
|
-
* Disallow certain props on components
|
|
2869
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/forbid-component-props.md
|
|
2870
|
-
*/
|
|
2871
|
-
'react/forbid-component-props'?: Linter.RuleEntry<ReactForbidComponentProps>
|
|
2872
|
-
/**
|
|
2873
|
-
* Disallow certain props on DOM Nodes
|
|
2874
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/forbid-dom-props.md
|
|
2875
|
-
*/
|
|
2876
|
-
'react/forbid-dom-props'?: Linter.RuleEntry<ReactForbidDomProps>
|
|
2877
|
-
/**
|
|
2878
|
-
* Disallow certain elements
|
|
2879
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/forbid-elements.md
|
|
2880
|
-
*/
|
|
2881
|
-
'react/forbid-elements'?: Linter.RuleEntry<ReactForbidElements>
|
|
2882
|
-
/**
|
|
2883
|
-
* Disallow using another component's propTypes
|
|
2884
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/forbid-foreign-prop-types.md
|
|
2832
|
+
* disallow passing 'children' to void DOM elements
|
|
2833
|
+
* @see https://eslint-react.xyz/rules/dom-no-children-in-void-dom-elements
|
|
2885
2834
|
*/
|
|
2886
|
-
'react/
|
|
2835
|
+
'react-dom/no-children-in-void-dom-elements'?: Linter.RuleEntry<[]>
|
|
2887
2836
|
/**
|
|
2888
|
-
*
|
|
2889
|
-
* @see https://
|
|
2837
|
+
* disallow when a DOM component is using 'dangerouslySetInnerHTML'
|
|
2838
|
+
* @see https://eslint-react.xyz/rules/dom-no-dangerously-set-innerhtml
|
|
2890
2839
|
*/
|
|
2891
|
-
'react/
|
|
2840
|
+
'react-dom/no-dangerously-set-innerhtml'?: Linter.RuleEntry<[]>
|
|
2892
2841
|
/**
|
|
2893
|
-
*
|
|
2894
|
-
* @see https://
|
|
2842
|
+
* disallow when a DOM component is using both 'children' and 'dangerouslySetInnerHTML'
|
|
2843
|
+
* @see https://eslint-react.xyz/rules/dom-no-dangerously-set-innerhtml-with-children
|
|
2895
2844
|
*/
|
|
2896
|
-
'react/
|
|
2845
|
+
'react-dom/no-dangerously-set-innerhtml-with-children'?: Linter.RuleEntry<[]>
|
|
2897
2846
|
/**
|
|
2898
|
-
*
|
|
2899
|
-
* @see https://
|
|
2847
|
+
* disallow 'findDOMNode'
|
|
2848
|
+
* @see https://eslint-react.xyz/rules/dom-no-find-dom-node
|
|
2900
2849
|
*/
|
|
2901
|
-
'react/
|
|
2850
|
+
'react-dom/no-find-dom-node'?: Linter.RuleEntry<[]>
|
|
2902
2851
|
/**
|
|
2903
|
-
*
|
|
2904
|
-
* @see https://
|
|
2852
|
+
* enforce that button component have an explicit 'type' attribute
|
|
2853
|
+
* @see https://eslint-react.xyz/rules/dom-no-missing-button-type
|
|
2905
2854
|
*/
|
|
2906
|
-
'react/
|
|
2855
|
+
'react-dom/no-missing-button-type'?: Linter.RuleEntry<[]>
|
|
2907
2856
|
/**
|
|
2908
|
-
*
|
|
2909
|
-
* @see https://
|
|
2857
|
+
* enforce that 'iframe' component have an explicit 'sandbox' attribute
|
|
2858
|
+
* @see https://eslint-react.xyz/rules/dom-no-missing-iframe-sandbox
|
|
2910
2859
|
*/
|
|
2911
|
-
'react/
|
|
2860
|
+
'react-dom/no-missing-iframe-sandbox'?: Linter.RuleEntry<[]>
|
|
2912
2861
|
/**
|
|
2913
|
-
*
|
|
2914
|
-
* @see https://
|
|
2862
|
+
* enforce that namespaces are not used in React elements
|
|
2863
|
+
* @see https://eslint-react.xyz/rules/dom-no-namespace
|
|
2915
2864
|
*/
|
|
2916
|
-
'react/
|
|
2865
|
+
'react-dom/no-namespace'?: Linter.RuleEntry<[]>
|
|
2917
2866
|
/**
|
|
2918
|
-
*
|
|
2919
|
-
* @see https://
|
|
2867
|
+
* disallow usage of the return value of 'ReactDOM.render'
|
|
2868
|
+
* @see https://eslint-react.xyz/rules/dom-no-render-return-value
|
|
2920
2869
|
*/
|
|
2921
|
-
'react/
|
|
2870
|
+
'react-dom/no-render-return-value'?: Linter.RuleEntry<[]>
|
|
2922
2871
|
/**
|
|
2923
|
-
*
|
|
2924
|
-
* @see https://
|
|
2872
|
+
* disallow 'javascript:' URLs as JSX event handler prop's value
|
|
2873
|
+
* @see https://eslint-react.xyz/rules/dom-no-script-url
|
|
2925
2874
|
*/
|
|
2926
|
-
'react/
|
|
2875
|
+
'react-dom/no-script-url'?: Linter.RuleEntry<[]>
|
|
2927
2876
|
/**
|
|
2928
|
-
*
|
|
2929
|
-
* @see https://
|
|
2877
|
+
* disallow unsafe iframe 'sandbox' attribute combinations
|
|
2878
|
+
* @see https://eslint-react.xyz/rules/dom-no-unsafe-iframe-sandbox
|
|
2930
2879
|
*/
|
|
2931
|
-
'react/
|
|
2880
|
+
'react-dom/no-unsafe-iframe-sandbox'?: Linter.RuleEntry<[]>
|
|
2932
2881
|
/**
|
|
2933
|
-
*
|
|
2934
|
-
* @see https://
|
|
2882
|
+
* disallow 'target="_blank"' on an external link without 'rel="noreferrer noopener"'.
|
|
2883
|
+
* @see https://eslint-react.xyz/rules/dom-no-unsafe-target-blank
|
|
2935
2884
|
*/
|
|
2936
|
-
'react/
|
|
2885
|
+
'react-dom/no-unsafe-target-blank'?: Linter.RuleEntry<[]>
|
|
2937
2886
|
/**
|
|
2938
|
-
*
|
|
2939
|
-
* @see https://
|
|
2887
|
+
* enforce custom hooks using other hooks
|
|
2888
|
+
* @see https://eslint-react.xyz/rules/hooks-extra-ensure-custom-hooks-using-other-hooks
|
|
2940
2889
|
*/
|
|
2941
|
-
'react/
|
|
2890
|
+
'react-hooks-extra/ensure-custom-hooks-using-other-hooks'?: Linter.RuleEntry<[]>
|
|
2942
2891
|
/**
|
|
2943
|
-
*
|
|
2944
|
-
* @see https://
|
|
2892
|
+
* enforce 'useCallback' has non-empty dependencies array
|
|
2893
|
+
* @see https://eslint-react.xyz/rules/hooks-extra-ensure-use-callback-has-non-empty-deps
|
|
2945
2894
|
*/
|
|
2946
|
-
'react/
|
|
2895
|
+
'react-hooks-extra/ensure-use-callback-has-non-empty-deps'?: Linter.RuleEntry<[]>
|
|
2947
2896
|
/**
|
|
2948
|
-
*
|
|
2949
|
-
* @see https://
|
|
2897
|
+
* enforce 'useMemo' has non-empty dependencies array
|
|
2898
|
+
* @see https://eslint-react.xyz/rules/hooks-extra-ensure-use-memo-has-non-empty-deps
|
|
2950
2899
|
*/
|
|
2951
|
-
'react/
|
|
2900
|
+
'react-hooks-extra/ensure-use-memo-has-non-empty-deps'?: Linter.RuleEntry<[]>
|
|
2952
2901
|
/**
|
|
2953
|
-
*
|
|
2954
|
-
* @see https://
|
|
2902
|
+
* disallow function calls in 'useState' that aren't wrapped in an initializer function
|
|
2903
|
+
* @see https://eslint-react.xyz/rules/hooks-extra-prefer-use-state-lazy-initialization
|
|
2955
2904
|
*/
|
|
2956
|
-
'react/
|
|
2905
|
+
'react-hooks-extra/prefer-use-state-lazy-initialization'?: Linter.RuleEntry<[]>
|
|
2957
2906
|
/**
|
|
2958
|
-
*
|
|
2959
|
-
* @see https://github.com/
|
|
2960
|
-
*/
|
|
2961
|
-
'react/jsx-fragments'?: Linter.RuleEntry<ReactJsxFragments>
|
|
2962
|
-
/**
|
|
2963
|
-
* Enforce event handler naming conventions in JSX
|
|
2964
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-handler-names.md
|
|
2965
|
-
*/
|
|
2966
|
-
'react/jsx-handler-names'?: Linter.RuleEntry<ReactJsxHandlerNames>
|
|
2967
|
-
/**
|
|
2968
|
-
* Enforce JSX indentation
|
|
2969
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-indent.md
|
|
2970
|
-
*/
|
|
2971
|
-
'react/jsx-indent'?: Linter.RuleEntry<ReactJsxIndent>
|
|
2972
|
-
/**
|
|
2973
|
-
* Enforce props indentation in JSX
|
|
2974
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-indent-props.md
|
|
2975
|
-
*/
|
|
2976
|
-
'react/jsx-indent-props'?: Linter.RuleEntry<ReactJsxIndentProps>
|
|
2977
|
-
/**
|
|
2978
|
-
* Disallow missing `key` props in iterators/collection literals
|
|
2979
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-key.md
|
|
2980
|
-
*/
|
|
2981
|
-
'react/jsx-key'?: Linter.RuleEntry<ReactJsxKey>
|
|
2982
|
-
/**
|
|
2983
|
-
* Enforce JSX maximum depth
|
|
2984
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-max-depth.md
|
|
2985
|
-
*/
|
|
2986
|
-
'react/jsx-max-depth'?: Linter.RuleEntry<ReactJsxMaxDepth>
|
|
2987
|
-
/**
|
|
2988
|
-
* Enforce maximum of props on a single line in JSX
|
|
2989
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-max-props-per-line.md
|
|
2907
|
+
* verifies the list of dependencies for Hooks like useEffect and similar
|
|
2908
|
+
* @see https://github.com/facebook/react/issues/14920
|
|
2990
2909
|
*/
|
|
2991
|
-
'react/
|
|
2910
|
+
'react-hooks/exhaustive-deps'?: Linter.RuleEntry<ReactHooksExhaustiveDeps>
|
|
2992
2911
|
/**
|
|
2993
|
-
*
|
|
2994
|
-
* @see https://
|
|
2912
|
+
* enforces the Rules of Hooks
|
|
2913
|
+
* @see https://reactjs.org/docs/hooks-rules.html
|
|
2995
2914
|
*/
|
|
2996
|
-
'react/
|
|
2915
|
+
'react-hooks/rules-of-hooks'?: Linter.RuleEntry<[]>
|
|
2997
2916
|
/**
|
|
2998
|
-
*
|
|
2999
|
-
* @see https://
|
|
2917
|
+
* enforce component naming convention to 'PascalCase' or 'CONSTANT_CASE'
|
|
2918
|
+
* @see https://eslint-react.xyz/rules/naming-convention-component-name
|
|
3000
2919
|
*/
|
|
3001
|
-
'react/
|
|
2920
|
+
'react-naming-convention/component-name'?: Linter.RuleEntry<ReactNamingConventionComponentName>
|
|
3002
2921
|
/**
|
|
3003
|
-
*
|
|
3004
|
-
* @see https://
|
|
2922
|
+
* enforce naming convention for JSX filenames
|
|
2923
|
+
* @see https://eslint-react.xyz/rules/naming-convention-filename
|
|
3005
2924
|
*/
|
|
3006
|
-
'react
|
|
2925
|
+
'react-naming-convention/filename'?: Linter.RuleEntry<ReactNamingConventionFilename>
|
|
3007
2926
|
/**
|
|
3008
|
-
*
|
|
3009
|
-
* @see https://
|
|
2927
|
+
* enforce naming convention for JSX file extensions
|
|
2928
|
+
* @see https://eslint-react.xyz/rules/naming-convention-filename-extension
|
|
3010
2929
|
*/
|
|
3011
|
-
'react
|
|
2930
|
+
'react-naming-convention/filename-extension'?: Linter.RuleEntry<ReactNamingConventionFilenameExtension>
|
|
3012
2931
|
/**
|
|
3013
|
-
*
|
|
3014
|
-
* @see https://
|
|
2932
|
+
* enforce destructuring and symmetric naming of 'useState' hook value and setter variables
|
|
2933
|
+
* @see https://eslint-react.xyz/rules/naming-convention-use-state
|
|
3015
2934
|
*/
|
|
3016
|
-
'react
|
|
2935
|
+
'react-naming-convention/use-state'?: Linter.RuleEntry<[]>
|
|
2936
|
+
'react-refresh/only-export-components'?: Linter.RuleEntry<ReactRefreshOnlyExportComponents>
|
|
3017
2937
|
/**
|
|
3018
|
-
*
|
|
3019
|
-
* @see https://
|
|
2938
|
+
* require all 'forwardRef' components include a 'ref' parameter
|
|
2939
|
+
* @see https://eslint-react.xyz/rules/ensure-forward-ref-using-ref
|
|
3020
2940
|
*/
|
|
3021
|
-
'react/
|
|
2941
|
+
'react/ensure-forward-ref-using-ref'?: Linter.RuleEntry<[]>
|
|
3022
2942
|
/**
|
|
3023
|
-
*
|
|
3024
|
-
* @see https://
|
|
2943
|
+
* disallow accessing 'this.state' within 'setState'
|
|
2944
|
+
* @see https://eslint-react.xyz/rules/no-access-state-in-setstate
|
|
3025
2945
|
*/
|
|
3026
|
-
'react/
|
|
2946
|
+
'react/no-access-state-in-setstate'?: Linter.RuleEntry<[]>
|
|
3027
2947
|
/**
|
|
3028
|
-
*
|
|
3029
|
-
* @see https://
|
|
2948
|
+
* disallow using Array index as key
|
|
2949
|
+
* @see https://eslint-react.xyz/rules/no-array-index-key
|
|
3030
2950
|
*/
|
|
3031
|
-
'react/
|
|
2951
|
+
'react/no-array-index-key'?: Linter.RuleEntry<[]>
|
|
3032
2952
|
/**
|
|
3033
|
-
*
|
|
3034
|
-
* @see https://
|
|
2953
|
+
* disallow 'Children.count'
|
|
2954
|
+
* @see https://eslint-react.xyz/rules/no-children-count
|
|
3035
2955
|
*/
|
|
3036
|
-
'react/
|
|
2956
|
+
'react/no-children-count'?: Linter.RuleEntry<[]>
|
|
3037
2957
|
/**
|
|
3038
|
-
*
|
|
3039
|
-
* @see https://
|
|
2958
|
+
* disallow 'Children.forEach'
|
|
2959
|
+
* @see https://eslint-react.xyz/rules/no-children-for-each
|
|
3040
2960
|
*/
|
|
3041
|
-
'react/
|
|
2961
|
+
'react/no-children-for-each'?: Linter.RuleEntry<[]>
|
|
3042
2962
|
/**
|
|
3043
|
-
*
|
|
3044
|
-
* @see https://
|
|
2963
|
+
* disallow 'Children.map'
|
|
2964
|
+
* @see https://eslint-react.xyz/rules/no-children-map
|
|
3045
2965
|
*/
|
|
3046
|
-
'react/
|
|
2966
|
+
'react/no-children-map'?: Linter.RuleEntry<[]>
|
|
3047
2967
|
/**
|
|
3048
|
-
*
|
|
3049
|
-
* @see https://
|
|
2968
|
+
* disallow 'Children.only'
|
|
2969
|
+
* @see https://eslint-react.xyz/rules/no-children-only
|
|
3050
2970
|
*/
|
|
3051
|
-
'react/
|
|
2971
|
+
'react/no-children-only'?: Linter.RuleEntry<[]>
|
|
3052
2972
|
/**
|
|
3053
|
-
*
|
|
3054
|
-
* @see https://
|
|
2973
|
+
* disallow passing of 'children' as props
|
|
2974
|
+
* @see https://eslint-react.xyz/rules/no-children-prop
|
|
3055
2975
|
*/
|
|
3056
|
-
'react/
|
|
2976
|
+
'react/no-children-prop'?: Linter.RuleEntry<[]>
|
|
3057
2977
|
/**
|
|
3058
|
-
*
|
|
3059
|
-
* @see https://
|
|
2978
|
+
* disallow 'Children.toArray'
|
|
2979
|
+
* @see https://eslint-react.xyz/rules/no-children-to-array
|
|
3060
2980
|
*/
|
|
3061
|
-
'react/
|
|
2981
|
+
'react/no-children-to-array'?: Linter.RuleEntry<[]>
|
|
3062
2982
|
/**
|
|
3063
|
-
*
|
|
3064
|
-
* @see https://
|
|
2983
|
+
* disallow class component
|
|
2984
|
+
* @see https://eslint-react.xyz/rules/no-class-component
|
|
3065
2985
|
*/
|
|
3066
|
-
'react/
|
|
2986
|
+
'react/no-class-component'?: Linter.RuleEntry<[]>
|
|
3067
2987
|
/**
|
|
3068
|
-
*
|
|
3069
|
-
* @see https://
|
|
3070
|
-
* @deprecated
|
|
2988
|
+
* disallow 'cloneElement'
|
|
2989
|
+
* @see https://eslint-react.xyz/rules/no-clone-element
|
|
3071
2990
|
*/
|
|
3072
|
-
'react/
|
|
2991
|
+
'react/no-clone-element'?: Linter.RuleEntry<[]>
|
|
3073
2992
|
/**
|
|
3074
|
-
*
|
|
3075
|
-
* @see https://
|
|
2993
|
+
* disallow comments from being inserted as text nodes
|
|
2994
|
+
* @see https://eslint-react.xyz/rules/no-comment-textnodes
|
|
3076
2995
|
*/
|
|
3077
|
-
'react/
|
|
2996
|
+
'react/no-comment-textnodes'?: Linter.RuleEntry<[]>
|
|
3078
2997
|
/**
|
|
3079
|
-
*
|
|
3080
|
-
* @see https://
|
|
2998
|
+
* disallow complicated conditional rendering
|
|
2999
|
+
* @see https://eslint-react.xyz/rules/no-complicated-conditional-rendering
|
|
3081
3000
|
* @deprecated
|
|
3082
3001
|
*/
|
|
3083
|
-
'react/
|
|
3084
|
-
/**
|
|
3085
|
-
* Enforce whitespace in and around the JSX opening and closing brackets
|
|
3086
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-tag-spacing.md
|
|
3087
|
-
*/
|
|
3088
|
-
'react/jsx-tag-spacing'?: Linter.RuleEntry<ReactJsxTagSpacing>
|
|
3089
|
-
/**
|
|
3090
|
-
* Disallow React to be incorrectly marked as unused
|
|
3091
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-uses-react.md
|
|
3092
|
-
*/
|
|
3093
|
-
'react/jsx-uses-react'?: Linter.RuleEntry<[]>
|
|
3094
|
-
/**
|
|
3095
|
-
* Disallow variables used in JSX to be incorrectly marked as unused
|
|
3096
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-uses-vars.md
|
|
3097
|
-
*/
|
|
3098
|
-
'react/jsx-uses-vars'?: Linter.RuleEntry<[]>
|
|
3099
|
-
/**
|
|
3100
|
-
* Disallow missing parentheses around multiline JSX
|
|
3101
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-wrap-multilines.md
|
|
3102
|
-
*/
|
|
3103
|
-
'react/jsx-wrap-multilines'?: Linter.RuleEntry<ReactJsxWrapMultilines>
|
|
3002
|
+
'react/no-complicated-conditional-rendering'?: Linter.RuleEntry<[]>
|
|
3104
3003
|
/**
|
|
3105
|
-
*
|
|
3106
|
-
* @see https://
|
|
3004
|
+
* disallow usage of 'componentWillMount'
|
|
3005
|
+
* @see https://eslint-react.xyz/rules/no-component-will-mount
|
|
3107
3006
|
*/
|
|
3108
|
-
'react/no-
|
|
3109
|
-
/**
|
|
3110
|
-
* Disallow adjacent inline elements not separated by whitespace.
|
|
3111
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-adjacent-inline-elements.md
|
|
3112
|
-
*/
|
|
3113
|
-
'react/no-adjacent-inline-elements'?: Linter.RuleEntry<[]>
|
|
3114
|
-
/**
|
|
3115
|
-
* Disallow usage of Array index in keys
|
|
3116
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-array-index-key.md
|
|
3117
|
-
*/
|
|
3118
|
-
'react/no-array-index-key'?: Linter.RuleEntry<[]>
|
|
3119
|
-
/**
|
|
3120
|
-
* Lifecycle methods should be methods on the prototype, not class fields
|
|
3121
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-arrow-function-lifecycle.md
|
|
3122
|
-
*/
|
|
3123
|
-
'react/no-arrow-function-lifecycle'?: Linter.RuleEntry<[]>
|
|
3124
|
-
/**
|
|
3125
|
-
* Disallow passing of children as props
|
|
3126
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-children-prop.md
|
|
3127
|
-
*/
|
|
3128
|
-
'react/no-children-prop'?: Linter.RuleEntry<ReactNoChildrenProp>
|
|
3007
|
+
'react/no-component-will-mount'?: Linter.RuleEntry<[]>
|
|
3129
3008
|
/**
|
|
3130
|
-
*
|
|
3131
|
-
* @see https://
|
|
3009
|
+
* disallow usage of 'componentWillReceiveProps'
|
|
3010
|
+
* @see https://eslint-react.xyz/rules/no-component-will-receive-props
|
|
3132
3011
|
*/
|
|
3133
|
-
'react/no-
|
|
3012
|
+
'react/no-component-will-receive-props'?: Linter.RuleEntry<[]>
|
|
3134
3013
|
/**
|
|
3135
|
-
*
|
|
3136
|
-
* @see https://
|
|
3014
|
+
* disallow usage of 'componentWillUpdate'
|
|
3015
|
+
* @see https://eslint-react.xyz/rules/no-component-will-update
|
|
3137
3016
|
*/
|
|
3138
|
-
'react/no-
|
|
3017
|
+
'react/no-component-will-update'?: Linter.RuleEntry<[]>
|
|
3139
3018
|
/**
|
|
3140
|
-
*
|
|
3141
|
-
* @see https://
|
|
3019
|
+
* disallow 'createRef' in function components
|
|
3020
|
+
* @see https://eslint-react.xyz/rules/no-create-ref
|
|
3142
3021
|
*/
|
|
3143
|
-
'react/no-
|
|
3022
|
+
'react/no-create-ref'?: Linter.RuleEntry<[]>
|
|
3144
3023
|
/**
|
|
3145
|
-
*
|
|
3146
|
-
* @see https://
|
|
3147
|
-
*/
|
|
3148
|
-
'react/no-did-mount-set-state'?: Linter.RuleEntry<ReactNoDidMountSetState>
|
|
3149
|
-
/**
|
|
3150
|
-
* Disallow usage of setState in componentDidUpdate
|
|
3151
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-did-update-set-state.md
|
|
3152
|
-
*/
|
|
3153
|
-
'react/no-did-update-set-state'?: Linter.RuleEntry<ReactNoDidUpdateSetState>
|
|
3154
|
-
/**
|
|
3155
|
-
* Disallow direct mutation of this.state
|
|
3156
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-direct-mutation-state.md
|
|
3024
|
+
* disallow direct mutation of state
|
|
3025
|
+
* @see https://eslint-react.xyz/rules/no-direct-mutation-state
|
|
3157
3026
|
*/
|
|
3158
3027
|
'react/no-direct-mutation-state'?: Linter.RuleEntry<[]>
|
|
3159
3028
|
/**
|
|
3160
|
-
*
|
|
3161
|
-
* @see https://
|
|
3029
|
+
* disallow duplicate keys in 'key' prop when rendering list
|
|
3030
|
+
* @see https://eslint-react.xyz/rules/no-duplicate-key
|
|
3162
3031
|
*/
|
|
3163
|
-
'react/no-
|
|
3032
|
+
'react/no-duplicate-key'?: Linter.RuleEntry<[]>
|
|
3164
3033
|
/**
|
|
3165
|
-
*
|
|
3166
|
-
* @see https://
|
|
3034
|
+
* disallow spreading 'key' from objects.
|
|
3035
|
+
* @see https://eslint-react.xyz/rules/no-implicit-key
|
|
3036
|
+
* @deprecated
|
|
3167
3037
|
*/
|
|
3168
|
-
'react/no-
|
|
3038
|
+
'react/no-implicit-key'?: Linter.RuleEntry<[]>
|
|
3169
3039
|
/**
|
|
3170
|
-
*
|
|
3171
|
-
* @see https://
|
|
3040
|
+
* disallow problematic leaked values from being rendered
|
|
3041
|
+
* @see https://eslint-react.xyz/rules/no-leaked-conditional-rendering
|
|
3172
3042
|
*/
|
|
3173
|
-
'react/no-
|
|
3043
|
+
'react/no-leaked-conditional-rendering'?: Linter.RuleEntry<[]>
|
|
3174
3044
|
/**
|
|
3175
|
-
*
|
|
3176
|
-
* @see https://
|
|
3045
|
+
* require 'displayName' for memo and forwardRef components
|
|
3046
|
+
* @see https://eslint-react.xyz/rules/no-missing-component-display-name
|
|
3177
3047
|
*/
|
|
3178
|
-
'react/no-
|
|
3048
|
+
'react/no-missing-component-display-name'?: Linter.RuleEntry<[]>
|
|
3179
3049
|
/**
|
|
3180
|
-
*
|
|
3181
|
-
* @see https://
|
|
3050
|
+
* require 'key' prop when rendering list
|
|
3051
|
+
* @see https://eslint-react.xyz/rules/no-missing-key
|
|
3182
3052
|
*/
|
|
3183
|
-
'react/no-
|
|
3053
|
+
'react/no-missing-key'?: Linter.RuleEntry<[]>
|
|
3184
3054
|
/**
|
|
3185
|
-
*
|
|
3186
|
-
* @see https://
|
|
3055
|
+
* disallow usage of unstable nested components
|
|
3056
|
+
* @see https://eslint-react.xyz/rules/no-nested-components
|
|
3187
3057
|
*/
|
|
3188
|
-
'react/no-
|
|
3058
|
+
'react/no-nested-components'?: Linter.RuleEntry<[]>
|
|
3189
3059
|
/**
|
|
3190
|
-
*
|
|
3191
|
-
* @see https://
|
|
3060
|
+
* disallow usage of 'shouldComponentUpdate' in class component extends 'React.PureComponent'
|
|
3061
|
+
* @see https://eslint-react.xyz/rules/no-redundant-should-component-update
|
|
3192
3062
|
*/
|
|
3193
3063
|
'react/no-redundant-should-component-update'?: Linter.RuleEntry<[]>
|
|
3194
3064
|
/**
|
|
3195
|
-
*
|
|
3196
|
-
* @see https://
|
|
3065
|
+
* disallow 'setState' in 'componentDidMount'
|
|
3066
|
+
* @see https://eslint-react.xyz/rules/no-set-state-in-component-did-mount
|
|
3197
3067
|
*/
|
|
3198
|
-
'react/no-
|
|
3068
|
+
'react/no-set-state-in-component-did-mount'?: Linter.RuleEntry<[]>
|
|
3199
3069
|
/**
|
|
3200
|
-
*
|
|
3201
|
-
* @see https://
|
|
3070
|
+
* disallow 'setState' in 'componentDidUpdate'
|
|
3071
|
+
* @see https://eslint-react.xyz/rules/no-set-state-in-component-did-update
|
|
3202
3072
|
*/
|
|
3203
|
-
'react/no-set-state'?: Linter.RuleEntry<[]>
|
|
3073
|
+
'react/no-set-state-in-component-did-update'?: Linter.RuleEntry<[]>
|
|
3204
3074
|
/**
|
|
3205
|
-
*
|
|
3206
|
-
* @see https://
|
|
3075
|
+
* disallow 'setState' in 'componentWillUpdate'
|
|
3076
|
+
* @see https://eslint-react.xyz/rules/no-set-state-in-component-will-update
|
|
3207
3077
|
*/
|
|
3208
|
-
'react/no-
|
|
3078
|
+
'react/no-set-state-in-component-will-update'?: Linter.RuleEntry<[]>
|
|
3209
3079
|
/**
|
|
3210
|
-
*
|
|
3211
|
-
* @see https://
|
|
3080
|
+
* disallow using deprecated string refs
|
|
3081
|
+
* @see https://eslint-react.xyz/rules/no-string-refs
|
|
3212
3082
|
*/
|
|
3213
|
-
'react/no-
|
|
3083
|
+
'react/no-string-refs'?: Linter.RuleEntry<[]>
|
|
3214
3084
|
/**
|
|
3215
|
-
*
|
|
3216
|
-
* @see https://
|
|
3085
|
+
* disallow usage of 'UNSAFE_componentWillMount'
|
|
3086
|
+
* @see https://eslint-react.xyz/rules/no-unsafe-component-will-mount
|
|
3217
3087
|
*/
|
|
3218
|
-
'react/no-
|
|
3088
|
+
'react/no-unsafe-component-will-mount'?: Linter.RuleEntry<[]>
|
|
3219
3089
|
/**
|
|
3220
|
-
*
|
|
3221
|
-
* @see https://
|
|
3090
|
+
* disallow usage of 'UNSAFE_componentWillReceiveProps'
|
|
3091
|
+
* @see https://eslint-react.xyz/rules/no-unsafe-component-will-receive-props
|
|
3222
3092
|
*/
|
|
3223
|
-
'react/no-
|
|
3093
|
+
'react/no-unsafe-component-will-receive-props'?: Linter.RuleEntry<[]>
|
|
3224
3094
|
/**
|
|
3225
|
-
*
|
|
3226
|
-
* @see https://
|
|
3095
|
+
* disallow usage of 'UNSAFE_componentWillUpdate'
|
|
3096
|
+
* @see https://eslint-react.xyz/rules/no-unsafe-component-will-update
|
|
3227
3097
|
*/
|
|
3228
|
-
'react/no-
|
|
3098
|
+
'react/no-unsafe-component-will-update'?: Linter.RuleEntry<[]>
|
|
3229
3099
|
/**
|
|
3230
|
-
*
|
|
3231
|
-
* @see https://
|
|
3100
|
+
* disallow passing constructed values to context providers
|
|
3101
|
+
* @see https://eslint-react.xyz/rules/no-unstable-context-value
|
|
3232
3102
|
*/
|
|
3233
|
-
'react/no-
|
|
3103
|
+
'react/no-unstable-context-value'?: Linter.RuleEntry<[]>
|
|
3234
3104
|
/**
|
|
3235
|
-
*
|
|
3236
|
-
* @see https://
|
|
3105
|
+
* disallow usage of unstable value as default param in function component
|
|
3106
|
+
* @see https://eslint-react.xyz/rules/no-unstable-default-props
|
|
3237
3107
|
*/
|
|
3238
|
-
'react/no-unstable-
|
|
3108
|
+
'react/no-unstable-default-props'?: Linter.RuleEntry<[]>
|
|
3239
3109
|
/**
|
|
3240
|
-
*
|
|
3241
|
-
* @see https://
|
|
3110
|
+
* disallow unused class component members
|
|
3111
|
+
* @see https://eslint-react.xyz/rules/no-unused-class-component-members
|
|
3242
3112
|
*/
|
|
3243
|
-
'react/no-unused-class-component-
|
|
3113
|
+
'react/no-unused-class-component-members'?: Linter.RuleEntry<[]>
|
|
3244
3114
|
/**
|
|
3245
|
-
*
|
|
3246
|
-
* @see https://
|
|
3247
|
-
*/
|
|
3248
|
-
'react/no-unused-prop-types'?: Linter.RuleEntry<ReactNoUnusedPropTypes>
|
|
3249
|
-
/**
|
|
3250
|
-
* Disallow definitions of unused state
|
|
3251
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/no-unused-state.md
|
|
3115
|
+
* Prevents unused state of class component.
|
|
3116
|
+
* @see https://eslint-react.xyz/rules/no-unused-state
|
|
3252
3117
|
*/
|
|
3253
3118
|
'react/no-unused-state'?: Linter.RuleEntry<[]>
|
|
3254
3119
|
/**
|
|
3255
|
-
*
|
|
3256
|
-
* @see https://
|
|
3257
|
-
*/
|
|
3258
|
-
'react/no-will-update-set-state'?: Linter.RuleEntry<ReactNoWillUpdateSetState>
|
|
3259
|
-
/**
|
|
3260
|
-
* Enforce ES5 or ES6 class for React Components
|
|
3261
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/prefer-es6-class.md
|
|
3262
|
-
*/
|
|
3263
|
-
'react/prefer-es6-class'?: Linter.RuleEntry<ReactPreferEs6Class>
|
|
3264
|
-
/**
|
|
3265
|
-
* Prefer exact proptype definitions
|
|
3266
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/prefer-exact-props.md
|
|
3267
|
-
*/
|
|
3268
|
-
'react/prefer-exact-props'?: Linter.RuleEntry<[]>
|
|
3269
|
-
/**
|
|
3270
|
-
* Enforce that props are read-only
|
|
3271
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/prefer-read-only-props.md
|
|
3272
|
-
*/
|
|
3273
|
-
'react/prefer-read-only-props'?: Linter.RuleEntry<[]>
|
|
3274
|
-
/**
|
|
3275
|
-
* Enforce stateless components to be written as a pure function
|
|
3276
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/prefer-stateless-function.md
|
|
3277
|
-
*/
|
|
3278
|
-
'react/prefer-stateless-function'?: Linter.RuleEntry<ReactPreferStatelessFunction>
|
|
3279
|
-
/**
|
|
3280
|
-
* Disallow missing props validation in a React component definition
|
|
3281
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/prop-types.md
|
|
3282
|
-
*/
|
|
3283
|
-
'react/prop-types'?: Linter.RuleEntry<ReactPropTypes>
|
|
3284
|
-
/**
|
|
3285
|
-
* Disallow missing React when using JSX
|
|
3286
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/react-in-jsx-scope.md
|
|
3287
|
-
*/
|
|
3288
|
-
'react/react-in-jsx-scope'?: Linter.RuleEntry<[]>
|
|
3289
|
-
/**
|
|
3290
|
-
* Enforce a defaultProps definition for every prop that is not a required prop
|
|
3291
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/require-default-props.md
|
|
3292
|
-
*/
|
|
3293
|
-
'react/require-default-props'?: Linter.RuleEntry<ReactRequireDefaultProps>
|
|
3294
|
-
/**
|
|
3295
|
-
* Enforce React components to have a shouldComponentUpdate method
|
|
3296
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/require-optimization.md
|
|
3297
|
-
*/
|
|
3298
|
-
'react/require-optimization'?: Linter.RuleEntry<ReactRequireOptimization>
|
|
3299
|
-
/**
|
|
3300
|
-
* Enforce ES5 or ES6 class for returning value in render function
|
|
3301
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/require-render-return.md
|
|
3302
|
-
*/
|
|
3303
|
-
'react/require-render-return'?: Linter.RuleEntry<[]>
|
|
3304
|
-
/**
|
|
3305
|
-
* Disallow extra closing tags for components without children
|
|
3306
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/self-closing-comp.md
|
|
3307
|
-
*/
|
|
3308
|
-
'react/self-closing-comp'?: Linter.RuleEntry<ReactSelfClosingComp>
|
|
3309
|
-
/**
|
|
3310
|
-
* Enforce component methods order
|
|
3311
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/sort-comp.md
|
|
3120
|
+
* disallow unnecessary fragments
|
|
3121
|
+
* @see https://eslint-react.xyz/rules/no-useless-fragment
|
|
3312
3122
|
*/
|
|
3313
|
-
'react/
|
|
3123
|
+
'react/no-useless-fragment'?: Linter.RuleEntry<[]>
|
|
3314
3124
|
/**
|
|
3315
|
-
*
|
|
3316
|
-
* @see https://
|
|
3125
|
+
* enforce using destructuring assignment in component props and context
|
|
3126
|
+
* @see https://eslint-react.xyz/rules/prefer-destructuring-assignment
|
|
3317
3127
|
*/
|
|
3318
|
-
'react/
|
|
3128
|
+
'react/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>
|
|
3319
3129
|
/**
|
|
3320
|
-
*
|
|
3321
|
-
* @see https://
|
|
3130
|
+
* enforce boolean attributes notation in JSX
|
|
3131
|
+
* @see https://eslint-react.xyz/rules/prefer-shorthand-boolean
|
|
3322
3132
|
*/
|
|
3323
|
-
'react/
|
|
3133
|
+
'react/prefer-shorthand-boolean'?: Linter.RuleEntry<[]>
|
|
3324
3134
|
/**
|
|
3325
|
-
*
|
|
3326
|
-
* @see https://
|
|
3135
|
+
* enforce using fragment syntax instead of Fragment component
|
|
3136
|
+
* @see https://eslint-react.xyz/rules/prefer-shorthand-fragment
|
|
3327
3137
|
*/
|
|
3328
|
-
'react/
|
|
3329
|
-
/**
|
|
3330
|
-
* Enforces where React component static properties should be positioned.
|
|
3331
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/static-property-placement.md
|
|
3332
|
-
*/
|
|
3333
|
-
'react/static-property-placement'?: Linter.RuleEntry<ReactStaticPropertyPlacement>
|
|
3334
|
-
/**
|
|
3335
|
-
* Enforce style prop value is an object
|
|
3336
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/style-prop-object.md
|
|
3337
|
-
*/
|
|
3338
|
-
'react/style-prop-object'?: Linter.RuleEntry<ReactStylePropObject>
|
|
3339
|
-
/**
|
|
3340
|
-
* Disallow void DOM elements (e.g. `<img />`, `<br />`) from receiving children
|
|
3341
|
-
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/void-dom-elements-no-children.md
|
|
3342
|
-
*/
|
|
3343
|
-
'react/void-dom-elements-no-children'?: Linter.RuleEntry<[]>
|
|
3138
|
+
'react/prefer-shorthand-fragment'?: Linter.RuleEntry<[]>
|
|
3344
3139
|
/**
|
|
3345
3140
|
* Disallow assignments that can lead to race conditions due to usage of `await` or `yield`
|
|
3346
3141
|
* @see https://eslint.org/docs/latest/rules/require-atomic-updates
|
|
@@ -3687,6 +3482,11 @@ interface RuleOptions {
|
|
|
3687
3482
|
* @see https://eslint.style/rules/jsx/jsx-first-prop-new-line
|
|
3688
3483
|
*/
|
|
3689
3484
|
'style/jsx-first-prop-new-line'?: Linter.RuleEntry<StyleJsxFirstPropNewLine>
|
|
3485
|
+
/**
|
|
3486
|
+
* Enforce line breaks before and after JSX elements when they are used as arguments to a function.
|
|
3487
|
+
* @see https://eslint.style/rules/jsx/jsx-function-call-newline
|
|
3488
|
+
*/
|
|
3489
|
+
'style/jsx-function-call-newline'?: Linter.RuleEntry<StyleJsxFunctionCallNewline>
|
|
3690
3490
|
/**
|
|
3691
3491
|
* Enforce JSX indentation
|
|
3692
3492
|
* @see https://eslint.style/rules/jsx/jsx-indent
|
|
@@ -3757,6 +3557,11 @@ interface RuleOptions {
|
|
|
3757
3557
|
* @see https://eslint.style/rules/ts/keyword-spacing
|
|
3758
3558
|
*/
|
|
3759
3559
|
'style/keyword-spacing'?: Linter.RuleEntry<StyleKeywordSpacing>
|
|
3560
|
+
/**
|
|
3561
|
+
* Enforce position of line comments
|
|
3562
|
+
* @see https://eslint.style/rules/js/line-comment-position
|
|
3563
|
+
*/
|
|
3564
|
+
'style/line-comment-position'?: Linter.RuleEntry<StyleLineCommentPosition>
|
|
3760
3565
|
/**
|
|
3761
3566
|
* Enforce consistent linebreak style
|
|
3762
3567
|
* @see https://eslint.style/rules/js/linebreak-style
|
|
@@ -3787,6 +3592,11 @@ interface RuleOptions {
|
|
|
3787
3592
|
* @see https://eslint.style/rules/ts/member-delimiter-style
|
|
3788
3593
|
*/
|
|
3789
3594
|
'style/member-delimiter-style'?: Linter.RuleEntry<StyleMemberDelimiterStyle>
|
|
3595
|
+
/**
|
|
3596
|
+
* Enforce a particular style for multiline comments
|
|
3597
|
+
* @see https://eslint.style/rules/js/multiline-comment-style
|
|
3598
|
+
*/
|
|
3599
|
+
'style/multiline-comment-style'?: Linter.RuleEntry<StyleMultilineCommentStyle>
|
|
3790
3600
|
/**
|
|
3791
3601
|
* Enforce newlines between operands of ternary expressions
|
|
3792
3602
|
* @see https://eslint.style/rules/js/multiline-ternary
|
|
@@ -9332,7 +9142,7 @@ type NoConsole = []|[{
|
|
|
9332
9142
|
}]
|
|
9333
9143
|
// ----- no-constant-condition -----
|
|
9334
9144
|
type NoConstantCondition = []|[{
|
|
9335
|
-
checkLoops?:
|
|
9145
|
+
checkLoops?: ("all" | "allExceptWhileTrue" | "none" | true | false)
|
|
9336
9146
|
}]
|
|
9337
9147
|
// ----- no-duplicate-imports -----
|
|
9338
9148
|
type NoDuplicateImports = []|[{
|
|
@@ -9863,7 +9673,7 @@ type NodeNoUnpublishedRequire = []|[{
|
|
|
9863
9673
|
// ----- node/no-unsupported-features/es-builtins -----
|
|
9864
9674
|
type NodeNoUnsupportedFeaturesEsBuiltins = []|[{
|
|
9865
9675
|
version?: string
|
|
9866
|
-
ignores?: ("AggregateError" | "Array" | "Array.from" | "Array.isArray" | "Array.length" | "Array.of" | "Array.toLocaleString" | "ArrayBuffer" | "ArrayBuffer.isView" | "Atomics" | "Atomics.add" | "Atomics.and" | "Atomics.compareExchange" | "Atomics.exchange" | "Atomics.isLockFree" | "Atomics.load" | "Atomics.notify" | "Atomics.or" | "Atomics.store" | "Atomics.sub" | "Atomics.wait" | "Atomics.waitAsync" | "Atomics.xor" | "BigInt" | "BigInt.asIntN" | "BigInt.asUintN" | "BigInt64Array" | "BigInt64Array.BYTES_PER_ELEMENT" | "BigInt64Array.from" | "BigInt64Array.name" | "BigInt64Array.of" | "BigUint64Array" | "BigUint64Array.BYTES_PER_ELEMENT" | "BigUint64Array.from" | "BigUint64Array.name" | "BigUint64Array.of" | "Boolean" | "DataView" | "Date" | "Date.UTC" | "Date.now" | "Date.parse" | "Date.toLocaleDateString" | "Date.toLocaleString" | "Date.toLocaleTimeString" | "Error" | "Error.cause" | "EvalError" | "FinalizationRegistry" | "Float32Array" | "Float32Array.BYTES_PER_ELEMENT" | "Float32Array.from" | "Float32Array.name" | "Float32Array.of" | "Float64Array" | "Float64Array.BYTES_PER_ELEMENT" | "Float64Array.from" | "Float64Array.name" | "Float64Array.of" | "Function" | "Function.length" | "Function.name" | "Infinity" | "Int16Array" | "Int16Array.BYTES_PER_ELEMENT" | "Int16Array.from" | "Int16Array.name" | "Int16Array.of" | "Int32Array" | "Int32Array.BYTES_PER_ELEMENT" | "Int32Array.from" | "Int32Array.name" | "Int32Array.of" | "Int8Array" | "Int8Array.BYTES_PER_ELEMENT" | "Int8Array.from" | "Int8Array.name" | "Int8Array.of" | "Intl" | "Intl.Collator" | "Intl.DateTimeFormat" | "Intl.DisplayNames" | "Intl.ListFormat" | "Intl.Locale" | "Intl.NumberFormat" | "Intl.PluralRules" | "Intl.RelativeTimeFormat" | "Intl.Segmenter" | "Intl.Segments" | "Intl.getCanonicalLocales" | "Intl.supportedValuesOf" | "JSON" | "JSON.parse" | "JSON.stringify" | "Map" | "Map.groupBy" | "Math" | "Math.E" | "Math.LN10" | "Math.LN2" | "Math.LOG10E" | "Math.LOG2E" | "Math.PI" | "Math.SQRT1_2" | "Math.SQRT2" | "Math.abs" | "Math.acos" | "Math.acosh" | "Math.asin" | "Math.asinh" | "Math.atan" | "Math.atan2" | "Math.atanh" | "Math.cbrt" | "Math.ceil" | "Math.clz32" | "Math.cos" | "Math.cosh" | "Math.exp" | "Math.expm1" | "Math.floor" | "Math.fround" | "Math.hypot" | "Math.imul" | "Math.log" | "Math.log10" | "Math.log1p" | "Math.log2" | "Math.max" | "Math.min" | "Math.pow" | "Math.random" | "Math.round" | "Math.sign" | "Math.sin" | "Math.sinh" | "Math.sqrt" | "Math.tan" | "Math.tanh" | "Math.trunc" | "NaN" | "Number.EPSILON" | "Number.MAX_SAFE_INTEGER" | "Number.MAX_VALUE" | "Number.MIN_SAFE_INTEGER" | "Number.MIN_VALUE" | "Number.NEGATIVE_INFINITY" | "Number.NaN" | "Number.POSITIVE_INFINITY" | "Number.isFinite" | "Number.isInteger" | "Number.isNaN" | "Number.isSafeInteger" | "Number.parseFloat" | "Number.parseInt" | "Number.toLocaleString" | "Object.assign" | "Object.create" | "Object.defineGetter" | "Object.defineProperties" | "Object.defineProperty" | "Object.defineSetter" | "Object.entries" | "Object.freeze" | "Object.fromEntries" | "Object.getOwnPropertyDescriptor" | "Object.getOwnPropertyDescriptors" | "Object.getOwnPropertyNames" | "Object.getOwnPropertySymbols" | "Object.getPrototypeOf" | "Object.groupBy" | "Object.hasOwn" | "Object.is" | "Object.isExtensible" | "Object.isFrozen" | "Object.isSealed" | "Object.keys" | "Object.lookupGetter" | "Object.lookupSetter" | "Object.preventExtensions" | "Object.proto" | "Object.seal" | "Object.setPrototypeOf" | "Object.values" | "Promise" | "Promise.all" | "Promise.allSettled" | "Promise.any" | "Promise.race" | "Promise.reject" | "Promise.resolve" | "Proxy" | "Proxy.revocable" | "RangeError" | "ReferenceError" | "Reflect" | "Reflect.apply" | "Reflect.construct" | "Reflect.defineProperty" | "Reflect.deleteProperty" | "Reflect.get" | "Reflect.getOwnPropertyDescriptor" | "Reflect.getPrototypeOf" | "Reflect.has" | "Reflect.isExtensible" | "Reflect.ownKeys" | "Reflect.preventExtensions" | "Reflect.set" | "Reflect.setPrototypeOf" | "RegExp" | "RegExp.dotAll" | "RegExp.hasIndices" | "RegExp.input" | "RegExp.lastIndex" | "RegExp.lastMatch" | "RegExp.lastParen" | "RegExp.leftContext" | "RegExp.n" | "RegExp.rightContext" | "Set" | "SharedArrayBuffer" | "String" | "String.fromCharCode" | "String.fromCodePoint" | "String.length" | "String.localeCompare" | "String.raw" | "String.toLocaleLowerCase" | "String.toLocaleUpperCase" | "Symbol" | "Symbol.asyncIterator" | "Symbol.for" | "Symbol.hasInstance" | "Symbol.isConcatSpreadable" | "Symbol.iterator" | "Symbol.keyFor" | "Symbol.match" | "Symbol.matchAll" | "Symbol.replace" | "Symbol.search" | "Symbol.species" | "Symbol.split" | "Symbol.toPrimitive" | "Symbol.toStringTag" | "Symbol.unscopables" | "SyntaxError" | "TypeError" | "URIError" | "Uint16Array" | "Uint16Array.BYTES_PER_ELEMENT" | "Uint16Array.from" | "Uint16Array.name" | "Uint16Array.of" | "Uint32Array" | "Uint32Array.BYTES_PER_ELEMENT" | "Uint32Array.from" | "Uint32Array.name" | "Uint32Array.of" | "Uint8Array" | "Uint8Array.BYTES_PER_ELEMENT" | "Uint8Array.from" | "Uint8Array.name" | "Uint8Array.of" | "Uint8ClampedArray" | "Uint8ClampedArray.BYTES_PER_ELEMENT" | "Uint8ClampedArray.from" | "Uint8ClampedArray.name" | "Uint8ClampedArray.of" | "WeakMap" | "WeakRef" | "WeakSet" | "decodeURI" | "decodeURIComponent" | "encodeURI" | "encodeURIComponent" | "escape" | "eval" | "globalThis" | "isFinite" | "isNaN" | "parseFloat" | "parseInt" | "unescape"
|
|
9676
|
+
ignores?: ("AggregateError" | "Array" | "Array.from" | "Array.isArray" | "Array.length" | "Array.of" | "Array.toLocaleString" | "ArrayBuffer" | "ArrayBuffer.isView" | "Atomics" | "Atomics.add" | "Atomics.and" | "Atomics.compareExchange" | "Atomics.exchange" | "Atomics.isLockFree" | "Atomics.load" | "Atomics.notify" | "Atomics.or" | "Atomics.store" | "Atomics.sub" | "Atomics.wait" | "Atomics.waitAsync" | "Atomics.xor" | "BigInt" | "BigInt.asIntN" | "BigInt.asUintN" | "BigInt64Array" | "BigInt64Array.BYTES_PER_ELEMENT" | "BigInt64Array.from" | "BigInt64Array.name" | "BigInt64Array.of" | "BigUint64Array" | "BigUint64Array.BYTES_PER_ELEMENT" | "BigUint64Array.from" | "BigUint64Array.name" | "BigUint64Array.of" | "Boolean" | "DataView" | "Date" | "Date.UTC" | "Date.now" | "Date.parse" | "Date.toLocaleDateString" | "Date.toLocaleString" | "Date.toLocaleTimeString" | "Error" | "Error.cause" | "EvalError" | "FinalizationRegistry" | "Float32Array" | "Float32Array.BYTES_PER_ELEMENT" | "Float32Array.from" | "Float32Array.name" | "Float32Array.of" | "Float64Array" | "Float64Array.BYTES_PER_ELEMENT" | "Float64Array.from" | "Float64Array.name" | "Float64Array.of" | "Function" | "Function.length" | "Function.name" | "Infinity" | "Int16Array" | "Int16Array.BYTES_PER_ELEMENT" | "Int16Array.from" | "Int16Array.name" | "Int16Array.of" | "Int32Array" | "Int32Array.BYTES_PER_ELEMENT" | "Int32Array.from" | "Int32Array.name" | "Int32Array.of" | "Int8Array" | "Int8Array.BYTES_PER_ELEMENT" | "Int8Array.from" | "Int8Array.name" | "Int8Array.of" | "Intl" | "Intl.Collator" | "Intl.DateTimeFormat" | "Intl.DisplayNames" | "Intl.ListFormat" | "Intl.Locale" | "Intl.NumberFormat" | "Intl.PluralRules" | "Intl.RelativeTimeFormat" | "Intl.Segmenter" | "Intl.Segments" | "Intl.getCanonicalLocales" | "Intl.supportedValuesOf" | "JSON" | "JSON.parse" | "JSON.stringify" | "Map" | "Map.groupBy" | "Math" | "Math.E" | "Math.LN10" | "Math.LN2" | "Math.LOG10E" | "Math.LOG2E" | "Math.PI" | "Math.SQRT1_2" | "Math.SQRT2" | "Math.abs" | "Math.acos" | "Math.acosh" | "Math.asin" | "Math.asinh" | "Math.atan" | "Math.atan2" | "Math.atanh" | "Math.cbrt" | "Math.ceil" | "Math.clz32" | "Math.cos" | "Math.cosh" | "Math.exp" | "Math.expm1" | "Math.floor" | "Math.fround" | "Math.hypot" | "Math.imul" | "Math.log" | "Math.log10" | "Math.log1p" | "Math.log2" | "Math.max" | "Math.min" | "Math.pow" | "Math.random" | "Math.round" | "Math.sign" | "Math.sin" | "Math.sinh" | "Math.sqrt" | "Math.tan" | "Math.tanh" | "Math.trunc" | "NaN" | "Number.EPSILON" | "Number.MAX_SAFE_INTEGER" | "Number.MAX_VALUE" | "Number.MIN_SAFE_INTEGER" | "Number.MIN_VALUE" | "Number.NEGATIVE_INFINITY" | "Number.NaN" | "Number.POSITIVE_INFINITY" | "Number.isFinite" | "Number.isInteger" | "Number.isNaN" | "Number.isSafeInteger" | "Number.parseFloat" | "Number.parseInt" | "Number.toLocaleString" | "Object.assign" | "Object.create" | "Object.defineGetter" | "Object.defineProperties" | "Object.defineProperty" | "Object.defineSetter" | "Object.entries" | "Object.freeze" | "Object.fromEntries" | "Object.getOwnPropertyDescriptor" | "Object.getOwnPropertyDescriptors" | "Object.getOwnPropertyNames" | "Object.getOwnPropertySymbols" | "Object.getPrototypeOf" | "Object.groupBy" | "Object.hasOwn" | "Object.is" | "Object.isExtensible" | "Object.isFrozen" | "Object.isSealed" | "Object.keys" | "Object.lookupGetter" | "Object.lookupSetter" | "Object.preventExtensions" | "Object.proto" | "Object.seal" | "Object.setPrototypeOf" | "Object.values" | "Promise" | "Promise.all" | "Promise.allSettled" | "Promise.any" | "Promise.race" | "Promise.reject" | "Promise.resolve" | "Proxy" | "Proxy.revocable" | "RangeError" | "ReferenceError" | "Reflect" | "Reflect.apply" | "Reflect.construct" | "Reflect.defineProperty" | "Reflect.deleteProperty" | "Reflect.get" | "Reflect.getOwnPropertyDescriptor" | "Reflect.getPrototypeOf" | "Reflect.has" | "Reflect.isExtensible" | "Reflect.ownKeys" | "Reflect.preventExtensions" | "Reflect.set" | "Reflect.setPrototypeOf" | "RegExp" | "RegExp.dotAll" | "RegExp.hasIndices" | "RegExp.input" | "RegExp.lastIndex" | "RegExp.lastMatch" | "RegExp.lastParen" | "RegExp.leftContext" | "RegExp.n" | "RegExp.rightContext" | "Set" | "SharedArrayBuffer" | "String" | "String.fromCharCode" | "String.fromCodePoint" | "String.length" | "String.localeCompare" | "String.raw" | "String.toLocaleLowerCase" | "String.toLocaleUpperCase" | "Symbol" | "Symbol.asyncIterator" | "Symbol.for" | "Symbol.hasInstance" | "Symbol.isConcatSpreadable" | "Symbol.iterator" | "Symbol.keyFor" | "Symbol.match" | "Symbol.matchAll" | "Symbol.replace" | "Symbol.search" | "Symbol.species" | "Symbol.split" | "Symbol.toPrimitive" | "Symbol.toStringTag" | "Symbol.unscopables" | "SyntaxError" | "TypeError" | "URIError" | "Uint16Array" | "Uint16Array.BYTES_PER_ELEMENT" | "Uint16Array.from" | "Uint16Array.name" | "Uint16Array.of" | "Uint32Array" | "Uint32Array.BYTES_PER_ELEMENT" | "Uint32Array.from" | "Uint32Array.name" | "Uint32Array.of" | "Uint8Array" | "Uint8Array.BYTES_PER_ELEMENT" | "Uint8Array.from" | "Uint8Array.name" | "Uint8Array.of" | "Uint8ClampedArray" | "Uint8ClampedArray.BYTES_PER_ELEMENT" | "Uint8ClampedArray.from" | "Uint8ClampedArray.name" | "Uint8ClampedArray.of" | "WeakMap" | "WeakRef" | "WeakSet" | "decodeURI" | "decodeURIComponent" | "encodeURI" | "encodeURIComponent" | "escape" | "eval" | "globalThis" | "isFinite" | "isNaN" | "parseFloat" | "parseInt" | "unescape")[]
|
|
9867
9677
|
}]
|
|
9868
9678
|
// ----- node/no-unsupported-features/es-syntax -----
|
|
9869
9679
|
type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
@@ -9873,7 +9683,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
9873
9683
|
// ----- node/no-unsupported-features/node-builtins -----
|
|
9874
9684
|
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
9875
9685
|
version?: string
|
|
9876
|
-
ignores?: ("queueMicrotask" | "require.resolve.paths" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "TextDecoder" | "TextEncoder" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "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" | "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" | "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" | "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" | "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.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.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.getRandomValues" | "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.randomUUID" | "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" | "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")[]
|
|
9686
|
+
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")[]
|
|
9877
9687
|
}]
|
|
9878
9688
|
// ----- node/prefer-global/buffer -----
|
|
9879
9689
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -10243,442 +10053,27 @@ type ReactHooksExhaustiveDeps = []|[{
|
|
|
10243
10053
|
additionalHooks?: string
|
|
10244
10054
|
enableDangerousAutofixThisMayCauseInfiniteLoops?: boolean
|
|
10245
10055
|
}]
|
|
10246
|
-
// ----- react-
|
|
10247
|
-
type
|
|
10248
|
-
|
|
10249
|
-
|
|
10250
|
-
allowExportNames?: string[]
|
|
10251
|
-
}]
|
|
10252
|
-
// ----- react/boolean-prop-naming -----
|
|
10253
|
-
type ReactBooleanPropNaming = []|[{
|
|
10254
|
-
|
|
10255
|
-
propTypeNames?: [string, ...(string)[]]
|
|
10256
|
-
rule?: string
|
|
10257
|
-
message?: string
|
|
10258
|
-
validateNested?: boolean
|
|
10259
|
-
}]
|
|
10260
|
-
// ----- react/button-has-type -----
|
|
10261
|
-
type ReactButtonHasType = []|[{
|
|
10262
|
-
button?: boolean
|
|
10263
|
-
submit?: boolean
|
|
10264
|
-
reset?: boolean
|
|
10265
|
-
}]
|
|
10266
|
-
// ----- react/checked-requires-onchange-or-readonly -----
|
|
10267
|
-
type ReactCheckedRequiresOnchangeOrReadonly = []|[{
|
|
10268
|
-
ignoreMissingProperties?: boolean
|
|
10269
|
-
ignoreExclusiveCheckedAttribute?: boolean
|
|
10270
|
-
}]
|
|
10271
|
-
// ----- react/default-props-match-prop-types -----
|
|
10272
|
-
type ReactDefaultPropsMatchPropTypes = []|[{
|
|
10273
|
-
allowRequiredDefaults?: boolean
|
|
10274
|
-
}]
|
|
10275
|
-
// ----- react/destructuring-assignment -----
|
|
10276
|
-
type ReactDestructuringAssignment = []|[("always" | "never")]|[("always" | "never"), {
|
|
10277
|
-
ignoreClassFields?: boolean
|
|
10278
|
-
destructureInSignature?: ("always" | "ignore")
|
|
10279
|
-
}]
|
|
10280
|
-
// ----- react/display-name -----
|
|
10281
|
-
type ReactDisplayName = []|[{
|
|
10282
|
-
ignoreTranspilerName?: boolean
|
|
10283
|
-
checkContextObjects?: boolean
|
|
10284
|
-
}]
|
|
10285
|
-
// ----- react/forbid-component-props -----
|
|
10286
|
-
type ReactForbidComponentProps = []|[{
|
|
10287
|
-
forbid?: (string | {
|
|
10288
|
-
propName?: string
|
|
10289
|
-
allowedFor?: string[]
|
|
10290
|
-
message?: string
|
|
10291
|
-
} | {
|
|
10292
|
-
propName?: string
|
|
10293
|
-
|
|
10294
|
-
disallowedFor: [string, ...(string)[]]
|
|
10295
|
-
message?: string
|
|
10296
|
-
})[]
|
|
10297
|
-
[k: string]: unknown | undefined
|
|
10298
|
-
}]
|
|
10299
|
-
// ----- react/forbid-dom-props -----
|
|
10300
|
-
type ReactForbidDomProps = []|[{
|
|
10301
|
-
forbid?: (string | {
|
|
10302
|
-
propName?: string
|
|
10303
|
-
disallowedFor?: string[]
|
|
10304
|
-
message?: string
|
|
10305
|
-
[k: string]: unknown | undefined
|
|
10306
|
-
})[]
|
|
10307
|
-
}]
|
|
10308
|
-
// ----- react/forbid-elements -----
|
|
10309
|
-
type ReactForbidElements = []|[{
|
|
10310
|
-
forbid?: (string | {
|
|
10311
|
-
element: string
|
|
10312
|
-
message?: string
|
|
10313
|
-
})[]
|
|
10314
|
-
}]
|
|
10315
|
-
// ----- react/forbid-foreign-prop-types -----
|
|
10316
|
-
type ReactForbidForeignPropTypes = []|[{
|
|
10317
|
-
allowInPropTypes?: boolean
|
|
10318
|
-
}]
|
|
10319
|
-
// ----- react/forbid-prop-types -----
|
|
10320
|
-
type ReactForbidPropTypes = []|[{
|
|
10321
|
-
forbid?: string[]
|
|
10322
|
-
checkContextTypes?: boolean
|
|
10323
|
-
checkChildContextTypes?: boolean
|
|
10324
|
-
[k: string]: unknown | undefined
|
|
10325
|
-
}]
|
|
10326
|
-
// ----- react/function-component-definition -----
|
|
10327
|
-
type ReactFunctionComponentDefinition = []|[{
|
|
10328
|
-
namedComponents?: (("function-declaration" | "arrow-function" | "function-expression") | ("function-declaration" | "arrow-function" | "function-expression")[])
|
|
10329
|
-
unnamedComponents?: (("arrow-function" | "function-expression") | ("arrow-function" | "function-expression")[])
|
|
10330
|
-
[k: string]: unknown | undefined
|
|
10331
|
-
}]
|
|
10332
|
-
// ----- react/hook-use-state -----
|
|
10333
|
-
type ReactHookUseState = []|[{
|
|
10334
|
-
allowDestructuredState?: boolean
|
|
10335
|
-
}]
|
|
10336
|
-
// ----- react/jsx-boolean-value -----
|
|
10337
|
-
type ReactJsxBooleanValue = ([]|[("always" | "never")] | []|["always"]|["always", {
|
|
10338
|
-
never?: string[]
|
|
10339
|
-
assumeUndefinedIsFalse?: boolean
|
|
10340
|
-
}] | []|["never"]|["never", {
|
|
10341
|
-
always?: string[]
|
|
10342
|
-
assumeUndefinedIsFalse?: boolean
|
|
10343
|
-
}])
|
|
10344
|
-
// ----- react/jsx-closing-bracket-location -----
|
|
10345
|
-
type ReactJsxClosingBracketLocation = []|[(("after-props" | "props-aligned" | "tag-aligned" | "line-aligned") | {
|
|
10346
|
-
location?: ("after-props" | "props-aligned" | "tag-aligned" | "line-aligned")
|
|
10347
|
-
} | {
|
|
10348
|
-
nonEmpty?: ("after-props" | "props-aligned" | "tag-aligned" | "line-aligned" | false)
|
|
10349
|
-
selfClosing?: ("after-props" | "props-aligned" | "tag-aligned" | "line-aligned" | false)
|
|
10056
|
+
// ----- react-naming-convention/component-name -----
|
|
10057
|
+
type ReactNamingConventionComponentName = []|[(("PascalCase" | "CONSTANT_CASE") | {
|
|
10058
|
+
excepts?: string[]
|
|
10059
|
+
rule?: ("PascalCase" | "CONSTANT_CASE")
|
|
10350
10060
|
})]
|
|
10351
|
-
// ----- react
|
|
10352
|
-
type
|
|
10353
|
-
|
|
10354
|
-
|
|
10355
|
-
|
|
10356
|
-
} | ("always" | "never" | "ignore"))]
|
|
10357
|
-
// ----- react/jsx-curly-newline -----
|
|
10358
|
-
type ReactJsxCurlyNewline = []|[(("consistent" | "never") | {
|
|
10359
|
-
singleline?: ("consistent" | "require" | "forbid")
|
|
10360
|
-
multiline?: ("consistent" | "require" | "forbid")
|
|
10061
|
+
// ----- react-naming-convention/filename -----
|
|
10062
|
+
type ReactNamingConventionFilename = []|[(("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
10063
|
+
excepts?: string[]
|
|
10064
|
+
extensions?: string[]
|
|
10065
|
+
rule?: ("PascalCase" | "camelCase" | "kebab-case" | "snake_case")
|
|
10361
10066
|
})]
|
|
10362
|
-
// ----- react/
|
|
10363
|
-
type
|
|
10364
|
-
attributes?: _ReactJsxCurlySpacingBasicConfigOrBoolean
|
|
10365
|
-
children?: _ReactJsxCurlySpacingBasicConfigOrBoolean
|
|
10366
|
-
[k: string]: unknown | undefined
|
|
10367
|
-
}) | ("always" | "never"))]|[((_ReactJsxCurlySpacing_BasicConfig & {
|
|
10368
|
-
attributes?: _ReactJsxCurlySpacingBasicConfigOrBoolean
|
|
10369
|
-
children?: _ReactJsxCurlySpacingBasicConfigOrBoolean
|
|
10370
|
-
[k: string]: unknown | undefined
|
|
10371
|
-
}) | ("always" | "never")), {
|
|
10372
|
-
allowMultiline?: boolean
|
|
10373
|
-
spacing?: {
|
|
10374
|
-
objectLiterals?: ("always" | "never")
|
|
10375
|
-
[k: string]: unknown | undefined
|
|
10376
|
-
}
|
|
10377
|
-
}]
|
|
10378
|
-
type _ReactJsxCurlySpacingBasicConfigOrBoolean = (_ReactJsxCurlySpacing_BasicConfig | boolean)
|
|
10379
|
-
interface _ReactJsxCurlySpacing_BasicConfig {
|
|
10380
|
-
when?: ("always" | "never")
|
|
10381
|
-
allowMultiline?: boolean
|
|
10382
|
-
spacing?: {
|
|
10383
|
-
objectLiterals?: ("always" | "never")
|
|
10384
|
-
[k: string]: unknown | undefined
|
|
10385
|
-
}
|
|
10386
|
-
[k: string]: unknown | undefined
|
|
10387
|
-
}
|
|
10388
|
-
// ----- react/jsx-equals-spacing -----
|
|
10389
|
-
type ReactJsxEqualsSpacing = []|[("always" | "never")]
|
|
10390
|
-
// ----- react/jsx-filename-extension -----
|
|
10391
|
-
type ReactJsxFilenameExtension = []|[{
|
|
10067
|
+
// ----- react-naming-convention/filename-extension -----
|
|
10068
|
+
type ReactNamingConventionFilenameExtension = []|[(("always" | "as-needed") | {
|
|
10392
10069
|
allow?: ("always" | "as-needed")
|
|
10393
10070
|
extensions?: string[]
|
|
10394
|
-
ignoreFilesWithoutCode?: boolean
|
|
10395
|
-
}]
|
|
10396
|
-
// ----- react/jsx-first-prop-new-line -----
|
|
10397
|
-
type ReactJsxFirstPropNewLine = []|[("always" | "never" | "multiline" | "multiline-multiprop" | "multiprop")]
|
|
10398
|
-
// ----- react/jsx-fragments -----
|
|
10399
|
-
type ReactJsxFragments = []|[("syntax" | "element")]
|
|
10400
|
-
// ----- react/jsx-handler-names -----
|
|
10401
|
-
type ReactJsxHandlerNames = []|[({
|
|
10402
|
-
eventHandlerPrefix?: string
|
|
10403
|
-
eventHandlerPropPrefix?: string
|
|
10404
|
-
checkLocalVariables?: boolean
|
|
10405
|
-
checkInlineFunction?: boolean
|
|
10406
|
-
} | {
|
|
10407
|
-
eventHandlerPrefix?: string
|
|
10408
|
-
eventHandlerPropPrefix?: false
|
|
10409
|
-
checkLocalVariables?: boolean
|
|
10410
|
-
checkInlineFunction?: boolean
|
|
10411
|
-
} | {
|
|
10412
|
-
eventHandlerPrefix?: false
|
|
10413
|
-
eventHandlerPropPrefix?: string
|
|
10414
|
-
checkLocalVariables?: boolean
|
|
10415
|
-
checkInlineFunction?: boolean
|
|
10416
|
-
} | {
|
|
10417
|
-
checkLocalVariables?: boolean
|
|
10418
|
-
} | {
|
|
10419
|
-
checkInlineFunction?: boolean
|
|
10420
10071
|
})]
|
|
10421
|
-
// ----- react/
|
|
10422
|
-
type
|
|
10423
|
-
|
|
10424
|
-
|
|
10425
|
-
|
|
10426
|
-
// ----- react/jsx-indent-props -----
|
|
10427
|
-
type ReactJsxIndentProps = []|[(("tab" | "first") | number | {
|
|
10428
|
-
indentMode?: (("tab" | "first") | number)
|
|
10429
|
-
ignoreTernaryOperator?: boolean
|
|
10430
|
-
[k: string]: unknown | undefined
|
|
10431
|
-
})]
|
|
10432
|
-
// ----- react/jsx-key -----
|
|
10433
|
-
type ReactJsxKey = []|[{
|
|
10434
|
-
checkFragmentShorthand?: boolean
|
|
10435
|
-
checkKeyMustBeforeSpread?: boolean
|
|
10436
|
-
warnOnDuplicates?: boolean
|
|
10437
|
-
}]
|
|
10438
|
-
// ----- react/jsx-max-depth -----
|
|
10439
|
-
type ReactJsxMaxDepth = []|[{
|
|
10440
|
-
max?: number
|
|
10441
|
-
}]
|
|
10442
|
-
// ----- react/jsx-max-props-per-line -----
|
|
10443
|
-
type ReactJsxMaxPropsPerLine = []|[({
|
|
10444
|
-
maximum?: {
|
|
10445
|
-
single?: number
|
|
10446
|
-
multi?: number
|
|
10447
|
-
[k: string]: unknown | undefined
|
|
10448
|
-
}
|
|
10449
|
-
} | {
|
|
10450
|
-
maximum?: number
|
|
10451
|
-
when?: ("always" | "multiline")
|
|
10452
|
-
})]
|
|
10453
|
-
// ----- react/jsx-newline -----
|
|
10454
|
-
type ReactJsxNewline = []|[{
|
|
10455
|
-
prevent?: boolean
|
|
10456
|
-
allowMultilines?: boolean
|
|
10457
|
-
}]
|
|
10458
|
-
// ----- react/jsx-no-bind -----
|
|
10459
|
-
type ReactJsxNoBind = []|[{
|
|
10460
|
-
allowArrowFunctions?: boolean
|
|
10461
|
-
allowBind?: boolean
|
|
10462
|
-
allowFunctions?: boolean
|
|
10463
|
-
ignoreRefs?: boolean
|
|
10464
|
-
ignoreDOMComponents?: boolean
|
|
10465
|
-
}]
|
|
10466
|
-
// ----- react/jsx-no-constructed-context-values -----
|
|
10467
|
-
interface ReactJsxNoConstructedContextValues {
|
|
10468
|
-
[k: string]: unknown | undefined
|
|
10469
|
-
}
|
|
10470
|
-
// ----- react/jsx-no-duplicate-props -----
|
|
10471
|
-
type ReactJsxNoDuplicateProps = []|[{
|
|
10472
|
-
ignoreCase?: boolean
|
|
10473
|
-
}]
|
|
10474
|
-
// ----- react/jsx-no-leaked-render -----
|
|
10475
|
-
type ReactJsxNoLeakedRender = []|[{
|
|
10476
|
-
validStrategies?: ("ternary" | "coerce")[]
|
|
10477
|
-
}]
|
|
10478
|
-
// ----- react/jsx-no-literals -----
|
|
10479
|
-
type ReactJsxNoLiterals = []|[{
|
|
10480
|
-
noStrings?: boolean
|
|
10481
|
-
allowedStrings?: string[]
|
|
10482
|
-
ignoreProps?: boolean
|
|
10483
|
-
noAttributeStrings?: boolean
|
|
10484
|
-
}]
|
|
10485
|
-
// ----- react/jsx-no-script-url -----
|
|
10486
|
-
type ReactJsxNoScriptUrl = ([]|[{
|
|
10487
|
-
name: string
|
|
10488
|
-
props: string[]
|
|
10489
|
-
}[]]|[{
|
|
10490
|
-
name: string
|
|
10491
|
-
props: string[]
|
|
10492
|
-
}[], {
|
|
10493
|
-
includeFromSettings?: boolean
|
|
10494
|
-
[k: string]: unknown | undefined
|
|
10495
|
-
}] | []|[{
|
|
10496
|
-
includeFromSettings?: boolean
|
|
10497
|
-
[k: string]: unknown | undefined
|
|
10498
|
-
}])
|
|
10499
|
-
// ----- react/jsx-no-target-blank -----
|
|
10500
|
-
type ReactJsxNoTargetBlank = []|[{
|
|
10501
|
-
allowReferrer?: boolean
|
|
10502
|
-
enforceDynamicLinks?: ("always" | "never")
|
|
10503
|
-
warnOnSpreadAttributes?: boolean
|
|
10504
|
-
links?: boolean
|
|
10505
|
-
forms?: boolean
|
|
10506
|
-
}]
|
|
10507
|
-
// ----- react/jsx-no-undef -----
|
|
10508
|
-
type ReactJsxNoUndef = []|[{
|
|
10509
|
-
allowGlobals?: boolean
|
|
10510
|
-
}]
|
|
10511
|
-
// ----- react/jsx-no-useless-fragment -----
|
|
10512
|
-
type ReactJsxNoUselessFragment = []|[{
|
|
10513
|
-
allowExpressions?: boolean
|
|
10514
|
-
[k: string]: unknown | undefined
|
|
10515
|
-
}]
|
|
10516
|
-
// ----- react/jsx-one-expression-per-line -----
|
|
10517
|
-
type ReactJsxOneExpressionPerLine = []|[{
|
|
10518
|
-
allow?: ("none" | "literal" | "single-child" | "non-jsx")
|
|
10519
|
-
}]
|
|
10520
|
-
// ----- react/jsx-pascal-case -----
|
|
10521
|
-
type ReactJsxPascalCase = []|[{
|
|
10522
|
-
allowAllCaps?: boolean
|
|
10523
|
-
allowLeadingUnderscore?: boolean
|
|
10524
|
-
allowNamespace?: boolean
|
|
10525
|
-
|
|
10526
|
-
ignore?: []|[string]
|
|
10527
|
-
}]
|
|
10528
|
-
// ----- react/jsx-props-no-spreading -----
|
|
10529
|
-
type ReactJsxPropsNoSpreading = []|[({
|
|
10530
|
-
html?: ("enforce" | "ignore")
|
|
10531
|
-
custom?: ("enforce" | "ignore")
|
|
10532
|
-
exceptions?: string[]
|
|
10533
|
-
[k: string]: unknown | undefined
|
|
10534
|
-
} & {
|
|
10535
|
-
[k: string]: unknown | undefined
|
|
10536
|
-
})]
|
|
10537
|
-
// ----- react/jsx-sort-default-props -----
|
|
10538
|
-
type ReactJsxSortDefaultProps = []|[{
|
|
10539
|
-
ignoreCase?: boolean
|
|
10540
|
-
}]
|
|
10541
|
-
// ----- react/jsx-sort-props -----
|
|
10542
|
-
type ReactJsxSortProps = []|[{
|
|
10543
|
-
callbacksLast?: boolean
|
|
10544
|
-
shorthandFirst?: boolean
|
|
10545
|
-
shorthandLast?: boolean
|
|
10546
|
-
multiline?: ("ignore" | "first" | "last")
|
|
10547
|
-
ignoreCase?: boolean
|
|
10548
|
-
noSortAlphabetically?: boolean
|
|
10549
|
-
reservedFirst?: (unknown[] | boolean)
|
|
10550
|
-
locale?: string
|
|
10551
|
-
}]
|
|
10552
|
-
// ----- react/jsx-space-before-closing -----
|
|
10553
|
-
type ReactJsxSpaceBeforeClosing = []|[("always" | "never")]
|
|
10554
|
-
// ----- react/jsx-tag-spacing -----
|
|
10555
|
-
type ReactJsxTagSpacing = []|[{
|
|
10556
|
-
closingSlash?: ("always" | "never" | "allow")
|
|
10557
|
-
beforeSelfClosing?: ("always" | "proportional-always" | "never" | "allow")
|
|
10558
|
-
afterOpening?: ("always" | "allow-multiline" | "never" | "allow")
|
|
10559
|
-
beforeClosing?: ("always" | "proportional-always" | "never" | "allow")
|
|
10560
|
-
}]
|
|
10561
|
-
// ----- react/jsx-wrap-multilines -----
|
|
10562
|
-
type ReactJsxWrapMultilines = []|[{
|
|
10563
|
-
declaration?: (true | false | "ignore" | "parens" | "parens-new-line" | "never")
|
|
10564
|
-
assignment?: (true | false | "ignore" | "parens" | "parens-new-line" | "never")
|
|
10565
|
-
return?: (true | false | "ignore" | "parens" | "parens-new-line" | "never")
|
|
10566
|
-
arrow?: (true | false | "ignore" | "parens" | "parens-new-line" | "never")
|
|
10567
|
-
condition?: (true | false | "ignore" | "parens" | "parens-new-line" | "never")
|
|
10568
|
-
logical?: (true | false | "ignore" | "parens" | "parens-new-line" | "never")
|
|
10569
|
-
prop?: (true | false | "ignore" | "parens" | "parens-new-line" | "never")
|
|
10570
|
-
}]
|
|
10571
|
-
// ----- react/no-children-prop -----
|
|
10572
|
-
type ReactNoChildrenProp = []|[{
|
|
10573
|
-
allowFunctions?: boolean
|
|
10574
|
-
}]
|
|
10575
|
-
// ----- react/no-did-mount-set-state -----
|
|
10576
|
-
type ReactNoDidMountSetState = []|["disallow-in-func"]
|
|
10577
|
-
// ----- react/no-did-update-set-state -----
|
|
10578
|
-
type ReactNoDidUpdateSetState = []|["disallow-in-func"]
|
|
10579
|
-
// ----- react/no-invalid-html-attribute -----
|
|
10580
|
-
type ReactNoInvalidHtmlAttribute = []|[("rel")[]]
|
|
10581
|
-
// ----- react/no-multi-comp -----
|
|
10582
|
-
type ReactNoMultiComp = []|[{
|
|
10583
|
-
ignoreStateless?: boolean
|
|
10584
|
-
}]
|
|
10585
|
-
// ----- react/no-string-refs -----
|
|
10586
|
-
type ReactNoStringRefs = []|[{
|
|
10587
|
-
noTemplateLiterals?: boolean
|
|
10588
|
-
}]
|
|
10589
|
-
// ----- react/no-unescaped-entities -----
|
|
10590
|
-
type ReactNoUnescapedEntities = []|[{
|
|
10591
|
-
forbid?: (string | {
|
|
10592
|
-
char?: string
|
|
10593
|
-
alternatives?: string[]
|
|
10594
|
-
[k: string]: unknown | undefined
|
|
10595
|
-
})[]
|
|
10596
|
-
}]
|
|
10597
|
-
// ----- react/no-unknown-property -----
|
|
10598
|
-
type ReactNoUnknownProperty = []|[{
|
|
10599
|
-
ignore?: string[]
|
|
10600
|
-
requireDataLowercase?: boolean
|
|
10601
|
-
}]
|
|
10602
|
-
// ----- react/no-unsafe -----
|
|
10603
|
-
type ReactNoUnsafe = []|[{
|
|
10604
|
-
checkAliases?: boolean
|
|
10605
|
-
}]
|
|
10606
|
-
// ----- react/no-unstable-nested-components -----
|
|
10607
|
-
type ReactNoUnstableNestedComponents = []|[{
|
|
10608
|
-
customValidators?: string[]
|
|
10609
|
-
allowAsProps?: boolean
|
|
10610
|
-
}]
|
|
10611
|
-
// ----- react/no-unused-prop-types -----
|
|
10612
|
-
type ReactNoUnusedPropTypes = []|[{
|
|
10613
|
-
ignore?: string[]
|
|
10614
|
-
customValidators?: string[]
|
|
10615
|
-
skipShapeProps?: boolean
|
|
10616
|
-
}]
|
|
10617
|
-
// ----- react/no-will-update-set-state -----
|
|
10618
|
-
type ReactNoWillUpdateSetState = []|["disallow-in-func"]
|
|
10619
|
-
// ----- react/prefer-es6-class -----
|
|
10620
|
-
type ReactPreferEs6Class = []|[("always" | "never")]
|
|
10621
|
-
// ----- react/prefer-stateless-function -----
|
|
10622
|
-
type ReactPreferStatelessFunction = []|[{
|
|
10623
|
-
ignorePureComponents?: boolean
|
|
10624
|
-
}]
|
|
10625
|
-
// ----- react/prop-types -----
|
|
10626
|
-
type ReactPropTypes = []|[{
|
|
10627
|
-
ignore?: string[]
|
|
10628
|
-
customValidators?: string[]
|
|
10629
|
-
skipUndeclared?: boolean
|
|
10630
|
-
}]
|
|
10631
|
-
// ----- react/require-default-props -----
|
|
10632
|
-
type ReactRequireDefaultProps = []|[{
|
|
10633
|
-
forbidDefaultForRequired?: boolean
|
|
10634
|
-
classes?: ("defaultProps" | "ignore")
|
|
10635
|
-
functions?: ("defaultArguments" | "defaultProps" | "ignore")
|
|
10636
|
-
ignoreFunctionalComponents?: boolean
|
|
10637
|
-
}]
|
|
10638
|
-
// ----- react/require-optimization -----
|
|
10639
|
-
type ReactRequireOptimization = []|[{
|
|
10640
|
-
allowDecorators?: string[]
|
|
10641
|
-
}]
|
|
10642
|
-
// ----- react/self-closing-comp -----
|
|
10643
|
-
type ReactSelfClosingComp = []|[{
|
|
10644
|
-
component?: boolean
|
|
10645
|
-
html?: boolean
|
|
10646
|
-
}]
|
|
10647
|
-
// ----- react/sort-comp -----
|
|
10648
|
-
type ReactSortComp = []|[{
|
|
10649
|
-
order?: string[]
|
|
10650
|
-
groups?: {
|
|
10651
|
-
[k: string]: string[]
|
|
10652
|
-
}
|
|
10653
|
-
}]
|
|
10654
|
-
// ----- react/sort-default-props -----
|
|
10655
|
-
type ReactSortDefaultProps = []|[{
|
|
10656
|
-
ignoreCase?: boolean
|
|
10657
|
-
}]
|
|
10658
|
-
// ----- react/sort-prop-types -----
|
|
10659
|
-
type ReactSortPropTypes = []|[{
|
|
10660
|
-
requiredFirst?: boolean
|
|
10661
|
-
callbacksLast?: boolean
|
|
10662
|
-
ignoreCase?: boolean
|
|
10663
|
-
noSortAlphabetically?: boolean
|
|
10664
|
-
sortShapeProp?: boolean
|
|
10665
|
-
checkTypes?: boolean
|
|
10666
|
-
}]
|
|
10667
|
-
// ----- react/state-in-constructor -----
|
|
10668
|
-
type ReactStateInConstructor = []|[("always" | "never")]
|
|
10669
|
-
// ----- react/static-property-placement -----
|
|
10670
|
-
type ReactStaticPropertyPlacement = []|[("static public field" | "static getter" | "property assignment")]|[("static public field" | "static getter" | "property assignment"), {
|
|
10671
|
-
propTypes?: ("static public field" | "static getter" | "property assignment")
|
|
10672
|
-
defaultProps?: ("static public field" | "static getter" | "property assignment")
|
|
10673
|
-
childContextTypes?: ("static public field" | "static getter" | "property assignment")
|
|
10674
|
-
contextTypes?: ("static public field" | "static getter" | "property assignment")
|
|
10675
|
-
contextType?: ("static public field" | "static getter" | "property assignment")
|
|
10676
|
-
displayName?: ("static public field" | "static getter" | "property assignment")
|
|
10677
|
-
}]
|
|
10678
|
-
// ----- react/style-prop-object -----
|
|
10679
|
-
type ReactStylePropObject = []|[{
|
|
10680
|
-
allow?: string[]
|
|
10681
|
-
[k: string]: unknown | undefined
|
|
10072
|
+
// ----- react-refresh/only-export-components -----
|
|
10073
|
+
type ReactRefreshOnlyExportComponents = []|[{
|
|
10074
|
+
allowConstantExport?: boolean
|
|
10075
|
+
checkJS?: boolean
|
|
10076
|
+
allowExportNames?: string[]
|
|
10682
10077
|
}]
|
|
10683
10078
|
// ----- require-atomic-updates -----
|
|
10684
10079
|
type RequireAtomicUpdates = []|[{
|
|
@@ -11002,6 +10397,8 @@ interface _StyleJsxCurlySpacing_BasicConfig {
|
|
|
11002
10397
|
type StyleJsxEqualsSpacing = []|[("always" | "never")]
|
|
11003
10398
|
// ----- style/jsx-first-prop-new-line -----
|
|
11004
10399
|
type StyleJsxFirstPropNewLine = []|[("always" | "never" | "multiline" | "multiline-multiprop" | "multiprop")]
|
|
10400
|
+
// ----- style/jsx-function-call-newline -----
|
|
10401
|
+
type StyleJsxFunctionCallNewline = []|[("always" | "multiline")]
|
|
11005
10402
|
// ----- style/jsx-indent -----
|
|
11006
10403
|
type StyleJsxIndent = []|[("tab" | number)]|[("tab" | number), {
|
|
11007
10404
|
checkAttributes?: boolean
|
|
@@ -11031,7 +10428,7 @@ type StyleJsxNewline = []|[{
|
|
|
11031
10428
|
}]
|
|
11032
10429
|
// ----- style/jsx-one-expression-per-line -----
|
|
11033
10430
|
type StyleJsxOneExpressionPerLine = []|[{
|
|
11034
|
-
allow?: ("none" | "literal" | "single-child")
|
|
10431
|
+
allow?: ("none" | "literal" | "single-child" | "single-line")
|
|
11035
10432
|
}]
|
|
11036
10433
|
// ----- style/jsx-pascal-case -----
|
|
11037
10434
|
type StyleJsxPascalCase = []|[{
|
|
@@ -11074,6 +10471,7 @@ type StyleJsxWrapMultilines = []|[{
|
|
|
11074
10471
|
condition?: ((true | false | "ignore" | "parens" | "parens-new-line") | (true | false | "ignore" | "parens" | "parens-new-line"))
|
|
11075
10472
|
logical?: ((true | false | "ignore" | "parens" | "parens-new-line") | (true | false | "ignore" | "parens" | "parens-new-line"))
|
|
11076
10473
|
prop?: ((true | false | "ignore" | "parens" | "parens-new-line") | (true | false | "ignore" | "parens" | "parens-new-line"))
|
|
10474
|
+
propertyValue?: ((true | false | "ignore" | "parens" | "parens-new-line") | (true | false | "ignore" | "parens" | "parens-new-line"))
|
|
11077
10475
|
}]
|
|
11078
10476
|
// ----- style/key-spacing -----
|
|
11079
10477
|
type StyleKeySpacing = []|[({
|
|
@@ -11404,6 +10802,13 @@ type StyleKeywordSpacing = []|[{
|
|
|
11404
10802
|
}
|
|
11405
10803
|
}
|
|
11406
10804
|
}]
|
|
10805
|
+
// ----- style/line-comment-position -----
|
|
10806
|
+
type StyleLineCommentPosition = []|[(("above" | "beside") | {
|
|
10807
|
+
position?: ("above" | "beside")
|
|
10808
|
+
ignorePattern?: string
|
|
10809
|
+
applyDefaultPatterns?: boolean
|
|
10810
|
+
applyDefaultIgnorePatterns?: boolean
|
|
10811
|
+
})]
|
|
11407
10812
|
// ----- style/linebreak-style -----
|
|
11408
10813
|
type StyleLinebreakStyle = []|[("unix" | "windows")]
|
|
11409
10814
|
// ----- style/lines-around-comment -----
|
|
@@ -11557,6 +10962,10 @@ interface _StyleMemberDelimiterStyle_DelimiterConfig {
|
|
|
11557
10962
|
requireLast?: boolean
|
|
11558
10963
|
}
|
|
11559
10964
|
}
|
|
10965
|
+
// ----- style/multiline-comment-style -----
|
|
10966
|
+
type StyleMultilineCommentStyle = ([]|[("starred-block" | "bare-block")] | []|["separate-lines"]|["separate-lines", {
|
|
10967
|
+
checkJSDoc?: boolean
|
|
10968
|
+
}])
|
|
11560
10969
|
// ----- style/multiline-ternary -----
|
|
11561
10970
|
type StyleMultilineTernary = []|[("always" | "always-multiline" | "never")]|[("always" | "always-multiline" | "never"), {
|
|
11562
10971
|
ignoreJSX?: boolean
|
|
@@ -14608,7 +14017,7 @@ type VueNoConsole = []|[{
|
|
|
14608
14017
|
}]
|
|
14609
14018
|
// ----- vue/no-constant-condition -----
|
|
14610
14019
|
type VueNoConstantCondition = []|[{
|
|
14611
|
-
checkLoops?:
|
|
14020
|
+
checkLoops?: ("all" | "allExceptWhileTrue" | "none" | true | false)
|
|
14612
14021
|
}]
|
|
14613
14022
|
// ----- vue/no-deprecated-model-definition -----
|
|
14614
14023
|
type VueNoDeprecatedModelDefinition = []|[{
|
|
@@ -15515,7 +14924,7 @@ interface OptionsConfig extends OptionsComponentExts {
|
|
|
15515
14924
|
* Enable react rules.
|
|
15516
14925
|
*
|
|
15517
14926
|
* Requires installing:
|
|
15518
|
-
* -
|
|
14927
|
+
* - `@eslint-react/eslint-plugin`
|
|
15519
14928
|
* - `eslint-plugin-react-hooks`
|
|
15520
14929
|
* - `eslint-plugin-react-refresh`
|
|
15521
14930
|
*
|
|
@@ -15592,6 +15001,10 @@ interface OptionsConfig extends OptionsComponentExts {
|
|
|
15592
15001
|
}
|
|
15593
15002
|
|
|
15594
15003
|
declare const defaultPluginRenaming: {
|
|
15004
|
+
"@eslint-react": string;
|
|
15005
|
+
"@eslint-react/dom": string;
|
|
15006
|
+
"@eslint-react/hooks-extra": string;
|
|
15007
|
+
"@eslint-react/naming-convention": string;
|
|
15595
15008
|
"@stylistic": string;
|
|
15596
15009
|
"@typescript-eslint": string;
|
|
15597
15010
|
"import-x": string;
|
|
@@ -15614,8 +15027,14 @@ type ResolvedOptions<T> = T extends boolean ? never : NonNullable<T>;
|
|
|
15614
15027
|
declare function resolveSubOptions<K extends keyof OptionsConfig>(options: OptionsConfig, key: K): ResolvedOptions<OptionsConfig[K]>;
|
|
15615
15028
|
declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsConfig, key: K): any;
|
|
15616
15029
|
|
|
15030
|
+
declare function astro(options?: OptionsOverrides & OptionsStylistic & OptionsFiles): Promise<TypedFlatConfigItem[]>;
|
|
15031
|
+
|
|
15032
|
+
declare function command(): Promise<TypedFlatConfigItem[]>;
|
|
15033
|
+
|
|
15617
15034
|
declare function comments(): Promise<TypedFlatConfigItem[]>;
|
|
15618
15035
|
|
|
15036
|
+
declare function formatters(options?: OptionsFormatters | true, stylistic?: StylisticConfig): Promise<TypedFlatConfigItem[]>;
|
|
15037
|
+
|
|
15619
15038
|
declare function ignores(): Promise<TypedFlatConfigItem[]>;
|
|
15620
15039
|
|
|
15621
15040
|
declare function imports(options?: OptionsStylistic): Promise<TypedFlatConfigItem[]>;
|
|
@@ -15637,9 +15056,9 @@ declare function node(): Promise<TypedFlatConfigItem[]>;
|
|
|
15637
15056
|
*/
|
|
15638
15057
|
declare function perfectionist(): Promise<TypedFlatConfigItem[]>;
|
|
15639
15058
|
|
|
15640
|
-
declare function
|
|
15059
|
+
declare function react(options?: OptionsTypeScriptWithTypes & OptionsOverrides & OptionsFiles): Promise<TypedFlatConfigItem[]>;
|
|
15641
15060
|
|
|
15642
|
-
declare function
|
|
15061
|
+
declare function solid(options?: OptionsHasTypeScript & OptionsOverrides & OptionsFiles & OptionsTypeScriptWithTypes): Promise<TypedFlatConfigItem[]>;
|
|
15643
15062
|
|
|
15644
15063
|
/**
|
|
15645
15064
|
* Sort package.json
|
|
@@ -15664,6 +15083,8 @@ declare function svelte(options?: OptionsHasTypeScript & OptionsOverrides & Opti
|
|
|
15664
15083
|
|
|
15665
15084
|
declare function test(options?: OptionsFiles & OptionsIsInEditor & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
15666
15085
|
|
|
15086
|
+
declare function toml(options?: OptionsOverrides & OptionsStylistic & OptionsFiles): Promise<TypedFlatConfigItem[]>;
|
|
15087
|
+
|
|
15667
15088
|
declare function typescript(options?: OptionsFiles & OptionsComponentExts & OptionsOverrides & OptionsTypeScriptWithTypes & OptionsTypeScriptParserOptions): Promise<TypedFlatConfigItem[]>;
|
|
15668
15089
|
|
|
15669
15090
|
declare function unicorn(): Promise<TypedFlatConfigItem[]>;
|
|
@@ -15674,12 +15095,6 @@ declare function vue(options?: OptionsVue & OptionsHasTypeScript & OptionsOverri
|
|
|
15674
15095
|
|
|
15675
15096
|
declare function yaml(options?: OptionsOverrides & OptionsStylistic & OptionsFiles): Promise<TypedFlatConfigItem[]>;
|
|
15676
15097
|
|
|
15677
|
-
declare function toml(options?: OptionsOverrides & OptionsStylistic & OptionsFiles): Promise<TypedFlatConfigItem[]>;
|
|
15678
|
-
|
|
15679
|
-
declare function astro(options?: OptionsOverrides & OptionsStylistic & OptionsFiles): Promise<TypedFlatConfigItem[]>;
|
|
15680
|
-
|
|
15681
|
-
declare function solid(options?: OptionsHasTypeScript & OptionsOverrides & OptionsFiles & OptionsTypeScriptWithTypes): Promise<TypedFlatConfigItem[]>;
|
|
15682
|
-
|
|
15683
15098
|
declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
15684
15099
|
declare const GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
|
|
15685
15100
|
declare const GLOB_JS = "**/*.?([cm])js";
|
|
@@ -15779,4 +15194,4 @@ declare function interopDefault<T>(m: Awaitable<T>): Promise<T extends {
|
|
|
15779
15194
|
} ? U : T>;
|
|
15780
15195
|
declare function ensurePackages(packages: (string | undefined)[]): Promise<void>;
|
|
15781
15196
|
|
|
15782
|
-
export { type Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsUnoCSS, type OptionsVue, type ResolvedOptions, type Rules, type StylisticConfig, StylisticConfigDefaults, type StylisticOptions, type TypedFlatConfigItem, astro, combine, comments, kirklin as default, defaultPluginRenaming, ensurePackages, formatters, getOverrides, ignores, imports, interopDefault, javascript, jsdoc, jsonc, kirklin, markdown, node, parserPlain, perfectionist, react, renamePluginInConfigs, renameRules, resolveSubOptions, solid, sortPackageJson, sortTsconfig, stylistic, svelte, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };
|
|
15197
|
+
export { type Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsUnoCSS, type OptionsVue, type ResolvedOptions, type Rules, type StylisticConfig, StylisticConfigDefaults, type StylisticOptions, type TypedFlatConfigItem, astro, combine, command, comments, kirklin as default, defaultPluginRenaming, ensurePackages, formatters, getOverrides, ignores, imports, interopDefault, javascript, jsdoc, jsonc, kirklin, markdown, node, parserPlain, perfectionist, react, renamePluginInConfigs, renameRules, resolveSubOptions, solid, sortPackageJson, sortTsconfig, stylistic, svelte, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };
|