@coderwyd/eslint-config 2.3.4 → 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/cli.cjs +16 -16
- package/dist/cli.js +16 -16
- package/dist/index.cjs +78 -35
- package/dist/index.d.cts +748 -139
- package/dist/index.d.ts +748 -139
- package/dist/index.js +78 -35
- package/package.json +32 -31
package/dist/index.d.cts
CHANGED
|
@@ -28,6 +28,11 @@ interface RuleOptions {
|
|
|
28
28
|
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/import-dedupe.md
|
|
29
29
|
*/
|
|
30
30
|
'antfu/import-dedupe'?: Linter.RuleEntry<[]>
|
|
31
|
+
/**
|
|
32
|
+
* Enforce consistent indentation in `unindent` template tag
|
|
33
|
+
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/indent-unindent.test.ts
|
|
34
|
+
*/
|
|
35
|
+
'antfu/indent-unindent'?: Linter.RuleEntry<AntfuIndentUnindent>
|
|
31
36
|
/**
|
|
32
37
|
* Prevent importing modules in `dist` folder
|
|
33
38
|
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-import-dist.test.ts
|
|
@@ -144,6 +149,11 @@ interface RuleOptions {
|
|
|
144
149
|
* @deprecated
|
|
145
150
|
*/
|
|
146
151
|
'comma-style'?: Linter.RuleEntry<CommaStyle>
|
|
152
|
+
/**
|
|
153
|
+
* Comment-as-command for one-off codemod with ESLint
|
|
154
|
+
* @see https://github.com/antfu/eslint-plugin-command
|
|
155
|
+
*/
|
|
156
|
+
'command/command'?: Linter.RuleEntry<[]>
|
|
147
157
|
/**
|
|
148
158
|
* Enforce a maximum cyclomatic complexity allowed in a program
|
|
149
159
|
* @see https://eslint.org/docs/latest/rules/complexity
|
|
@@ -2321,6 +2331,11 @@ interface RuleOptions {
|
|
|
2321
2331
|
* @see https://eslint-plugin-perfectionist.azat.io/rules/sort-interfaces
|
|
2322
2332
|
*/
|
|
2323
2333
|
'perfectionist/sort-interfaces'?: Linter.RuleEntry<PerfectionistSortInterfaces>
|
|
2334
|
+
/**
|
|
2335
|
+
* enforce sorted intersection types
|
|
2336
|
+
* @see https://eslint-plugin-perfectionist.azat.io/rules/sort-intersection-types
|
|
2337
|
+
*/
|
|
2338
|
+
'perfectionist/sort-intersection-types'?: Linter.RuleEntry<PerfectionistSortIntersectionTypes>
|
|
2324
2339
|
/**
|
|
2325
2340
|
* enforce sorted JSX props
|
|
2326
2341
|
* @see https://eslint-plugin-perfectionist.azat.io/rules/sort-jsx-props
|
|
@@ -2976,6 +2991,416 @@ interface RuleOptions {
|
|
|
2976
2991
|
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/void-dom-elements-no-children.md
|
|
2977
2992
|
*/
|
|
2978
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<[]>
|
|
2979
3404
|
/**
|
|
2980
3405
|
* Disallow assignments that can lead to race conditions due to usage of `await` or `yield`
|
|
2981
3406
|
* @see https://eslint.org/docs/latest/rules/require-atomic-updates
|
|
@@ -3272,6 +3697,11 @@ interface RuleOptions {
|
|
|
3272
3697
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-store-async/
|
|
3273
3698
|
*/
|
|
3274
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<[]>
|
|
3275
3705
|
/**
|
|
3276
3706
|
* disallow `target="_blank"` attribute without `rel="noopener noreferrer"`
|
|
3277
3707
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-target-blank/
|
|
@@ -3480,7 +3910,7 @@ interface RuleOptions {
|
|
|
3480
3910
|
* disallow focused tests
|
|
3481
3911
|
* @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-focused-tests.md
|
|
3482
3912
|
*/
|
|
3483
|
-
'test/no-focused-tests'?: Linter.RuleEntry<
|
|
3913
|
+
'test/no-focused-tests'?: Linter.RuleEntry<TestNoFocusedTests>
|
|
3484
3914
|
/**
|
|
3485
3915
|
* disallow setup and teardown hooks
|
|
3486
3916
|
* @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-hooks.md
|
|
@@ -4421,652 +4851,677 @@ interface RuleOptions {
|
|
|
4421
4851
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
4422
4852
|
/**
|
|
4423
4853
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
4424
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4854
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/better-regex.md
|
|
4425
4855
|
*/
|
|
4426
4856
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
4427
4857
|
/**
|
|
4428
4858
|
* Enforce a specific parameter name in catch clauses.
|
|
4429
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4859
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/catch-error-name.md
|
|
4430
4860
|
*/
|
|
4431
4861
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
4432
4862
|
/**
|
|
4433
4863
|
* Use destructured variables over properties.
|
|
4434
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4864
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/consistent-destructuring.md
|
|
4435
4865
|
*/
|
|
4436
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<[]>
|
|
4437
4872
|
/**
|
|
4438
4873
|
* Move function definitions to the highest possible scope.
|
|
4439
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4874
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/consistent-function-scoping.md
|
|
4440
4875
|
*/
|
|
4441
4876
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
4442
4877
|
/**
|
|
4443
4878
|
* Enforce correct `Error` subclassing.
|
|
4444
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4879
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/custom-error-definition.md
|
|
4445
4880
|
*/
|
|
4446
4881
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
4447
4882
|
/**
|
|
4448
4883
|
* Enforce no spaces between braces.
|
|
4449
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4884
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/empty-brace-spaces.md
|
|
4450
4885
|
*/
|
|
4451
4886
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
4452
4887
|
/**
|
|
4453
4888
|
* Enforce passing a `message` value when creating a built-in error.
|
|
4454
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4889
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/error-message.md
|
|
4455
4890
|
*/
|
|
4456
4891
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
4457
4892
|
/**
|
|
4458
4893
|
* Require escape sequences to use uppercase values.
|
|
4459
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4894
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/escape-case.md
|
|
4460
4895
|
*/
|
|
4461
4896
|
'unicorn/escape-case'?: Linter.RuleEntry<[]>
|
|
4462
4897
|
/**
|
|
4463
4898
|
* Add expiration conditions to TODO comments.
|
|
4464
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4899
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/expiring-todo-comments.md
|
|
4465
4900
|
*/
|
|
4466
4901
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
4467
4902
|
/**
|
|
4468
4903
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
4469
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4904
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/explicit-length-check.md
|
|
4470
4905
|
*/
|
|
4471
4906
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
4472
4907
|
/**
|
|
4473
4908
|
* Enforce a case style for filenames.
|
|
4474
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4909
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/filename-case.md
|
|
4475
4910
|
*/
|
|
4476
4911
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
4477
4912
|
/**
|
|
4478
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4913
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#import-index
|
|
4479
4914
|
* @deprecated
|
|
4480
4915
|
*/
|
|
4481
4916
|
'unicorn/import-index'?: Linter.RuleEntry<[]>
|
|
4482
4917
|
/**
|
|
4483
4918
|
* Enforce specific import styles per module.
|
|
4484
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4919
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/import-style.md
|
|
4485
4920
|
*/
|
|
4486
4921
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
4487
4922
|
/**
|
|
4488
4923
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
4489
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4924
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/new-for-builtins.md
|
|
4490
4925
|
*/
|
|
4491
4926
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
4492
4927
|
/**
|
|
4493
4928
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
4494
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4929
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-abusive-eslint-disable.md
|
|
4495
4930
|
*/
|
|
4496
4931
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
4497
4932
|
/**
|
|
4498
4933
|
* Disallow anonymous functions and classes as the default export.
|
|
4499
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4934
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-anonymous-default-export.md
|
|
4500
4935
|
*/
|
|
4501
4936
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
4502
4937
|
/**
|
|
4503
4938
|
* Prevent passing a function reference directly to iterator methods.
|
|
4504
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4939
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-callback-reference.md
|
|
4505
4940
|
*/
|
|
4506
4941
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
4507
4942
|
/**
|
|
4508
4943
|
* Prefer `for…of` over the `forEach` method.
|
|
4509
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4944
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-for-each.md
|
|
4510
4945
|
*/
|
|
4511
4946
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
4512
4947
|
/**
|
|
4513
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4948
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-array-instanceof
|
|
4514
4949
|
* @deprecated
|
|
4515
4950
|
*/
|
|
4516
4951
|
'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
|
|
4517
4952
|
/**
|
|
4518
4953
|
* Disallow using the `this` argument in array methods.
|
|
4519
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4954
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-method-this-argument.md
|
|
4520
4955
|
*/
|
|
4521
4956
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
4522
4957
|
/**
|
|
4523
4958
|
* Enforce combining multiple `Array#push()` into one call.
|
|
4524
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4959
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-push-push.md
|
|
4525
4960
|
*/
|
|
4526
4961
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
|
|
4527
4962
|
/**
|
|
4528
4963
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
4529
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4964
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-reduce.md
|
|
4530
4965
|
*/
|
|
4531
4966
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
4532
4967
|
/**
|
|
4533
4968
|
* Disallow member access from await expression.
|
|
4534
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4969
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-await-expression-member.md
|
|
4535
4970
|
*/
|
|
4536
4971
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
4537
4972
|
/**
|
|
4538
4973
|
* Disallow using `await` in `Promise` method parameters.
|
|
4539
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4974
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-await-in-promise-methods.md
|
|
4540
4975
|
*/
|
|
4541
4976
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
4542
4977
|
/**
|
|
4543
4978
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
4544
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4979
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-console-spaces.md
|
|
4545
4980
|
*/
|
|
4546
4981
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
4547
4982
|
/**
|
|
4548
4983
|
* Do not use `document.cookie` directly.
|
|
4549
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4984
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-document-cookie.md
|
|
4550
4985
|
*/
|
|
4551
4986
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
4552
4987
|
/**
|
|
4553
4988
|
* Disallow empty files.
|
|
4554
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4989
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-empty-file.md
|
|
4555
4990
|
*/
|
|
4556
4991
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
4557
4992
|
/**
|
|
4558
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4993
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator
|
|
4559
4994
|
* @deprecated
|
|
4560
4995
|
*/
|
|
4561
4996
|
'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
|
|
4562
4997
|
/**
|
|
4563
4998
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
4564
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4999
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-for-loop.md
|
|
4565
5000
|
*/
|
|
4566
5001
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
4567
5002
|
/**
|
|
4568
5003
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
4569
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5004
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-hex-escape.md
|
|
4570
5005
|
*/
|
|
4571
5006
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
4572
5007
|
/**
|
|
4573
5008
|
* Require `Array.isArray()` instead of `instanceof Array`.
|
|
4574
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5009
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-instanceof-array.md
|
|
4575
5010
|
*/
|
|
4576
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<[]>
|
|
4577
5017
|
/**
|
|
4578
5018
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
4579
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5019
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-invalid-remove-event-listener.md
|
|
4580
5020
|
*/
|
|
4581
5021
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
4582
5022
|
/**
|
|
4583
5023
|
* Disallow identifiers starting with `new` or `class`.
|
|
4584
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5024
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-keyword-prefix.md
|
|
4585
5025
|
*/
|
|
4586
5026
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
4587
5027
|
/**
|
|
4588
5028
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
4589
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5029
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-lonely-if.md
|
|
4590
5030
|
*/
|
|
4591
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<[]>
|
|
4592
5037
|
/**
|
|
4593
5038
|
* Disallow negated conditions.
|
|
4594
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5039
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-negated-condition.md
|
|
4595
5040
|
*/
|
|
4596
5041
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
4597
5042
|
/**
|
|
4598
5043
|
* Disallow nested ternary expressions.
|
|
4599
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5044
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-nested-ternary.md
|
|
4600
5045
|
*/
|
|
4601
5046
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
4602
5047
|
/**
|
|
4603
5048
|
* Disallow `new Array()`.
|
|
4604
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5049
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-new-array.md
|
|
4605
5050
|
*/
|
|
4606
5051
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
4607
5052
|
/**
|
|
4608
5053
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
4609
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5054
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-new-buffer.md
|
|
4610
5055
|
*/
|
|
4611
5056
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
4612
5057
|
/**
|
|
4613
5058
|
* Disallow the use of the `null` literal.
|
|
4614
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5059
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-null.md
|
|
4615
5060
|
*/
|
|
4616
5061
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
4617
5062
|
/**
|
|
4618
5063
|
* Disallow the use of objects as default parameters.
|
|
4619
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5064
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-object-as-default-parameter.md
|
|
4620
5065
|
*/
|
|
4621
5066
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
4622
5067
|
/**
|
|
4623
5068
|
* Disallow `process.exit()`.
|
|
4624
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5069
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-process-exit.md
|
|
4625
5070
|
*/
|
|
4626
5071
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
4627
5072
|
/**
|
|
4628
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5073
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-reduce
|
|
4629
5074
|
* @deprecated
|
|
4630
5075
|
*/
|
|
4631
5076
|
'unicorn/no-reduce'?: Linter.RuleEntry<[]>
|
|
4632
5077
|
/**
|
|
4633
5078
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
4634
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5079
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-single-promise-in-promise-methods.md
|
|
4635
5080
|
*/
|
|
4636
5081
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
4637
5082
|
/**
|
|
4638
5083
|
* Disallow classes that only have static members.
|
|
4639
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5084
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-static-only-class.md
|
|
4640
5085
|
*/
|
|
4641
5086
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
4642
5087
|
/**
|
|
4643
5088
|
* Disallow `then` property.
|
|
4644
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5089
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-thenable.md
|
|
4645
5090
|
*/
|
|
4646
5091
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
4647
5092
|
/**
|
|
4648
5093
|
* Disallow assigning `this` to a variable.
|
|
4649
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5094
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-this-assignment.md
|
|
4650
5095
|
*/
|
|
4651
5096
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
4652
5097
|
/**
|
|
4653
5098
|
* Disallow comparing `undefined` using `typeof`.
|
|
4654
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5099
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-typeof-undefined.md
|
|
4655
5100
|
*/
|
|
4656
5101
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
4657
5102
|
/**
|
|
4658
5103
|
* Disallow awaiting non-promise values.
|
|
4659
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5104
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unnecessary-await.md
|
|
4660
5105
|
*/
|
|
4661
5106
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
4662
5107
|
/**
|
|
4663
5108
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
4664
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5109
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unnecessary-polyfills.md
|
|
4665
5110
|
*/
|
|
4666
5111
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
4667
5112
|
/**
|
|
4668
5113
|
* Disallow unreadable array destructuring.
|
|
4669
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5114
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unreadable-array-destructuring.md
|
|
4670
5115
|
*/
|
|
4671
5116
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
4672
5117
|
/**
|
|
4673
5118
|
* Disallow unreadable IIFEs.
|
|
4674
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5119
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unreadable-iife.md
|
|
4675
5120
|
*/
|
|
4676
5121
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
4677
5122
|
/**
|
|
4678
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5123
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-unsafe-regex
|
|
4679
5124
|
* @deprecated
|
|
4680
5125
|
*/
|
|
4681
5126
|
'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
|
|
4682
5127
|
/**
|
|
4683
5128
|
* Disallow unused object properties.
|
|
4684
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5129
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unused-properties.md
|
|
4685
5130
|
*/
|
|
4686
5131
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
4687
5132
|
/**
|
|
4688
5133
|
* Disallow useless fallback when spreading in object literals.
|
|
4689
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5134
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-fallback-in-spread.md
|
|
4690
5135
|
*/
|
|
4691
5136
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
4692
5137
|
/**
|
|
4693
5138
|
* Disallow useless array length check.
|
|
4694
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5139
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-length-check.md
|
|
4695
5140
|
*/
|
|
4696
5141
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
4697
5142
|
/**
|
|
4698
5143
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
4699
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5144
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-promise-resolve-reject.md
|
|
4700
5145
|
*/
|
|
4701
5146
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
4702
5147
|
/**
|
|
4703
5148
|
* Disallow unnecessary spread.
|
|
4704
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5149
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-spread.md
|
|
4705
5150
|
*/
|
|
4706
5151
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
4707
5152
|
/**
|
|
4708
5153
|
* Disallow useless case in switch statements.
|
|
4709
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5154
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-switch-case.md
|
|
4710
5155
|
*/
|
|
4711
5156
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
4712
5157
|
/**
|
|
4713
5158
|
* Disallow useless `undefined`.
|
|
4714
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5159
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-undefined.md
|
|
4715
5160
|
*/
|
|
4716
5161
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
4717
5162
|
/**
|
|
4718
5163
|
* Disallow number literals with zero fractions or dangling dots.
|
|
4719
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5164
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-zero-fractions.md
|
|
4720
5165
|
*/
|
|
4721
5166
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
4722
5167
|
/**
|
|
4723
5168
|
* Enforce proper case for numeric literals.
|
|
4724
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5169
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/number-literal-case.md
|
|
4725
5170
|
*/
|
|
4726
5171
|
'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
|
|
4727
5172
|
/**
|
|
4728
5173
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
4729
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5174
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/numeric-separators-style.md
|
|
4730
5175
|
*/
|
|
4731
5176
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
4732
5177
|
/**
|
|
4733
5178
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
4734
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5179
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-add-event-listener.md
|
|
4735
5180
|
*/
|
|
4736
5181
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
4737
5182
|
/**
|
|
4738
5183
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
4739
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5184
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-find.md
|
|
4740
5185
|
*/
|
|
4741
5186
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
4742
5187
|
/**
|
|
4743
5188
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
4744
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5189
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-flat.md
|
|
4745
5190
|
*/
|
|
4746
5191
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
4747
5192
|
/**
|
|
4748
5193
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
4749
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5194
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-flat-map.md
|
|
4750
5195
|
*/
|
|
4751
5196
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
4752
5197
|
/**
|
|
4753
5198
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
4754
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5199
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-index-of.md
|
|
4755
5200
|
*/
|
|
4756
5201
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
4757
5202
|
/**
|
|
4758
5203
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast}(…)`.
|
|
4759
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5204
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-some.md
|
|
4760
5205
|
*/
|
|
4761
5206
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
4762
5207
|
/**
|
|
4763
5208
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
4764
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5209
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-at.md
|
|
4765
5210
|
*/
|
|
4766
5211
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
4767
5212
|
/**
|
|
4768
5213
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
4769
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5214
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-blob-reading-methods.md
|
|
4770
5215
|
*/
|
|
4771
5216
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
4772
5217
|
/**
|
|
4773
5218
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
4774
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5219
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-code-point.md
|
|
4775
5220
|
*/
|
|
4776
5221
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
4777
5222
|
/**
|
|
4778
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5223
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-dataset
|
|
4779
5224
|
* @deprecated
|
|
4780
5225
|
*/
|
|
4781
5226
|
'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
|
|
4782
5227
|
/**
|
|
4783
5228
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
4784
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5229
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-date-now.md
|
|
4785
5230
|
*/
|
|
4786
5231
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
4787
5232
|
/**
|
|
4788
5233
|
* Prefer default parameters over reassignment.
|
|
4789
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5234
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-default-parameters.md
|
|
4790
5235
|
*/
|
|
4791
5236
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
4792
5237
|
/**
|
|
4793
5238
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
4794
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5239
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-append.md
|
|
4795
5240
|
*/
|
|
4796
5241
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
4797
5242
|
/**
|
|
4798
5243
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
4799
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5244
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-dataset.md
|
|
4800
5245
|
*/
|
|
4801
5246
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
4802
5247
|
/**
|
|
4803
5248
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
4804
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5249
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-remove.md
|
|
4805
5250
|
*/
|
|
4806
5251
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
4807
5252
|
/**
|
|
4808
5253
|
* Prefer `.textContent` over `.innerText`.
|
|
4809
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5254
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-text-content.md
|
|
4810
5255
|
*/
|
|
4811
5256
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
4812
5257
|
/**
|
|
4813
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5258
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-event-key
|
|
4814
5259
|
* @deprecated
|
|
4815
5260
|
*/
|
|
4816
5261
|
'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
|
|
4817
5262
|
/**
|
|
4818
5263
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
4819
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5264
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-event-target.md
|
|
4820
5265
|
*/
|
|
4821
5266
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
4822
5267
|
/**
|
|
4823
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5268
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator
|
|
4824
5269
|
* @deprecated
|
|
4825
5270
|
*/
|
|
4826
5271
|
'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
|
|
4827
5272
|
/**
|
|
4828
5273
|
* Prefer `export…from` when re-exporting.
|
|
4829
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5274
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-export-from.md
|
|
4830
5275
|
*/
|
|
4831
5276
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
4832
5277
|
/**
|
|
4833
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5278
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-flat-map
|
|
4834
5279
|
* @deprecated
|
|
4835
5280
|
*/
|
|
4836
5281
|
'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
|
|
4837
5282
|
/**
|
|
4838
5283
|
* Prefer `.includes()` over `.indexOf()` and `Array#some()` when checking for existence or non-existence.
|
|
4839
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5284
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-includes.md
|
|
4840
5285
|
*/
|
|
4841
5286
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
4842
5287
|
/**
|
|
4843
5288
|
* Prefer reading a JSON file as a buffer.
|
|
4844
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5289
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-json-parse-buffer.md
|
|
4845
5290
|
*/
|
|
4846
5291
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
4847
5292
|
/**
|
|
4848
5293
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
4849
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5294
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-keyboard-event-key.md
|
|
4850
5295
|
*/
|
|
4851
5296
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
4852
5297
|
/**
|
|
4853
5298
|
* Prefer using a logical operator over a ternary.
|
|
4854
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5299
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-logical-operator-over-ternary.md
|
|
4855
5300
|
*/
|
|
4856
5301
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
4857
5302
|
/**
|
|
4858
5303
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
4859
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5304
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-math-trunc.md
|
|
4860
5305
|
*/
|
|
4861
5306
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
4862
5307
|
/**
|
|
4863
5308
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
4864
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5309
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-modern-dom-apis.md
|
|
4865
5310
|
*/
|
|
4866
5311
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
4867
5312
|
/**
|
|
4868
5313
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
4869
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5314
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-modern-math-apis.md
|
|
4870
5315
|
*/
|
|
4871
5316
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
4872
5317
|
/**
|
|
4873
5318
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
4874
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5319
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-module.md
|
|
4875
5320
|
*/
|
|
4876
5321
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
4877
5322
|
/**
|
|
4878
5323
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
4879
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5324
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-native-coercion-functions.md
|
|
4880
5325
|
*/
|
|
4881
5326
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
4882
5327
|
/**
|
|
4883
5328
|
* Prefer negative index over `.length - index` when possible.
|
|
4884
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5329
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-negative-index.md
|
|
4885
5330
|
*/
|
|
4886
5331
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
4887
5332
|
/**
|
|
4888
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5333
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-node-append
|
|
4889
5334
|
* @deprecated
|
|
4890
5335
|
*/
|
|
4891
5336
|
'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
|
|
4892
5337
|
/**
|
|
4893
5338
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
4894
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5339
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-node-protocol.md
|
|
4895
5340
|
*/
|
|
4896
5341
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
4897
5342
|
/**
|
|
4898
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5343
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-node-remove
|
|
4899
5344
|
* @deprecated
|
|
4900
5345
|
*/
|
|
4901
5346
|
'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
|
|
4902
5347
|
/**
|
|
4903
5348
|
* Prefer `Number` static properties over global ones.
|
|
4904
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5349
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-number-properties.md
|
|
4905
5350
|
*/
|
|
4906
5351
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
4907
5352
|
/**
|
|
4908
5353
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
4909
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5354
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-object-from-entries.md
|
|
4910
5355
|
*/
|
|
4911
5356
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
4912
5357
|
/**
|
|
4913
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5358
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-object-has-own
|
|
4914
5359
|
* @deprecated
|
|
4915
5360
|
*/
|
|
4916
5361
|
'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
|
|
4917
5362
|
/**
|
|
4918
5363
|
* Prefer omitting the `catch` binding parameter.
|
|
4919
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5364
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-optional-catch-binding.md
|
|
4920
5365
|
*/
|
|
4921
5366
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
4922
5367
|
/**
|
|
4923
5368
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
4924
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5369
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-prototype-methods.md
|
|
4925
5370
|
*/
|
|
4926
5371
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
4927
5372
|
/**
|
|
4928
5373
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()`.
|
|
4929
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5374
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-query-selector.md
|
|
4930
5375
|
*/
|
|
4931
5376
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
4932
5377
|
/**
|
|
4933
5378
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
4934
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5379
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-reflect-apply.md
|
|
4935
5380
|
*/
|
|
4936
5381
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
4937
5382
|
/**
|
|
4938
5383
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
4939
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5384
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-regexp-test.md
|
|
4940
5385
|
*/
|
|
4941
5386
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
4942
5387
|
/**
|
|
4943
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5388
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-replace-all
|
|
4944
5389
|
* @deprecated
|
|
4945
5390
|
*/
|
|
4946
5391
|
'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
|
|
4947
5392
|
/**
|
|
4948
5393
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
4949
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5394
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-set-has.md
|
|
4950
5395
|
*/
|
|
4951
5396
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
4952
5397
|
/**
|
|
4953
5398
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
4954
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5399
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-set-size.md
|
|
4955
5400
|
*/
|
|
4956
5401
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
4957
5402
|
/**
|
|
4958
5403
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
4959
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5404
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-spread.md
|
|
4960
5405
|
*/
|
|
4961
5406
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
4962
5407
|
/**
|
|
4963
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5408
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-starts-ends-with
|
|
4964
5409
|
* @deprecated
|
|
4965
5410
|
*/
|
|
4966
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<[]>
|
|
4967
5417
|
/**
|
|
4968
5418
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
4969
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5419
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-replace-all.md
|
|
4970
5420
|
*/
|
|
4971
5421
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
4972
5422
|
/**
|
|
4973
5423
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
4974
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5424
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-slice.md
|
|
4975
5425
|
*/
|
|
4976
5426
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
4977
5427
|
/**
|
|
4978
5428
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
4979
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5429
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-starts-ends-with.md
|
|
4980
5430
|
*/
|
|
4981
5431
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
4982
5432
|
/**
|
|
4983
5433
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
4984
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5434
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-trim-start-end.md
|
|
4985
5435
|
*/
|
|
4986
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>
|
|
4987
5442
|
/**
|
|
4988
5443
|
* Prefer `switch` over multiple `else-if`.
|
|
4989
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5444
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-switch.md
|
|
4990
5445
|
*/
|
|
4991
5446
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
4992
5447
|
/**
|
|
4993
5448
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
4994
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5449
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-ternary.md
|
|
4995
5450
|
*/
|
|
4996
5451
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
4997
5452
|
/**
|
|
4998
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5453
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-text-content
|
|
4999
5454
|
* @deprecated
|
|
5000
5455
|
*/
|
|
5001
5456
|
'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
|
|
5002
5457
|
/**
|
|
5003
5458
|
* Prefer top-level await over top-level promises and async function calls.
|
|
5004
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5459
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-top-level-await.md
|
|
5005
5460
|
*/
|
|
5006
5461
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
5007
5462
|
/**
|
|
5008
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5463
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-trim-start-end
|
|
5009
5464
|
* @deprecated
|
|
5010
5465
|
*/
|
|
5011
5466
|
'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
|
|
5012
5467
|
/**
|
|
5013
5468
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
5014
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5469
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-type-error.md
|
|
5015
5470
|
*/
|
|
5016
5471
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
5017
5472
|
/**
|
|
5018
5473
|
* Prevent abbreviations.
|
|
5019
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5474
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prevent-abbreviations.md
|
|
5020
5475
|
*/
|
|
5021
5476
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
5022
5477
|
/**
|
|
5023
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5478
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#regex-shorthand
|
|
5024
5479
|
* @deprecated
|
|
5025
5480
|
*/
|
|
5026
5481
|
'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
|
|
5027
5482
|
/**
|
|
5028
5483
|
* Enforce consistent relative URL style.
|
|
5029
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5484
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/relative-url-style.md
|
|
5030
5485
|
*/
|
|
5031
5486
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
5032
5487
|
/**
|
|
5033
5488
|
* Enforce using the separator argument with `Array#join()`.
|
|
5034
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5489
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/require-array-join-separator.md
|
|
5035
5490
|
*/
|
|
5036
5491
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
5037
5492
|
/**
|
|
5038
5493
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
5039
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5494
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/require-number-to-fixed-digits-argument.md
|
|
5040
5495
|
*/
|
|
5041
5496
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
5042
5497
|
/**
|
|
5043
5498
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
5044
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5499
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/require-post-message-target-origin.md
|
|
5045
5500
|
*/
|
|
5046
5501
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
5047
5502
|
/**
|
|
5048
5503
|
* Enforce better string content.
|
|
5049
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5504
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/string-content.md
|
|
5050
5505
|
*/
|
|
5051
5506
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
5052
5507
|
/**
|
|
5053
5508
|
* Enforce consistent brace style for `case` clauses.
|
|
5054
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5509
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/switch-case-braces.md
|
|
5055
5510
|
*/
|
|
5056
5511
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
5057
5512
|
/**
|
|
5058
5513
|
* Fix whitespace-insensitive template indentation.
|
|
5059
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5514
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/template-indent.md
|
|
5060
5515
|
*/
|
|
5061
5516
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
5062
5517
|
/**
|
|
5063
5518
|
* Enforce consistent case for text encoding identifiers.
|
|
5064
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5519
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/text-encoding-identifier-case.md
|
|
5065
5520
|
*/
|
|
5066
5521
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
|
|
5067
5522
|
/**
|
|
5068
|
-
* Require `new` when
|
|
5069
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
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
|
|
5070
5525
|
*/
|
|
5071
5526
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
5072
5527
|
/**
|
|
@@ -6385,6 +6840,12 @@ type AntfuConsistentListNewline = []|[{
|
|
|
6385
6840
|
TSTypeParameterInstantiation?: boolean
|
|
6386
6841
|
ObjectPattern?: boolean
|
|
6387
6842
|
ArrayPattern?: boolean
|
|
6843
|
+
JSXOpeningElement?: boolean
|
|
6844
|
+
}]
|
|
6845
|
+
// ----- antfu/indent-unindent -----
|
|
6846
|
+
type AntfuIndentUnindent = []|[{
|
|
6847
|
+
indent?: number
|
|
6848
|
+
tags?: string[]
|
|
6388
6849
|
}]
|
|
6389
6850
|
// ----- array-bracket-newline -----
|
|
6390
6851
|
type ArrayBracketNewline = []|[(("always" | "never" | "consistent") | {
|
|
@@ -8131,7 +8592,7 @@ type NoConsole = []|[{
|
|
|
8131
8592
|
}]
|
|
8132
8593
|
// ----- no-constant-condition -----
|
|
8133
8594
|
type NoConstantCondition = []|[{
|
|
8134
|
-
checkLoops?:
|
|
8595
|
+
checkLoops?: ("all" | "allExceptWhileTrue" | "none" | true | false)
|
|
8135
8596
|
}]
|
|
8136
8597
|
// ----- no-duplicate-imports -----
|
|
8137
8598
|
type NoDuplicateImports = []|[{
|
|
@@ -8564,8 +9025,9 @@ type NodeNoHideCoreModules = []|[{
|
|
|
8564
9025
|
type NodeNoMissingImport = []|[{
|
|
8565
9026
|
allowModules?: string[]
|
|
8566
9027
|
resolvePaths?: string[]
|
|
8567
|
-
|
|
9028
|
+
tryExtensions?: string[]
|
|
8568
9029
|
tsconfigPath?: string
|
|
9030
|
+
typescriptExtensionMap?: (unknown[][] | ("react" | "react-jsx" | "react-jsxdev" | "react-native" | "preserve"))
|
|
8569
9031
|
}]
|
|
8570
9032
|
// ----- node/no-missing-require -----
|
|
8571
9033
|
type NodeNoMissingRequire = []|[{
|
|
@@ -8661,7 +9123,7 @@ type NodeNoUnpublishedRequire = []|[{
|
|
|
8661
9123
|
// ----- node/no-unsupported-features/es-builtins -----
|
|
8662
9124
|
type NodeNoUnsupportedFeaturesEsBuiltins = []|[{
|
|
8663
9125
|
version?: string
|
|
8664
|
-
ignores?: ("AggregateError" | "Array" | "Array.from" | "Array.isArray" | "Array.length" | "Array.of" | "Array.toLocaleString" | "ArrayBuffer" | "ArrayBuffer.isView" | "Atomics" | "Atomics.add" | "Atomics.and" | "Atomics.compareExchange" | "Atomics.exchange" | "Atomics.isLockFree" | "Atomics.load" | "Atomics.notify" | "Atomics.or" | "Atomics.store" | "Atomics.sub" | "Atomics.wait" | "Atomics.waitAsync" | "Atomics.xor" | "BigInt" | "BigInt.asIntN" | "BigInt.asUintN" | "BigInt64Array" | "BigInt64Array.BYTES_PER_ELEMENT" | "BigInt64Array.from" | "BigInt64Array.name" | "BigInt64Array.of" | "BigUint64Array" | "BigUint64Array.BYTES_PER_ELEMENT" | "BigUint64Array.from" | "BigUint64Array.name" | "BigUint64Array.of" | "Boolean" | "DataView" | "Date" | "Date.UTC" | "Date.now" | "Date.parse" | "Date.toLocaleDateString" | "Date.toLocaleString" | "Date.toLocaleTimeString" | "Error" | "Error.cause" | "EvalError" | "FinalizationRegistry" | "Float32Array" | "Float32Array.BYTES_PER_ELEMENT" | "Float32Array.from" | "Float32Array.name" | "Float32Array.of" | "Float64Array" | "Float64Array.BYTES_PER_ELEMENT" | "Float64Array.from" | "Float64Array.name" | "Float64Array.of" | "Function" | "Function.length" | "Function.name" | "Infinity" | "Int16Array" | "Int16Array.BYTES_PER_ELEMENT" | "Int16Array.from" | "Int16Array.name" | "Int16Array.of" | "Int32Array" | "Int32Array.BYTES_PER_ELEMENT" | "Int32Array.from" | "Int32Array.name" | "Int32Array.of" | "Int8Array" | "Int8Array.BYTES_PER_ELEMENT" | "Int8Array.from" | "Int8Array.name" | "Int8Array.of" | "Intl" | "Intl.Collator" | "Intl.DateTimeFormat" | "Intl.DisplayNames" | "Intl.ListFormat" | "Intl.Locale" | "Intl.NumberFormat" | "Intl.PluralRules" | "Intl.RelativeTimeFormat" | "Intl.Segmenter" | "Intl.Segments" | "Intl.getCanonicalLocales" | "Intl.supportedValuesOf" | "JSON" | "JSON.parse" | "JSON.stringify" | "Map" | "Map.groupBy" | "Math" | "Math.E" | "Math.LN10" | "Math.LN2" | "Math.LOG10E" | "Math.LOG2E" | "Math.PI" | "Math.SQRT1_2" | "Math.SQRT2" | "Math.abs" | "Math.acos" | "Math.acosh" | "Math.asin" | "Math.asinh" | "Math.atan" | "Math.atan2" | "Math.atanh" | "Math.cbrt" | "Math.ceil" | "Math.clz32" | "Math.cos" | "Math.cosh" | "Math.exp" | "Math.expm1" | "Math.floor" | "Math.fround" | "Math.hypot" | "Math.imul" | "Math.log" | "Math.log10" | "Math.log1p" | "Math.log2" | "Math.max" | "Math.min" | "Math.pow" | "Math.random" | "Math.round" | "Math.sign" | "Math.sin" | "Math.sinh" | "Math.sqrt" | "Math.tan" | "Math.tanh" | "Math.trunc" | "NaN" | "Number.EPSILON" | "Number.MAX_SAFE_INTEGER" | "Number.MAX_VALUE" | "Number.MIN_SAFE_INTEGER" | "Number.MIN_VALUE" | "Number.NEGATIVE_INFINITY" | "Number.NaN" | "Number.POSITIVE_INFINITY" | "Number.isFinite" | "Number.isInteger" | "Number.isNaN" | "Number.isSafeInteger" | "Number.parseFloat" | "Number.parseInt" | "Number.toLocaleString" | "Object.assign" | "Object.create" | "Object.defineGetter" | "Object.defineProperties" | "Object.defineProperty" | "Object.defineSetter" | "Object.entries" | "Object.freeze" | "Object.fromEntries" | "Object.getOwnPropertyDescriptor" | "Object.getOwnPropertyDescriptors" | "Object.getOwnPropertyNames" | "Object.getOwnPropertySymbols" | "Object.getPrototypeOf" | "Object.groupBy" | "Object.hasOwn" | "Object.is" | "Object.isExtensible" | "Object.isFrozen" | "Object.isSealed" | "Object.keys" | "Object.lookupGetter" | "Object.lookupSetter" | "Object.preventExtensions" | "Object.proto" | "Object.seal" | "Object.setPrototypeOf" | "Object.values" | "Promise" | "Promise.all" | "Promise.allSettled" | "Promise.any" | "Promise.race" | "Promise.reject" | "Promise.resolve" | "Proxy" | "Proxy.revocable" | "RangeError" | "ReferenceError" | "Reflect" | "Reflect.apply" | "Reflect.construct" | "Reflect.defineProperty" | "Reflect.deleteProperty" | "Reflect.get" | "Reflect.getOwnPropertyDescriptor" | "Reflect.getPrototypeOf" | "Reflect.has" | "Reflect.isExtensible" | "Reflect.ownKeys" | "Reflect.preventExtensions" | "Reflect.set" | "Reflect.setPrototypeOf" | "RegExp" | "RegExp.dotAll" | "RegExp.hasIndices" | "RegExp.input" | "RegExp.lastIndex" | "RegExp.lastMatch" | "RegExp.lastParen" | "RegExp.leftContext" | "RegExp.n" | "RegExp.rightContext" | "Set" | "SharedArrayBuffer" | "String" | "String.fromCharCode" | "String.fromCodePoint" | "String.length" | "String.localeCompare" | "String.raw" | "String.toLocaleLowerCase" | "String.toLocaleUpperCase" | "Symbol" | "Symbol.asyncIterator" | "Symbol.for" | "Symbol.hasInstance" | "Symbol.isConcatSpreadable" | "Symbol.iterator" | "Symbol.keyFor" | "Symbol.match" | "Symbol.matchAll" | "Symbol.replace" | "Symbol.search" | "Symbol.species" | "Symbol.split" | "Symbol.toPrimitive" | "Symbol.toStringTag" | "Symbol.unscopables" | "SyntaxError" | "TypeError" | "URIError" | "Uint16Array" | "Uint16Array.BYTES_PER_ELEMENT" | "Uint16Array.from" | "Uint16Array.name" | "Uint16Array.of" | "Uint32Array" | "Uint32Array.BYTES_PER_ELEMENT" | "Uint32Array.from" | "Uint32Array.name" | "Uint32Array.of" | "Uint8Array" | "Uint8Array.BYTES_PER_ELEMENT" | "Uint8Array.from" | "Uint8Array.name" | "Uint8Array.of" | "Uint8ClampedArray" | "Uint8ClampedArray.BYTES_PER_ELEMENT" | "Uint8ClampedArray.from" | "Uint8ClampedArray.name" | "Uint8ClampedArray.of" | "WeakMap" | "WeakRef" | "WeakSet" | "decodeURI" | "decodeURIComponent" | "encodeURI" | "encodeURIComponent" | "escape" | "eval" | "globalThis" | "isFinite" | "isNaN" | "parseFloat" | "parseInt" | "unescape"
|
|
9126
|
+
ignores?: ("AggregateError" | "Array" | "Array.from" | "Array.isArray" | "Array.length" | "Array.of" | "Array.toLocaleString" | "ArrayBuffer" | "ArrayBuffer.isView" | "Atomics" | "Atomics.add" | "Atomics.and" | "Atomics.compareExchange" | "Atomics.exchange" | "Atomics.isLockFree" | "Atomics.load" | "Atomics.notify" | "Atomics.or" | "Atomics.store" | "Atomics.sub" | "Atomics.wait" | "Atomics.waitAsync" | "Atomics.xor" | "BigInt" | "BigInt.asIntN" | "BigInt.asUintN" | "BigInt64Array" | "BigInt64Array.BYTES_PER_ELEMENT" | "BigInt64Array.from" | "BigInt64Array.name" | "BigInt64Array.of" | "BigUint64Array" | "BigUint64Array.BYTES_PER_ELEMENT" | "BigUint64Array.from" | "BigUint64Array.name" | "BigUint64Array.of" | "Boolean" | "DataView" | "Date" | "Date.UTC" | "Date.now" | "Date.parse" | "Date.toLocaleDateString" | "Date.toLocaleString" | "Date.toLocaleTimeString" | "Error" | "Error.cause" | "EvalError" | "FinalizationRegistry" | "Float32Array" | "Float32Array.BYTES_PER_ELEMENT" | "Float32Array.from" | "Float32Array.name" | "Float32Array.of" | "Float64Array" | "Float64Array.BYTES_PER_ELEMENT" | "Float64Array.from" | "Float64Array.name" | "Float64Array.of" | "Function" | "Function.length" | "Function.name" | "Infinity" | "Int16Array" | "Int16Array.BYTES_PER_ELEMENT" | "Int16Array.from" | "Int16Array.name" | "Int16Array.of" | "Int32Array" | "Int32Array.BYTES_PER_ELEMENT" | "Int32Array.from" | "Int32Array.name" | "Int32Array.of" | "Int8Array" | "Int8Array.BYTES_PER_ELEMENT" | "Int8Array.from" | "Int8Array.name" | "Int8Array.of" | "Intl" | "Intl.Collator" | "Intl.DateTimeFormat" | "Intl.DisplayNames" | "Intl.ListFormat" | "Intl.Locale" | "Intl.NumberFormat" | "Intl.PluralRules" | "Intl.RelativeTimeFormat" | "Intl.Segmenter" | "Intl.Segments" | "Intl.getCanonicalLocales" | "Intl.supportedValuesOf" | "JSON" | "JSON.parse" | "JSON.stringify" | "Map" | "Map.groupBy" | "Math" | "Math.E" | "Math.LN10" | "Math.LN2" | "Math.LOG10E" | "Math.LOG2E" | "Math.PI" | "Math.SQRT1_2" | "Math.SQRT2" | "Math.abs" | "Math.acos" | "Math.acosh" | "Math.asin" | "Math.asinh" | "Math.atan" | "Math.atan2" | "Math.atanh" | "Math.cbrt" | "Math.ceil" | "Math.clz32" | "Math.cos" | "Math.cosh" | "Math.exp" | "Math.expm1" | "Math.floor" | "Math.fround" | "Math.hypot" | "Math.imul" | "Math.log" | "Math.log10" | "Math.log1p" | "Math.log2" | "Math.max" | "Math.min" | "Math.pow" | "Math.random" | "Math.round" | "Math.sign" | "Math.sin" | "Math.sinh" | "Math.sqrt" | "Math.tan" | "Math.tanh" | "Math.trunc" | "NaN" | "Number.EPSILON" | "Number.MAX_SAFE_INTEGER" | "Number.MAX_VALUE" | "Number.MIN_SAFE_INTEGER" | "Number.MIN_VALUE" | "Number.NEGATIVE_INFINITY" | "Number.NaN" | "Number.POSITIVE_INFINITY" | "Number.isFinite" | "Number.isInteger" | "Number.isNaN" | "Number.isSafeInteger" | "Number.parseFloat" | "Number.parseInt" | "Number.toLocaleString" | "Object.assign" | "Object.create" | "Object.defineGetter" | "Object.defineProperties" | "Object.defineProperty" | "Object.defineSetter" | "Object.entries" | "Object.freeze" | "Object.fromEntries" | "Object.getOwnPropertyDescriptor" | "Object.getOwnPropertyDescriptors" | "Object.getOwnPropertyNames" | "Object.getOwnPropertySymbols" | "Object.getPrototypeOf" | "Object.groupBy" | "Object.hasOwn" | "Object.is" | "Object.isExtensible" | "Object.isFrozen" | "Object.isSealed" | "Object.keys" | "Object.lookupGetter" | "Object.lookupSetter" | "Object.preventExtensions" | "Object.proto" | "Object.seal" | "Object.setPrototypeOf" | "Object.values" | "Promise" | "Promise.all" | "Promise.allSettled" | "Promise.any" | "Promise.race" | "Promise.reject" | "Promise.resolve" | "Proxy" | "Proxy.revocable" | "RangeError" | "ReferenceError" | "Reflect" | "Reflect.apply" | "Reflect.construct" | "Reflect.defineProperty" | "Reflect.deleteProperty" | "Reflect.get" | "Reflect.getOwnPropertyDescriptor" | "Reflect.getPrototypeOf" | "Reflect.has" | "Reflect.isExtensible" | "Reflect.ownKeys" | "Reflect.preventExtensions" | "Reflect.set" | "Reflect.setPrototypeOf" | "RegExp" | "RegExp.dotAll" | "RegExp.hasIndices" | "RegExp.input" | "RegExp.lastIndex" | "RegExp.lastMatch" | "RegExp.lastParen" | "RegExp.leftContext" | "RegExp.n" | "RegExp.rightContext" | "Set" | "SharedArrayBuffer" | "String" | "String.fromCharCode" | "String.fromCodePoint" | "String.length" | "String.localeCompare" | "String.raw" | "String.toLocaleLowerCase" | "String.toLocaleUpperCase" | "Symbol" | "Symbol.asyncIterator" | "Symbol.for" | "Symbol.hasInstance" | "Symbol.isConcatSpreadable" | "Symbol.iterator" | "Symbol.keyFor" | "Symbol.match" | "Symbol.matchAll" | "Symbol.replace" | "Symbol.search" | "Symbol.species" | "Symbol.split" | "Symbol.toPrimitive" | "Symbol.toStringTag" | "Symbol.unscopables" | "SyntaxError" | "TypeError" | "URIError" | "Uint16Array" | "Uint16Array.BYTES_PER_ELEMENT" | "Uint16Array.from" | "Uint16Array.name" | "Uint16Array.of" | "Uint32Array" | "Uint32Array.BYTES_PER_ELEMENT" | "Uint32Array.from" | "Uint32Array.name" | "Uint32Array.of" | "Uint8Array" | "Uint8Array.BYTES_PER_ELEMENT" | "Uint8Array.from" | "Uint8Array.name" | "Uint8Array.of" | "Uint8ClampedArray" | "Uint8ClampedArray.BYTES_PER_ELEMENT" | "Uint8ClampedArray.from" | "Uint8ClampedArray.name" | "Uint8ClampedArray.of" | "WeakMap" | "WeakRef" | "WeakSet" | "decodeURI" | "decodeURIComponent" | "encodeURI" | "encodeURIComponent" | "escape" | "eval" | "globalThis" | "isFinite" | "isNaN" | "parseFloat" | "parseInt" | "unescape")[]
|
|
8665
9127
|
}]
|
|
8666
9128
|
// ----- node/no-unsupported-features/es-syntax -----
|
|
8667
9129
|
type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
@@ -8671,7 +9133,8 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
8671
9133
|
// ----- node/no-unsupported-features/node-builtins -----
|
|
8672
9134
|
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
8673
9135
|
version?: string
|
|
8674
|
-
ignores?: ("queueMicrotask" | "require.resolve.paths" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "TextDecoder" | "TextEncoder" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "process" | "process.allowedNodeEnvironmentFlags" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.getRandomValues" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.randomUUID" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.constants" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.lutimes" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readdir" | "fs.promises.readFile" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rmdir" | "fs.promises.rm" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.promises.FileHandle" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.lchmod" | "fs.lchown" | "fs.lutimes" | "fs.link" | "fs.lstat" | "fs.mkdir" | "fs.mkdtemp" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.native" | "fs.rename" | "fs.rmdir" | "fs.rm" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.lutimesSync" | "fs.linkSync" | "fs.lstatSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statSync" | "fs.statfsSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.constants" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.lutimes" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readdir" | "fs/promises.readFile" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rmdir" | "fs/promises.rm" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "fs/promises.FileHandle" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module" | "module.builtinModules" | "module.createRequire" | "module.createRequireFromPath" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "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" | "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.stripVTControlCharacters" | "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.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")[]
|
|
9136
|
+
allowExperimental?: boolean
|
|
9137
|
+
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CustomEvent" | "Event" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "process" | "process.allowedNodeEnvironmentFlags" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.constants" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.lutimes" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readdir" | "fs.promises.readFile" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rmdir" | "fs.promises.rm" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.promises.FileHandle" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.lchmod" | "fs.lchown" | "fs.lutimes" | "fs.link" | "fs.lstat" | "fs.mkdir" | "fs.mkdtemp" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.native" | "fs.rename" | "fs.rmdir" | "fs.rm" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.lutimesSync" | "fs.linkSync" | "fs.lstatSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statSync" | "fs.statfsSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.constants" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.lutimes" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readdir" | "fs/promises.readFile" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rmdir" | "fs/promises.rm" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "fs/promises.FileHandle" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.createRequire" | "module.createRequireFromPath" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.test.isSea" | "sea.test.getAsset" | "sea.test.getAssetAsBlob" | "sea.test.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.run" | "test.skip" | "test.todo" | "test.only" | "test.describe" | "test.describe.skip" | "test.describe.todo" | "test.describe.only" | "test.it" | "test.it.skip" | "test.it.todo" | "test.it.only" | "test.before" | "test.after" | "test.beforeEach" | "test.afterEach" | "test.MockFunctionContext" | "test.MockTracker" | "test.MockTimers" | "test.TestsStream" | "test.TestContext" | "test.SuiteContext" | "test.test.run" | "test.test.skip" | "test.test.todo" | "test.test.only" | "test.test.describe" | "test.test.it" | "test.test.before" | "test.test.after" | "test.test.beforeEach" | "test.test.afterEach" | "test.test.MockFunctionContext" | "test.test.MockTracker" | "test.test.MockTimers" | "test.test.TestsStream" | "test.test.TestContext" | "test.test.SuiteContext" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress" | "zlib.BrotliDecompress" | "zlib.Deflate" | "zlib.DeflateRaw" | "zlib.Gunzip" | "zlib.Gzip" | "zlib.Inflate" | "zlib.InflateRaw" | "zlib.Unzip" | "zlib")[]
|
|
8675
9138
|
}]
|
|
8676
9139
|
// ----- node/prefer-global/buffer -----
|
|
8677
9140
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -8884,6 +9347,12 @@ type PerfectionistSortInterfaces = []|[{
|
|
|
8884
9347
|
groups?: unknown[]
|
|
8885
9348
|
"partition-by-new-line"?: boolean
|
|
8886
9349
|
}]
|
|
9350
|
+
// ----- perfectionist/sort-intersection-types -----
|
|
9351
|
+
type PerfectionistSortIntersectionTypes = []|[{
|
|
9352
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
9353
|
+
order?: ("asc" | "desc")
|
|
9354
|
+
"ignore-case"?: boolean
|
|
9355
|
+
}]
|
|
8887
9356
|
// ----- perfectionist/sort-jsx-props -----
|
|
8888
9357
|
type PerfectionistSortJsxProps = []|[{
|
|
8889
9358
|
"custom-groups"?: {
|
|
@@ -9484,6 +9953,124 @@ type ReactStylePropObject = []|[{
|
|
|
9484
9953
|
allow?: string[]
|
|
9485
9954
|
[k: string]: unknown | undefined
|
|
9486
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
|
+
}]
|
|
9487
10074
|
// ----- require-atomic-updates -----
|
|
9488
10075
|
type RequireAtomicUpdates = []|[{
|
|
9489
10076
|
allowProperties?: boolean
|
|
@@ -9750,6 +10337,10 @@ type TestMaxExpects = []|[{
|
|
|
9750
10337
|
type TestMaxNestedDescribe = []|[{
|
|
9751
10338
|
max?: number
|
|
9752
10339
|
}]
|
|
10340
|
+
// ----- test/no-focused-tests -----
|
|
10341
|
+
type TestNoFocusedTests = []|[{
|
|
10342
|
+
fixable?: boolean
|
|
10343
|
+
}]
|
|
9753
10344
|
// ----- test/no-hooks -----
|
|
9754
10345
|
type TestNoHooks = []|[{
|
|
9755
10346
|
allow?: unknown[]
|
|
@@ -11429,11 +12020,16 @@ type UnicornPreferExportFrom = []|[{
|
|
|
11429
12020
|
// ----- unicorn/prefer-number-properties -----
|
|
11430
12021
|
type UnicornPreferNumberProperties = []|[{
|
|
11431
12022
|
checkInfinity?: boolean
|
|
12023
|
+
checkNaN?: boolean
|
|
11432
12024
|
}]
|
|
11433
12025
|
// ----- unicorn/prefer-object-from-entries -----
|
|
11434
12026
|
type UnicornPreferObjectFromEntries = []|[{
|
|
11435
12027
|
functions?: unknown[]
|
|
11436
12028
|
}]
|
|
12029
|
+
// ----- unicorn/prefer-structured-clone -----
|
|
12030
|
+
type UnicornPreferStructuredClone = []|[{
|
|
12031
|
+
functions?: unknown[]
|
|
12032
|
+
}]
|
|
11437
12033
|
// ----- unicorn/prefer-switch -----
|
|
11438
12034
|
type UnicornPreferSwitch = []|[{
|
|
11439
12035
|
minimumCases?: number
|
|
@@ -12243,7 +12839,7 @@ type VueNoConsole = []|[{
|
|
|
12243
12839
|
}]
|
|
12244
12840
|
// ----- vue/no-constant-condition -----
|
|
12245
12841
|
type VueNoConstantCondition = []|[{
|
|
12246
|
-
checkLoops?:
|
|
12842
|
+
checkLoops?: ("all" | "allExceptWhileTrue" | "none" | true | false)
|
|
12247
12843
|
}]
|
|
12248
12844
|
// ----- vue/no-deprecated-model-definition -----
|
|
12249
12845
|
type VueNoDeprecatedModelDefinition = []|[{
|
|
@@ -12706,7 +13302,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
12706
13302
|
onlyEquality?: boolean
|
|
12707
13303
|
}]
|
|
12708
13304
|
// Names of all the configs
|
|
12709
|
-
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'
|
|
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'
|
|
12710
13306
|
|
|
12711
13307
|
type Rules = RuleOptions;
|
|
12712
13308
|
|
|
@@ -12795,6 +13391,12 @@ interface OptionsIsInEditor {
|
|
|
12795
13391
|
interface OptionsOverrides {
|
|
12796
13392
|
overrides?: TypedFlatConfigItem['rules'];
|
|
12797
13393
|
}
|
|
13394
|
+
interface OptionsRegExp {
|
|
13395
|
+
/**
|
|
13396
|
+
* Override rulelevels
|
|
13397
|
+
*/
|
|
13398
|
+
level?: 'error' | 'warn';
|
|
13399
|
+
}
|
|
12798
13400
|
interface OptionsUnoCSS extends OptionsOverrides {
|
|
12799
13401
|
/**
|
|
12800
13402
|
* Enable attributify support.
|
|
@@ -12896,6 +13498,13 @@ interface OptionsConfig extends OptionsComponentExts {
|
|
|
12896
13498
|
* @default false
|
|
12897
13499
|
*/
|
|
12898
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);
|
|
12899
13508
|
/**
|
|
12900
13509
|
* Whether to use prettierrc
|
|
12901
13510
|
*
|
|
@@ -13043,4 +13652,4 @@ declare const defaultPluginRenaming: {
|
|
|
13043
13652
|
*/
|
|
13044
13653
|
declare function defineConfig(options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[] | Linter.FlatConfig[]>[]): Promise<TypedFlatConfigItem[]>;
|
|
13045
13654
|
|
|
13046
|
-
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 };
|