@coderwyd/eslint-config 2.4.0 → 2.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -2991,6 +2991,416 @@ interface RuleOptions {
2991
2991
  * @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/void-dom-elements-no-children.md
2992
2992
  */
2993
2993
  'react/void-dom-elements-no-children'?: Linter.RuleEntry<[]>
2994
+ /**
2995
+ * disallow confusing quantifiers
2996
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/confusing-quantifier.html
2997
+ */
2998
+ 'regexp/confusing-quantifier'?: Linter.RuleEntry<[]>
2999
+ /**
3000
+ * enforce consistent escaping of control characters
3001
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/control-character-escape.html
3002
+ */
3003
+ 'regexp/control-character-escape'?: Linter.RuleEntry<[]>
3004
+ /**
3005
+ * enforce single grapheme in string literal
3006
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/grapheme-string-literal.html
3007
+ */
3008
+ 'regexp/grapheme-string-literal'?: Linter.RuleEntry<[]>
3009
+ /**
3010
+ * enforce consistent usage of hexadecimal escape
3011
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/hexadecimal-escape.html
3012
+ */
3013
+ 'regexp/hexadecimal-escape'?: Linter.RuleEntry<RegexpHexadecimalEscape>
3014
+ /**
3015
+ * enforce into your favorite case
3016
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/letter-case.html
3017
+ */
3018
+ 'regexp/letter-case'?: Linter.RuleEntry<RegexpLetterCase>
3019
+ /**
3020
+ * enforce match any character style
3021
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/match-any.html
3022
+ */
3023
+ 'regexp/match-any'?: Linter.RuleEntry<RegexpMatchAny>
3024
+ /**
3025
+ * enforce use of escapes on negation
3026
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/negation.html
3027
+ */
3028
+ 'regexp/negation'?: Linter.RuleEntry<[]>
3029
+ /**
3030
+ * disallow elements that contradict assertions
3031
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-contradiction-with-assertion.html
3032
+ */
3033
+ 'regexp/no-contradiction-with-assertion'?: Linter.RuleEntry<[]>
3034
+ /**
3035
+ * disallow control characters
3036
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-control-character.html
3037
+ */
3038
+ 'regexp/no-control-character'?: Linter.RuleEntry<[]>
3039
+ /**
3040
+ * disallow duplicate characters in the RegExp character class
3041
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-dupe-characters-character-class.html
3042
+ */
3043
+ 'regexp/no-dupe-characters-character-class'?: Linter.RuleEntry<[]>
3044
+ /**
3045
+ * disallow duplicate disjunctions
3046
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-dupe-disjunctions.html
3047
+ */
3048
+ 'regexp/no-dupe-disjunctions'?: Linter.RuleEntry<RegexpNoDupeDisjunctions>
3049
+ /**
3050
+ * disallow alternatives without elements
3051
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-alternative.html
3052
+ */
3053
+ 'regexp/no-empty-alternative'?: Linter.RuleEntry<[]>
3054
+ /**
3055
+ * disallow capturing group that captures empty.
3056
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-capturing-group.html
3057
+ */
3058
+ 'regexp/no-empty-capturing-group'?: Linter.RuleEntry<[]>
3059
+ /**
3060
+ * disallow character classes that match no characters
3061
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-character-class.html
3062
+ */
3063
+ 'regexp/no-empty-character-class'?: Linter.RuleEntry<[]>
3064
+ /**
3065
+ * disallow empty group
3066
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-group.html
3067
+ */
3068
+ 'regexp/no-empty-group'?: Linter.RuleEntry<[]>
3069
+ /**
3070
+ * disallow empty lookahead assertion or empty lookbehind assertion
3071
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-lookarounds-assertion.html
3072
+ */
3073
+ 'regexp/no-empty-lookarounds-assertion'?: Linter.RuleEntry<[]>
3074
+ /**
3075
+ * disallow empty string literals in character classes
3076
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-string-literal.html
3077
+ */
3078
+ 'regexp/no-empty-string-literal'?: Linter.RuleEntry<[]>
3079
+ /**
3080
+ * disallow escape backspace (`[\b]`)
3081
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-escape-backspace.html
3082
+ */
3083
+ 'regexp/no-escape-backspace'?: Linter.RuleEntry<[]>
3084
+ /**
3085
+ * disallow unnecessary nested lookaround assertions
3086
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-extra-lookaround-assertions.html
3087
+ */
3088
+ 'regexp/no-extra-lookaround-assertions'?: Linter.RuleEntry<[]>
3089
+ /**
3090
+ * disallow invalid regular expression strings in `RegExp` constructors
3091
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-invalid-regexp.html
3092
+ */
3093
+ 'regexp/no-invalid-regexp'?: Linter.RuleEntry<[]>
3094
+ /**
3095
+ * disallow invisible raw character
3096
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-invisible-character.html
3097
+ */
3098
+ 'regexp/no-invisible-character'?: Linter.RuleEntry<[]>
3099
+ /**
3100
+ * disallow lazy quantifiers at the end of an expression
3101
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-lazy-ends.html
3102
+ */
3103
+ 'regexp/no-lazy-ends'?: Linter.RuleEntry<RegexpNoLazyEnds>
3104
+ /**
3105
+ * disallow legacy RegExp features
3106
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-legacy-features.html
3107
+ */
3108
+ 'regexp/no-legacy-features'?: Linter.RuleEntry<RegexpNoLegacyFeatures>
3109
+ /**
3110
+ * disallow capturing groups that do not behave as one would expect
3111
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-misleading-capturing-group.html
3112
+ */
3113
+ 'regexp/no-misleading-capturing-group'?: Linter.RuleEntry<RegexpNoMisleadingCapturingGroup>
3114
+ /**
3115
+ * disallow multi-code-point characters in character classes and quantifiers
3116
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-misleading-unicode-character.html
3117
+ */
3118
+ 'regexp/no-misleading-unicode-character'?: Linter.RuleEntry<RegexpNoMisleadingUnicodeCharacter>
3119
+ /**
3120
+ * disallow missing `g` flag in patterns used in `String#matchAll` and `String#replaceAll`
3121
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-missing-g-flag.html
3122
+ */
3123
+ 'regexp/no-missing-g-flag'?: Linter.RuleEntry<RegexpNoMissingGFlag>
3124
+ /**
3125
+ * disallow non-standard flags
3126
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-non-standard-flag.html
3127
+ */
3128
+ 'regexp/no-non-standard-flag'?: Linter.RuleEntry<[]>
3129
+ /**
3130
+ * disallow obscure character ranges
3131
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-obscure-range.html
3132
+ */
3133
+ 'regexp/no-obscure-range'?: Linter.RuleEntry<RegexpNoObscureRange>
3134
+ /**
3135
+ * disallow octal escape sequence
3136
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-octal.html
3137
+ */
3138
+ 'regexp/no-octal'?: Linter.RuleEntry<[]>
3139
+ /**
3140
+ * disallow optional assertions
3141
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-optional-assertion.html
3142
+ */
3143
+ 'regexp/no-optional-assertion'?: Linter.RuleEntry<[]>
3144
+ /**
3145
+ * disallow backreferences that reference a group that might not be matched
3146
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-potentially-useless-backreference.html
3147
+ */
3148
+ 'regexp/no-potentially-useless-backreference'?: Linter.RuleEntry<[]>
3149
+ /**
3150
+ * disallow standalone backslashes (`\`)
3151
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-standalone-backslash.html
3152
+ */
3153
+ 'regexp/no-standalone-backslash'?: Linter.RuleEntry<[]>
3154
+ /**
3155
+ * disallow exponential and polynomial backtracking
3156
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-super-linear-backtracking.html
3157
+ */
3158
+ 'regexp/no-super-linear-backtracking'?: Linter.RuleEntry<RegexpNoSuperLinearBacktracking>
3159
+ /**
3160
+ * disallow quantifiers that cause quadratic moves
3161
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-super-linear-move.html
3162
+ */
3163
+ 'regexp/no-super-linear-move'?: Linter.RuleEntry<RegexpNoSuperLinearMove>
3164
+ /**
3165
+ * disallow trivially nested assertions
3166
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-trivially-nested-assertion.html
3167
+ */
3168
+ 'regexp/no-trivially-nested-assertion'?: Linter.RuleEntry<[]>
3169
+ /**
3170
+ * disallow nested quantifiers that can be rewritten as one quantifier
3171
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-trivially-nested-quantifier.html
3172
+ */
3173
+ 'regexp/no-trivially-nested-quantifier'?: Linter.RuleEntry<[]>
3174
+ /**
3175
+ * disallow unused capturing group
3176
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-unused-capturing-group.html
3177
+ */
3178
+ 'regexp/no-unused-capturing-group'?: Linter.RuleEntry<RegexpNoUnusedCapturingGroup>
3179
+ /**
3180
+ * disallow assertions that are known to always accept (or reject)
3181
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-assertions.html
3182
+ */
3183
+ 'regexp/no-useless-assertions'?: Linter.RuleEntry<[]>
3184
+ /**
3185
+ * disallow useless backreferences in regular expressions
3186
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-backreference.html
3187
+ */
3188
+ 'regexp/no-useless-backreference'?: Linter.RuleEntry<[]>
3189
+ /**
3190
+ * disallow character class with one character
3191
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-character-class.html
3192
+ */
3193
+ 'regexp/no-useless-character-class'?: Linter.RuleEntry<RegexpNoUselessCharacterClass>
3194
+ /**
3195
+ * disallow useless `$` replacements in replacement string
3196
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-dollar-replacements.html
3197
+ */
3198
+ 'regexp/no-useless-dollar-replacements'?: Linter.RuleEntry<[]>
3199
+ /**
3200
+ * disallow unnecessary escape characters in RegExp
3201
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-escape.html
3202
+ */
3203
+ 'regexp/no-useless-escape'?: Linter.RuleEntry<[]>
3204
+ /**
3205
+ * disallow unnecessary regex flags
3206
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-flag.html
3207
+ */
3208
+ 'regexp/no-useless-flag'?: Linter.RuleEntry<RegexpNoUselessFlag>
3209
+ /**
3210
+ * disallow unnecessarily non-greedy quantifiers
3211
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-lazy.html
3212
+ */
3213
+ 'regexp/no-useless-lazy'?: Linter.RuleEntry<[]>
3214
+ /**
3215
+ * disallow unnecessary non-capturing group
3216
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-non-capturing-group.html
3217
+ */
3218
+ 'regexp/no-useless-non-capturing-group'?: Linter.RuleEntry<RegexpNoUselessNonCapturingGroup>
3219
+ /**
3220
+ * disallow quantifiers that can be removed
3221
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-quantifier.html
3222
+ */
3223
+ 'regexp/no-useless-quantifier'?: Linter.RuleEntry<[]>
3224
+ /**
3225
+ * disallow unnecessary character ranges
3226
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-range.html
3227
+ */
3228
+ 'regexp/no-useless-range'?: Linter.RuleEntry<[]>
3229
+ /**
3230
+ * disallow unnecessary elements in expression character classes
3231
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-set-operand.html
3232
+ */
3233
+ 'regexp/no-useless-set-operand'?: Linter.RuleEntry<[]>
3234
+ /**
3235
+ * disallow string disjunction of single characters in `\q{...}`
3236
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-string-literal.html
3237
+ */
3238
+ 'regexp/no-useless-string-literal'?: Linter.RuleEntry<[]>
3239
+ /**
3240
+ * disallow unnecessary `{n,m}` quantifier
3241
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-two-nums-quantifier.html
3242
+ */
3243
+ 'regexp/no-useless-two-nums-quantifier'?: Linter.RuleEntry<[]>
3244
+ /**
3245
+ * disallow quantifiers with a maximum of zero
3246
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-zero-quantifier.html
3247
+ */
3248
+ 'regexp/no-zero-quantifier'?: Linter.RuleEntry<[]>
3249
+ /**
3250
+ * disallow the alternatives of lookarounds that end with a non-constant quantifier
3251
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/optimal-lookaround-quantifier.html
3252
+ */
3253
+ 'regexp/optimal-lookaround-quantifier'?: Linter.RuleEntry<[]>
3254
+ /**
3255
+ * require optimal quantifiers for concatenated quantifiers
3256
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/optimal-quantifier-concatenation.html
3257
+ */
3258
+ 'regexp/optimal-quantifier-concatenation'?: Linter.RuleEntry<RegexpOptimalQuantifierConcatenation>
3259
+ /**
3260
+ * enforce using character class
3261
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-character-class.html
3262
+ */
3263
+ 'regexp/prefer-character-class'?: Linter.RuleEntry<RegexpPreferCharacterClass>
3264
+ /**
3265
+ * enforce using `\d`
3266
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-d.html
3267
+ */
3268
+ 'regexp/prefer-d'?: Linter.RuleEntry<RegexpPreferD>
3269
+ /**
3270
+ * enforces escape of replacement `$` character (`$$`).
3271
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-escape-replacement-dollar-char.html
3272
+ */
3273
+ 'regexp/prefer-escape-replacement-dollar-char'?: Linter.RuleEntry<[]>
3274
+ /**
3275
+ * prefer lookarounds over capturing group that do not replace
3276
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-lookaround.html
3277
+ */
3278
+ 'regexp/prefer-lookaround'?: Linter.RuleEntry<RegexpPreferLookaround>
3279
+ /**
3280
+ * enforce using named backreferences
3281
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-named-backreference.html
3282
+ */
3283
+ 'regexp/prefer-named-backreference'?: Linter.RuleEntry<[]>
3284
+ /**
3285
+ * enforce using named capture groups
3286
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-named-capture-group.html
3287
+ */
3288
+ 'regexp/prefer-named-capture-group'?: Linter.RuleEntry<[]>
3289
+ /**
3290
+ * enforce using named replacement
3291
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-named-replacement.html
3292
+ */
3293
+ 'regexp/prefer-named-replacement'?: Linter.RuleEntry<RegexpPreferNamedReplacement>
3294
+ /**
3295
+ * enforce using `+` quantifier
3296
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-plus-quantifier.html
3297
+ */
3298
+ 'regexp/prefer-plus-quantifier'?: Linter.RuleEntry<[]>
3299
+ /**
3300
+ * prefer predefined assertion over equivalent lookarounds
3301
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-predefined-assertion.html
3302
+ */
3303
+ 'regexp/prefer-predefined-assertion'?: Linter.RuleEntry<[]>
3304
+ /**
3305
+ * enforce using quantifier
3306
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-quantifier.html
3307
+ */
3308
+ 'regexp/prefer-quantifier'?: Linter.RuleEntry<[]>
3309
+ /**
3310
+ * enforce using `?` quantifier
3311
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-question-quantifier.html
3312
+ */
3313
+ 'regexp/prefer-question-quantifier'?: Linter.RuleEntry<[]>
3314
+ /**
3315
+ * enforce using character class range
3316
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-range.html
3317
+ */
3318
+ 'regexp/prefer-range'?: Linter.RuleEntry<RegexpPreferRange>
3319
+ /**
3320
+ * enforce that `RegExp#exec` is used instead of `String#match` if no global flag is provided
3321
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-regexp-exec.html
3322
+ */
3323
+ 'regexp/prefer-regexp-exec'?: Linter.RuleEntry<[]>
3324
+ /**
3325
+ * enforce that `RegExp#test` is used instead of `String#match` and `RegExp#exec`
3326
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-regexp-test.html
3327
+ */
3328
+ 'regexp/prefer-regexp-test'?: Linter.RuleEntry<[]>
3329
+ /**
3330
+ * enforce using result array `groups`
3331
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-result-array-groups.html
3332
+ */
3333
+ 'regexp/prefer-result-array-groups'?: Linter.RuleEntry<RegexpPreferResultArrayGroups>
3334
+ /**
3335
+ * prefer character class set operations instead of lookarounds
3336
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-set-operation.html
3337
+ */
3338
+ 'regexp/prefer-set-operation'?: Linter.RuleEntry<[]>
3339
+ /**
3340
+ * enforce using `*` quantifier
3341
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-star-quantifier.html
3342
+ */
3343
+ 'regexp/prefer-star-quantifier'?: Linter.RuleEntry<[]>
3344
+ /**
3345
+ * enforce use of unicode codepoint escapes
3346
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-unicode-codepoint-escapes.html
3347
+ */
3348
+ 'regexp/prefer-unicode-codepoint-escapes'?: Linter.RuleEntry<[]>
3349
+ /**
3350
+ * enforce using `\w`
3351
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-w.html
3352
+ */
3353
+ 'regexp/prefer-w'?: Linter.RuleEntry<[]>
3354
+ /**
3355
+ * enforce the use of the `u` flag
3356
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/require-unicode-regexp.html
3357
+ */
3358
+ 'regexp/require-unicode-regexp'?: Linter.RuleEntry<[]>
3359
+ /**
3360
+ * enforce the use of the `v` flag
3361
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/require-unicode-sets-regexp.html
3362
+ */
3363
+ 'regexp/require-unicode-sets-regexp'?: Linter.RuleEntry<[]>
3364
+ /**
3365
+ * require simplify set operations
3366
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/simplify-set-operations.html
3367
+ */
3368
+ 'regexp/simplify-set-operations'?: Linter.RuleEntry<[]>
3369
+ /**
3370
+ * sort alternatives if order doesn't matter
3371
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/sort-alternatives.html
3372
+ */
3373
+ 'regexp/sort-alternatives'?: Linter.RuleEntry<[]>
3374
+ /**
3375
+ * enforces elements order in character class
3376
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/sort-character-class-elements.html
3377
+ */
3378
+ 'regexp/sort-character-class-elements'?: Linter.RuleEntry<RegexpSortCharacterClassElements>
3379
+ /**
3380
+ * require regex flags to be sorted
3381
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/sort-flags.html
3382
+ */
3383
+ 'regexp/sort-flags'?: Linter.RuleEntry<[]>
3384
+ /**
3385
+ * disallow not strictly valid regular expressions
3386
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/strict.html
3387
+ */
3388
+ 'regexp/strict'?: Linter.RuleEntry<[]>
3389
+ /**
3390
+ * enforce consistent usage of unicode escape or unicode codepoint escape
3391
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/unicode-escape.html
3392
+ */
3393
+ 'regexp/unicode-escape'?: Linter.RuleEntry<RegexpUnicodeEscape>
3394
+ /**
3395
+ * enforce consistent naming of unicode properties
3396
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/unicode-property.html
3397
+ */
3398
+ 'regexp/unicode-property'?: Linter.RuleEntry<RegexpUnicodeProperty>
3399
+ /**
3400
+ * use the `i` flag if it simplifies the pattern
3401
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/use-ignore-case.html
3402
+ */
3403
+ 'regexp/use-ignore-case'?: Linter.RuleEntry<[]>
2994
3404
  /**
2995
3405
  * Disallow assignments that can lead to race conditions due to usage of `await` or `yield`
2996
3406
  * @see https://eslint.org/docs/latest/rules/require-atomic-updates
@@ -3287,6 +3697,11 @@ interface RuleOptions {
3287
3697
  * @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-store-async/
3288
3698
  */
3289
3699
  'svelte/no-store-async'?: Linter.RuleEntry<[]>
3700
+ /**
3701
+ * svelte/internal will be removed in Svelte 6.
3702
+ * @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-svelte-internal/
3703
+ */
3704
+ 'svelte/no-svelte-internal'?: Linter.RuleEntry<[]>
3290
3705
  /**
3291
3706
  * disallow `target="_blank"` attribute without `rel="noopener noreferrer"`
3292
3707
  * @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-target-blank/
@@ -4436,652 +4851,677 @@ interface RuleOptions {
4436
4851
  'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
4437
4852
  /**
4438
4853
  * Improve regexes by making them shorter, consistent, and safer.
4439
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/better-regex.md
4854
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/better-regex.md
4440
4855
  */
4441
4856
  'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
4442
4857
  /**
4443
4858
  * Enforce a specific parameter name in catch clauses.
4444
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/catch-error-name.md
4859
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/catch-error-name.md
4445
4860
  */
4446
4861
  'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
4447
4862
  /**
4448
4863
  * Use destructured variables over properties.
4449
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/consistent-destructuring.md
4864
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/consistent-destructuring.md
4450
4865
  */
4451
4866
  'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
4867
+ /**
4868
+ * Prefer consistent types when spreading a ternary in an array literal.
4869
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/consistent-empty-array-spread.md
4870
+ */
4871
+ 'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
4452
4872
  /**
4453
4873
  * Move function definitions to the highest possible scope.
4454
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/consistent-function-scoping.md
4874
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/consistent-function-scoping.md
4455
4875
  */
4456
4876
  'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
4457
4877
  /**
4458
4878
  * Enforce correct `Error` subclassing.
4459
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/custom-error-definition.md
4879
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/custom-error-definition.md
4460
4880
  */
4461
4881
  'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
4462
4882
  /**
4463
4883
  * Enforce no spaces between braces.
4464
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/empty-brace-spaces.md
4884
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/empty-brace-spaces.md
4465
4885
  */
4466
4886
  'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
4467
4887
  /**
4468
4888
  * Enforce passing a `message` value when creating a built-in error.
4469
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/error-message.md
4889
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/error-message.md
4470
4890
  */
4471
4891
  'unicorn/error-message'?: Linter.RuleEntry<[]>
4472
4892
  /**
4473
4893
  * Require escape sequences to use uppercase values.
4474
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/escape-case.md
4894
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/escape-case.md
4475
4895
  */
4476
4896
  'unicorn/escape-case'?: Linter.RuleEntry<[]>
4477
4897
  /**
4478
4898
  * Add expiration conditions to TODO comments.
4479
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/expiring-todo-comments.md
4899
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/expiring-todo-comments.md
4480
4900
  */
4481
4901
  'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
4482
4902
  /**
4483
4903
  * Enforce explicitly comparing the `length` or `size` property of a value.
4484
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/explicit-length-check.md
4904
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/explicit-length-check.md
4485
4905
  */
4486
4906
  'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
4487
4907
  /**
4488
4908
  * Enforce a case style for filenames.
4489
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/filename-case.md
4909
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/filename-case.md
4490
4910
  */
4491
4911
  'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
4492
4912
  /**
4493
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/deprecated-rules.md#import-index
4913
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#import-index
4494
4914
  * @deprecated
4495
4915
  */
4496
4916
  'unicorn/import-index'?: Linter.RuleEntry<[]>
4497
4917
  /**
4498
4918
  * Enforce specific import styles per module.
4499
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/import-style.md
4919
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/import-style.md
4500
4920
  */
4501
4921
  'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
4502
4922
  /**
4503
4923
  * Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
4504
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/new-for-builtins.md
4924
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/new-for-builtins.md
4505
4925
  */
4506
4926
  'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
4507
4927
  /**
4508
4928
  * Enforce specifying rules to disable in `eslint-disable` comments.
4509
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-abusive-eslint-disable.md
4929
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-abusive-eslint-disable.md
4510
4930
  */
4511
4931
  'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
4512
4932
  /**
4513
4933
  * Disallow anonymous functions and classes as the default export.
4514
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-anonymous-default-export.md
4934
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-anonymous-default-export.md
4515
4935
  */
4516
4936
  'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
4517
4937
  /**
4518
4938
  * Prevent passing a function reference directly to iterator methods.
4519
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-array-callback-reference.md
4939
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-callback-reference.md
4520
4940
  */
4521
4941
  'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
4522
4942
  /**
4523
4943
  * Prefer `for…of` over the `forEach` method.
4524
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-array-for-each.md
4944
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-for-each.md
4525
4945
  */
4526
4946
  'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
4527
4947
  /**
4528
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/deprecated-rules.md#no-array-instanceof
4948
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-array-instanceof
4529
4949
  * @deprecated
4530
4950
  */
4531
4951
  'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
4532
4952
  /**
4533
4953
  * Disallow using the `this` argument in array methods.
4534
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-array-method-this-argument.md
4954
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-method-this-argument.md
4535
4955
  */
4536
4956
  'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
4537
4957
  /**
4538
4958
  * Enforce combining multiple `Array#push()` into one call.
4539
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-array-push-push.md
4959
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-push-push.md
4540
4960
  */
4541
4961
  'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
4542
4962
  /**
4543
4963
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
4544
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-array-reduce.md
4964
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-reduce.md
4545
4965
  */
4546
4966
  'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
4547
4967
  /**
4548
4968
  * Disallow member access from await expression.
4549
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-await-expression-member.md
4969
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-await-expression-member.md
4550
4970
  */
4551
4971
  'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
4552
4972
  /**
4553
4973
  * Disallow using `await` in `Promise` method parameters.
4554
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-await-in-promise-methods.md
4974
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-await-in-promise-methods.md
4555
4975
  */
4556
4976
  'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
4557
4977
  /**
4558
4978
  * Do not use leading/trailing space between `console.log` parameters.
4559
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-console-spaces.md
4979
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-console-spaces.md
4560
4980
  */
4561
4981
  'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
4562
4982
  /**
4563
4983
  * Do not use `document.cookie` directly.
4564
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-document-cookie.md
4984
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-document-cookie.md
4565
4985
  */
4566
4986
  'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
4567
4987
  /**
4568
4988
  * Disallow empty files.
4569
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-empty-file.md
4989
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-empty-file.md
4570
4990
  */
4571
4991
  'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
4572
4992
  /**
4573
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator
4993
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator
4574
4994
  * @deprecated
4575
4995
  */
4576
4996
  'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
4577
4997
  /**
4578
4998
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
4579
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-for-loop.md
4999
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-for-loop.md
4580
5000
  */
4581
5001
  'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
4582
5002
  /**
4583
5003
  * Enforce the use of Unicode escapes instead of hexadecimal escapes.
4584
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-hex-escape.md
5004
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-hex-escape.md
4585
5005
  */
4586
5006
  'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
4587
5007
  /**
4588
5008
  * Require `Array.isArray()` instead of `instanceof Array`.
4589
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-instanceof-array.md
5009
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-instanceof-array.md
4590
5010
  */
4591
5011
  'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
5012
+ /**
5013
+ * Disallow invalid options in `fetch()` and `new Request()`.
5014
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-invalid-fetch-options.md
5015
+ */
5016
+ 'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
4592
5017
  /**
4593
5018
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
4594
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-invalid-remove-event-listener.md
5019
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-invalid-remove-event-listener.md
4595
5020
  */
4596
5021
  'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
4597
5022
  /**
4598
5023
  * Disallow identifiers starting with `new` or `class`.
4599
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-keyword-prefix.md
5024
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-keyword-prefix.md
4600
5025
  */
4601
5026
  'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
4602
5027
  /**
4603
5028
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
4604
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-lonely-if.md
5029
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-lonely-if.md
4605
5030
  */
4606
5031
  'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
5032
+ /**
5033
+ * Disallow a magic number as the `depth` argument in `Array#flat(…).`
5034
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-magic-array-flat-depth.md
5035
+ */
5036
+ 'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
4607
5037
  /**
4608
5038
  * Disallow negated conditions.
4609
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-negated-condition.md
5039
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-negated-condition.md
4610
5040
  */
4611
5041
  'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
4612
5042
  /**
4613
5043
  * Disallow nested ternary expressions.
4614
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-nested-ternary.md
5044
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-nested-ternary.md
4615
5045
  */
4616
5046
  'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
4617
5047
  /**
4618
5048
  * Disallow `new Array()`.
4619
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-new-array.md
5049
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-new-array.md
4620
5050
  */
4621
5051
  'unicorn/no-new-array'?: Linter.RuleEntry<[]>
4622
5052
  /**
4623
5053
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
4624
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-new-buffer.md
5054
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-new-buffer.md
4625
5055
  */
4626
5056
  'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
4627
5057
  /**
4628
5058
  * Disallow the use of the `null` literal.
4629
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-null.md
5059
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-null.md
4630
5060
  */
4631
5061
  'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
4632
5062
  /**
4633
5063
  * Disallow the use of objects as default parameters.
4634
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-object-as-default-parameter.md
5064
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-object-as-default-parameter.md
4635
5065
  */
4636
5066
  'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
4637
5067
  /**
4638
5068
  * Disallow `process.exit()`.
4639
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-process-exit.md
5069
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-process-exit.md
4640
5070
  */
4641
5071
  'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
4642
5072
  /**
4643
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/deprecated-rules.md#no-reduce
5073
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-reduce
4644
5074
  * @deprecated
4645
5075
  */
4646
5076
  'unicorn/no-reduce'?: Linter.RuleEntry<[]>
4647
5077
  /**
4648
5078
  * Disallow passing single-element arrays to `Promise` methods.
4649
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-single-promise-in-promise-methods.md
5079
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-single-promise-in-promise-methods.md
4650
5080
  */
4651
5081
  'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
4652
5082
  /**
4653
5083
  * Disallow classes that only have static members.
4654
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-static-only-class.md
5084
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-static-only-class.md
4655
5085
  */
4656
5086
  'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
4657
5087
  /**
4658
5088
  * Disallow `then` property.
4659
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-thenable.md
5089
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-thenable.md
4660
5090
  */
4661
5091
  'unicorn/no-thenable'?: Linter.RuleEntry<[]>
4662
5092
  /**
4663
5093
  * Disallow assigning `this` to a variable.
4664
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-this-assignment.md
5094
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-this-assignment.md
4665
5095
  */
4666
5096
  'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
4667
5097
  /**
4668
5098
  * Disallow comparing `undefined` using `typeof`.
4669
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-typeof-undefined.md
5099
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-typeof-undefined.md
4670
5100
  */
4671
5101
  'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
4672
5102
  /**
4673
5103
  * Disallow awaiting non-promise values.
4674
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-unnecessary-await.md
5104
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unnecessary-await.md
4675
5105
  */
4676
5106
  'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
4677
5107
  /**
4678
5108
  * Enforce the use of built-in methods instead of unnecessary polyfills.
4679
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-unnecessary-polyfills.md
5109
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unnecessary-polyfills.md
4680
5110
  */
4681
5111
  'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
4682
5112
  /**
4683
5113
  * Disallow unreadable array destructuring.
4684
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-unreadable-array-destructuring.md
5114
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unreadable-array-destructuring.md
4685
5115
  */
4686
5116
  'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
4687
5117
  /**
4688
5118
  * Disallow unreadable IIFEs.
4689
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-unreadable-iife.md
5119
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unreadable-iife.md
4690
5120
  */
4691
5121
  'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
4692
5122
  /**
4693
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/deprecated-rules.md#no-unsafe-regex
5123
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-unsafe-regex
4694
5124
  * @deprecated
4695
5125
  */
4696
5126
  'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
4697
5127
  /**
4698
5128
  * Disallow unused object properties.
4699
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-unused-properties.md
5129
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unused-properties.md
4700
5130
  */
4701
5131
  'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
4702
5132
  /**
4703
5133
  * Disallow useless fallback when spreading in object literals.
4704
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-useless-fallback-in-spread.md
5134
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-fallback-in-spread.md
4705
5135
  */
4706
5136
  'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
4707
5137
  /**
4708
5138
  * Disallow useless array length check.
4709
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-useless-length-check.md
5139
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-length-check.md
4710
5140
  */
4711
5141
  'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
4712
5142
  /**
4713
5143
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
4714
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-useless-promise-resolve-reject.md
5144
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-promise-resolve-reject.md
4715
5145
  */
4716
5146
  'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
4717
5147
  /**
4718
5148
  * Disallow unnecessary spread.
4719
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-useless-spread.md
5149
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-spread.md
4720
5150
  */
4721
5151
  'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
4722
5152
  /**
4723
5153
  * Disallow useless case in switch statements.
4724
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-useless-switch-case.md
5154
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-switch-case.md
4725
5155
  */
4726
5156
  'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
4727
5157
  /**
4728
5158
  * Disallow useless `undefined`.
4729
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-useless-undefined.md
5159
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-undefined.md
4730
5160
  */
4731
5161
  'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
4732
5162
  /**
4733
5163
  * Disallow number literals with zero fractions or dangling dots.
4734
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-zero-fractions.md
5164
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-zero-fractions.md
4735
5165
  */
4736
5166
  'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
4737
5167
  /**
4738
5168
  * Enforce proper case for numeric literals.
4739
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/number-literal-case.md
5169
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/number-literal-case.md
4740
5170
  */
4741
5171
  'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
4742
5172
  /**
4743
5173
  * Enforce the style of numeric separators by correctly grouping digits.
4744
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/numeric-separators-style.md
5174
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/numeric-separators-style.md
4745
5175
  */
4746
5176
  'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
4747
5177
  /**
4748
5178
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
4749
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-add-event-listener.md
5179
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-add-event-listener.md
4750
5180
  */
4751
5181
  'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
4752
5182
  /**
4753
5183
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
4754
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-array-find.md
5184
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-find.md
4755
5185
  */
4756
5186
  'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
4757
5187
  /**
4758
5188
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
4759
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-array-flat.md
5189
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-flat.md
4760
5190
  */
4761
5191
  'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
4762
5192
  /**
4763
5193
  * Prefer `.flatMap(…)` over `.map(…).flat()`.
4764
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-array-flat-map.md
5194
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-flat-map.md
4765
5195
  */
4766
5196
  'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
4767
5197
  /**
4768
5198
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
4769
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-array-index-of.md
5199
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-index-of.md
4770
5200
  */
4771
5201
  'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
4772
5202
  /**
4773
5203
  * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast}(…)`.
4774
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-array-some.md
5204
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-some.md
4775
5205
  */
4776
5206
  'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
4777
5207
  /**
4778
5208
  * Prefer `.at()` method for index access and `String#charAt()`.
4779
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-at.md
5209
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-at.md
4780
5210
  */
4781
5211
  'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
4782
5212
  /**
4783
5213
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
4784
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-blob-reading-methods.md
5214
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-blob-reading-methods.md
4785
5215
  */
4786
5216
  'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
4787
5217
  /**
4788
5218
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
4789
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-code-point.md
5219
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-code-point.md
4790
5220
  */
4791
5221
  'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
4792
5222
  /**
4793
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/deprecated-rules.md#prefer-dataset
5223
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-dataset
4794
5224
  * @deprecated
4795
5225
  */
4796
5226
  'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
4797
5227
  /**
4798
5228
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
4799
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-date-now.md
5229
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-date-now.md
4800
5230
  */
4801
5231
  'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
4802
5232
  /**
4803
5233
  * Prefer default parameters over reassignment.
4804
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-default-parameters.md
5234
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-default-parameters.md
4805
5235
  */
4806
5236
  'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
4807
5237
  /**
4808
5238
  * Prefer `Node#append()` over `Node#appendChild()`.
4809
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-dom-node-append.md
5239
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-append.md
4810
5240
  */
4811
5241
  'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
4812
5242
  /**
4813
5243
  * Prefer using `.dataset` on DOM elements over calling attribute methods.
4814
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-dom-node-dataset.md
5244
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-dataset.md
4815
5245
  */
4816
5246
  'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
4817
5247
  /**
4818
5248
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
4819
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-dom-node-remove.md
5249
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-remove.md
4820
5250
  */
4821
5251
  'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
4822
5252
  /**
4823
5253
  * Prefer `.textContent` over `.innerText`.
4824
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-dom-node-text-content.md
5254
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-text-content.md
4825
5255
  */
4826
5256
  'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
4827
5257
  /**
4828
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/deprecated-rules.md#prefer-event-key
5258
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-event-key
4829
5259
  * @deprecated
4830
5260
  */
4831
5261
  'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
4832
5262
  /**
4833
5263
  * Prefer `EventTarget` over `EventEmitter`.
4834
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-event-target.md
5264
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-event-target.md
4835
5265
  */
4836
5266
  'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
4837
5267
  /**
4838
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator
5268
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator
4839
5269
  * @deprecated
4840
5270
  */
4841
5271
  'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
4842
5272
  /**
4843
5273
  * Prefer `export…from` when re-exporting.
4844
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-export-from.md
5274
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-export-from.md
4845
5275
  */
4846
5276
  'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
4847
5277
  /**
4848
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/deprecated-rules.md#prefer-flat-map
5278
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-flat-map
4849
5279
  * @deprecated
4850
5280
  */
4851
5281
  'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
4852
5282
  /**
4853
5283
  * Prefer `.includes()` over `.indexOf()` and `Array#some()` when checking for existence or non-existence.
4854
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-includes.md
5284
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-includes.md
4855
5285
  */
4856
5286
  'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
4857
5287
  /**
4858
5288
  * Prefer reading a JSON file as a buffer.
4859
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-json-parse-buffer.md
5289
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-json-parse-buffer.md
4860
5290
  */
4861
5291
  'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
4862
5292
  /**
4863
5293
  * Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
4864
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-keyboard-event-key.md
5294
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-keyboard-event-key.md
4865
5295
  */
4866
5296
  'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
4867
5297
  /**
4868
5298
  * Prefer using a logical operator over a ternary.
4869
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-logical-operator-over-ternary.md
5299
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-logical-operator-over-ternary.md
4870
5300
  */
4871
5301
  'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
4872
5302
  /**
4873
5303
  * Enforce the use of `Math.trunc` instead of bitwise operators.
4874
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-math-trunc.md
5304
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-math-trunc.md
4875
5305
  */
4876
5306
  'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
4877
5307
  /**
4878
5308
  * Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
4879
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-modern-dom-apis.md
5309
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-modern-dom-apis.md
4880
5310
  */
4881
5311
  'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
4882
5312
  /**
4883
5313
  * Prefer modern `Math` APIs over legacy patterns.
4884
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-modern-math-apis.md
5314
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-modern-math-apis.md
4885
5315
  */
4886
5316
  'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
4887
5317
  /**
4888
5318
  * Prefer JavaScript modules (ESM) over CommonJS.
4889
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-module.md
5319
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-module.md
4890
5320
  */
4891
5321
  'unicorn/prefer-module'?: Linter.RuleEntry<[]>
4892
5322
  /**
4893
5323
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
4894
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-native-coercion-functions.md
5324
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-native-coercion-functions.md
4895
5325
  */
4896
5326
  'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
4897
5327
  /**
4898
5328
  * Prefer negative index over `.length - index` when possible.
4899
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-negative-index.md
5329
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-negative-index.md
4900
5330
  */
4901
5331
  'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
4902
5332
  /**
4903
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/deprecated-rules.md#prefer-node-append
5333
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-node-append
4904
5334
  * @deprecated
4905
5335
  */
4906
5336
  'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
4907
5337
  /**
4908
5338
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
4909
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-node-protocol.md
5339
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-node-protocol.md
4910
5340
  */
4911
5341
  'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
4912
5342
  /**
4913
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/deprecated-rules.md#prefer-node-remove
5343
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-node-remove
4914
5344
  * @deprecated
4915
5345
  */
4916
5346
  'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
4917
5347
  /**
4918
5348
  * Prefer `Number` static properties over global ones.
4919
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-number-properties.md
5349
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-number-properties.md
4920
5350
  */
4921
5351
  'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
4922
5352
  /**
4923
5353
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
4924
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-object-from-entries.md
5354
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-object-from-entries.md
4925
5355
  */
4926
5356
  'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
4927
5357
  /**
4928
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/deprecated-rules.md#prefer-object-has-own
5358
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-object-has-own
4929
5359
  * @deprecated
4930
5360
  */
4931
5361
  'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
4932
5362
  /**
4933
5363
  * Prefer omitting the `catch` binding parameter.
4934
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-optional-catch-binding.md
5364
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-optional-catch-binding.md
4935
5365
  */
4936
5366
  'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
4937
5367
  /**
4938
5368
  * Prefer borrowing methods from the prototype instead of the instance.
4939
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-prototype-methods.md
5369
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-prototype-methods.md
4940
5370
  */
4941
5371
  'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
4942
5372
  /**
4943
5373
  * Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()`.
4944
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-query-selector.md
5374
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-query-selector.md
4945
5375
  */
4946
5376
  'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
4947
5377
  /**
4948
5378
  * Prefer `Reflect.apply()` over `Function#apply()`.
4949
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-reflect-apply.md
5379
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-reflect-apply.md
4950
5380
  */
4951
5381
  'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
4952
5382
  /**
4953
5383
  * Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
4954
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-regexp-test.md
5384
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-regexp-test.md
4955
5385
  */
4956
5386
  'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
4957
5387
  /**
4958
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/deprecated-rules.md#prefer-replace-all
5388
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-replace-all
4959
5389
  * @deprecated
4960
5390
  */
4961
5391
  'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
4962
5392
  /**
4963
5393
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
4964
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-set-has.md
5394
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-set-has.md
4965
5395
  */
4966
5396
  'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
4967
5397
  /**
4968
5398
  * Prefer using `Set#size` instead of `Array#length`.
4969
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-set-size.md
5399
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-set-size.md
4970
5400
  */
4971
5401
  'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
4972
5402
  /**
4973
5403
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
4974
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-spread.md
5404
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-spread.md
4975
5405
  */
4976
5406
  'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
4977
5407
  /**
4978
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/deprecated-rules.md#prefer-starts-ends-with
5408
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-starts-ends-with
4979
5409
  * @deprecated
4980
5410
  */
4981
5411
  'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>
5412
+ /**
5413
+ * Prefer using the `String.raw` tag to avoid escaping `\`.
5414
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-raw.md
5415
+ */
5416
+ 'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
4982
5417
  /**
4983
5418
  * Prefer `String#replaceAll()` over regex searches with the global flag.
4984
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-string-replace-all.md
5419
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-replace-all.md
4985
5420
  */
4986
5421
  'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
4987
5422
  /**
4988
5423
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
4989
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-string-slice.md
5424
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-slice.md
4990
5425
  */
4991
5426
  'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
4992
5427
  /**
4993
5428
  * Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
4994
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-string-starts-ends-with.md
5429
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-starts-ends-with.md
4995
5430
  */
4996
5431
  'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
4997
5432
  /**
4998
5433
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
4999
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-string-trim-start-end.md
5434
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-trim-start-end.md
5000
5435
  */
5001
5436
  'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
5437
+ /**
5438
+ * Prefer using `structuredClone` to create a deep clone.
5439
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-structured-clone.md
5440
+ */
5441
+ 'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
5002
5442
  /**
5003
5443
  * Prefer `switch` over multiple `else-if`.
5004
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-switch.md
5444
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-switch.md
5005
5445
  */
5006
5446
  'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
5007
5447
  /**
5008
5448
  * Prefer ternary expressions over simple `if-else` statements.
5009
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-ternary.md
5449
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-ternary.md
5010
5450
  */
5011
5451
  'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
5012
5452
  /**
5013
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/deprecated-rules.md#prefer-text-content
5453
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-text-content
5014
5454
  * @deprecated
5015
5455
  */
5016
5456
  'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
5017
5457
  /**
5018
5458
  * Prefer top-level await over top-level promises and async function calls.
5019
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-top-level-await.md
5459
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-top-level-await.md
5020
5460
  */
5021
5461
  'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
5022
5462
  /**
5023
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/deprecated-rules.md#prefer-trim-start-end
5463
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-trim-start-end
5024
5464
  * @deprecated
5025
5465
  */
5026
5466
  'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
5027
5467
  /**
5028
5468
  * Enforce throwing `TypeError` in type checking conditions.
5029
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-type-error.md
5469
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-type-error.md
5030
5470
  */
5031
5471
  'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
5032
5472
  /**
5033
5473
  * Prevent abbreviations.
5034
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prevent-abbreviations.md
5474
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prevent-abbreviations.md
5035
5475
  */
5036
5476
  'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
5037
5477
  /**
5038
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/deprecated-rules.md#regex-shorthand
5478
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#regex-shorthand
5039
5479
  * @deprecated
5040
5480
  */
5041
5481
  'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
5042
5482
  /**
5043
5483
  * Enforce consistent relative URL style.
5044
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/relative-url-style.md
5484
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/relative-url-style.md
5045
5485
  */
5046
5486
  'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
5047
5487
  /**
5048
5488
  * Enforce using the separator argument with `Array#join()`.
5049
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/require-array-join-separator.md
5489
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/require-array-join-separator.md
5050
5490
  */
5051
5491
  'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
5052
5492
  /**
5053
5493
  * Enforce using the digits argument with `Number#toFixed()`.
5054
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/require-number-to-fixed-digits-argument.md
5494
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/require-number-to-fixed-digits-argument.md
5055
5495
  */
5056
5496
  'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
5057
5497
  /**
5058
5498
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
5059
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/require-post-message-target-origin.md
5499
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/require-post-message-target-origin.md
5060
5500
  */
5061
5501
  'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
5062
5502
  /**
5063
5503
  * Enforce better string content.
5064
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/string-content.md
5504
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/string-content.md
5065
5505
  */
5066
5506
  'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
5067
5507
  /**
5068
5508
  * Enforce consistent brace style for `case` clauses.
5069
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/switch-case-braces.md
5509
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/switch-case-braces.md
5070
5510
  */
5071
5511
  'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
5072
5512
  /**
5073
5513
  * Fix whitespace-insensitive template indentation.
5074
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/template-indent.md
5514
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/template-indent.md
5075
5515
  */
5076
5516
  'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
5077
5517
  /**
5078
5518
  * Enforce consistent case for text encoding identifiers.
5079
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/text-encoding-identifier-case.md
5519
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/text-encoding-identifier-case.md
5080
5520
  */
5081
5521
  'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
5082
5522
  /**
5083
- * Require `new` when throwing an error.
5084
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/throw-new-error.md
5523
+ * Require `new` when creating an error.
5524
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/throw-new-error.md
5085
5525
  */
5086
5526
  'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
5087
5527
  /**
@@ -8693,6 +9133,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
8693
9133
  // ----- node/no-unsupported-features/node-builtins -----
8694
9134
  type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
8695
9135
  version?: string
9136
+ allowExperimental?: boolean
8696
9137
  ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CustomEvent" | "Event" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "process" | "process.allowedNodeEnvironmentFlags" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.constants" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.lutimes" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readdir" | "fs.promises.readFile" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rmdir" | "fs.promises.rm" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.promises.FileHandle" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.lchmod" | "fs.lchown" | "fs.lutimes" | "fs.link" | "fs.lstat" | "fs.mkdir" | "fs.mkdtemp" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.native" | "fs.rename" | "fs.rmdir" | "fs.rm" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.lutimesSync" | "fs.linkSync" | "fs.lstatSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statSync" | "fs.statfsSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.constants" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.lutimes" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readdir" | "fs/promises.readFile" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rmdir" | "fs/promises.rm" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "fs/promises.FileHandle" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.createRequire" | "module.createRequireFromPath" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.test.isSea" | "sea.test.getAsset" | "sea.test.getAssetAsBlob" | "sea.test.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.run" | "test.skip" | "test.todo" | "test.only" | "test.describe" | "test.describe.skip" | "test.describe.todo" | "test.describe.only" | "test.it" | "test.it.skip" | "test.it.todo" | "test.it.only" | "test.before" | "test.after" | "test.beforeEach" | "test.afterEach" | "test.MockFunctionContext" | "test.MockTracker" | "test.MockTimers" | "test.TestsStream" | "test.TestContext" | "test.SuiteContext" | "test.test.run" | "test.test.skip" | "test.test.todo" | "test.test.only" | "test.test.describe" | "test.test.it" | "test.test.before" | "test.test.after" | "test.test.beforeEach" | "test.test.afterEach" | "test.test.MockFunctionContext" | "test.test.MockTracker" | "test.test.MockTimers" | "test.test.TestsStream" | "test.test.TestContext" | "test.test.SuiteContext" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress" | "zlib.BrotliDecompress" | "zlib.Deflate" | "zlib.DeflateRaw" | "zlib.Gunzip" | "zlib.Gzip" | "zlib.Inflate" | "zlib.InflateRaw" | "zlib.Unzip" | "zlib")[]
8697
9138
  }]
8698
9139
  // ----- node/prefer-global/buffer -----
@@ -9512,6 +9953,124 @@ type ReactStylePropObject = []|[{
9512
9953
  allow?: string[]
9513
9954
  [k: string]: unknown | undefined
9514
9955
  }]
9956
+ // ----- regexp/hexadecimal-escape -----
9957
+ type RegexpHexadecimalEscape = []|[("always" | "never")]
9958
+ // ----- regexp/letter-case -----
9959
+ type RegexpLetterCase = []|[{
9960
+ caseInsensitive?: ("lowercase" | "uppercase" | "ignore")
9961
+ unicodeEscape?: ("lowercase" | "uppercase" | "ignore")
9962
+ hexadecimalEscape?: ("lowercase" | "uppercase" | "ignore")
9963
+ controlEscape?: ("lowercase" | "uppercase" | "ignore")
9964
+ }]
9965
+ // ----- regexp/match-any -----
9966
+ type RegexpMatchAny = []|[{
9967
+
9968
+ allows?: [("[\\s\\S]" | "[\\S\\s]" | "[^]" | "dotAll"), ...(("[\\s\\S]" | "[\\S\\s]" | "[^]" | "dotAll"))[]]
9969
+ }]
9970
+ // ----- regexp/no-dupe-disjunctions -----
9971
+ type RegexpNoDupeDisjunctions = []|[{
9972
+ report?: ("all" | "trivial" | "interesting")
9973
+ reportExponentialBacktracking?: ("none" | "certain" | "potential")
9974
+ reportUnreachable?: ("certain" | "potential")
9975
+ }]
9976
+ // ----- regexp/no-lazy-ends -----
9977
+ type RegexpNoLazyEnds = []|[{
9978
+ ignorePartial?: boolean
9979
+ }]
9980
+ // ----- regexp/no-legacy-features -----
9981
+ type RegexpNoLegacyFeatures = []|[{
9982
+ staticProperties?: ("input" | "$_" | "lastMatch" | "$&" | "lastParen" | "$+" | "leftContext" | "$`" | "rightContext" | "$'" | "$1" | "$2" | "$3" | "$4" | "$5" | "$6" | "$7" | "$8" | "$9")[]
9983
+ prototypeMethods?: ("compile")[]
9984
+ }]
9985
+ // ----- regexp/no-misleading-capturing-group -----
9986
+ type RegexpNoMisleadingCapturingGroup = []|[{
9987
+ reportBacktrackingEnds?: boolean
9988
+ }]
9989
+ // ----- regexp/no-misleading-unicode-character -----
9990
+ type RegexpNoMisleadingUnicodeCharacter = []|[{
9991
+ fixable?: boolean
9992
+ }]
9993
+ // ----- regexp/no-missing-g-flag -----
9994
+ type RegexpNoMissingGFlag = []|[{
9995
+ strictTypes?: boolean
9996
+ }]
9997
+ // ----- regexp/no-obscure-range -----
9998
+ type RegexpNoObscureRange = []|[{
9999
+ allowed?: (("all" | "alphanumeric") | [("all" | "alphanumeric")] | [("alphanumeric" | string), ...(("alphanumeric" | string))[]])
10000
+ }]
10001
+ // ----- regexp/no-super-linear-backtracking -----
10002
+ type RegexpNoSuperLinearBacktracking = []|[{
10003
+ report?: ("certain" | "potential")
10004
+ }]
10005
+ // ----- regexp/no-super-linear-move -----
10006
+ type RegexpNoSuperLinearMove = []|[{
10007
+ report?: ("certain" | "potential")
10008
+ ignoreSticky?: boolean
10009
+ ignorePartial?: boolean
10010
+ }]
10011
+ // ----- regexp/no-unused-capturing-group -----
10012
+ type RegexpNoUnusedCapturingGroup = []|[{
10013
+ fixable?: boolean
10014
+ allowNamed?: boolean
10015
+ }]
10016
+ // ----- regexp/no-useless-character-class -----
10017
+ type RegexpNoUselessCharacterClass = []|[{
10018
+ ignores?: string[]
10019
+ }]
10020
+ // ----- regexp/no-useless-flag -----
10021
+ type RegexpNoUselessFlag = []|[{
10022
+ ignore?: ("i" | "m" | "s" | "g" | "y")[]
10023
+ strictTypes?: boolean
10024
+ }]
10025
+ // ----- regexp/no-useless-non-capturing-group -----
10026
+ type RegexpNoUselessNonCapturingGroup = []|[{
10027
+ allowTop?: (boolean | ("always" | "never" | "partial"))
10028
+ }]
10029
+ // ----- regexp/optimal-quantifier-concatenation -----
10030
+ type RegexpOptimalQuantifierConcatenation = []|[{
10031
+ capturingGroups?: ("ignore" | "report")
10032
+ }]
10033
+ // ----- regexp/prefer-character-class -----
10034
+ type RegexpPreferCharacterClass = []|[{
10035
+ minAlternatives?: number
10036
+ }]
10037
+ // ----- regexp/prefer-d -----
10038
+ type RegexpPreferD = []|[{
10039
+ insideCharacterClass?: ("ignore" | "range" | "d")
10040
+ }]
10041
+ // ----- regexp/prefer-lookaround -----
10042
+ type RegexpPreferLookaround = []|[{
10043
+ lookbehind?: boolean
10044
+ strictTypes?: boolean
10045
+ }]
10046
+ // ----- regexp/prefer-named-replacement -----
10047
+ type RegexpPreferNamedReplacement = []|[{
10048
+ strictTypes?: boolean
10049
+ }]
10050
+ // ----- regexp/prefer-range -----
10051
+ type RegexpPreferRange = []|[{
10052
+ target?: (("all" | "alphanumeric") | [("all" | "alphanumeric")] | [("alphanumeric" | string), ...(("alphanumeric" | string))[]])
10053
+ }]
10054
+ // ----- regexp/prefer-result-array-groups -----
10055
+ type RegexpPreferResultArrayGroups = []|[{
10056
+ strictTypes?: boolean
10057
+ }]
10058
+ // ----- regexp/sort-character-class-elements -----
10059
+ type RegexpSortCharacterClassElements = []|[{
10060
+ order?: ("\\s" | "\\w" | "\\d" | "\\p" | "*" | "\\q" | "[]")[]
10061
+ }]
10062
+ // ----- regexp/unicode-escape -----
10063
+ type RegexpUnicodeEscape = []|[("unicodeCodePointEscape" | "unicodeEscape")]
10064
+ // ----- regexp/unicode-property -----
10065
+ type RegexpUnicodeProperty = []|[{
10066
+ generalCategory?: ("always" | "never" | "ignore")
10067
+ key?: ("short" | "long" | "ignore")
10068
+ property?: (("short" | "long" | "ignore") | {
10069
+ binary?: ("short" | "long" | "ignore")
10070
+ generalCategory?: ("short" | "long" | "ignore")
10071
+ script?: ("short" | "long" | "ignore")
10072
+ })
10073
+ }]
9515
10074
  // ----- require-atomic-updates -----
9516
10075
  type RequireAtomicUpdates = []|[{
9517
10076
  allowProperties?: boolean
@@ -11461,11 +12020,16 @@ type UnicornPreferExportFrom = []|[{
11461
12020
  // ----- unicorn/prefer-number-properties -----
11462
12021
  type UnicornPreferNumberProperties = []|[{
11463
12022
  checkInfinity?: boolean
12023
+ checkNaN?: boolean
11464
12024
  }]
11465
12025
  // ----- unicorn/prefer-object-from-entries -----
11466
12026
  type UnicornPreferObjectFromEntries = []|[{
11467
12027
  functions?: unknown[]
11468
12028
  }]
12029
+ // ----- unicorn/prefer-structured-clone -----
12030
+ type UnicornPreferStructuredClone = []|[{
12031
+ functions?: unknown[]
12032
+ }]
11469
12033
  // ----- unicorn/prefer-switch -----
11470
12034
  type UnicornPreferSwitch = []|[{
11471
12035
  minimumCases?: number
@@ -12738,7 +13302,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
12738
13302
  onlyEquality?: boolean
12739
13303
  }]
12740
13304
  // Names of all the configs
12741
- type ConfigNames = 'coderwyd/eslint-comments/rules' | 'coderwyd/formatter/setup' | 'coderwyd/imports/rules' | 'coderwyd/imports/disables/bin' | 'coderwyd/javascript/rules' | 'coderwyd/javascript/disables/cli' | 'coderwyd/javascript/disables/test' | 'coderwyd/jsdoc/rules' | 'coderwyd/jsonc/setup' | 'coderwyd/jsonc/rules' | 'coderwyd/node/rules' | 'coderwyd/perfectionist/setup' | 'coderwyd/react/setup' | 'coderwyd/react/rules' | 'coderwyd/sort/package-json' | 'coderwyd/prettier/setup' | 'coderwyd/prettier/rules' | 'coderwyd/svelte/setup' | 'coderwyd/svelte/rules' | 'coderwyd/test/setup' | 'coderwyd/test/rules' | 'coderwyd/typescript/setup' | 'coderwyd/typescript/parser' | 'coderwyd/typescript/rules' | 'coderwyd/typescript/disables/dts' | 'coderwyd/typescript/disables/test' | 'coderwyd/typescript/disables/cjs' | 'coderwyd/unicorn/rules' | 'coderwyd/unocss/rules' | 'coderwyd/vue/setup' | 'coderwyd/vue/rules' | 'coderwyd/command/rules'
13305
+ type ConfigNames = 'coderwyd/eslint-comments/rules' | 'coderwyd/formatter/setup' | 'coderwyd/imports/rules' | 'coderwyd/imports/disables/bin' | 'coderwyd/javascript/rules' | 'coderwyd/javascript/disables/cli' | 'coderwyd/javascript/disables/test' | 'coderwyd/jsdoc/rules' | 'coderwyd/jsonc/setup' | 'coderwyd/jsonc/rules' | 'coderwyd/node/rules' | 'coderwyd/perfectionist/setup' | 'coderwyd/react/setup' | 'coderwyd/react/rules' | 'coderwyd/sort/package-json' | 'coderwyd/prettier/setup' | 'coderwyd/prettier/rules' | 'coderwyd/svelte/setup' | 'coderwyd/svelte/rules' | 'coderwyd/test/setup' | 'coderwyd/test/rules' | 'coderwyd/typescript/setup' | 'coderwyd/typescript/parser' | 'coderwyd/typescript/rules' | 'coderwyd/typescript/disables/dts' | 'coderwyd/typescript/disables/test' | 'coderwyd/typescript/disables/cjs' | 'coderwyd/unicorn/rules' | 'coderwyd/unocss/rules' | 'coderwyd/vue/setup' | 'coderwyd/vue/rules' | 'coderwyd/command/rules' | 'coderwyd/regexp/rules'
12742
13306
 
12743
13307
  type Rules = RuleOptions;
12744
13308
 
@@ -12827,6 +13391,12 @@ interface OptionsIsInEditor {
12827
13391
  interface OptionsOverrides {
12828
13392
  overrides?: TypedFlatConfigItem['rules'];
12829
13393
  }
13394
+ interface OptionsRegExp {
13395
+ /**
13396
+ * Override rulelevels
13397
+ */
13398
+ level?: 'error' | 'warn';
13399
+ }
12830
13400
  interface OptionsUnoCSS extends OptionsOverrides {
12831
13401
  /**
12832
13402
  * Enable attributify support.
@@ -12928,6 +13498,13 @@ interface OptionsConfig extends OptionsComponentExts {
12928
13498
  * @default false
12929
13499
  */
12930
13500
  unocss?: boolean | OptionsUnoCSS;
13501
+ /**
13502
+ * Enable regexp rules.
13503
+ *
13504
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/
13505
+ * @default true
13506
+ */
13507
+ regexp?: boolean | (OptionsRegExp & OptionsOverrides);
12931
13508
  /**
12932
13509
  * Whether to use prettierrc
12933
13510
  *
@@ -13075,4 +13652,4 @@ declare const defaultPluginRenaming: {
13075
13652
  */
13076
13653
  declare function defineConfig(options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[] | Linter.FlatConfig[]>[]): Promise<TypedFlatConfigItem[]>;
13077
13654
 
13078
- export { type Awaitable, type ConfigNames, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsUnoCSS, type OptionsVue, type PartialPrettierExtendedOptions, type PrettierOptions, type PrettierParser, type ResolvedOptions, type Rules, type TypedFlatConfigItem, combine, defaultPluginRenaming, defineConfig, ensurePackages, getOverrides, getVueVersion, interopDefault, loadPrettierConfig, parserPlain, renamePluginInConfigs, renameRules, resolveSubOptions, toArray };
13655
+ export { type Awaitable, type ConfigNames, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsRegExp, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsUnoCSS, type OptionsVue, type PartialPrettierExtendedOptions, type PrettierOptions, type PrettierParser, type ResolvedOptions, type Rules, type TypedFlatConfigItem, combine, defaultPluginRenaming, defineConfig, ensurePackages, getOverrides, getVueVersion, interopDefault, loadPrettierConfig, parserPlain, renamePluginInConfigs, renameRules, resolveSubOptions, toArray };