@zayne-labs/eslint-config 0.9.17 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.js +1 -1
- package/dist/cli/index.js.map +1 -1
- package/dist/index.d.ts +357 -320
- package/dist/index.js +68 -59
- package/dist/index.js.map +1 -1
- package/dist/src-DwSufEpw.js +1769 -0
- package/dist/src-DwSufEpw.js.map +1 -0
- package/package.json +46 -42
package/dist/index.d.ts
CHANGED
|
@@ -496,10 +496,20 @@ interface Rules {
|
|
|
496
496
|
*/
|
|
497
497
|
'expo/no-dynamic-env-var'?: Linter.RuleEntry<[]>;
|
|
498
498
|
/**
|
|
499
|
-
* Disallow
|
|
499
|
+
* Disallow destructuring of environment variables
|
|
500
500
|
* @see https://github.com/expo/expo/blob/main/packages/eslint-plugin-expo/docs/rules/no-env-var-destructuring.md
|
|
501
501
|
*/
|
|
502
502
|
'expo/no-env-var-destructuring'?: Linter.RuleEntry<[]>;
|
|
503
|
+
/**
|
|
504
|
+
* Box shadow is a simpler, more consistent way of defining shadows on components. It is recommended for web builds.
|
|
505
|
+
* @see https://github.com/expo/expo/blob/main/packages/eslint-plugin-expo/docs/rules/prefer-box-shadow.md
|
|
506
|
+
*/
|
|
507
|
+
'expo/prefer-box-shadow'?: Linter.RuleEntry<[]>;
|
|
508
|
+
/**
|
|
509
|
+
* Files with the "use dom" directive may only contain a single default export of a React component, which must not be async and must be a function.
|
|
510
|
+
* @see https://github.com/expo/expo/blob/main/packages/eslint-plugin-expo/docs/rules/use-dom-exports.md
|
|
511
|
+
*/
|
|
512
|
+
'expo/use-dom-exports'?: Linter.RuleEntry<[]>;
|
|
503
513
|
/**
|
|
504
514
|
* Enforce `for` loop update clause moving the counter in the right direction
|
|
505
515
|
* @see https://eslint.org/docs/latest/rules/for-direction
|
|
@@ -1001,6 +1011,11 @@ interface Rules {
|
|
|
1001
1011
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-undefined-types.md#repos-sticky-header
|
|
1002
1012
|
*/
|
|
1003
1013
|
'jsdoc/no-undefined-types'?: Linter.RuleEntry<JsdocNoUndefinedTypes>;
|
|
1014
|
+
/**
|
|
1015
|
+
* Prefer `@import` tags to inline `import()` statements.
|
|
1016
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/prefer-import-tag.md#repos-sticky-header
|
|
1017
|
+
*/
|
|
1018
|
+
'jsdoc/prefer-import-tag'?: Linter.RuleEntry<JsdocPreferImportTag>;
|
|
1004
1019
|
/**
|
|
1005
1020
|
* Reports use of `any` or `*` type
|
|
1006
1021
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/reject-any-type.md#repos-sticky-header
|
|
@@ -1167,7 +1182,7 @@ interface Rules {
|
|
|
1167
1182
|
*/
|
|
1168
1183
|
'jsdoc/sort-tags'?: Linter.RuleEntry<JsdocSortTags>;
|
|
1169
1184
|
/**
|
|
1170
|
-
* Enforces lines (or no lines) between tags.
|
|
1185
|
+
* Enforces lines (or no lines) before, after, or between tags.
|
|
1171
1186
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/tag-lines.md#repos-sticky-header
|
|
1172
1187
|
*/
|
|
1173
1188
|
'jsdoc/tag-lines'?: Linter.RuleEntry<JsdocTagLines>;
|
|
@@ -2519,12 +2534,12 @@ interface Rules {
|
|
|
2519
2534
|
*/
|
|
2520
2535
|
'node/no-hide-core-modules'?: Linter.RuleEntry<NodeNoHideCoreModules>;
|
|
2521
2536
|
/**
|
|
2522
|
-
* disallow `import` declarations which import
|
|
2537
|
+
* disallow `import` declarations which import missing modules
|
|
2523
2538
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-missing-import.md
|
|
2524
2539
|
*/
|
|
2525
2540
|
'node/no-missing-import'?: Linter.RuleEntry<NodeNoMissingImport>;
|
|
2526
2541
|
/**
|
|
2527
|
-
* disallow `require()` expressions which import
|
|
2542
|
+
* disallow `require()` expressions which import missing modules
|
|
2528
2543
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-missing-require.md
|
|
2529
2544
|
*/
|
|
2530
2545
|
'node/no-missing-require'?: Linter.RuleEntry<NodeNoMissingRequire>;
|
|
@@ -2970,16 +2985,6 @@ interface Rules {
|
|
|
2970
2985
|
* @see https://eslint-react.xyz/docs/rules/debug-jsx
|
|
2971
2986
|
*/
|
|
2972
2987
|
'react-debug/jsx'?: Linter.RuleEntry<[]>;
|
|
2973
|
-
/**
|
|
2974
|
-
* Reports all React Hooks.
|
|
2975
|
-
* @see https://eslint-react.xyz/docs/rules/debug-hook
|
|
2976
|
-
*/
|
|
2977
|
-
'react-debug/react-hooks'?: Linter.RuleEntry<[]>;
|
|
2978
|
-
/**
|
|
2979
|
-
* Disallow `children` in void DOM elements.
|
|
2980
|
-
* @see https://eslint-react.xyz/docs/rules/dom-no-void-elements-with-children
|
|
2981
|
-
*/
|
|
2982
|
-
'react-dom/no-children-in-void-dom-elements'?: Linter.RuleEntry<[]>;
|
|
2983
2988
|
/**
|
|
2984
2989
|
* Disallow `dangerouslySetInnerHTML`.
|
|
2985
2990
|
* @see https://eslint-react.xyz/docs/rules/dom-no-dangerously-set-innerhtml
|
|
@@ -3035,6 +3040,11 @@ interface Rules {
|
|
|
3035
3040
|
* @see https://eslint-react.xyz/docs/rules/dom-no-script-url
|
|
3036
3041
|
*/
|
|
3037
3042
|
'react-dom/no-script-url'?: Linter.RuleEntry<[]>;
|
|
3043
|
+
/**
|
|
3044
|
+
* Disallows the use of string style prop.
|
|
3045
|
+
* @see https://eslint-react.xyz/docs/rules/dom-no-string-style-prop
|
|
3046
|
+
*/
|
|
3047
|
+
'react-dom/no-string-style-prop'?: Linter.RuleEntry<[]>;
|
|
3038
3048
|
/**
|
|
3039
3049
|
* Disallow unknown `DOM` property.
|
|
3040
3050
|
* @see https://eslint-react.xyz/docs/rules/dom-no-unknown-property
|
|
@@ -3060,61 +3070,11 @@ interface Rules {
|
|
|
3060
3070
|
* @see https://eslint-react.xyz/docs/rules/dom-no-void-elements-with-children
|
|
3061
3071
|
*/
|
|
3062
3072
|
'react-dom/no-void-elements-with-children'?: Linter.RuleEntry<[]>;
|
|
3063
|
-
/**
|
|
3064
|
-
* Enforces that a function with the `use` prefix should use at least one Hook inside of it.
|
|
3065
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-prefix
|
|
3066
|
-
*/
|
|
3067
|
-
'react-hooks-extra/ensure-custom-hooks-using-other-hooks'?: Linter.RuleEntry<[]>;
|
|
3068
|
-
/**
|
|
3069
|
-
* Disallow unnecessary usage of `useCallback`.
|
|
3070
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-callback
|
|
3071
|
-
*/
|
|
3072
|
-
'react-hooks-extra/ensure-use-callback-has-non-empty-deps'?: Linter.RuleEntry<[]>;
|
|
3073
|
-
/**
|
|
3074
|
-
* Disallow unnecessary usage of `useMemo`.
|
|
3075
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-memo
|
|
3076
|
-
*/
|
|
3077
|
-
'react-hooks-extra/ensure-use-memo-has-non-empty-deps'?: Linter.RuleEntry<[]>;
|
|
3078
3073
|
/**
|
|
3079
3074
|
* Disallow direct calls to the `set` function of `useState` in `useEffect`.
|
|
3080
3075
|
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-effect
|
|
3081
3076
|
*/
|
|
3082
3077
|
'react-hooks-extra/no-direct-set-state-in-use-effect'?: Linter.RuleEntry<[]>;
|
|
3083
|
-
/**
|
|
3084
|
-
* Disallow direct calls to the `set` function of `useState` in `useLayoutEffect`.
|
|
3085
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-layout-effect
|
|
3086
|
-
*/
|
|
3087
|
-
'react-hooks-extra/no-direct-set-state-in-use-layout-effect'?: Linter.RuleEntry<[]>;
|
|
3088
|
-
/**
|
|
3089
|
-
* Enforces that a function with the `use` prefix should use at least one Hook inside of it.
|
|
3090
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-prefix
|
|
3091
|
-
*/
|
|
3092
|
-
'react-hooks-extra/no-redundant-custom-hook'?: Linter.RuleEntry<[]>;
|
|
3093
|
-
/**
|
|
3094
|
-
* Disallow unnecessary usage of `useCallback`.
|
|
3095
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-callback
|
|
3096
|
-
*/
|
|
3097
|
-
'react-hooks-extra/no-unnecessary-use-callback'?: Linter.RuleEntry<[]>;
|
|
3098
|
-
/**
|
|
3099
|
-
* Disallow unnecessary usage of `useMemo`.
|
|
3100
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-memo
|
|
3101
|
-
*/
|
|
3102
|
-
'react-hooks-extra/no-unnecessary-use-memo'?: Linter.RuleEntry<[]>;
|
|
3103
|
-
/**
|
|
3104
|
-
* Enforces that a function with the `use` prefix should use at least one Hook inside of it.
|
|
3105
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-prefix
|
|
3106
|
-
*/
|
|
3107
|
-
'react-hooks-extra/no-unnecessary-use-prefix'?: Linter.RuleEntry<[]>;
|
|
3108
|
-
/**
|
|
3109
|
-
* Enforces that a function with the `use` prefix should use at least one Hook inside of it.
|
|
3110
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-prefix
|
|
3111
|
-
*/
|
|
3112
|
-
'react-hooks-extra/no-useless-custom-hooks'?: Linter.RuleEntry<[]>;
|
|
3113
|
-
/**
|
|
3114
|
-
* Enforces function calls made inside `useState` to be wrapped in an `initializer function`.
|
|
3115
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-prefer-use-state-lazy-initialization
|
|
3116
|
-
*/
|
|
3117
|
-
'react-hooks-extra/prefer-use-state-lazy-initialization'?: Linter.RuleEntry<[]>;
|
|
3118
3078
|
/**
|
|
3119
3079
|
* verifies the list of dependencies for Hooks like useEffect and similar
|
|
3120
3080
|
* @see https://github.com/facebook/react/issues/14920
|
|
@@ -3171,321 +3131,363 @@ interface Rules {
|
|
|
3171
3131
|
* @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-timeout
|
|
3172
3132
|
*/
|
|
3173
3133
|
'react-web-api/no-leaked-timeout'?: Linter.RuleEntry<[]>;
|
|
3174
|
-
/**
|
|
3175
|
-
* Enforces explicit boolean values for boolean attributes.
|
|
3176
|
-
* @see https://eslint-react.xyz/docs/rules/avoid-shorthand-boolean
|
|
3177
|
-
*/
|
|
3178
|
-
'react/avoid-shorthand-boolean'?: Linter.RuleEntry<[]>;
|
|
3179
|
-
/**
|
|
3180
|
-
* Enforces explicit `<Fragment>` components instead of the shorthand `<>` or `</>` syntax.
|
|
3181
|
-
* @see https://eslint-react.xyz/docs/rules/avoid-shorthand-fragment
|
|
3182
|
-
*/
|
|
3183
|
-
'react/avoid-shorthand-fragment'?: Linter.RuleEntry<[]>;
|
|
3184
|
-
/**
|
|
3185
|
-
* Disallow useless `forwardRef` calls on components that don't use `ref`s.
|
|
3186
|
-
* @see https://eslint-react.xyz/docs/rules/no-useless-forward-ref
|
|
3187
|
-
*/
|
|
3188
|
-
'react/ensure-forward-ref-using-ref'?: Linter.RuleEntry<[]>;
|
|
3189
3134
|
/**
|
|
3190
3135
|
* Enforces that the 'key' attribute is placed before the spread attribute in JSX elements.
|
|
3191
3136
|
* @see https://eslint-react.xyz/docs/rules/jsx-key-before-spread
|
|
3192
3137
|
*/
|
|
3193
|
-
'react/jsx-key-before-spread'?: Linter.RuleEntry<[]>;
|
|
3138
|
+
'react-x/jsx-key-before-spread'?: Linter.RuleEntry<[]>;
|
|
3139
|
+
/**
|
|
3140
|
+
* Prevents comments from being inserted as text nodes.
|
|
3141
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-no-comment-textnodes
|
|
3142
|
+
*/
|
|
3143
|
+
'react-x/jsx-no-comment-textnodes'?: Linter.RuleEntry<[]>;
|
|
3194
3144
|
/**
|
|
3195
3145
|
* Disallow duplicate props in JSX elements.
|
|
3196
3146
|
* @see https://eslint-react.xyz/docs/rules/jsx-no-duplicate-props
|
|
3197
3147
|
*/
|
|
3198
|
-
'react/jsx-no-duplicate-props'?: Linter.RuleEntry<[]>;
|
|
3148
|
+
'react-x/jsx-no-duplicate-props'?: Linter.RuleEntry<[]>;
|
|
3199
3149
|
/**
|
|
3200
3150
|
* Disallows 'IIFE' in JSX elements.
|
|
3201
3151
|
* @see https://eslint-react.xyz/docs/rules/jsx-no-iife
|
|
3202
3152
|
*/
|
|
3203
|
-
'react/jsx-no-iife'?: Linter.RuleEntry<[]>;
|
|
3153
|
+
'react-x/jsx-no-iife'?: Linter.RuleEntry<[]>;
|
|
3204
3154
|
/**
|
|
3205
3155
|
* Disallow undefined variables in JSX.
|
|
3206
3156
|
* @see https://eslint-react.xyz/docs/rules/jsx-no-undef
|
|
3207
3157
|
*/
|
|
3208
|
-
'react/jsx-no-undef'?: Linter.RuleEntry<[]>;
|
|
3158
|
+
'react-x/jsx-no-undef'?: Linter.RuleEntry<[]>;
|
|
3159
|
+
/**
|
|
3160
|
+
* Enforces shorthand syntax for boolean attributes.
|
|
3161
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-shorthand-boolean
|
|
3162
|
+
*/
|
|
3163
|
+
'react-x/jsx-shorthand-boolean'?: Linter.RuleEntry<ReactXJsxShorthandBoolean>;
|
|
3164
|
+
/**
|
|
3165
|
+
* Enforces shorthand syntax for fragments.
|
|
3166
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-shorthand-fragment
|
|
3167
|
+
*/
|
|
3168
|
+
'react-x/jsx-shorthand-fragment'?: Linter.RuleEntry<ReactXJsxShorthandFragment>;
|
|
3209
3169
|
/**
|
|
3210
3170
|
* Marks React variables as used when JSX is used.
|
|
3211
3171
|
* @see https://eslint-react.xyz/docs/rules/jsx-uses-react
|
|
3212
3172
|
*/
|
|
3213
|
-
'react/jsx-uses-react'?: Linter.RuleEntry<[]>;
|
|
3173
|
+
'react-x/jsx-uses-react'?: Linter.RuleEntry<[]>;
|
|
3214
3174
|
/**
|
|
3215
3175
|
* Marks variables used in JSX elements as used.
|
|
3216
3176
|
* @see https://eslint-react.xyz/docs/rules/jsx-uses-vars
|
|
3217
3177
|
*/
|
|
3218
|
-
'react/jsx-uses-vars'?: Linter.RuleEntry<[]>;
|
|
3178
|
+
'react-x/jsx-uses-vars'?: Linter.RuleEntry<[]>;
|
|
3219
3179
|
/**
|
|
3220
3180
|
* Disallow accessing `this.state` inside `setState` calls.
|
|
3221
3181
|
* @see https://eslint-react.xyz/docs/rules/no-access-state-in-setstate
|
|
3222
3182
|
*/
|
|
3223
|
-
'react/no-access-state-in-setstate'?: Linter.RuleEntry<[]>;
|
|
3183
|
+
'react-x/no-access-state-in-setstate'?: Linter.RuleEntry<[]>;
|
|
3224
3184
|
/**
|
|
3225
3185
|
* Disallow an item's index in the array as its key.
|
|
3226
3186
|
* @see https://eslint-react.xyz/docs/rules/no-array-index-key
|
|
3227
3187
|
*/
|
|
3228
|
-
'react/no-array-index-key'?: Linter.RuleEntry<[]>;
|
|
3188
|
+
'react-x/no-array-index-key'?: Linter.RuleEntry<[]>;
|
|
3229
3189
|
/**
|
|
3230
3190
|
* Disallow `Children.count`.
|
|
3231
3191
|
* @see https://eslint-react.xyz/docs/rules/no-children-count
|
|
3232
3192
|
*/
|
|
3233
|
-
'react/no-children-count'?: Linter.RuleEntry<[]>;
|
|
3193
|
+
'react-x/no-children-count'?: Linter.RuleEntry<[]>;
|
|
3234
3194
|
/**
|
|
3235
3195
|
* Disallow 'Children.forEach'.
|
|
3236
3196
|
* @see https://eslint-react.xyz/docs/rules/no-children-for-each
|
|
3237
3197
|
*/
|
|
3238
|
-
'react/no-children-for-each'?: Linter.RuleEntry<[]>;
|
|
3198
|
+
'react-x/no-children-for-each'?: Linter.RuleEntry<[]>;
|
|
3239
3199
|
/**
|
|
3240
3200
|
* Disallow `Children.map`.
|
|
3241
3201
|
* @see https://eslint-react.xyz/docs/rules/no-children-map
|
|
3242
3202
|
*/
|
|
3243
|
-
'react/no-children-map'?: Linter.RuleEntry<[]>;
|
|
3203
|
+
'react-x/no-children-map'?: Linter.RuleEntry<[]>;
|
|
3244
3204
|
/**
|
|
3245
3205
|
* Disallow `Children.only`.
|
|
3246
3206
|
* @see https://eslint-react.xyz/docs/rules/no-children-only
|
|
3247
3207
|
*/
|
|
3248
|
-
'react/no-children-only'?: Linter.RuleEntry<[]>;
|
|
3208
|
+
'react-x/no-children-only'?: Linter.RuleEntry<[]>;
|
|
3249
3209
|
/**
|
|
3250
3210
|
* Disallow passing `children` as a prop.
|
|
3251
3211
|
* @see https://eslint-react.xyz/docs/rules/no-children-prop
|
|
3252
3212
|
*/
|
|
3253
|
-
'react/no-children-prop'?: Linter.RuleEntry<[]>;
|
|
3213
|
+
'react-x/no-children-prop'?: Linter.RuleEntry<[]>;
|
|
3254
3214
|
/**
|
|
3255
3215
|
* Disallow `Children.toArray`.
|
|
3256
3216
|
* @see https://eslint-react.xyz/docs/rules/no-children-to-array
|
|
3257
3217
|
*/
|
|
3258
|
-
'react/no-children-to-array'?: Linter.RuleEntry<[]>;
|
|
3218
|
+
'react-x/no-children-to-array'?: Linter.RuleEntry<[]>;
|
|
3259
3219
|
/**
|
|
3260
3220
|
* Disallow class components except for error boundaries.
|
|
3261
3221
|
* @see https://eslint-react.xyz/docs/rules/no-class-component
|
|
3262
3222
|
*/
|
|
3263
|
-
'react/no-class-component'?: Linter.RuleEntry<[]>;
|
|
3223
|
+
'react-x/no-class-component'?: Linter.RuleEntry<[]>;
|
|
3264
3224
|
/**
|
|
3265
3225
|
* Disallow `cloneElement`.
|
|
3266
3226
|
* @see https://eslint-react.xyz/docs/rules/no-clone-element
|
|
3267
3227
|
*/
|
|
3268
|
-
'react/no-clone-element'?: Linter.RuleEntry<[]>;
|
|
3269
|
-
/**
|
|
3270
|
-
* Prevents comments from being inserted as text nodes.
|
|
3271
|
-
* @see https://eslint-react.xyz/docs/rules/no-comment-textnodes
|
|
3272
|
-
*/
|
|
3273
|
-
'react/no-comment-textnodes'?: Linter.RuleEntry<[]>;
|
|
3274
|
-
/**
|
|
3275
|
-
* Disallow complex conditional rendering in JSX expressions.
|
|
3276
|
-
* @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
|
|
3277
|
-
*/
|
|
3278
|
-
'react/no-complex-conditional-rendering'?: Linter.RuleEntry<[]>;
|
|
3279
|
-
/**
|
|
3280
|
-
* Disallow complex conditional rendering in JSX expressions.
|
|
3281
|
-
* @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
|
|
3282
|
-
*/
|
|
3283
|
-
'react/no-complicated-conditional-rendering'?: Linter.RuleEntry<[]>;
|
|
3228
|
+
'react-x/no-clone-element'?: Linter.RuleEntry<[]>;
|
|
3284
3229
|
/**
|
|
3285
3230
|
* Replace usages of `componentWillMount` with `UNSAFE_componentWillMount`.
|
|
3286
3231
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-mount
|
|
3287
3232
|
*/
|
|
3288
|
-
'react/no-component-will-mount'?: Linter.RuleEntry<[]>;
|
|
3233
|
+
'react-x/no-component-will-mount'?: Linter.RuleEntry<[]>;
|
|
3289
3234
|
/**
|
|
3290
3235
|
* Replace usages of `componentWillReceiveProps` with `UNSAFE_componentWillReceiveProps`.
|
|
3291
3236
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-receive-props
|
|
3292
3237
|
*/
|
|
3293
|
-
'react/no-component-will-receive-props'?: Linter.RuleEntry<[]>;
|
|
3238
|
+
'react-x/no-component-will-receive-props'?: Linter.RuleEntry<[]>;
|
|
3294
3239
|
/**
|
|
3295
3240
|
* Replace usages of `componentWillUpdate` with `UNSAFE_componentWillUpdate`.
|
|
3296
3241
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-update
|
|
3297
3242
|
*/
|
|
3298
|
-
'react/no-component-will-update'?: Linter.RuleEntry<[]>;
|
|
3243
|
+
'react-x/no-component-will-update'?: Linter.RuleEntry<[]>;
|
|
3299
3244
|
/**
|
|
3300
3245
|
* Replace usages of `<Context.Provider>` with `<Context>`.
|
|
3301
3246
|
* @see https://eslint-react.xyz/docs/rules/no-context-provider
|
|
3302
3247
|
*/
|
|
3303
|
-
'react/no-context-provider'?: Linter.RuleEntry<[]>;
|
|
3248
|
+
'react-x/no-context-provider'?: Linter.RuleEntry<[]>;
|
|
3304
3249
|
/**
|
|
3305
3250
|
* Disallow `createRef` in function components.
|
|
3306
3251
|
* @see https://eslint-react.xyz/docs/rules/no-create-ref
|
|
3307
3252
|
*/
|
|
3308
|
-
'react/no-create-ref'?: Linter.RuleEntry<[]>;
|
|
3253
|
+
'react-x/no-create-ref'?: Linter.RuleEntry<[]>;
|
|
3309
3254
|
/**
|
|
3310
3255
|
* Disallow `defaultProps` property in favor of ES6 default parameters.
|
|
3311
3256
|
* @see https://eslint-react.xyz/docs/rules/no-default-props
|
|
3312
3257
|
*/
|
|
3313
|
-
'react/no-default-props'?: Linter.RuleEntry<[]>;
|
|
3258
|
+
'react-x/no-default-props'?: Linter.RuleEntry<[]>;
|
|
3314
3259
|
/**
|
|
3315
3260
|
* Disallow direct mutation of `this.state`.
|
|
3316
3261
|
* @see https://eslint-react.xyz/docs/rules/no-direct-mutation-state
|
|
3317
3262
|
*/
|
|
3318
|
-
'react/no-direct-mutation-state'?: Linter.RuleEntry<[]>;
|
|
3319
|
-
/**
|
|
3320
|
-
* Disallow duplicate props in JSX elements.
|
|
3321
|
-
* @see https://eslint-react.xyz/docs/rules/jsx-no-duplicate-props
|
|
3322
|
-
*/
|
|
3323
|
-
'react/no-duplicate-jsx-props'?: Linter.RuleEntry<[]>;
|
|
3263
|
+
'react-x/no-direct-mutation-state'?: Linter.RuleEntry<[]>;
|
|
3324
3264
|
/**
|
|
3325
3265
|
* Disallow duplicate `key` on elements in the same array or a list of `children`.
|
|
3326
3266
|
* @see https://eslint-react.xyz/docs/rules/no-duplicate-key
|
|
3327
3267
|
*/
|
|
3328
|
-
'react/no-duplicate-key'?: Linter.RuleEntry<[]>;
|
|
3268
|
+
'react-x/no-duplicate-key'?: Linter.RuleEntry<[]>;
|
|
3269
|
+
/**
|
|
3270
|
+
* Disallow certain props on components.
|
|
3271
|
+
* @see https://eslint-react.xyz/docs/rules/no-forbidden-props
|
|
3272
|
+
*/
|
|
3273
|
+
'react-x/no-forbidden-props'?: Linter.RuleEntry<ReactXNoForbiddenProps>;
|
|
3329
3274
|
/**
|
|
3330
3275
|
* Replaces usages of `forwardRef` with passing `ref` as a prop.
|
|
3331
3276
|
* @see https://eslint-react.xyz/docs/rules/no-forward-ref
|
|
3332
3277
|
*/
|
|
3333
|
-
'react/no-forward-ref'?: Linter.RuleEntry<[]>;
|
|
3278
|
+
'react-x/no-forward-ref'?: Linter.RuleEntry<[]>;
|
|
3334
3279
|
/**
|
|
3335
3280
|
* Prevents `key` from not being explicitly specified (e.g. spreading `key` from objects).
|
|
3336
3281
|
* @see https://eslint-react.xyz/docs/rules/no-implicit-key
|
|
3337
3282
|
*/
|
|
3338
|
-
'react/no-implicit-key'?: Linter.RuleEntry<[]>;
|
|
3283
|
+
'react-x/no-implicit-key'?: Linter.RuleEntry<[]>;
|
|
3339
3284
|
/**
|
|
3340
3285
|
* Prevents problematic leaked values from being rendered.
|
|
3341
3286
|
* @see https://eslint-react.xyz/docs/rules/no-leaked-conditional-rendering
|
|
3342
3287
|
*/
|
|
3343
|
-
'react/no-leaked-conditional-rendering'?: Linter.RuleEntry<[]>;
|
|
3288
|
+
'react-x/no-leaked-conditional-rendering'?: Linter.RuleEntry<[]>;
|
|
3344
3289
|
/**
|
|
3345
3290
|
* Enforces that all components have a `displayName` which can be used in devtools.
|
|
3346
3291
|
* @see https://eslint-react.xyz/docs/rules/no-missing-component-display-name
|
|
3347
3292
|
*/
|
|
3348
|
-
'react/no-missing-component-display-name'?: Linter.RuleEntry<[]>;
|
|
3293
|
+
'react-x/no-missing-component-display-name'?: Linter.RuleEntry<[]>;
|
|
3349
3294
|
/**
|
|
3350
3295
|
* Enforces that all contexts have a `displayName` which can be used in devtools.
|
|
3351
3296
|
* @see https://eslint-react.xyz/docs/rules/no-missing-context-display-name
|
|
3352
3297
|
*/
|
|
3353
|
-
'react/no-missing-context-display-name'?: Linter.RuleEntry<[]>;
|
|
3298
|
+
'react-x/no-missing-context-display-name'?: Linter.RuleEntry<[]>;
|
|
3354
3299
|
/**
|
|
3355
3300
|
* Disallow missing `key` on items in list rendering.
|
|
3356
3301
|
* @see https://eslint-react.xyz/docs/rules/no-missing-key
|
|
3357
3302
|
*/
|
|
3358
|
-
'react/no-missing-key'?: Linter.RuleEntry<[]>;
|
|
3303
|
+
'react-x/no-missing-key'?: Linter.RuleEntry<[]>;
|
|
3359
3304
|
/**
|
|
3360
3305
|
* Prevents incorrect usage of `captureOwnerStack`.
|
|
3361
3306
|
* @see https://eslint-react.xyz/docs/rules/no-misused-capture-owner-stack
|
|
3362
3307
|
*/
|
|
3363
|
-
'react/no-misused-capture-owner-stack'?: Linter.RuleEntry<[]>;
|
|
3364
|
-
/**
|
|
3365
|
-
* Disallow nesting component definitions inside other components.
|
|
3366
|
-
* @see https://eslint-react.xyz/docs/rules/no-nested-component-definitions
|
|
3367
|
-
*/
|
|
3368
|
-
'react/no-nested-component-definitions'?: Linter.RuleEntry<[]>;
|
|
3308
|
+
'react-x/no-misused-capture-owner-stack'?: Linter.RuleEntry<[]>;
|
|
3369
3309
|
/**
|
|
3370
3310
|
* Disallow nesting component definitions inside other components.
|
|
3371
3311
|
* @see https://eslint-react.xyz/docs/rules/no-nested-component-definitions
|
|
3372
3312
|
*/
|
|
3373
|
-
'react/no-nested-
|
|
3313
|
+
'react-x/no-nested-component-definitions'?: Linter.RuleEntry<[]>;
|
|
3374
3314
|
/**
|
|
3375
3315
|
* Disallow nesting lazy component declarations inside other components.
|
|
3376
3316
|
* @see https://eslint-react.xyz/docs/rules/no-nested-lazy-component-declarations
|
|
3377
3317
|
*/
|
|
3378
|
-
'react/no-nested-lazy-component-declarations'?: Linter.RuleEntry<[]>;
|
|
3318
|
+
'react-x/no-nested-lazy-component-declarations'?: Linter.RuleEntry<[]>;
|
|
3379
3319
|
/**
|
|
3380
3320
|
* Disallow `propTypes` in favor of TypeScript or another type-checking solution.
|
|
3381
3321
|
* @see https://eslint-react.xyz/docs/rules/no-prop-types
|
|
3382
3322
|
*/
|
|
3383
|
-
'react/no-prop-types'?: Linter.RuleEntry<[]>;
|
|
3323
|
+
'react-x/no-prop-types'?: Linter.RuleEntry<[]>;
|
|
3384
3324
|
/**
|
|
3385
3325
|
* Disallow `shouldComponentUpdate` when extending `React.PureComponent`.
|
|
3386
3326
|
* @see https://eslint-react.xyz/docs/rules/no-redundant-should-component-update
|
|
3387
3327
|
*/
|
|
3388
|
-
'react/no-redundant-should-component-update'?: Linter.RuleEntry<[]>;
|
|
3328
|
+
'react-x/no-redundant-should-component-update'?: Linter.RuleEntry<[]>;
|
|
3389
3329
|
/**
|
|
3390
3330
|
* Disallow calling `this.setState` in `componentDidMount` outside of functions, such as callbacks.
|
|
3391
3331
|
* @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-mount
|
|
3392
3332
|
*/
|
|
3393
|
-
'react/no-set-state-in-component-did-mount'?: Linter.RuleEntry<[]>;
|
|
3333
|
+
'react-x/no-set-state-in-component-did-mount'?: Linter.RuleEntry<[]>;
|
|
3394
3334
|
/**
|
|
3395
3335
|
* Disallow calling `this.setState` in `componentDidUpdate` outside of functions, such as callbacks.
|
|
3396
3336
|
* @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-update
|
|
3397
3337
|
*/
|
|
3398
|
-
'react/no-set-state-in-component-did-update'?: Linter.RuleEntry<[]>;
|
|
3338
|
+
'react-x/no-set-state-in-component-did-update'?: Linter.RuleEntry<[]>;
|
|
3399
3339
|
/**
|
|
3400
3340
|
* Disallows calling `this.setState` in `componentWillUpdate` outside of functions, such as callbacks.
|
|
3401
3341
|
* @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-will-update
|
|
3402
3342
|
*/
|
|
3403
|
-
'react/no-set-state-in-component-will-update'?: Linter.RuleEntry<[]>;
|
|
3343
|
+
'react-x/no-set-state-in-component-will-update'?: Linter.RuleEntry<[]>;
|
|
3404
3344
|
/**
|
|
3405
3345
|
* Replaces string refs with callback refs.
|
|
3406
3346
|
* @see https://eslint-react.xyz/docs/rules/no-string-refs
|
|
3407
3347
|
*/
|
|
3408
|
-
'react/no-string-refs'?: Linter.RuleEntry<[]>;
|
|
3348
|
+
'react-x/no-string-refs'?: Linter.RuleEntry<[]>;
|
|
3349
|
+
/**
|
|
3350
|
+
* Prevents the use of unnecessary `key` props on JSX elements when rendering lists.
|
|
3351
|
+
* @see https://eslint-react.xyz/docs/rules/no-unnecessary-key
|
|
3352
|
+
*/
|
|
3353
|
+
'react-x/no-unnecessary-key'?: Linter.RuleEntry<[]>;
|
|
3354
|
+
/**
|
|
3355
|
+
* Disallow unnecessary usage of `useCallback`.
|
|
3356
|
+
* @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-callback
|
|
3357
|
+
*/
|
|
3358
|
+
'react-x/no-unnecessary-use-callback'?: Linter.RuleEntry<[]>;
|
|
3359
|
+
/**
|
|
3360
|
+
* Disallow unnecessary usage of `useMemo`.
|
|
3361
|
+
* @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-memo
|
|
3362
|
+
*/
|
|
3363
|
+
'react-x/no-unnecessary-use-memo'?: Linter.RuleEntry<[]>;
|
|
3364
|
+
/**
|
|
3365
|
+
* Enforces that a function with the `use` prefix should use at least one Hook inside of it.
|
|
3366
|
+
* @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-prefix
|
|
3367
|
+
*/
|
|
3368
|
+
'react-x/no-unnecessary-use-prefix'?: Linter.RuleEntry<[]>;
|
|
3409
3369
|
/**
|
|
3410
3370
|
* Warns the usage of `UNSAFE_componentWillMount` in class components.
|
|
3411
3371
|
* @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-mount
|
|
3412
3372
|
*/
|
|
3413
|
-
'react/no-unsafe-component-will-mount'?: Linter.RuleEntry<[]>;
|
|
3373
|
+
'react-x/no-unsafe-component-will-mount'?: Linter.RuleEntry<[]>;
|
|
3414
3374
|
/**
|
|
3415
3375
|
* Warns the usage of `UNSAFE_componentWillReceiveProps` in class components.
|
|
3416
3376
|
* @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-receive-props
|
|
3417
3377
|
*/
|
|
3418
|
-
'react/no-unsafe-component-will-receive-props'?: Linter.RuleEntry<[]>;
|
|
3378
|
+
'react-x/no-unsafe-component-will-receive-props'?: Linter.RuleEntry<[]>;
|
|
3419
3379
|
/**
|
|
3420
3380
|
* Warns the usage of `UNSAFE_componentWillUpdate` in class components.
|
|
3421
3381
|
* @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-update
|
|
3422
3382
|
*/
|
|
3423
|
-
'react/no-unsafe-component-will-update'?: Linter.RuleEntry<[]>;
|
|
3383
|
+
'react-x/no-unsafe-component-will-update'?: Linter.RuleEntry<[]>;
|
|
3424
3384
|
/**
|
|
3425
3385
|
* Prevents non-stable values (i.e. object literals) from being used as a value for `Context.Provider`.
|
|
3426
3386
|
* @see https://eslint-react.xyz/docs/rules/no-unstable-context-value
|
|
3427
3387
|
*/
|
|
3428
|
-
'react/no-unstable-context-value'?: Linter.RuleEntry<[]>;
|
|
3388
|
+
'react-x/no-unstable-context-value'?: Linter.RuleEntry<[]>;
|
|
3429
3389
|
/**
|
|
3430
3390
|
* Prevents using referential-type values as default props in object destructuring.
|
|
3431
3391
|
* @see https://eslint-react.xyz/docs/rules/no-unstable-default-props
|
|
3432
3392
|
*/
|
|
3433
|
-
'react/no-unstable-default-props'?: Linter.RuleEntry<[]>;
|
|
3393
|
+
'react-x/no-unstable-default-props'?: Linter.RuleEntry<[]>;
|
|
3434
3394
|
/**
|
|
3435
3395
|
* Warns unused class component methods and properties.
|
|
3436
3396
|
* @see https://eslint-react.xyz/docs/rules/no-unused-class-component-members
|
|
3437
3397
|
*/
|
|
3438
|
-
'react/no-unused-class-component-members'?: Linter.RuleEntry<[]>;
|
|
3398
|
+
'react-x/no-unused-class-component-members'?: Linter.RuleEntry<[]>;
|
|
3399
|
+
/**
|
|
3400
|
+
* Warns about unused component prop declarations.
|
|
3401
|
+
* @see https://eslint-react.xyz/docs/rules/no-unused-props
|
|
3402
|
+
*/
|
|
3403
|
+
'react-x/no-unused-props'?: Linter.RuleEntry<[]>;
|
|
3439
3404
|
/**
|
|
3440
3405
|
* Warns unused class component state.
|
|
3441
3406
|
* @see https://eslint-react.xyz/docs/rules/no-unused-state
|
|
3442
3407
|
*/
|
|
3443
|
-
'react/no-unused-state'?: Linter.RuleEntry<[]>;
|
|
3408
|
+
'react-x/no-unused-state'?: Linter.RuleEntry<[]>;
|
|
3444
3409
|
/**
|
|
3445
3410
|
* Replaces usages of `useContext` with `use`.
|
|
3446
3411
|
* @see https://eslint-react.xyz/docs/rules/no-use-context
|
|
3447
3412
|
*/
|
|
3448
|
-
'react/no-use-context'?: Linter.RuleEntry<[]>;
|
|
3413
|
+
'react-x/no-use-context'?: Linter.RuleEntry<[]>;
|
|
3449
3414
|
/**
|
|
3450
3415
|
* Disallow useless `forwardRef` calls on components that don't use `ref`s.
|
|
3451
3416
|
* @see https://eslint-react.xyz/docs/rules/no-useless-forward-ref
|
|
3452
3417
|
*/
|
|
3453
|
-
'react/no-useless-forward-ref'?: Linter.RuleEntry<[]>;
|
|
3418
|
+
'react-x/no-useless-forward-ref'?: Linter.RuleEntry<[]>;
|
|
3454
3419
|
/**
|
|
3455
3420
|
* Disallow useless fragment elements.
|
|
3456
3421
|
* @see https://eslint-react.xyz/docs/rules/no-useless-fragment
|
|
3457
3422
|
*/
|
|
3458
|
-
'react/no-useless-fragment'?: Linter.RuleEntry<
|
|
3423
|
+
'react-x/no-useless-fragment'?: Linter.RuleEntry<ReactXNoUselessFragment>;
|
|
3459
3424
|
/**
|
|
3460
3425
|
* Enforces destructuring assignment for component props and context.
|
|
3461
3426
|
* @see https://eslint-react.xyz/docs/rules/prefer-destructuring-assignment
|
|
3462
3427
|
*/
|
|
3463
|
-
'react/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>;
|
|
3428
|
+
'react-x/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>;
|
|
3464
3429
|
/**
|
|
3465
3430
|
* Enforces React is imported via a namespace import.
|
|
3466
|
-
* @see https://eslint-react.xyz/docs/rules/prefer-
|
|
3431
|
+
* @see https://eslint-react.xyz/docs/rules/prefer-namespace-import
|
|
3467
3432
|
*/
|
|
3468
|
-
'react/prefer-
|
|
3433
|
+
'react-x/prefer-namespace-import'?: Linter.RuleEntry<[]>;
|
|
3469
3434
|
/**
|
|
3470
3435
|
* Enforces read-only props in components.
|
|
3471
3436
|
* @see https://eslint-react.xyz/docs/rules/prefer-read-only-props
|
|
3472
3437
|
*/
|
|
3473
|
-
'react/prefer-read-only-props'?: Linter.RuleEntry<[]>;
|
|
3438
|
+
'react-x/prefer-read-only-props'?: Linter.RuleEntry<[]>;
|
|
3474
3439
|
/**
|
|
3475
|
-
* Enforces
|
|
3476
|
-
* @see https://eslint-react.xyz/docs/rules/prefer-
|
|
3440
|
+
* Enforces function calls made inside `useState` to be wrapped in an `initializer function`.
|
|
3441
|
+
* @see https://eslint-react.xyz/docs/rules/prefer-use-state-lazy-initialization
|
|
3477
3442
|
*/
|
|
3478
|
-
'react/prefer-
|
|
3443
|
+
'react-x/prefer-use-state-lazy-initialization'?: Linter.RuleEntry<[]>;
|
|
3479
3444
|
/**
|
|
3480
|
-
*
|
|
3481
|
-
* @see https://
|
|
3445
|
+
* Disallow adjusting state in an effect when a prop changes.
|
|
3446
|
+
* @see https://react.dev/learn/you-might-not-need-an-effect#adjusting-some-state-when-a-prop-changes
|
|
3482
3447
|
*/
|
|
3483
|
-
'react/
|
|
3448
|
+
'react-you-might-not-need-an-effect/no-adjust-state-on-prop-change'?: Linter.RuleEntry<[]>;
|
|
3484
3449
|
/**
|
|
3485
|
-
*
|
|
3486
|
-
* @see https://
|
|
3450
|
+
* Disallow chaining state changes in an effect.
|
|
3451
|
+
* @see https://react.dev/learn/you-might-not-need-an-effect#chains-of-computations
|
|
3452
|
+
*/
|
|
3453
|
+
'react-you-might-not-need-an-effect/no-chain-state-updates'?: Linter.RuleEntry<[]>;
|
|
3454
|
+
/**
|
|
3455
|
+
* Disallow storing derived state in an effect.
|
|
3456
|
+
* @see https://react.dev/learn/you-might-not-need-an-effect#updating-state-based-on-props-or-state
|
|
3457
|
+
*/
|
|
3458
|
+
'react-you-might-not-need-an-effect/no-derived-state'?: Linter.RuleEntry<[]>;
|
|
3459
|
+
/**
|
|
3460
|
+
* Disallow empty effects.
|
|
3461
|
+
*/
|
|
3462
|
+
'react-you-might-not-need-an-effect/no-empty-effect'?: Linter.RuleEntry<[]>;
|
|
3463
|
+
/**
|
|
3464
|
+
* Disallow using state and an effect as an event handler.
|
|
3465
|
+
* @see https://react.dev/learn/you-might-not-need-an-effect#sharing-logic-between-event-handlers
|
|
3466
|
+
*/
|
|
3467
|
+
'react-you-might-not-need-an-effect/no-event-handler'?: Linter.RuleEntry<[]>;
|
|
3468
|
+
/**
|
|
3469
|
+
* Disallow initializing state in an effect.
|
|
3470
|
+
*/
|
|
3471
|
+
'react-you-might-not-need-an-effect/no-initialize-state'?: Linter.RuleEntry<[]>;
|
|
3472
|
+
/**
|
|
3473
|
+
* Disallow effects that only use props.
|
|
3474
|
+
*/
|
|
3475
|
+
'react-you-might-not-need-an-effect/no-manage-parent'?: Linter.RuleEntry<[]>;
|
|
3476
|
+
/**
|
|
3477
|
+
* Disallow passing data to parents in an effect.
|
|
3478
|
+
* @see https://react.dev/learn/you-might-not-need-an-effect#passing-data-to-the-parent
|
|
3479
|
+
*/
|
|
3480
|
+
'react-you-might-not-need-an-effect/no-pass-data-to-parent'?: Linter.RuleEntry<[]>;
|
|
3481
|
+
/**
|
|
3482
|
+
* Disallow passing live state to parent components in an effect.
|
|
3483
|
+
* @see https://react.dev/learn/you-might-not-need-an-effect#notifying-parent-components-about-state-changes
|
|
3484
|
+
*/
|
|
3485
|
+
'react-you-might-not-need-an-effect/no-pass-live-state-to-parent'?: Linter.RuleEntry<[]>;
|
|
3486
|
+
/**
|
|
3487
|
+
* Disallow resetting all state in an effect when a prop changes.
|
|
3488
|
+
* @see https://react.dev/learn/you-might-not-need-an-effect#resetting-all-state-when-a-prop-changes
|
|
3487
3489
|
*/
|
|
3488
|
-
'react/
|
|
3490
|
+
'react-you-might-not-need-an-effect/no-reset-all-state-on-prop-change'?: Linter.RuleEntry<[]>;
|
|
3489
3491
|
/**
|
|
3490
3492
|
* Disallow assignments that can lead to race conditions due to usage of `await` or `yield`
|
|
3491
3493
|
* @see https://eslint.org/docs/latest/rules/require-atomic-updates
|
|
@@ -5144,710 +5146,710 @@ interface Rules {
|
|
|
5144
5146
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>;
|
|
5145
5147
|
/**
|
|
5146
5148
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
5147
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5149
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/better-regex.md
|
|
5148
5150
|
*/
|
|
5149
5151
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>;
|
|
5150
5152
|
/**
|
|
5151
5153
|
* Enforce a specific parameter name in catch clauses.
|
|
5152
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5154
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/catch-error-name.md
|
|
5153
5155
|
*/
|
|
5154
5156
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>;
|
|
5155
5157
|
/**
|
|
5156
5158
|
* Enforce consistent assertion style with `node:assert`.
|
|
5157
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5159
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-assert.md
|
|
5158
5160
|
*/
|
|
5159
5161
|
'unicorn/consistent-assert'?: Linter.RuleEntry<[]>;
|
|
5160
5162
|
/**
|
|
5161
5163
|
* Prefer passing `Date` directly to the constructor when cloning.
|
|
5162
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5164
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-date-clone.md
|
|
5163
5165
|
*/
|
|
5164
5166
|
'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>;
|
|
5165
5167
|
/**
|
|
5166
5168
|
* Use destructured variables over properties.
|
|
5167
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5169
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-destructuring.md
|
|
5168
5170
|
*/
|
|
5169
5171
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>;
|
|
5170
5172
|
/**
|
|
5171
5173
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
5172
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5174
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-empty-array-spread.md
|
|
5173
5175
|
*/
|
|
5174
5176
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>;
|
|
5175
5177
|
/**
|
|
5176
5178
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
5177
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5179
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-existence-index-check.md
|
|
5178
5180
|
*/
|
|
5179
5181
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>;
|
|
5180
5182
|
/**
|
|
5181
5183
|
* Move function definitions to the highest possible scope.
|
|
5182
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5184
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-function-scoping.md
|
|
5183
5185
|
*/
|
|
5184
5186
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
|
|
5185
5187
|
/**
|
|
5186
5188
|
* Enforce correct `Error` subclassing.
|
|
5187
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5189
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/custom-error-definition.md
|
|
5188
5190
|
*/
|
|
5189
5191
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>;
|
|
5190
5192
|
/**
|
|
5191
5193
|
* Enforce no spaces between braces.
|
|
5192
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5194
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/empty-brace-spaces.md
|
|
5193
5195
|
*/
|
|
5194
5196
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>;
|
|
5195
5197
|
/**
|
|
5196
5198
|
* Enforce passing a `message` value when creating a built-in error.
|
|
5197
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5199
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/error-message.md
|
|
5198
5200
|
*/
|
|
5199
5201
|
'unicorn/error-message'?: Linter.RuleEntry<[]>;
|
|
5200
5202
|
/**
|
|
5201
5203
|
* Require escape sequences to use uppercase or lowercase values.
|
|
5202
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5204
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/escape-case.md
|
|
5203
5205
|
*/
|
|
5204
5206
|
'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>;
|
|
5205
5207
|
/**
|
|
5206
5208
|
* Add expiration conditions to TODO comments.
|
|
5207
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5209
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/expiring-todo-comments.md
|
|
5208
5210
|
*/
|
|
5209
5211
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>;
|
|
5210
5212
|
/**
|
|
5211
5213
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
5212
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5214
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/explicit-length-check.md
|
|
5213
5215
|
*/
|
|
5214
5216
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
|
|
5215
5217
|
/**
|
|
5216
5218
|
* Enforce a case style for filenames.
|
|
5217
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5219
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/filename-case.md
|
|
5218
5220
|
*/
|
|
5219
5221
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>;
|
|
5220
5222
|
/**
|
|
5221
5223
|
* Enforce specific import styles per module.
|
|
5222
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5224
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/import-style.md
|
|
5223
5225
|
*/
|
|
5224
5226
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>;
|
|
5225
5227
|
/**
|
|
5226
5228
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
5227
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5229
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/new-for-builtins.md
|
|
5228
5230
|
*/
|
|
5229
5231
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>;
|
|
5230
5232
|
/**
|
|
5231
5233
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
5232
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5234
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-abusive-eslint-disable.md
|
|
5233
5235
|
*/
|
|
5234
5236
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>;
|
|
5235
5237
|
/**
|
|
5236
5238
|
* Disallow recursive access to `this` within getters and setters.
|
|
5237
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5239
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-accessor-recursion.md
|
|
5238
5240
|
*/
|
|
5239
5241
|
'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>;
|
|
5240
5242
|
/**
|
|
5241
5243
|
* Disallow anonymous functions and classes as the default export.
|
|
5242
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5244
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-anonymous-default-export.md
|
|
5243
5245
|
*/
|
|
5244
5246
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>;
|
|
5245
5247
|
/**
|
|
5246
5248
|
* Prevent passing a function reference directly to iterator methods.
|
|
5247
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5249
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-callback-reference.md
|
|
5248
5250
|
*/
|
|
5249
5251
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>;
|
|
5250
5252
|
/**
|
|
5251
5253
|
* Prefer `for…of` over the `forEach` method.
|
|
5252
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5254
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-for-each.md
|
|
5253
5255
|
*/
|
|
5254
5256
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>;
|
|
5255
5257
|
/**
|
|
5256
5258
|
* Disallow using the `this` argument in array methods.
|
|
5257
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5259
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-method-this-argument.md
|
|
5258
5260
|
*/
|
|
5259
5261
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>;
|
|
5260
5262
|
/**
|
|
5261
5263
|
* Replaced by `unicorn/prefer-single-call` which covers more cases.
|
|
5262
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5264
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/deprecated-rules.md#no-array-push-push
|
|
5263
5265
|
* @deprecated
|
|
5264
5266
|
*/
|
|
5265
5267
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>;
|
|
5266
5268
|
/**
|
|
5267
5269
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
5268
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5270
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-reduce.md
|
|
5269
5271
|
*/
|
|
5270
5272
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>;
|
|
5271
5273
|
/**
|
|
5272
5274
|
* Prefer `Array#toReversed()` over `Array#reverse()`.
|
|
5273
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5275
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-reverse.md
|
|
5274
5276
|
*/
|
|
5275
5277
|
'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>;
|
|
5276
5278
|
/**
|
|
5277
5279
|
* Prefer `Array#toSorted()` over `Array#sort()`.
|
|
5278
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5280
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-sort.md
|
|
5279
5281
|
*/
|
|
5280
5282
|
'unicorn/no-array-sort'?: Linter.RuleEntry<UnicornNoArraySort>;
|
|
5281
5283
|
/**
|
|
5282
5284
|
* Disallow member access from await expression.
|
|
5283
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5285
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-await-expression-member.md
|
|
5284
5286
|
*/
|
|
5285
5287
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>;
|
|
5286
5288
|
/**
|
|
5287
5289
|
* Disallow using `await` in `Promise` method parameters.
|
|
5288
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5290
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-await-in-promise-methods.md
|
|
5289
5291
|
*/
|
|
5290
5292
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
5291
5293
|
/**
|
|
5292
5294
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
5293
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5295
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-console-spaces.md
|
|
5294
5296
|
*/
|
|
5295
5297
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>;
|
|
5296
5298
|
/**
|
|
5297
5299
|
* Do not use `document.cookie` directly.
|
|
5298
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5300
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-document-cookie.md
|
|
5299
5301
|
*/
|
|
5300
5302
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>;
|
|
5301
5303
|
/**
|
|
5302
5304
|
* Disallow empty files.
|
|
5303
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5305
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-empty-file.md
|
|
5304
5306
|
*/
|
|
5305
5307
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>;
|
|
5306
5308
|
/**
|
|
5307
5309
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
5308
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5310
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-for-loop.md
|
|
5309
5311
|
*/
|
|
5310
5312
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>;
|
|
5311
5313
|
/**
|
|
5312
5314
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
5313
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5315
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-hex-escape.md
|
|
5314
5316
|
*/
|
|
5315
5317
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>;
|
|
5316
5318
|
/**
|
|
5317
5319
|
* Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
|
|
5318
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5320
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/deprecated-rules.md#no-instanceof-array
|
|
5319
5321
|
* @deprecated
|
|
5320
5322
|
*/
|
|
5321
5323
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>;
|
|
5322
5324
|
/**
|
|
5323
5325
|
* Disallow `instanceof` with built-in objects
|
|
5324
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5326
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-instanceof-builtins.md
|
|
5325
5327
|
*/
|
|
5326
5328
|
'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
|
|
5327
5329
|
/**
|
|
5328
5330
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
5329
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5331
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-invalid-fetch-options.md
|
|
5330
5332
|
*/
|
|
5331
5333
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>;
|
|
5332
5334
|
/**
|
|
5333
5335
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
5334
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5336
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-invalid-remove-event-listener.md
|
|
5335
5337
|
*/
|
|
5336
5338
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>;
|
|
5337
5339
|
/**
|
|
5338
5340
|
* Disallow identifiers starting with `new` or `class`.
|
|
5339
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5341
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-keyword-prefix.md
|
|
5340
5342
|
*/
|
|
5341
5343
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
|
|
5342
5344
|
/**
|
|
5343
5345
|
* Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
|
|
5344
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5346
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/deprecated-rules.md#no-length-as-slice-end
|
|
5345
5347
|
* @deprecated
|
|
5346
5348
|
*/
|
|
5347
5349
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>;
|
|
5348
5350
|
/**
|
|
5349
5351
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
5350
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5352
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-lonely-if.md
|
|
5351
5353
|
*/
|
|
5352
5354
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>;
|
|
5353
5355
|
/**
|
|
5354
5356
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
5355
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5357
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-magic-array-flat-depth.md
|
|
5356
5358
|
*/
|
|
5357
5359
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>;
|
|
5358
5360
|
/**
|
|
5359
5361
|
* Disallow named usage of default import and export.
|
|
5360
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5362
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-named-default.md
|
|
5361
5363
|
*/
|
|
5362
5364
|
'unicorn/no-named-default'?: Linter.RuleEntry<[]>;
|
|
5363
5365
|
/**
|
|
5364
5366
|
* Disallow negated conditions.
|
|
5365
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5367
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-negated-condition.md
|
|
5366
5368
|
*/
|
|
5367
5369
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>;
|
|
5368
5370
|
/**
|
|
5369
5371
|
* Disallow negated expression in equality check.
|
|
5370
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5372
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-negation-in-equality-check.md
|
|
5371
5373
|
*/
|
|
5372
5374
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>;
|
|
5373
5375
|
/**
|
|
5374
5376
|
* Disallow nested ternary expressions.
|
|
5375
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5377
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-nested-ternary.md
|
|
5376
5378
|
*/
|
|
5377
5379
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>;
|
|
5378
5380
|
/**
|
|
5379
5381
|
* Disallow `new Array()`.
|
|
5380
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5382
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-new-array.md
|
|
5381
5383
|
*/
|
|
5382
5384
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>;
|
|
5383
5385
|
/**
|
|
5384
5386
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
5385
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5387
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-new-buffer.md
|
|
5386
5388
|
*/
|
|
5387
5389
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>;
|
|
5388
5390
|
/**
|
|
5389
5391
|
* Disallow the use of the `null` literal.
|
|
5390
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5392
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-null.md
|
|
5391
5393
|
*/
|
|
5392
5394
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>;
|
|
5393
5395
|
/**
|
|
5394
5396
|
* Disallow the use of objects as default parameters.
|
|
5395
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5397
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-object-as-default-parameter.md
|
|
5396
5398
|
*/
|
|
5397
5399
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>;
|
|
5398
5400
|
/**
|
|
5399
5401
|
* Disallow `process.exit()`.
|
|
5400
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5402
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-process-exit.md
|
|
5401
5403
|
*/
|
|
5402
5404
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>;
|
|
5403
5405
|
/**
|
|
5404
5406
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
5405
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5407
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-single-promise-in-promise-methods.md
|
|
5406
5408
|
*/
|
|
5407
5409
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
5408
5410
|
/**
|
|
5409
5411
|
* Disallow classes that only have static members.
|
|
5410
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5412
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-static-only-class.md
|
|
5411
5413
|
*/
|
|
5412
5414
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>;
|
|
5413
5415
|
/**
|
|
5414
5416
|
* Disallow `then` property.
|
|
5415
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5417
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-thenable.md
|
|
5416
5418
|
*/
|
|
5417
5419
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>;
|
|
5418
5420
|
/**
|
|
5419
5421
|
* Disallow assigning `this` to a variable.
|
|
5420
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5422
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-this-assignment.md
|
|
5421
5423
|
*/
|
|
5422
5424
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>;
|
|
5423
5425
|
/**
|
|
5424
5426
|
* Disallow comparing `undefined` using `typeof`.
|
|
5425
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5427
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-typeof-undefined.md
|
|
5426
5428
|
*/
|
|
5427
5429
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
|
|
5428
5430
|
/**
|
|
5429
5431
|
* Disallow using `1` as the `depth` argument of `Array#flat()`.
|
|
5430
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5432
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-array-flat-depth.md
|
|
5431
5433
|
*/
|
|
5432
5434
|
'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>;
|
|
5433
5435
|
/**
|
|
5434
5436
|
* Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
|
|
5435
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5437
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-array-splice-count.md
|
|
5436
5438
|
*/
|
|
5437
5439
|
'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>;
|
|
5438
5440
|
/**
|
|
5439
5441
|
* Disallow awaiting non-promise values.
|
|
5440
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5442
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-await.md
|
|
5441
5443
|
*/
|
|
5442
5444
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>;
|
|
5443
5445
|
/**
|
|
5444
5446
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
5445
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5447
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-polyfills.md
|
|
5446
5448
|
*/
|
|
5447
5449
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
|
|
5448
5450
|
/**
|
|
5449
5451
|
* Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
5450
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5452
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-slice-end.md
|
|
5451
5453
|
*/
|
|
5452
5454
|
'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>;
|
|
5453
5455
|
/**
|
|
5454
5456
|
* Disallow unreadable array destructuring.
|
|
5455
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5457
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unreadable-array-destructuring.md
|
|
5456
5458
|
*/
|
|
5457
5459
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>;
|
|
5458
5460
|
/**
|
|
5459
5461
|
* Disallow unreadable IIFEs.
|
|
5460
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5462
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unreadable-iife.md
|
|
5461
5463
|
*/
|
|
5462
5464
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>;
|
|
5463
5465
|
/**
|
|
5464
5466
|
* Disallow unused object properties.
|
|
5465
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5467
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unused-properties.md
|
|
5466
5468
|
*/
|
|
5467
5469
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>;
|
|
5468
5470
|
/**
|
|
5469
5471
|
* Disallow unnecessary `Error.captureStackTrace(…)`.
|
|
5470
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5472
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-error-capture-stack-trace.md
|
|
5471
5473
|
*/
|
|
5472
5474
|
'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>;
|
|
5473
5475
|
/**
|
|
5474
5476
|
* Disallow useless fallback when spreading in object literals.
|
|
5475
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5477
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-fallback-in-spread.md
|
|
5476
5478
|
*/
|
|
5477
5479
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>;
|
|
5478
5480
|
/**
|
|
5479
5481
|
* Disallow useless array length check.
|
|
5480
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5482
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-length-check.md
|
|
5481
5483
|
*/
|
|
5482
5484
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>;
|
|
5483
5485
|
/**
|
|
5484
5486
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
5485
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5487
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-promise-resolve-reject.md
|
|
5486
5488
|
*/
|
|
5487
5489
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>;
|
|
5488
5490
|
/**
|
|
5489
5491
|
* Disallow unnecessary spread.
|
|
5490
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5492
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-spread.md
|
|
5491
5493
|
*/
|
|
5492
5494
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>;
|
|
5493
5495
|
/**
|
|
5494
5496
|
* Disallow useless case in switch statements.
|
|
5495
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5497
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-switch-case.md
|
|
5496
5498
|
*/
|
|
5497
5499
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>;
|
|
5498
5500
|
/**
|
|
5499
5501
|
* Disallow useless `undefined`.
|
|
5500
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5502
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-undefined.md
|
|
5501
5503
|
*/
|
|
5502
5504
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>;
|
|
5503
5505
|
/**
|
|
5504
5506
|
* Disallow number literals with zero fractions or dangling dots.
|
|
5505
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5507
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-zero-fractions.md
|
|
5506
5508
|
*/
|
|
5507
5509
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>;
|
|
5508
5510
|
/**
|
|
5509
5511
|
* Enforce proper case for numeric literals.
|
|
5510
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5512
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/number-literal-case.md
|
|
5511
5513
|
*/
|
|
5512
5514
|
'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>;
|
|
5513
5515
|
/**
|
|
5514
5516
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
5515
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5517
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/numeric-separators-style.md
|
|
5516
5518
|
*/
|
|
5517
5519
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
|
|
5518
5520
|
/**
|
|
5519
5521
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
5520
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5522
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-add-event-listener.md
|
|
5521
5523
|
*/
|
|
5522
5524
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>;
|
|
5523
5525
|
/**
|
|
5524
5526
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
5525
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5527
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-find.md
|
|
5526
5528
|
*/
|
|
5527
5529
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>;
|
|
5528
5530
|
/**
|
|
5529
5531
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
5530
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5532
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-flat.md
|
|
5531
5533
|
*/
|
|
5532
5534
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>;
|
|
5533
5535
|
/**
|
|
5534
5536
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
5535
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5537
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-flat-map.md
|
|
5536
5538
|
*/
|
|
5537
5539
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>;
|
|
5538
5540
|
/**
|
|
5539
5541
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
5540
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5542
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-index-of.md
|
|
5541
5543
|
*/
|
|
5542
5544
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>;
|
|
5543
5545
|
/**
|
|
5544
5546
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
5545
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5547
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-some.md
|
|
5546
5548
|
*/
|
|
5547
5549
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>;
|
|
5548
5550
|
/**
|
|
5549
5551
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
5550
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5552
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-at.md
|
|
5551
5553
|
*/
|
|
5552
5554
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>;
|
|
5553
5555
|
/**
|
|
5554
5556
|
* Prefer `BigInt` literals over the constructor.
|
|
5555
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5557
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-bigint-literals.md
|
|
5556
5558
|
*/
|
|
5557
5559
|
'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>;
|
|
5558
5560
|
/**
|
|
5559
5561
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
5560
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5562
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-blob-reading-methods.md
|
|
5561
5563
|
*/
|
|
5562
5564
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>;
|
|
5563
5565
|
/**
|
|
5564
5566
|
* Prefer class field declarations over `this` assignments in constructors.
|
|
5565
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5567
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-class-fields.md
|
|
5566
5568
|
*/
|
|
5567
5569
|
'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>;
|
|
5568
5570
|
/**
|
|
5569
5571
|
* Prefer using `Element#classList.toggle()` to toggle class names.
|
|
5570
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5572
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-classlist-toggle.md
|
|
5571
5573
|
*/
|
|
5572
5574
|
'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>;
|
|
5573
5575
|
/**
|
|
5574
5576
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
5575
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5577
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-code-point.md
|
|
5576
5578
|
*/
|
|
5577
5579
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>;
|
|
5578
5580
|
/**
|
|
5579
5581
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
5580
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5582
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-date-now.md
|
|
5581
5583
|
*/
|
|
5582
5584
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>;
|
|
5583
5585
|
/**
|
|
5584
5586
|
* Prefer default parameters over reassignment.
|
|
5585
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5587
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-default-parameters.md
|
|
5586
5588
|
*/
|
|
5587
5589
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>;
|
|
5588
5590
|
/**
|
|
5589
5591
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
5590
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5592
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-append.md
|
|
5591
5593
|
*/
|
|
5592
5594
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>;
|
|
5593
5595
|
/**
|
|
5594
5596
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
5595
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5597
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-dataset.md
|
|
5596
5598
|
*/
|
|
5597
5599
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>;
|
|
5598
5600
|
/**
|
|
5599
5601
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
5600
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5602
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-remove.md
|
|
5601
5603
|
*/
|
|
5602
5604
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>;
|
|
5603
5605
|
/**
|
|
5604
5606
|
* Prefer `.textContent` over `.innerText`.
|
|
5605
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5607
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-text-content.md
|
|
5606
5608
|
*/
|
|
5607
5609
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>;
|
|
5608
5610
|
/**
|
|
5609
5611
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
5610
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5612
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-event-target.md
|
|
5611
5613
|
*/
|
|
5612
5614
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>;
|
|
5613
5615
|
/**
|
|
5614
5616
|
* Prefer `export…from` when re-exporting.
|
|
5615
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5617
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-export-from.md
|
|
5616
5618
|
*/
|
|
5617
5619
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>;
|
|
5618
5620
|
/**
|
|
5619
5621
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
5620
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5622
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-global-this.md
|
|
5621
5623
|
*/
|
|
5622
5624
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>;
|
|
5623
5625
|
/**
|
|
5624
5626
|
* Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
|
|
5625
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5627
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-import-meta-properties.md
|
|
5626
5628
|
*/
|
|
5627
5629
|
'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>;
|
|
5628
5630
|
/**
|
|
5629
5631
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
5630
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5632
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-includes.md
|
|
5631
5633
|
*/
|
|
5632
5634
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>;
|
|
5633
5635
|
/**
|
|
5634
5636
|
* Prefer reading a JSON file as a buffer.
|
|
5635
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5637
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-json-parse-buffer.md
|
|
5636
5638
|
*/
|
|
5637
5639
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>;
|
|
5638
5640
|
/**
|
|
5639
5641
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
5640
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5642
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-keyboard-event-key.md
|
|
5641
5643
|
*/
|
|
5642
5644
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>;
|
|
5643
5645
|
/**
|
|
5644
5646
|
* Prefer using a logical operator over a ternary.
|
|
5645
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5647
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-logical-operator-over-ternary.md
|
|
5646
5648
|
*/
|
|
5647
5649
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>;
|
|
5648
5650
|
/**
|
|
5649
5651
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
5650
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5652
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-math-min-max.md
|
|
5651
5653
|
*/
|
|
5652
5654
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>;
|
|
5653
5655
|
/**
|
|
5654
5656
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
5655
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5657
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-math-trunc.md
|
|
5656
5658
|
*/
|
|
5657
5659
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>;
|
|
5658
5660
|
/**
|
|
5659
5661
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
5660
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5662
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-modern-dom-apis.md
|
|
5661
5663
|
*/
|
|
5662
5664
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>;
|
|
5663
5665
|
/**
|
|
5664
5666
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
5665
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5667
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-modern-math-apis.md
|
|
5666
5668
|
*/
|
|
5667
5669
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>;
|
|
5668
5670
|
/**
|
|
5669
5671
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
5670
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5672
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-module.md
|
|
5671
5673
|
*/
|
|
5672
5674
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>;
|
|
5673
5675
|
/**
|
|
5674
5676
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
5675
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5677
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-native-coercion-functions.md
|
|
5676
5678
|
*/
|
|
5677
5679
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>;
|
|
5678
5680
|
/**
|
|
5679
5681
|
* Prefer negative index over `.length - index` when possible.
|
|
5680
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5682
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-negative-index.md
|
|
5681
5683
|
*/
|
|
5682
5684
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>;
|
|
5683
5685
|
/**
|
|
5684
5686
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
5685
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5687
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-node-protocol.md
|
|
5686
5688
|
*/
|
|
5687
5689
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>;
|
|
5688
5690
|
/**
|
|
5689
5691
|
* Prefer `Number` static properties over global ones.
|
|
5690
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5692
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-number-properties.md
|
|
5691
5693
|
*/
|
|
5692
5694
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>;
|
|
5693
5695
|
/**
|
|
5694
5696
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
5695
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5697
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-object-from-entries.md
|
|
5696
5698
|
*/
|
|
5697
5699
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
|
|
5698
5700
|
/**
|
|
5699
5701
|
* Prefer omitting the `catch` binding parameter.
|
|
5700
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5702
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-optional-catch-binding.md
|
|
5701
5703
|
*/
|
|
5702
5704
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>;
|
|
5703
5705
|
/**
|
|
5704
5706
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
5705
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5707
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-prototype-methods.md
|
|
5706
5708
|
*/
|
|
5707
5709
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>;
|
|
5708
5710
|
/**
|
|
5709
5711
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
5710
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5712
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-query-selector.md
|
|
5711
5713
|
*/
|
|
5712
5714
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>;
|
|
5713
5715
|
/**
|
|
5714
5716
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
5715
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5717
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-reflect-apply.md
|
|
5716
5718
|
*/
|
|
5717
5719
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>;
|
|
5718
5720
|
/**
|
|
5719
5721
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
5720
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5722
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-regexp-test.md
|
|
5721
5723
|
*/
|
|
5722
5724
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>;
|
|
5723
5725
|
/**
|
|
5724
5726
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
5725
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5727
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-set-has.md
|
|
5726
5728
|
*/
|
|
5727
5729
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>;
|
|
5728
5730
|
/**
|
|
5729
5731
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
5730
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5732
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-set-size.md
|
|
5731
5733
|
*/
|
|
5732
5734
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>;
|
|
5733
5735
|
/**
|
|
5734
5736
|
* Enforce combining multiple `Array#push()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
|
|
5735
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5737
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-single-call.md
|
|
5736
5738
|
*/
|
|
5737
5739
|
'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>;
|
|
5738
5740
|
/**
|
|
5739
5741
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
5740
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5742
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-spread.md
|
|
5741
5743
|
*/
|
|
5742
5744
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>;
|
|
5743
5745
|
/**
|
|
5744
5746
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
5745
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5747
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-raw.md
|
|
5746
5748
|
*/
|
|
5747
5749
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>;
|
|
5748
5750
|
/**
|
|
5749
5751
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
5750
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5752
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-replace-all.md
|
|
5751
5753
|
*/
|
|
5752
5754
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>;
|
|
5753
5755
|
/**
|
|
5754
5756
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
5755
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5757
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-slice.md
|
|
5756
5758
|
*/
|
|
5757
5759
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>;
|
|
5758
5760
|
/**
|
|
5759
5761
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
5760
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5762
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-starts-ends-with.md
|
|
5761
5763
|
*/
|
|
5762
5764
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>;
|
|
5763
5765
|
/**
|
|
5764
5766
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
5765
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5767
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-trim-start-end.md
|
|
5766
5768
|
*/
|
|
5767
5769
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>;
|
|
5768
5770
|
/**
|
|
5769
5771
|
* Prefer using `structuredClone` to create a deep clone.
|
|
5770
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5772
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-structured-clone.md
|
|
5771
5773
|
*/
|
|
5772
5774
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>;
|
|
5773
5775
|
/**
|
|
5774
5776
|
* Prefer `switch` over multiple `else-if`.
|
|
5775
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5777
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-switch.md
|
|
5776
5778
|
*/
|
|
5777
5779
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>;
|
|
5778
5780
|
/**
|
|
5779
5781
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
5780
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5782
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-ternary.md
|
|
5781
5783
|
*/
|
|
5782
5784
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>;
|
|
5783
5785
|
/**
|
|
5784
5786
|
* Prefer top-level await over top-level promises and async function calls.
|
|
5785
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5787
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-top-level-await.md
|
|
5786
5788
|
*/
|
|
5787
5789
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>;
|
|
5788
5790
|
/**
|
|
5789
5791
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
5790
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5792
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-type-error.md
|
|
5791
5793
|
*/
|
|
5792
5794
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>;
|
|
5793
5795
|
/**
|
|
5794
5796
|
* Prevent abbreviations.
|
|
5795
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5797
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prevent-abbreviations.md
|
|
5796
5798
|
*/
|
|
5797
5799
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>;
|
|
5798
5800
|
/**
|
|
5799
5801
|
* Enforce consistent relative URL style.
|
|
5800
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5802
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/relative-url-style.md
|
|
5801
5803
|
*/
|
|
5802
5804
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
|
|
5803
5805
|
/**
|
|
5804
5806
|
* Enforce using the separator argument with `Array#join()`.
|
|
5805
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5807
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-array-join-separator.md
|
|
5806
5808
|
*/
|
|
5807
5809
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>;
|
|
5808
5810
|
/**
|
|
5809
5811
|
* Require non-empty module attributes for imports and exports
|
|
5810
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5812
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-module-attributes.md
|
|
5811
5813
|
*/
|
|
5812
5814
|
'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>;
|
|
5813
5815
|
/**
|
|
5814
5816
|
* Require non-empty specifier list in import and export statements.
|
|
5815
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5817
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-module-specifiers.md
|
|
5816
5818
|
*/
|
|
5817
5819
|
'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>;
|
|
5818
5820
|
/**
|
|
5819
5821
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
5820
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5822
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-number-to-fixed-digits-argument.md
|
|
5821
5823
|
*/
|
|
5822
5824
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>;
|
|
5823
5825
|
/**
|
|
5824
5826
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
5825
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5827
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-post-message-target-origin.md
|
|
5826
5828
|
*/
|
|
5827
5829
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>;
|
|
5828
5830
|
/**
|
|
5829
5831
|
* Enforce better string content.
|
|
5830
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5832
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/string-content.md
|
|
5831
5833
|
*/
|
|
5832
5834
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>;
|
|
5833
5835
|
/**
|
|
5834
5836
|
* Enforce consistent brace style for `case` clauses.
|
|
5835
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5837
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/switch-case-braces.md
|
|
5836
5838
|
*/
|
|
5837
5839
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
|
|
5838
5840
|
/**
|
|
5839
5841
|
* Fix whitespace-insensitive template indentation.
|
|
5840
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5842
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/template-indent.md
|
|
5841
5843
|
*/
|
|
5842
5844
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>;
|
|
5843
5845
|
/**
|
|
5844
5846
|
* Enforce consistent case for text encoding identifiers.
|
|
5845
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5847
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/text-encoding-identifier-case.md
|
|
5846
5848
|
*/
|
|
5847
5849
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>;
|
|
5848
5850
|
/**
|
|
5849
5851
|
* Require `new` when creating an error.
|
|
5850
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.
|
|
5852
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/throw-new-error.md
|
|
5851
5853
|
*/
|
|
5852
5854
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>;
|
|
5853
5855
|
/**
|
|
@@ -6159,7 +6161,7 @@ interface Rules {
|
|
|
6159
6161
|
* disallow asynchronous actions in computed properties
|
|
6160
6162
|
* @see https://eslint.vuejs.org/rules/no-async-in-computed-properties.html
|
|
6161
6163
|
*/
|
|
6162
|
-
'vue/no-async-in-computed-properties'?: Linter.RuleEntry<
|
|
6164
|
+
'vue/no-async-in-computed-properties'?: Linter.RuleEntry<VueNoAsyncInComputedProperties>;
|
|
6163
6165
|
/**
|
|
6164
6166
|
* disallow the use of bare strings in `<template>`
|
|
6165
6167
|
* @see https://eslint.vuejs.org/rules/no-bare-strings-in-template.html
|
|
@@ -6660,7 +6662,7 @@ interface Rules {
|
|
|
6660
6662
|
* disallow use of v-html to prevent XSS attack
|
|
6661
6663
|
* @see https://eslint.vuejs.org/rules/no-v-html.html
|
|
6662
6664
|
*/
|
|
6663
|
-
'vue/no-v-html'?: Linter.RuleEntry<
|
|
6665
|
+
'vue/no-v-html'?: Linter.RuleEntry<VueNoVHtml>;
|
|
6664
6666
|
/**
|
|
6665
6667
|
* disallow adding an argument to `v-model` used in custom component
|
|
6666
6668
|
* @see https://eslint.vuejs.org/rules/no-v-model-argument.html
|
|
@@ -8058,10 +8060,17 @@ type JsdocNoTypes = [] | [{
|
|
|
8058
8060
|
}];
|
|
8059
8061
|
// ----- jsdoc/no-undefined-types -----
|
|
8060
8062
|
type JsdocNoUndefinedTypes = [] | [{
|
|
8063
|
+
checkUsedTypedefs?: boolean;
|
|
8061
8064
|
definedTypes?: string[];
|
|
8062
8065
|
disableReporting?: boolean;
|
|
8063
8066
|
markVariablesAsUsed?: boolean;
|
|
8064
8067
|
}];
|
|
8068
|
+
// ----- jsdoc/prefer-import-tag -----
|
|
8069
|
+
type JsdocPreferImportTag = [] | [{
|
|
8070
|
+
enableFixer?: boolean;
|
|
8071
|
+
exemptTypedefs?: boolean;
|
|
8072
|
+
outputType?: ("named-import" | "namespaced-import");
|
|
8073
|
+
}];
|
|
8065
8074
|
// ----- jsdoc/require-asterisk-prefix -----
|
|
8066
8075
|
type JsdocRequireAsteriskPrefix = [] | [("always" | "never" | "any")] | [("always" | "never" | "any"), {
|
|
8067
8076
|
tags?: {
|
|
@@ -8295,6 +8304,7 @@ type JsdocTagLines = [] | [("always" | "any" | "never")] | [("always" | "any" |
|
|
|
8295
8304
|
applyToEndTag?: boolean;
|
|
8296
8305
|
count?: number;
|
|
8297
8306
|
endLines?: (number | null);
|
|
8307
|
+
maxBlockLines?: (number | null);
|
|
8298
8308
|
startLines?: (number | null);
|
|
8299
8309
|
tags?: {
|
|
8300
8310
|
[k: string]: {
|
|
@@ -9536,7 +9546,7 @@ type NodeHashbang = [] | [{
|
|
|
9536
9546
|
// ----- node/no-deprecated-api -----
|
|
9537
9547
|
type NodeNoDeprecatedApi = [] | [{
|
|
9538
9548
|
version?: string;
|
|
9539
|
-
ignoreModuleItems?: ("_linklist" | "_stream_wrap" | "async_hooks.currentId" | "async_hooks.triggerId" | "buffer.Buffer()" | "new buffer.Buffer()" | "buffer.SlowBuffer" | "constants" | "crypto._toBuf" | "crypto.Credentials" | "crypto.DEFAULT_ENCODING" | "crypto.createCipher" | "crypto.createCredentials" | "crypto.createDecipher" | "crypto.fips" | "crypto.prng" | "crypto.pseudoRandomBytes" | "crypto.rng" | "domain" | "events.EventEmitter.listenerCount" | "events.listenerCount" | "freelist" | "fs.SyncWriteStream" | "fs.exists" | "fs.lchmod" | "fs.lchmodSync" | "http.createClient" | "module.Module.createRequireFromPath" | "module.Module.requireRepl" | "module.Module._debug" | "module.createRequireFromPath" | "module.requireRepl" | "module._debug" | "net._setSimultaneousAccepts" | "os.getNetworkInterfaces" | "os.tmpDir" | "path._makeLong" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport" | "punycode" | "readline.codePointAt" | "readline.getStringWidth" | "readline.isFullWidthCodePoint" | "readline.stripVTControlCharacters" | "repl.REPLServer" | "repl.Recoverable" | "repl.REPL_MODE_MAGIC" | "safe-buffer.Buffer()" | "new safe-buffer.Buffer()" | "safe-buffer.SlowBuffer" | "sys" | "timers.enroll" | "timers.unenroll" | "tls.CleartextStream" | "tls.CryptoStream" | "tls.SecurePair" | "tls.convertNPNProtocols" | "tls.createSecurePair" | "tls.parseCertString" | "tty.setRawMode" | "url.parse" | "url.resolve" | "util.debug" | "util.error" | "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.print" | "util.pump" | "util.puts" | "util._extend" | "vm.runInDebugContext" | "zlib.BrotliCompress()" | "zlib.BrotliDecompress()" | "zlib.Deflate()" | "zlib.DeflateRaw()" | "zlib.Gunzip()" | "zlib.Gzip()" | "zlib.Inflate()" | "zlib.InflateRaw()" | "zlib.Unzip()")[];
|
|
9549
|
+
ignoreModuleItems?: ("_linklist" | "_stream_wrap" | "async_hooks.currentId" | "async_hooks.triggerId" | "buffer.Buffer()" | "new buffer.Buffer()" | "buffer.SlowBuffer" | "constants" | "crypto._toBuf" | "crypto.Credentials" | "crypto.DEFAULT_ENCODING" | "crypto.createCipher" | "crypto.createCredentials" | "crypto.createDecipher" | "crypto.fips" | "crypto.prng" | "crypto.pseudoRandomBytes" | "crypto.rng" | "domain" | "events.EventEmitter.listenerCount" | "events.listenerCount" | "freelist" | "fs.SyncWriteStream" | "fs.exists" | "fs.lchmod" | "fs.lchmodSync" | "http.createClient" | "module.Module.createRequireFromPath" | "module.Module.requireRepl" | "module.Module._debug" | "module.createRequireFromPath" | "module.requireRepl" | "module._debug" | "net._setSimultaneousAccepts" | "os.getNetworkInterfaces" | "os.tmpDir" | "path._makeLong" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport" | "punycode" | "readline.codePointAt" | "readline.getStringWidth" | "readline.isFullWidthCodePoint" | "readline.stripVTControlCharacters" | "repl.REPLServer" | "repl.Recoverable" | "repl.REPL_MODE_MAGIC" | "repl.builtinModules" | "safe-buffer.Buffer()" | "new safe-buffer.Buffer()" | "safe-buffer.SlowBuffer" | "sys" | "timers.enroll" | "timers.unenroll" | "tls.CleartextStream" | "tls.CryptoStream" | "tls.SecurePair" | "tls.convertNPNProtocols" | "tls.createSecurePair" | "tls.parseCertString" | "tty.setRawMode" | "url.parse" | "url.resolve" | "util.debug" | "util.error" | "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.print" | "util.pump" | "util.puts" | "util._extend" | "vm.runInDebugContext" | "zlib.BrotliCompress()" | "zlib.BrotliDecompress()" | "zlib.Deflate()" | "zlib.DeflateRaw()" | "zlib.Gunzip()" | "zlib.Gzip()" | "zlib.Inflate()" | "zlib.InflateRaw()" | "zlib.Unzip()")[];
|
|
9540
9550
|
ignoreGlobalItems?: ("Buffer()" | "new Buffer()" | "COUNTER_NET_SERVER_CONNECTION" | "COUNTER_NET_SERVER_CONNECTION_CLOSE" | "COUNTER_HTTP_SERVER_REQUEST" | "COUNTER_HTTP_SERVER_RESPONSE" | "COUNTER_HTTP_CLIENT_REQUEST" | "COUNTER_HTTP_CLIENT_RESPONSE" | "GLOBAL" | "Intl.v8BreakIterator" | "require.extensions" | "root" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport")[];
|
|
9541
9551
|
ignoreIndirectDependencies?: boolean;
|
|
9542
9552
|
}];
|
|
@@ -9730,7 +9740,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = [] | [{
|
|
|
9730
9740
|
type NodeNoUnsupportedFeaturesNodeBuiltins = [] | [{
|
|
9731
9741
|
version?: string;
|
|
9732
9742
|
allowExperimental?: boolean;
|
|
9733
|
-
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.report.excludeEnv" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.METHODS" | "http.STATUS_CODES" | "http.globalAgent" | "http.maxHeaderSize" | "http.createServer" | "http.get" | "http.request" | "http.validateHeaderName" | "http.validateHeaderValue" | "http.setMaxIdleHTTPParsers" | "http.Agent" | "http.ClientRequest" | "http.Server" | "http.ServerResponse" | "http.IncomingMessage" | "http.OutgoingMessage" | "http.WebSocket" | "https" | "https.globalAgent" | "https.createServer" | "https.get" | "https.request" | "https.Agent" | "https.Server" | "inspector" | "inspector.Session" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.Network.loadingFailed" | "inspector/promises.Network.loadingFinished" | "inspector/promises.Network.requestWillBeSent" | "inspector/promises.Network.responseReceived" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.findPackageJSON" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.isBuiltin" | "module.register" | "module.stripTypeScriptTypes" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.findPackageJSON" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.stripTypeScriptTypes" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "sqlite" | "sqlite.DatabaseSync" | "sqlite.StatementSync" | "sqlite.SQLITE_CHANGESET_OMIT" | "sqlite.SQLITE_CHANGESET_REPLACE" | "sqlite.SQLITE_CHANGESET_ABORT" | "test" | "test.after" | "test.afterEach" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "timers/promises.scheduler.wait" | "timers/promises.scheduler.yield" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getCallSites" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib" | "import.meta.resolve" | "import.meta.dirname" | "import.meta.filename")[];
|
|
9743
|
+
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.execve" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.ref" | "process.release" | "process.report" | "process.report.excludeEnv" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.threadCpuUsage" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.unref" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.Assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.partialDeepStrictEqual" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.Assert" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.partialDeepStrictEqual" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.Assert" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.partialDeepStrictEqual" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTlsa" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTlsa" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTlsa" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.METHODS" | "http.STATUS_CODES" | "http.globalAgent" | "http.maxHeaderSize" | "http.createServer" | "http.get" | "http.request" | "http.validateHeaderName" | "http.validateHeaderValue" | "http.setMaxIdleHTTPParsers" | "http.Agent" | "http.ClientRequest" | "http.Server" | "http.ServerResponse" | "http.IncomingMessage" | "http.OutgoingMessage" | "http.WebSocket" | "_http_agent" | "_http_client" | "_http_common" | "_http_incoming" | "_http_outgoing" | "_http_server" | "https" | "https.globalAgent" | "https.createServer" | "https.get" | "https.request" | "https.Agent" | "https.Server" | "inspector" | "inspector.Session" | "inspector.Network.dataReceived" | "inspector.Network.dataSent" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.NetworkResources.put" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.Network.dataReceived" | "inspector/promises.Network.dataSent" | "inspector/promises.Network.loadingFailed" | "inspector/promises.Network.loadingFinished" | "inspector/promises.Network.requestWillBeSent" | "inspector/promises.Network.responseReceived" | "inspector/promises.NetworkResources.put" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.findPackageJSON" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.getSourceMapsSupport" | "module.isBuiltin" | "module.registerHooks" | "module.register" | "module.setSourceMapsSupport" | "module.stripTypeScriptTypes" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.findPackageJSON" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.getSourceMapsSupport" | "module.Module.isBuiltin" | "module.Module.registerHooks" | "module.Module.register" | "module.Module.setSourceMapsSupport" | "module.Module.stripTypeScriptTypes" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.BlockList.isBlockList" | "net.SocketAddress" | "net.SocketAddress.parse" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "sqlite" | "sqlite.constants" | "sqlite.constants.SQLITE_CHANGESET_OMIT" | "sqlite.constants.SQLITE_CHANGESET_REPLACE" | "sqlite.constants.SQLITE_CHANGESET_ABORT" | "sqlite.backup" | "sqlite.DatabaseSync" | "sqlite.StatementSync" | "sqlite.SQLITE_CHANGESET_OMIT" | "sqlite.SQLITE_CHANGESET_REPLACE" | "sqlite.SQLITE_CHANGESET_ABORT" | "test" | "test.after" | "test.afterEach" | "test.assert" | "test.assert.register" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "timers/promises.scheduler.wait" | "timers/promises.scheduler.yield" | "tls" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.CryptoStream" | "tls.DEFAULT_CIPHERS" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.getCACertificates" | "tls.getCiphers" | "tls.rootCertificates" | "tls.SecureContext" | "tls.SecurePair" | "tls.Server" | "tls.setDefaultCACertificates" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLPattern" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.diff" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getCallSites" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.setTraceSigInt" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat16Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat16Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.isStringOneByteRepresentation" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.getHeapStatistics" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isInternalThread" | "worker_threads.isMainThread" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.constants" | "zlib.constants.ZSTD_e_continue" | "zlib.constants.ZSTD_e_flush" | "zlib.constants.ZSTD_e_end" | "zlib.constants.ZSTD_fast" | "zlib.constants.ZSTD_dfast" | "zlib.constants.ZSTD_greedy" | "zlib.constants.ZSTD_lazy" | "zlib.constants.ZSTD_lazy2" | "zlib.constants.ZSTD_btlazy2" | "zlib.constants.ZSTD_btopt" | "zlib.constants.ZSTD_btultra" | "zlib.constants.ZSTD_btultra2" | "zlib.constants.ZSTD_c_compressionLevel" | "zlib.constants.ZSTD_c_windowLog" | "zlib.constants.ZSTD_c_hashLog" | "zlib.constants.ZSTD_c_chainLog" | "zlib.constants.ZSTD_c_searchLog" | "zlib.constants.ZSTD_c_minMatch" | "zlib.constants.ZSTD_c_targetLength" | "zlib.constants.ZSTD_c_strategy" | "zlib.constants.ZSTD_c_enableLongDistanceMatching" | "zlib.constants.ZSTD_c_ldmHashLog" | "zlib.constants.ZSTD_c_ldmMinMatch" | "zlib.constants.ZSTD_c_ldmBucketSizeLog" | "zlib.constants.ZSTD_c_ldmHashRateLog" | "zlib.constants.ZSTD_c_contentSizeFlag" | "zlib.constants.ZSTD_c_checksumFlag" | "zlib.constants.ZSTD_c_dictIDFlag" | "zlib.constants.ZSTD_c_nbWorkers" | "zlib.constants.ZSTD_c_jobSize" | "zlib.constants.ZSTD_c_overlapLog" | "zlib.constants.ZSTD_d_windowLogMax" | "zlib.constants.ZSTD_CLEVEL_DEFAULT" | "zlib.constants.ZSTD_error_no_error" | "zlib.constants.ZSTD_error_GENERIC" | "zlib.constants.ZSTD_error_prefix_unknown" | "zlib.constants.ZSTD_error_version_unsupported" | "zlib.constants.ZSTD_error_frameParameter_unsupported" | "zlib.constants.ZSTD_error_frameParameter_windowTooLarge" | "zlib.constants.ZSTD_error_corruption_detected" | "zlib.constants.ZSTD_error_checksum_wrong" | "zlib.constants.ZSTD_error_literals_headerWrong" | "zlib.constants.ZSTD_error_dictionary_corrupted" | "zlib.constants.ZSTD_error_dictionary_wrong" | "zlib.constants.ZSTD_error_dictionaryCreation_failed" | "zlib.constants.ZSTD_error_parameter_unsupported" | "zlib.constants.ZSTD_error_parameter_combination_unsupported" | "zlib.constants.ZSTD_error_parameter_outOfBound" | "zlib.constants.ZSTD_error_tableLog_tooLarge" | "zlib.constants.ZSTD_error_maxSymbolValue_tooLarge" | "zlib.constants.ZSTD_error_maxSymbolValue_tooSmall" | "zlib.constants.ZSTD_error_stabilityCondition_notRespected" | "zlib.constants.ZSTD_error_stage_wrong" | "zlib.constants.ZSTD_error_init_missing" | "zlib.constants.ZSTD_error_memory_allocation" | "zlib.constants.ZSTD_error_workSpace_tooSmall" | "zlib.constants.ZSTD_error_dstSize_tooSmall" | "zlib.constants.ZSTD_error_srcSize_wrong" | "zlib.constants.ZSTD_error_dstBuffer_null" | "zlib.constants.ZSTD_error_noForwardProgress_destFull" | "zlib.constants.ZSTD_error_noForwardProgress_inputEmpty" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.createZstdCompress" | "zlib.createZstdDecompress" | "zlib.deflate" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.deflateSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.inflateSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.zstdCompress" | "zlib.zstdCompressSync" | "zlib.zstdDecompress" | "zlib.zstdDecompressSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib.ZstdCompress" | "zlib.ZstdDecompress" | "zlib.ZstdOptions" | "zlib" | "import.meta.resolve" | "import.meta.dirname" | "import.meta.filename" | "import.meta.main")[];
|
|
9734
9744
|
}];
|
|
9735
9745
|
// ----- node/prefer-global/buffer -----
|
|
9736
9746
|
type NodePreferGlobalBuffer = [] | [("always" | "never")];
|
|
@@ -11588,6 +11598,7 @@ type PnpmJsonEnforceCatalog = [] | [{
|
|
|
11588
11598
|
reuseExistingCatalog?: boolean;
|
|
11589
11599
|
conflicts?: ("new-catalog" | "overrides" | "error");
|
|
11590
11600
|
fields?: string[];
|
|
11601
|
+
ignores?: string[];
|
|
11591
11602
|
}];
|
|
11592
11603
|
// ----- pnpm/json-prefer-workspace-settings -----
|
|
11593
11604
|
type PnpmJsonPreferWorkspaceSettings = [] | [{
|
|
@@ -11707,8 +11718,23 @@ type ReactRefreshOnlyExportComponents = [] | [{
|
|
|
11707
11718
|
customHOCs?: string[];
|
|
11708
11719
|
checkJS?: boolean;
|
|
11709
11720
|
}];
|
|
11710
|
-
// ----- react/
|
|
11711
|
-
type
|
|
11721
|
+
// ----- react-x/jsx-shorthand-boolean -----
|
|
11722
|
+
type ReactXJsxShorthandBoolean = [] | [(-1 | 1)];
|
|
11723
|
+
// ----- react-x/jsx-shorthand-fragment -----
|
|
11724
|
+
type ReactXJsxShorthandFragment = [] | [(-1 | 1)];
|
|
11725
|
+
// ----- react-x/no-forbidden-props -----
|
|
11726
|
+
type ReactXNoForbiddenProps = [] | [{
|
|
11727
|
+
forbid?: (string | {
|
|
11728
|
+
excludedNodes?: string[];
|
|
11729
|
+
prop: string;
|
|
11730
|
+
} | {
|
|
11731
|
+
includedNodes?: string[];
|
|
11732
|
+
prop: string;
|
|
11733
|
+
})[];
|
|
11734
|
+
[k: string]: unknown | undefined;
|
|
11735
|
+
}];
|
|
11736
|
+
// ----- react-x/no-useless-fragment -----
|
|
11737
|
+
type ReactXNoUselessFragment = [] | [{
|
|
11712
11738
|
allowExpressions?: boolean;
|
|
11713
11739
|
}];
|
|
11714
11740
|
// ----- require-atomic-updates -----
|
|
@@ -14936,6 +14962,7 @@ type VueAttributeHyphenation = [] | [("always" | "never")] | [("always" | "never
|
|
|
14936
14962
|
type VueAttributesOrder = [] | [{
|
|
14937
14963
|
order?: (("DEFINITION" | "LIST_RENDERING" | "CONDITIONALS" | "RENDER_MODIFIERS" | "GLOBAL" | "UNIQUE" | "SLOT" | "TWO_WAY_BINDING" | "OTHER_DIRECTIVES" | "OTHER_ATTR" | "ATTR_STATIC" | "ATTR_DYNAMIC" | "ATTR_SHORTHAND_BOOL" | "EVENTS" | "CONTENT") | ("DEFINITION" | "LIST_RENDERING" | "CONDITIONALS" | "RENDER_MODIFIERS" | "GLOBAL" | "UNIQUE" | "SLOT" | "TWO_WAY_BINDING" | "OTHER_DIRECTIVES" | "OTHER_ATTR" | "ATTR_STATIC" | "ATTR_DYNAMIC" | "ATTR_SHORTHAND_BOOL" | "EVENTS" | "CONTENT")[])[];
|
|
14938
14964
|
alphabetical?: boolean;
|
|
14965
|
+
sortLineLength?: boolean;
|
|
14939
14966
|
}];
|
|
14940
14967
|
// ----- vue/block-lang -----
|
|
14941
14968
|
type VueBlockLang = [] | [{
|
|
@@ -15582,6 +15609,10 @@ type VueNewLineBetweenMultiLineProperty = [] | [{
|
|
|
15582
15609
|
}];
|
|
15583
15610
|
// ----- vue/next-tick-style -----
|
|
15584
15611
|
type VueNextTickStyle = [] | [("promise" | "callback")];
|
|
15612
|
+
// ----- vue/no-async-in-computed-properties -----
|
|
15613
|
+
type VueNoAsyncInComputedProperties = [] | [{
|
|
15614
|
+
ignoredObjectNames?: string[];
|
|
15615
|
+
}];
|
|
15585
15616
|
// ----- vue/no-bare-strings-in-template -----
|
|
15586
15617
|
type VueNoBareStringsInTemplate = [] | [{
|
|
15587
15618
|
allowlist?: string[];
|
|
@@ -15866,6 +15897,10 @@ type VueNoUselessVBind = [] | [{
|
|
|
15866
15897
|
ignoreIncludesComment?: boolean;
|
|
15867
15898
|
ignoreStringEscape?: boolean;
|
|
15868
15899
|
}];
|
|
15900
|
+
// ----- vue/no-v-html -----
|
|
15901
|
+
type VueNoVHtml = [] | [{
|
|
15902
|
+
ignorePattern?: string;
|
|
15903
|
+
}];
|
|
15869
15904
|
// ----- vue/no-v-text-v-html-on-component -----
|
|
15870
15905
|
type VueNoVTextVHtmlOnComponent = [] | [{
|
|
15871
15906
|
allow?: string[];
|
|
@@ -16299,7 +16334,7 @@ type Yoda = [] | [("always" | "never")] | [("always" | "never"), {
|
|
|
16299
16334
|
}];
|
|
16300
16335
|
|
|
16301
16336
|
// Names of all the configs
|
|
16302
|
-
type ConfigNames = "zayne/js-eslint/setup" | "zayne/js-eslint/recommended" | "zayne/js-eslint/rules" | "zayne/unicorn/recommended" | "zayne/unicorn/rules" | "zayne/ts-eslint/type-aware
|
|
16337
|
+
type ConfigNames = "zayne/js-eslint/setup" | "zayne/js-eslint/recommended" | "zayne/js-eslint/rules" | "zayne/unicorn/recommended" | "zayne/unicorn/rules" | "zayne/ts-eslint/setup-type-aware" | "zayne/ts-eslint/strictTypeChecked" | "zayne/ts-eslint/strictTypeChecked" | "zayne/ts-eslint/strictTypeChecked" | "zayne/ts-eslint/stylisticTypeChecked" | "zayne/ts-eslint/stylisticTypeChecked" | "zayne/ts-eslint/stylisticTypeChecked" | "zayne/ts-eslint/rules" | "zayne/perfectionist/rules" | "zayne/stylistic/rules" | "zayne/import/setup" | "zayne/import/recommended" | "zayne/import/rules" | "zayne/jsdoc/rules" | "zayne/jsonc/setup" | "zayne/jsonc/rules" | "zayne/react/setup" | "zayne/react/recommended-type-checked" | "zayne/react/rules" | "zayne/react/refresh/rules" | "zayne/react/you-might-not-need-an-effect/recommended" | "zayne/react/you-might-not-need-an-effect/rules" | "zayne/react/compiler/rules" | "zayne/react/nextjs/recommended" | "zayne/react/nextjs/rules" | "zayne/node/recommended" | "zayne/node/rules" | "zayne/node/security/recommended" | "zayne/tanstack-query/recommended" | "zayne/tanstack-query/rules" | "zayne/tanstack-router/recommended" | "zayne/tanstack-router/rules" | "zayne/eslint-comments/rules" | "zayne/toml/setup" | "zayne/toml/rules" | "zayne/yaml/setup" | "zayne/yaml/rules" | "zayne/vue/setup" | "zayne/vue/setup/file-processor" | "zayne/vue/recommended" | "zayne/vue/rules" | "zayne/solid/setup" | "zayne/solid/recommended" | "zayne/solid/rules" | "zayne/pnpm/rules/package-json" | "zayne/pnpm/rules/pnpm-workspace-yaml" | "zayne/astro/setup" | "zayne/astro/recommended" | "zayne/astro/rules" | "zayne/depend/recommended" | "zayne/depend/recommended/package-json" | "zayne/tailwindcss-better/setup" | "zayne/tailwindcss-better/recommended" | "zayne/tailwindcss-better/rules" | "zayne/expo/recommended" | "zayne/expo/recommended" | "zayne/expo/rules";
|
|
16303
16338
|
//#endregion
|
|
16304
16339
|
//#region src/types/eslint-config-types/parser-options.d.ts
|
|
16305
16340
|
// Some types copied from `@types/eslint` `Linter.ParserOptions`
|
|
@@ -16602,10 +16637,6 @@ interface OptionsTypeScriptWithTypes {
|
|
|
16602
16637
|
* @default depends on the `tsconfigPath` option or if the `typescript` option is set to true
|
|
16603
16638
|
*/
|
|
16604
16639
|
isTypeAware?: boolean;
|
|
16605
|
-
/**
|
|
16606
|
-
* Override type aware rules.
|
|
16607
|
-
*/
|
|
16608
|
-
overridesTypeAware?: TypedFlatConfigItem["rules"];
|
|
16609
16640
|
/**
|
|
16610
16641
|
* When this options is provided, type aware rules will be enabled.
|
|
16611
16642
|
* @see https://typescript-eslint.io/packages/parser#project
|
|
@@ -16643,6 +16674,11 @@ interface OptionsReact {
|
|
|
16643
16674
|
* @default true
|
|
16644
16675
|
*/
|
|
16645
16676
|
refresh?: boolean | OptionsOverrides;
|
|
16677
|
+
/**
|
|
16678
|
+
* Enable react-you-might-not-need-an-effect rules.
|
|
16679
|
+
* @default true
|
|
16680
|
+
*/
|
|
16681
|
+
youMightNotNeedAnEffect?: boolean | OptionsOverrides;
|
|
16646
16682
|
}
|
|
16647
16683
|
interface OptionsStylistic {
|
|
16648
16684
|
indent?: number;
|
|
@@ -16828,13 +16864,14 @@ interface OptionsConfig extends OptionsComponentExts {
|
|
|
16828
16864
|
* - `@eslint-react/eslint-plugin`
|
|
16829
16865
|
* - `eslint-plugin-react-hooks`
|
|
16830
16866
|
* - `eslint-plugin-react-refresh`
|
|
16867
|
+
* - `eslint-plugin-react-you-might-not-need-an-effect`
|
|
16831
16868
|
*
|
|
16832
16869
|
* May require installing:
|
|
16833
16870
|
* - `@next/eslint-plugin-next`
|
|
16834
16871
|
*
|
|
16835
16872
|
* @default auto-detect based on the dependencies
|
|
16836
16873
|
*/
|
|
16837
|
-
react?: (OptionsFiles & OptionsHasTypeScript & OptionsOverrides & OptionsReact) | boolean;
|
|
16874
|
+
react?: (OptionsFiles & OptionsHasTypeScript & OptionsOverrides & OptionsReact & Pick<OptionsTypeScriptParserOptions, "filesTypeAware" | "ignoresTypeAware">) | boolean;
|
|
16838
16875
|
/**
|
|
16839
16876
|
* Enable regexp rules.
|
|
16840
16877
|
* @see https://ota-meshi.github.io/eslint-plugin-regexp/
|
|
@@ -17030,7 +17067,7 @@ declare const defaultPluginRenameMap: {
|
|
|
17030
17067
|
"@eslint-react/hooks-extra": "react-hooks-extra";
|
|
17031
17068
|
"@eslint-react/naming-convention": "react-naming-convention";
|
|
17032
17069
|
"@eslint-react/web-api": "react-web-api";
|
|
17033
|
-
"@eslint-react": "react";
|
|
17070
|
+
"@eslint-react": "react-x";
|
|
17034
17071
|
"@next/next": "nextjs";
|
|
17035
17072
|
"@stylistic": "stylistic";
|
|
17036
17073
|
"@tanstack/query": "tanstack-query";
|