@zayne-labs/eslint-config 0.1.6 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +390 -170
- package/dist/index.js +45 -18
- package/dist/index.js.map +1 -1
- package/package.json +39 -44
package/dist/index.d.ts
CHANGED
|
@@ -2058,7 +2058,7 @@ interface Rules {
|
|
|
2058
2058
|
* disallow the use of `process.env`
|
|
2059
2059
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-process-env.md
|
|
2060
2060
|
*/
|
|
2061
|
-
'node/no-process-env'?: Linter.RuleEntry<
|
|
2061
|
+
'node/no-process-env'?: Linter.RuleEntry<NodeNoProcessEnv>
|
|
2062
2062
|
/**
|
|
2063
2063
|
* disallow the use of `process.exit()`
|
|
2064
2064
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-process-exit.md
|
|
@@ -2517,8 +2517,8 @@ interface Rules {
|
|
|
2517
2517
|
*/
|
|
2518
2518
|
'react-hooks-extra/no-direct-set-state-in-use-effect'?: Linter.RuleEntry<[]>
|
|
2519
2519
|
/**
|
|
2520
|
-
* disallow direct calls to the 'set' function of 'useState' in '
|
|
2521
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-effect
|
|
2520
|
+
* disallow direct calls to the 'set' function of 'useState' in 'useLayoutEffect'
|
|
2521
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-layout-effect
|
|
2522
2522
|
*/
|
|
2523
2523
|
'react-hooks-extra/no-direct-set-state-in-use-layout-effect'?: Linter.RuleEntry<[]>
|
|
2524
2524
|
/**
|
|
@@ -2801,12 +2801,17 @@ interface Rules {
|
|
|
2801
2801
|
* disallow unnecessary fragments
|
|
2802
2802
|
* @see https://eslint-react.xyz/docs/rules/no-useless-fragment
|
|
2803
2803
|
*/
|
|
2804
|
-
'react/no-useless-fragment'?: Linter.RuleEntry<
|
|
2804
|
+
'react/no-useless-fragment'?: Linter.RuleEntry<ReactNoUselessFragment>
|
|
2805
2805
|
/**
|
|
2806
2806
|
* enforce using destructuring assignment in component props and context
|
|
2807
2807
|
* @see https://eslint-react.xyz/docs/rules/prefer-destructuring-assignment
|
|
2808
2808
|
*/
|
|
2809
2809
|
'react/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>
|
|
2810
|
+
/**
|
|
2811
|
+
* enforce React is imported via a namespace import
|
|
2812
|
+
* @see https://eslint-react.xyz/docs/rules/prefer-react-namespace-import
|
|
2813
|
+
*/
|
|
2814
|
+
'react/prefer-react-namespace-import'?: Linter.RuleEntry<[]>
|
|
2810
2815
|
/**
|
|
2811
2816
|
* enforce read-only props in components
|
|
2812
2817
|
* @see https://eslint-react.xyz/docs/rules/prefer-read-only-props
|
|
@@ -2977,6 +2982,11 @@ interface Rules {
|
|
|
2977
2982
|
* @see https://eslint.style/rules/js/computed-property-spacing
|
|
2978
2983
|
*/
|
|
2979
2984
|
'stylistic/computed-property-spacing'?: Linter.RuleEntry<StylisticComputedPropertySpacing>
|
|
2985
|
+
/**
|
|
2986
|
+
* Enforce consistent line breaks after opening and before closing braces
|
|
2987
|
+
* @see https://eslint.style/rules/plus/curly-newline
|
|
2988
|
+
*/
|
|
2989
|
+
'stylistic/curly-newline'?: Linter.RuleEntry<StylisticCurlyNewline>
|
|
2980
2990
|
/**
|
|
2981
2991
|
* Enforce consistent newlines before and after dots
|
|
2982
2992
|
* @see https://eslint.style/rules/js/dot-location
|
|
@@ -3041,7 +3051,7 @@ interface Rules {
|
|
|
3041
3051
|
* Enforce closing tag location for multiline JSX
|
|
3042
3052
|
* @see https://eslint.style/rules/jsx/jsx-closing-tag-location
|
|
3043
3053
|
*/
|
|
3044
|
-
'stylistic/jsx-closing-tag-location'?: Linter.RuleEntry<
|
|
3054
|
+
'stylistic/jsx-closing-tag-location'?: Linter.RuleEntry<StylisticJsxClosingTagLocation>
|
|
3045
3055
|
/**
|
|
3046
3056
|
* Disallow unnecessary JSX expressions when literals alone are sufficient or enforce JSX expressions on literals in JSX children or attributes
|
|
3047
3057
|
* @see https://eslint.style/rules/jsx/jsx-curly-brace-presence
|
|
@@ -3449,6 +3459,31 @@ interface Rules {
|
|
|
3449
3459
|
* @see https://github.com/francoismassart/eslint-plugin-tailwindcss/tree/master/docs/rules/no-unnecessary-arbitrary-value.md
|
|
3450
3460
|
*/
|
|
3451
3461
|
'tailwindcss/no-unnecessary-arbitrary-value'?: Linter.RuleEntry<TailwindcssNoUnnecessaryArbitraryValue>
|
|
3462
|
+
/**
|
|
3463
|
+
* Exhaustive deps rule for useQuery
|
|
3464
|
+
* @see https://tanstack.com/query/latest/docs/eslint/exhaustive-deps
|
|
3465
|
+
*/
|
|
3466
|
+
'tanstack/query/exhaustive-deps'?: Linter.RuleEntry<[]>
|
|
3467
|
+
/**
|
|
3468
|
+
* Ensure correct order of inference sensitive properties for infinite queries
|
|
3469
|
+
* @see https://tanstack.com/query/latest/docs/eslint/infinite-query-property-order
|
|
3470
|
+
*/
|
|
3471
|
+
'tanstack/query/infinite-query-property-order'?: Linter.RuleEntry<[]>
|
|
3472
|
+
/**
|
|
3473
|
+
* Disallows rest destructuring in queries
|
|
3474
|
+
* @see https://tanstack.com/query/latest/docs/eslint/no-rest-destructuring
|
|
3475
|
+
*/
|
|
3476
|
+
'tanstack/query/no-rest-destructuring'?: Linter.RuleEntry<[]>
|
|
3477
|
+
/**
|
|
3478
|
+
* Disallow putting the result of query hooks directly in a React hook dependency array
|
|
3479
|
+
* @see https://tanstack.com/query/latest/docs/eslint/no-unstable-deps
|
|
3480
|
+
*/
|
|
3481
|
+
'tanstack/query/no-unstable-deps'?: Linter.RuleEntry<[]>
|
|
3482
|
+
/**
|
|
3483
|
+
* Makes sure that QueryClient is stable
|
|
3484
|
+
* @see https://tanstack.com/query/latest/docs/eslint/stable-query-client
|
|
3485
|
+
*/
|
|
3486
|
+
'tanstack/query/stable-query-client'?: Linter.RuleEntry<[]>
|
|
3452
3487
|
/**
|
|
3453
3488
|
* Require or disallow spacing around embedded expressions of template strings
|
|
3454
3489
|
* @see https://eslint.org/docs/latest/rules/template-curly-spacing
|
|
@@ -4109,687 +4144,702 @@ interface Rules {
|
|
|
4109
4144
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
4110
4145
|
/**
|
|
4111
4146
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
4112
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4147
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/better-regex.md
|
|
4113
4148
|
*/
|
|
4114
4149
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
4115
4150
|
/**
|
|
4116
4151
|
* Enforce a specific parameter name in catch clauses.
|
|
4117
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4152
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/catch-error-name.md
|
|
4118
4153
|
*/
|
|
4119
4154
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
4120
4155
|
/**
|
|
4121
4156
|
* Use destructured variables over properties.
|
|
4122
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4157
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/consistent-destructuring.md
|
|
4123
4158
|
*/
|
|
4124
4159
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
|
|
4125
4160
|
/**
|
|
4126
4161
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
4127
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4162
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/consistent-empty-array-spread.md
|
|
4128
4163
|
*/
|
|
4129
4164
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
|
|
4165
|
+
/**
|
|
4166
|
+
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
4167
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/consistent-existence-index-check.md
|
|
4168
|
+
*/
|
|
4169
|
+
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
|
|
4130
4170
|
/**
|
|
4131
4171
|
* Move function definitions to the highest possible scope.
|
|
4132
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4172
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/consistent-function-scoping.md
|
|
4133
4173
|
*/
|
|
4134
4174
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
4135
4175
|
/**
|
|
4136
4176
|
* Enforce correct `Error` subclassing.
|
|
4137
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4177
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/custom-error-definition.md
|
|
4138
4178
|
*/
|
|
4139
4179
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
4140
4180
|
/**
|
|
4141
4181
|
* Enforce no spaces between braces.
|
|
4142
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4182
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/empty-brace-spaces.md
|
|
4143
4183
|
*/
|
|
4144
4184
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
4145
4185
|
/**
|
|
4146
4186
|
* Enforce passing a `message` value when creating a built-in error.
|
|
4147
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4187
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/error-message.md
|
|
4148
4188
|
*/
|
|
4149
4189
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
4150
4190
|
/**
|
|
4151
4191
|
* Require escape sequences to use uppercase values.
|
|
4152
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4192
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/escape-case.md
|
|
4153
4193
|
*/
|
|
4154
4194
|
'unicorn/escape-case'?: Linter.RuleEntry<[]>
|
|
4155
4195
|
/**
|
|
4156
4196
|
* Add expiration conditions to TODO comments.
|
|
4157
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4197
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/expiring-todo-comments.md
|
|
4158
4198
|
*/
|
|
4159
4199
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
4160
4200
|
/**
|
|
4161
4201
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
4162
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4202
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/explicit-length-check.md
|
|
4163
4203
|
*/
|
|
4164
4204
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
4165
4205
|
/**
|
|
4166
4206
|
* Enforce a case style for filenames.
|
|
4167
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4207
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/filename-case.md
|
|
4168
4208
|
*/
|
|
4169
4209
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
4170
4210
|
/**
|
|
4171
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4211
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#import-index
|
|
4172
4212
|
* @deprecated
|
|
4173
4213
|
*/
|
|
4174
4214
|
'unicorn/import-index'?: Linter.RuleEntry<[]>
|
|
4175
4215
|
/**
|
|
4176
4216
|
* Enforce specific import styles per module.
|
|
4177
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4217
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/import-style.md
|
|
4178
4218
|
*/
|
|
4179
4219
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
4180
4220
|
/**
|
|
4181
4221
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
4182
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4222
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/new-for-builtins.md
|
|
4183
4223
|
*/
|
|
4184
4224
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
4185
4225
|
/**
|
|
4186
4226
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
4187
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4227
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-abusive-eslint-disable.md
|
|
4188
4228
|
*/
|
|
4189
4229
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
4190
4230
|
/**
|
|
4191
4231
|
* Disallow anonymous functions and classes as the default export.
|
|
4192
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4232
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-anonymous-default-export.md
|
|
4193
4233
|
*/
|
|
4194
4234
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
4195
4235
|
/**
|
|
4196
4236
|
* Prevent passing a function reference directly to iterator methods.
|
|
4197
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4237
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-array-callback-reference.md
|
|
4198
4238
|
*/
|
|
4199
4239
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
4200
4240
|
/**
|
|
4201
4241
|
* Prefer `for…of` over the `forEach` method.
|
|
4202
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4242
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-array-for-each.md
|
|
4203
4243
|
*/
|
|
4204
4244
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
4205
4245
|
/**
|
|
4206
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4246
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#no-array-instanceof
|
|
4207
4247
|
* @deprecated
|
|
4208
4248
|
*/
|
|
4209
4249
|
'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
|
|
4210
4250
|
/**
|
|
4211
4251
|
* Disallow using the `this` argument in array methods.
|
|
4212
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4252
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-array-method-this-argument.md
|
|
4213
4253
|
*/
|
|
4214
4254
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
4215
4255
|
/**
|
|
4216
4256
|
* Enforce combining multiple `Array#push()` into one call.
|
|
4217
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4257
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-array-push-push.md
|
|
4218
4258
|
*/
|
|
4219
4259
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
|
|
4220
4260
|
/**
|
|
4221
4261
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
4222
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4262
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-array-reduce.md
|
|
4223
4263
|
*/
|
|
4224
4264
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
4225
4265
|
/**
|
|
4226
4266
|
* Disallow member access from await expression.
|
|
4227
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4267
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-await-expression-member.md
|
|
4228
4268
|
*/
|
|
4229
4269
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
4230
4270
|
/**
|
|
4231
4271
|
* Disallow using `await` in `Promise` method parameters.
|
|
4232
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4272
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-await-in-promise-methods.md
|
|
4233
4273
|
*/
|
|
4234
4274
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
4235
4275
|
/**
|
|
4236
4276
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
4237
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4277
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-console-spaces.md
|
|
4238
4278
|
*/
|
|
4239
4279
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
4240
4280
|
/**
|
|
4241
4281
|
* Do not use `document.cookie` directly.
|
|
4242
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4282
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-document-cookie.md
|
|
4243
4283
|
*/
|
|
4244
4284
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
4245
4285
|
/**
|
|
4246
4286
|
* Disallow empty files.
|
|
4247
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4287
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-empty-file.md
|
|
4248
4288
|
*/
|
|
4249
4289
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
4250
4290
|
/**
|
|
4251
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4291
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator
|
|
4252
4292
|
* @deprecated
|
|
4253
4293
|
*/
|
|
4254
4294
|
'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
|
|
4255
4295
|
/**
|
|
4256
4296
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
4257
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4297
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-for-loop.md
|
|
4258
4298
|
*/
|
|
4259
4299
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
4260
4300
|
/**
|
|
4261
4301
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
4262
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4302
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-hex-escape.md
|
|
4263
4303
|
*/
|
|
4264
4304
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
4265
4305
|
/**
|
|
4266
4306
|
* Require `Array.isArray()` instead of `instanceof Array`.
|
|
4267
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4307
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-instanceof-array.md
|
|
4268
4308
|
*/
|
|
4269
4309
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
|
|
4270
4310
|
/**
|
|
4271
4311
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
4272
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4312
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-invalid-fetch-options.md
|
|
4273
4313
|
*/
|
|
4274
4314
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
|
|
4275
4315
|
/**
|
|
4276
4316
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
4277
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4317
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-invalid-remove-event-listener.md
|
|
4278
4318
|
*/
|
|
4279
4319
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
4280
4320
|
/**
|
|
4281
4321
|
* Disallow identifiers starting with `new` or `class`.
|
|
4282
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4322
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-keyword-prefix.md
|
|
4283
4323
|
*/
|
|
4284
4324
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
4285
4325
|
/**
|
|
4286
4326
|
* Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
4287
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4327
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-length-as-slice-end.md
|
|
4288
4328
|
*/
|
|
4289
4329
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
|
|
4290
4330
|
/**
|
|
4291
4331
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
4292
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4332
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-lonely-if.md
|
|
4293
4333
|
*/
|
|
4294
4334
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
|
|
4295
4335
|
/**
|
|
4296
4336
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
4297
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4337
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-magic-array-flat-depth.md
|
|
4298
4338
|
*/
|
|
4299
4339
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
4300
4340
|
/**
|
|
4301
4341
|
* Disallow negated conditions.
|
|
4302
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4342
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-negated-condition.md
|
|
4303
4343
|
*/
|
|
4304
4344
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
4305
4345
|
/**
|
|
4306
4346
|
* Disallow negated expression in equality check.
|
|
4307
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4347
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-negation-in-equality-check.md
|
|
4308
4348
|
*/
|
|
4309
4349
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
|
|
4310
4350
|
/**
|
|
4311
4351
|
* Disallow nested ternary expressions.
|
|
4312
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4352
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-nested-ternary.md
|
|
4313
4353
|
*/
|
|
4314
4354
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
4315
4355
|
/**
|
|
4316
4356
|
* Disallow `new Array()`.
|
|
4317
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4357
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-new-array.md
|
|
4318
4358
|
*/
|
|
4319
4359
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
4320
4360
|
/**
|
|
4321
4361
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
4322
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4362
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-new-buffer.md
|
|
4323
4363
|
*/
|
|
4324
4364
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
4325
4365
|
/**
|
|
4326
4366
|
* Disallow the use of the `null` literal.
|
|
4327
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4367
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-null.md
|
|
4328
4368
|
*/
|
|
4329
4369
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
4330
4370
|
/**
|
|
4331
4371
|
* Disallow the use of objects as default parameters.
|
|
4332
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4372
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-object-as-default-parameter.md
|
|
4333
4373
|
*/
|
|
4334
4374
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
4335
4375
|
/**
|
|
4336
4376
|
* Disallow `process.exit()`.
|
|
4337
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4377
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-process-exit.md
|
|
4338
4378
|
*/
|
|
4339
4379
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
4340
4380
|
/**
|
|
4341
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4381
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#no-reduce
|
|
4342
4382
|
* @deprecated
|
|
4343
4383
|
*/
|
|
4344
4384
|
'unicorn/no-reduce'?: Linter.RuleEntry<[]>
|
|
4345
4385
|
/**
|
|
4346
4386
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
4347
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4387
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-single-promise-in-promise-methods.md
|
|
4348
4388
|
*/
|
|
4349
4389
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
4350
4390
|
/**
|
|
4351
4391
|
* Disallow classes that only have static members.
|
|
4352
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4392
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-static-only-class.md
|
|
4353
4393
|
*/
|
|
4354
4394
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
4355
4395
|
/**
|
|
4356
4396
|
* Disallow `then` property.
|
|
4357
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4397
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-thenable.md
|
|
4358
4398
|
*/
|
|
4359
4399
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
4360
4400
|
/**
|
|
4361
4401
|
* Disallow assigning `this` to a variable.
|
|
4362
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4402
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-this-assignment.md
|
|
4363
4403
|
*/
|
|
4364
4404
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
4365
4405
|
/**
|
|
4366
4406
|
* Disallow comparing `undefined` using `typeof`.
|
|
4367
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4407
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-typeof-undefined.md
|
|
4368
4408
|
*/
|
|
4369
4409
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
4370
4410
|
/**
|
|
4371
4411
|
* Disallow awaiting non-promise values.
|
|
4372
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4412
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-unnecessary-await.md
|
|
4373
4413
|
*/
|
|
4374
4414
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
4375
4415
|
/**
|
|
4376
4416
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
4377
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4417
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-unnecessary-polyfills.md
|
|
4378
4418
|
*/
|
|
4379
4419
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
4380
4420
|
/**
|
|
4381
4421
|
* Disallow unreadable array destructuring.
|
|
4382
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4422
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-unreadable-array-destructuring.md
|
|
4383
4423
|
*/
|
|
4384
4424
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
4385
4425
|
/**
|
|
4386
4426
|
* Disallow unreadable IIFEs.
|
|
4387
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4427
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-unreadable-iife.md
|
|
4388
4428
|
*/
|
|
4389
4429
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
4390
4430
|
/**
|
|
4391
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4431
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#no-unsafe-regex
|
|
4392
4432
|
* @deprecated
|
|
4393
4433
|
*/
|
|
4394
4434
|
'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
|
|
4395
4435
|
/**
|
|
4396
4436
|
* Disallow unused object properties.
|
|
4397
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4437
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-unused-properties.md
|
|
4398
4438
|
*/
|
|
4399
4439
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
4400
4440
|
/**
|
|
4401
4441
|
* Disallow useless fallback when spreading in object literals.
|
|
4402
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4442
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-useless-fallback-in-spread.md
|
|
4403
4443
|
*/
|
|
4404
4444
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
4405
4445
|
/**
|
|
4406
4446
|
* Disallow useless array length check.
|
|
4407
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4447
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-useless-length-check.md
|
|
4408
4448
|
*/
|
|
4409
4449
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
4410
4450
|
/**
|
|
4411
4451
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
4412
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4452
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-useless-promise-resolve-reject.md
|
|
4413
4453
|
*/
|
|
4414
4454
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
4415
4455
|
/**
|
|
4416
4456
|
* Disallow unnecessary spread.
|
|
4417
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4457
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-useless-spread.md
|
|
4418
4458
|
*/
|
|
4419
4459
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
4420
4460
|
/**
|
|
4421
4461
|
* Disallow useless case in switch statements.
|
|
4422
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4462
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-useless-switch-case.md
|
|
4423
4463
|
*/
|
|
4424
4464
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
4425
4465
|
/**
|
|
4426
4466
|
* Disallow useless `undefined`.
|
|
4427
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4467
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-useless-undefined.md
|
|
4428
4468
|
*/
|
|
4429
4469
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
4430
4470
|
/**
|
|
4431
4471
|
* Disallow number literals with zero fractions or dangling dots.
|
|
4432
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4472
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-zero-fractions.md
|
|
4433
4473
|
*/
|
|
4434
4474
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
4435
4475
|
/**
|
|
4436
4476
|
* Enforce proper case for numeric literals.
|
|
4437
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4477
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/number-literal-case.md
|
|
4438
4478
|
*/
|
|
4439
4479
|
'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
|
|
4440
4480
|
/**
|
|
4441
4481
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
4442
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4482
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/numeric-separators-style.md
|
|
4443
4483
|
*/
|
|
4444
4484
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
4445
4485
|
/**
|
|
4446
4486
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
4447
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4487
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-add-event-listener.md
|
|
4448
4488
|
*/
|
|
4449
4489
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
4450
4490
|
/**
|
|
4451
4491
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
4452
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4492
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-array-find.md
|
|
4453
4493
|
*/
|
|
4454
4494
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
4455
4495
|
/**
|
|
4456
4496
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
4457
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4497
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-array-flat.md
|
|
4458
4498
|
*/
|
|
4459
4499
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
4460
4500
|
/**
|
|
4461
4501
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
4462
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4502
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-array-flat-map.md
|
|
4463
4503
|
*/
|
|
4464
4504
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
4465
4505
|
/**
|
|
4466
4506
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
4467
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4507
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-array-index-of.md
|
|
4468
4508
|
*/
|
|
4469
4509
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
4470
4510
|
/**
|
|
4471
4511
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
4472
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4512
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-array-some.md
|
|
4473
4513
|
*/
|
|
4474
4514
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
4475
4515
|
/**
|
|
4476
4516
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
4477
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4517
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-at.md
|
|
4478
4518
|
*/
|
|
4479
4519
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
4480
4520
|
/**
|
|
4481
4521
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
4482
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4522
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-blob-reading-methods.md
|
|
4483
4523
|
*/
|
|
4484
4524
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
4485
4525
|
/**
|
|
4486
4526
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
4487
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4527
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-code-point.md
|
|
4488
4528
|
*/
|
|
4489
4529
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
4490
4530
|
/**
|
|
4491
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4531
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-dataset
|
|
4492
4532
|
* @deprecated
|
|
4493
4533
|
*/
|
|
4494
4534
|
'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
|
|
4495
4535
|
/**
|
|
4496
4536
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
4497
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4537
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-date-now.md
|
|
4498
4538
|
*/
|
|
4499
4539
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
4500
4540
|
/**
|
|
4501
4541
|
* Prefer default parameters over reassignment.
|
|
4502
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4542
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-default-parameters.md
|
|
4503
4543
|
*/
|
|
4504
4544
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
4505
4545
|
/**
|
|
4506
4546
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
4507
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4547
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-dom-node-append.md
|
|
4508
4548
|
*/
|
|
4509
4549
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
4510
4550
|
/**
|
|
4511
4551
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
4512
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4552
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-dom-node-dataset.md
|
|
4513
4553
|
*/
|
|
4514
4554
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
4515
4555
|
/**
|
|
4516
4556
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
4517
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4557
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-dom-node-remove.md
|
|
4518
4558
|
*/
|
|
4519
4559
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
4520
4560
|
/**
|
|
4521
4561
|
* Prefer `.textContent` over `.innerText`.
|
|
4522
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4562
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-dom-node-text-content.md
|
|
4523
4563
|
*/
|
|
4524
4564
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
4525
4565
|
/**
|
|
4526
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4566
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-event-key
|
|
4527
4567
|
* @deprecated
|
|
4528
4568
|
*/
|
|
4529
4569
|
'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
|
|
4530
4570
|
/**
|
|
4531
4571
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
4532
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4572
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-event-target.md
|
|
4533
4573
|
*/
|
|
4534
4574
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
4535
4575
|
/**
|
|
4536
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4576
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator
|
|
4537
4577
|
* @deprecated
|
|
4538
4578
|
*/
|
|
4539
4579
|
'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
|
|
4540
4580
|
/**
|
|
4541
4581
|
* Prefer `export…from` when re-exporting.
|
|
4542
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4582
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-export-from.md
|
|
4543
4583
|
*/
|
|
4544
4584
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
4545
4585
|
/**
|
|
4546
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4586
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-flat-map
|
|
4547
4587
|
* @deprecated
|
|
4548
4588
|
*/
|
|
4549
4589
|
'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
|
|
4590
|
+
/**
|
|
4591
|
+
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
4592
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-global-this.md
|
|
4593
|
+
*/
|
|
4594
|
+
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
|
|
4550
4595
|
/**
|
|
4551
4596
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
4552
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4597
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-includes.md
|
|
4553
4598
|
*/
|
|
4554
4599
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
4555
4600
|
/**
|
|
4556
4601
|
* Prefer reading a JSON file as a buffer.
|
|
4557
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4602
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-json-parse-buffer.md
|
|
4558
4603
|
*/
|
|
4559
4604
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
4560
4605
|
/**
|
|
4561
4606
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
4562
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4607
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-keyboard-event-key.md
|
|
4563
4608
|
*/
|
|
4564
4609
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
4565
4610
|
/**
|
|
4566
4611
|
* Prefer using a logical operator over a ternary.
|
|
4567
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4612
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-logical-operator-over-ternary.md
|
|
4568
4613
|
*/
|
|
4569
4614
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
4615
|
+
/**
|
|
4616
|
+
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
4617
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-math-min-max.md
|
|
4618
|
+
*/
|
|
4619
|
+
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
|
|
4570
4620
|
/**
|
|
4571
4621
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
4572
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4622
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-math-trunc.md
|
|
4573
4623
|
*/
|
|
4574
4624
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
4575
4625
|
/**
|
|
4576
4626
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
4577
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4627
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-modern-dom-apis.md
|
|
4578
4628
|
*/
|
|
4579
4629
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
4580
4630
|
/**
|
|
4581
4631
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
4582
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4632
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-modern-math-apis.md
|
|
4583
4633
|
*/
|
|
4584
4634
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
4585
4635
|
/**
|
|
4586
4636
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
4587
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4637
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-module.md
|
|
4588
4638
|
*/
|
|
4589
4639
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
4590
4640
|
/**
|
|
4591
4641
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
4592
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4642
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-native-coercion-functions.md
|
|
4593
4643
|
*/
|
|
4594
4644
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
4595
4645
|
/**
|
|
4596
4646
|
* Prefer negative index over `.length - index` when possible.
|
|
4597
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4647
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-negative-index.md
|
|
4598
4648
|
*/
|
|
4599
4649
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
4600
4650
|
/**
|
|
4601
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4651
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-node-append
|
|
4602
4652
|
* @deprecated
|
|
4603
4653
|
*/
|
|
4604
4654
|
'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
|
|
4605
4655
|
/**
|
|
4606
4656
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
4607
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4657
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-node-protocol.md
|
|
4608
4658
|
*/
|
|
4609
4659
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
4610
4660
|
/**
|
|
4611
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4661
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-node-remove
|
|
4612
4662
|
* @deprecated
|
|
4613
4663
|
*/
|
|
4614
4664
|
'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
|
|
4615
4665
|
/**
|
|
4616
4666
|
* Prefer `Number` static properties over global ones.
|
|
4617
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4667
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-number-properties.md
|
|
4618
4668
|
*/
|
|
4619
4669
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
4620
4670
|
/**
|
|
4621
4671
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
4622
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4672
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-object-from-entries.md
|
|
4623
4673
|
*/
|
|
4624
4674
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
4625
4675
|
/**
|
|
4626
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4676
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-object-has-own
|
|
4627
4677
|
* @deprecated
|
|
4628
4678
|
*/
|
|
4629
4679
|
'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
|
|
4630
4680
|
/**
|
|
4631
4681
|
* Prefer omitting the `catch` binding parameter.
|
|
4632
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4682
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-optional-catch-binding.md
|
|
4633
4683
|
*/
|
|
4634
4684
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
4635
4685
|
/**
|
|
4636
4686
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
4637
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4687
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-prototype-methods.md
|
|
4638
4688
|
*/
|
|
4639
4689
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
4640
4690
|
/**
|
|
4641
|
-
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()`.
|
|
4642
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4691
|
+
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
4692
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-query-selector.md
|
|
4643
4693
|
*/
|
|
4644
4694
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
4645
4695
|
/**
|
|
4646
4696
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
4647
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4697
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-reflect-apply.md
|
|
4648
4698
|
*/
|
|
4649
4699
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
4650
4700
|
/**
|
|
4651
4701
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
4652
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4702
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-regexp-test.md
|
|
4653
4703
|
*/
|
|
4654
4704
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
4655
4705
|
/**
|
|
4656
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4706
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-replace-all
|
|
4657
4707
|
* @deprecated
|
|
4658
4708
|
*/
|
|
4659
4709
|
'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
|
|
4660
4710
|
/**
|
|
4661
4711
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
4662
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4712
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-set-has.md
|
|
4663
4713
|
*/
|
|
4664
4714
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
4665
4715
|
/**
|
|
4666
4716
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
4667
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4717
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-set-size.md
|
|
4668
4718
|
*/
|
|
4669
4719
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
4670
4720
|
/**
|
|
4671
4721
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
4672
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4722
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-spread.md
|
|
4673
4723
|
*/
|
|
4674
4724
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
4675
4725
|
/**
|
|
4676
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4726
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-starts-ends-with
|
|
4677
4727
|
* @deprecated
|
|
4678
4728
|
*/
|
|
4679
4729
|
'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
4680
4730
|
/**
|
|
4681
4731
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
4682
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4732
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-string-raw.md
|
|
4683
4733
|
*/
|
|
4684
4734
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
|
|
4685
4735
|
/**
|
|
4686
4736
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
4687
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4737
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-string-replace-all.md
|
|
4688
4738
|
*/
|
|
4689
4739
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
4690
4740
|
/**
|
|
4691
4741
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
4692
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4742
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-string-slice.md
|
|
4693
4743
|
*/
|
|
4694
4744
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
4695
4745
|
/**
|
|
4696
4746
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
4697
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4747
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-string-starts-ends-with.md
|
|
4698
4748
|
*/
|
|
4699
4749
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
4700
4750
|
/**
|
|
4701
4751
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
4702
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4752
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-string-trim-start-end.md
|
|
4703
4753
|
*/
|
|
4704
4754
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
|
|
4705
4755
|
/**
|
|
4706
4756
|
* Prefer using `structuredClone` to create a deep clone.
|
|
4707
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4757
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-structured-clone.md
|
|
4708
4758
|
*/
|
|
4709
4759
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
|
|
4710
4760
|
/**
|
|
4711
4761
|
* Prefer `switch` over multiple `else-if`.
|
|
4712
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4762
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-switch.md
|
|
4713
4763
|
*/
|
|
4714
4764
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
4715
4765
|
/**
|
|
4716
4766
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
4717
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4767
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-ternary.md
|
|
4718
4768
|
*/
|
|
4719
4769
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
4720
4770
|
/**
|
|
4721
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4771
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-text-content
|
|
4722
4772
|
* @deprecated
|
|
4723
4773
|
*/
|
|
4724
4774
|
'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
|
|
4725
4775
|
/**
|
|
4726
4776
|
* Prefer top-level await over top-level promises and async function calls.
|
|
4727
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4777
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-top-level-await.md
|
|
4728
4778
|
*/
|
|
4729
4779
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
4730
4780
|
/**
|
|
4731
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4781
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-trim-start-end
|
|
4732
4782
|
* @deprecated
|
|
4733
4783
|
*/
|
|
4734
4784
|
'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
|
|
4735
4785
|
/**
|
|
4736
4786
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
4737
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4787
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-type-error.md
|
|
4738
4788
|
*/
|
|
4739
4789
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
4740
4790
|
/**
|
|
4741
4791
|
* Prevent abbreviations.
|
|
4742
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4792
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prevent-abbreviations.md
|
|
4743
4793
|
*/
|
|
4744
4794
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
4745
4795
|
/**
|
|
4746
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4796
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#regex-shorthand
|
|
4747
4797
|
* @deprecated
|
|
4748
4798
|
*/
|
|
4749
4799
|
'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
|
|
4750
4800
|
/**
|
|
4751
4801
|
* Enforce consistent relative URL style.
|
|
4752
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4802
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/relative-url-style.md
|
|
4753
4803
|
*/
|
|
4754
4804
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
4755
4805
|
/**
|
|
4756
4806
|
* Enforce using the separator argument with `Array#join()`.
|
|
4757
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4807
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/require-array-join-separator.md
|
|
4758
4808
|
*/
|
|
4759
4809
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
4760
4810
|
/**
|
|
4761
4811
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
4762
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4812
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/require-number-to-fixed-digits-argument.md
|
|
4763
4813
|
*/
|
|
4764
4814
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
4765
4815
|
/**
|
|
4766
4816
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
4767
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4817
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/require-post-message-target-origin.md
|
|
4768
4818
|
*/
|
|
4769
4819
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
4770
4820
|
/**
|
|
4771
4821
|
* Enforce better string content.
|
|
4772
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4822
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/string-content.md
|
|
4773
4823
|
*/
|
|
4774
4824
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
4775
4825
|
/**
|
|
4776
4826
|
* Enforce consistent brace style for `case` clauses.
|
|
4777
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4827
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/switch-case-braces.md
|
|
4778
4828
|
*/
|
|
4779
4829
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
4780
4830
|
/**
|
|
4781
4831
|
* Fix whitespace-insensitive template indentation.
|
|
4782
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4832
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/template-indent.md
|
|
4783
4833
|
*/
|
|
4784
4834
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
4785
4835
|
/**
|
|
4786
4836
|
* Enforce consistent case for text encoding identifiers.
|
|
4787
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4837
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/text-encoding-identifier-case.md
|
|
4788
4838
|
*/
|
|
4789
4839
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
|
|
4790
4840
|
/**
|
|
4791
4841
|
* Require `new` when creating an error.
|
|
4792
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4842
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/throw-new-error.md
|
|
4793
4843
|
*/
|
|
4794
4844
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
4795
4845
|
/**
|
|
@@ -4942,6 +4992,7 @@ type CommaStyle = []|[("first" | "last")]|[("first" | "last"), {
|
|
|
4942
4992
|
type Complexity = []|[(number | {
|
|
4943
4993
|
maximum?: number
|
|
4944
4994
|
max?: number
|
|
4995
|
+
variant?: ("classic" | "modified")
|
|
4945
4996
|
})]
|
|
4946
4997
|
// ----- computed-property-spacing -----
|
|
4947
4998
|
type ComputedPropertySpacing = []|[("always" | "never")]|[("always" | "never"), {
|
|
@@ -6989,7 +7040,7 @@ type NodeHashbang = []|[{
|
|
|
6989
7040
|
// ----- node/no-deprecated-api -----
|
|
6990
7041
|
type NodeNoDeprecatedApi = []|[{
|
|
6991
7042
|
version?: string
|
|
6992
|
-
ignoreModuleItems?: ("_linklist" | "_stream_wrap" | "async_hooks.currentId" | "async_hooks.triggerId" | "buffer.Buffer()" | "new buffer.Buffer()" | "buffer.SlowBuffer" | "constants" | "crypto._toBuf" | "crypto.Credentials" | "crypto.DEFAULT_ENCODING" | "crypto.createCipher" | "crypto.createCredentials" | "crypto.createDecipher" | "crypto.fips" | "crypto.prng" | "crypto.pseudoRandomBytes" | "crypto.rng" | "domain" | "events.EventEmitter.listenerCount" | "events.listenerCount" | "freelist" | "fs.SyncWriteStream" | "fs.exists" | "fs.lchmod" | "fs.lchmodSync" | "http.createClient" | "module.Module.createRequireFromPath" | "module.Module.requireRepl" | "module.Module._debug" | "module.createRequireFromPath" | "module.requireRepl" | "module._debug" | "net._setSimultaneousAccepts" | "os.getNetworkInterfaces" | "os.tmpDir" | "path._makeLong" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport" | "punycode" | "readline.codePointAt" | "readline.getStringWidth" | "readline.isFullWidthCodePoint" | "readline.stripVTControlCharacters" | "safe-buffer.Buffer()" | "new safe-buffer.Buffer()" | "safe-buffer.SlowBuffer" | "sys" | "timers.enroll" | "timers.unenroll" | "tls.CleartextStream" | "tls.CryptoStream" | "tls.SecurePair" | "tls.convertNPNProtocols" | "tls.createSecurePair" | "tls.parseCertString" | "tty.setRawMode" | "url.parse" | "url.resolve" | "util.debug" | "util.error" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util.print" | "util.pump" | "util.puts" | "util._extend" | "vm.runInDebugContext")[]
|
|
7043
|
+
ignoreModuleItems?: ("_linklist" | "_stream_wrap" | "async_hooks.currentId" | "async_hooks.triggerId" | "buffer.Buffer()" | "new buffer.Buffer()" | "buffer.SlowBuffer" | "constants" | "crypto._toBuf" | "crypto.Credentials" | "crypto.DEFAULT_ENCODING" | "crypto.createCipher" | "crypto.createCredentials" | "crypto.createDecipher" | "crypto.fips" | "crypto.prng" | "crypto.pseudoRandomBytes" | "crypto.rng" | "domain" | "events.EventEmitter.listenerCount" | "events.listenerCount" | "freelist" | "fs.SyncWriteStream" | "fs.exists" | "fs.lchmod" | "fs.lchmodSync" | "http.createClient" | "module.Module.createRequireFromPath" | "module.Module.requireRepl" | "module.Module._debug" | "module.createRequireFromPath" | "module.requireRepl" | "module._debug" | "net._setSimultaneousAccepts" | "os.getNetworkInterfaces" | "os.tmpDir" | "path._makeLong" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport" | "punycode" | "readline.codePointAt" | "readline.getStringWidth" | "readline.isFullWidthCodePoint" | "readline.stripVTControlCharacters" | "repl.REPLServer" | "repl.Recoverable" | "repl.REPL_MODE_MAGIC" | "safe-buffer.Buffer()" | "new safe-buffer.Buffer()" | "safe-buffer.SlowBuffer" | "sys" | "timers.enroll" | "timers.unenroll" | "tls.CleartextStream" | "tls.CryptoStream" | "tls.SecurePair" | "tls.convertNPNProtocols" | "tls.createSecurePair" | "tls.parseCertString" | "tty.setRawMode" | "url.parse" | "url.resolve" | "util.debug" | "util.error" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util.print" | "util.pump" | "util.puts" | "util._extend" | "vm.runInDebugContext" | "zlib.BrotliCompress()" | "zlib.BrotliDecompress()" | "zlib.Deflate()" | "zlib.DeflateRaw()" | "zlib.Gunzip()" | "zlib.Gzip()" | "zlib.Inflate()" | "zlib.InflateRaw()" | "zlib.Unzip()")[]
|
|
6993
7044
|
ignoreGlobalItems?: ("Buffer()" | "new Buffer()" | "COUNTER_NET_SERVER_CONNECTION" | "COUNTER_NET_SERVER_CONNECTION_CLOSE" | "COUNTER_HTTP_SERVER_REQUEST" | "COUNTER_HTTP_SERVER_RESPONSE" | "COUNTER_HTTP_CLIENT_REQUEST" | "COUNTER_HTTP_CLIENT_RESPONSE" | "GLOBAL" | "Intl.v8BreakIterator" | "require.extensions" | "root" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport")[]
|
|
6994
7045
|
ignoreIndirectDependencies?: boolean
|
|
6995
7046
|
}]
|
|
@@ -7047,6 +7098,7 @@ type NodeNoMissingImport = []|[{
|
|
|
7047
7098
|
allowModules?: string[]
|
|
7048
7099
|
resolvePaths?: string[]
|
|
7049
7100
|
tryExtensions?: string[]
|
|
7101
|
+
ignoreTypeImport?: boolean
|
|
7050
7102
|
tsconfigPath?: string
|
|
7051
7103
|
typescriptExtensionMap?: (unknown[][] | ("react" | "react-jsx" | "react-jsxdev" | "react-native" | "preserve"))
|
|
7052
7104
|
}]
|
|
@@ -7063,6 +7115,10 @@ type NodeNoMixedRequires = []|[(boolean | {
|
|
|
7063
7115
|
grouping?: boolean
|
|
7064
7116
|
allowCall?: boolean
|
|
7065
7117
|
})]
|
|
7118
|
+
// ----- node/no-process-env -----
|
|
7119
|
+
type NodeNoProcessEnv = []|[{
|
|
7120
|
+
allowedVariables?: string[]
|
|
7121
|
+
}]
|
|
7066
7122
|
// ----- node/no-restricted-import -----
|
|
7067
7123
|
type NodeNoRestrictedImport = []|[(string | {
|
|
7068
7124
|
name: (string | string[])
|
|
@@ -7157,7 +7213,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
7157
7213
|
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
7158
7214
|
version?: string
|
|
7159
7215
|
allowExperimental?: boolean
|
|
7160
|
-
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CustomEvent" | "Event" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.createRequire" | "module.createRequireFromPath" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.test.isSea" | "sea.test.getAsset" | "sea.test.getAssetAsBlob" | "sea.test.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.run" | "test.skip" | "test.todo" | "test.only" | "test.describe" | "test.describe.skip" | "test.describe.todo" | "test.describe.only" | "test.it" | "test.it.skip" | "test.it.todo" | "test.it.only" | "test.suite" | "test.suite.skip" | "test.suite.todo" | "test.suite.only" | "test.before" | "test.after" | "test.beforeEach" | "test.afterEach" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.MockFunctionContext" | "test.MockModuleContext" | "test.MockTracker" | "test.MockTimers" | "test.TestsStream" | "test.TestContext" | "test.SuiteContext" | "test.test.run" | "test.test.skip" | "test.test.todo" | "test.test.only" | "test.test.describe" | "test.test.it" | "test.test.suite" | "test.test.before" | "test.test.after" | "test.test.beforeEach" | "test.test.afterEach" | "test.test.snapshot" | "test.test.MockFunctionContext" | "test.test.MockModuleContext" | "test.test.MockTracker" | "test.test.MockTimers" | "test.test.TestsStream" | "test.test.TestContext" | "test.test.SuiteContext" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress" | "zlib.BrotliDecompress" | "zlib.Deflate" | "zlib.DeflateRaw" | "zlib.Gunzip" | "zlib.Gzip" | "zlib.Inflate" | "zlib.InflateRaw" | "zlib.Unzip" | "zlib")[]
|
|
7216
|
+
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CustomEvent" | "Event" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.Network.loadingFinished" | "inspector.Network.loadingFailed" | "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.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.getCompileCacheDir" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.getCompileCacheDir" | "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.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.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.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.run" | "test.skip" | "test.todo" | "test.only" | "test.describe" | "test.describe.skip" | "test.describe.todo" | "test.describe.only" | "test.it" | "test.it.skip" | "test.it.todo" | "test.it.only" | "test.suite" | "test.suite.skip" | "test.suite.todo" | "test.suite.only" | "test.before" | "test.after" | "test.beforeEach" | "test.afterEach" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.MockFunctionContext" | "test.MockModuleContext" | "test.MockTracker" | "test.MockTimers" | "test.TestsStream" | "test.TestContext" | "test.SuiteContext" | "test.test.run" | "test.test.skip" | "test.test.todo" | "test.test.only" | "test.test.describe" | "test.test.it" | "test.test.suite" | "test.test.before" | "test.test.after" | "test.test.beforeEach" | "test.test.afterEach" | "test.test.snapshot" | "test.test.MockFunctionContext" | "test.test.MockModuleContext" | "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.getCallSite" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib")[]
|
|
7161
7217
|
}]
|
|
7162
7218
|
// ----- node/prefer-global/buffer -----
|
|
7163
7219
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -7304,6 +7360,8 @@ type PerfectionistSortArrayIncludes = []|[{
|
|
|
7304
7360
|
|
|
7305
7361
|
order?: ("asc" | "desc")
|
|
7306
7362
|
|
|
7363
|
+
matcher?: ("minimatch" | "regex")
|
|
7364
|
+
|
|
7307
7365
|
ignoreCase?: boolean
|
|
7308
7366
|
|
|
7309
7367
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
@@ -7319,6 +7377,8 @@ type PerfectionistSortAstroAttributes = []|[{
|
|
|
7319
7377
|
|
|
7320
7378
|
order?: ("asc" | "desc")
|
|
7321
7379
|
|
|
7380
|
+
matcher?: ("minimatch" | "regex")
|
|
7381
|
+
|
|
7322
7382
|
ignoreCase?: boolean
|
|
7323
7383
|
|
|
7324
7384
|
groups?: (string | string[])[]
|
|
@@ -7334,6 +7394,8 @@ type PerfectionistSortClasses = []|[{
|
|
|
7334
7394
|
|
|
7335
7395
|
order?: ("asc" | "desc")
|
|
7336
7396
|
|
|
7397
|
+
matcher?: ("minimatch" | "regex")
|
|
7398
|
+
|
|
7337
7399
|
ignoreCase?: boolean
|
|
7338
7400
|
|
|
7339
7401
|
partitionByComment?: (string[] | boolean | string)
|
|
@@ -7383,6 +7445,8 @@ type PerfectionistSortEnums = []|[{
|
|
|
7383
7445
|
|
|
7384
7446
|
order?: ("asc" | "desc")
|
|
7385
7447
|
|
|
7448
|
+
matcher?: ("minimatch" | "regex")
|
|
7449
|
+
|
|
7386
7450
|
ignoreCase?: boolean
|
|
7387
7451
|
|
|
7388
7452
|
sortByValue?: boolean
|
|
@@ -7400,6 +7464,8 @@ type PerfectionistSortExports = []|[{
|
|
|
7400
7464
|
|
|
7401
7465
|
order?: ("asc" | "desc")
|
|
7402
7466
|
|
|
7467
|
+
matcher?: ("minimatch" | "regex")
|
|
7468
|
+
|
|
7403
7469
|
ignoreCase?: boolean
|
|
7404
7470
|
|
|
7405
7471
|
partitionByComment?: (string[] | boolean | string)
|
|
@@ -7416,6 +7482,8 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
7416
7482
|
|
|
7417
7483
|
order?: ("asc" | "desc")
|
|
7418
7484
|
|
|
7485
|
+
matcher?: ("minimatch" | "regex")
|
|
7486
|
+
|
|
7419
7487
|
ignoreCase?: boolean
|
|
7420
7488
|
|
|
7421
7489
|
internalPattern?: string[]
|
|
@@ -7453,6 +7521,8 @@ type PerfectionistSortInterfaces = []|[{
|
|
|
7453
7521
|
|
|
7454
7522
|
order?: ("asc" | "desc")
|
|
7455
7523
|
|
|
7524
|
+
matcher?: ("minimatch" | "regex")
|
|
7525
|
+
|
|
7456
7526
|
ignoreCase?: boolean
|
|
7457
7527
|
|
|
7458
7528
|
ignorePattern?: string[]
|
|
@@ -7476,6 +7546,8 @@ type PerfectionistSortIntersectionTypes = []|[{
|
|
|
7476
7546
|
|
|
7477
7547
|
order?: ("asc" | "desc")
|
|
7478
7548
|
|
|
7549
|
+
matcher?: ("minimatch" | "regex")
|
|
7550
|
+
|
|
7479
7551
|
ignoreCase?: boolean
|
|
7480
7552
|
|
|
7481
7553
|
groups?: (string | string[])[]
|
|
@@ -7491,6 +7563,8 @@ type PerfectionistSortJsxProps = []|[{
|
|
|
7491
7563
|
|
|
7492
7564
|
order?: ("asc" | "desc")
|
|
7493
7565
|
|
|
7566
|
+
matcher?: ("minimatch" | "regex")
|
|
7567
|
+
|
|
7494
7568
|
ignoreCase?: boolean
|
|
7495
7569
|
|
|
7496
7570
|
ignorePattern?: string[]
|
|
@@ -7508,6 +7582,8 @@ type PerfectionistSortMaps = []|[{
|
|
|
7508
7582
|
|
|
7509
7583
|
order?: ("asc" | "desc")
|
|
7510
7584
|
|
|
7585
|
+
matcher?: ("minimatch" | "regex")
|
|
7586
|
+
|
|
7511
7587
|
ignoreCase?: boolean
|
|
7512
7588
|
|
|
7513
7589
|
partitionByComment?: (string[] | boolean | string)
|
|
@@ -7521,6 +7597,8 @@ type PerfectionistSortNamedExports = []|[{
|
|
|
7521
7597
|
|
|
7522
7598
|
order?: ("asc" | "desc")
|
|
7523
7599
|
|
|
7600
|
+
matcher?: ("minimatch" | "regex")
|
|
7601
|
+
|
|
7524
7602
|
ignoreCase?: boolean
|
|
7525
7603
|
|
|
7526
7604
|
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
@@ -7536,6 +7614,8 @@ type PerfectionistSortNamedImports = []|[{
|
|
|
7536
7614
|
|
|
7537
7615
|
order?: ("asc" | "desc")
|
|
7538
7616
|
|
|
7617
|
+
matcher?: ("minimatch" | "regex")
|
|
7618
|
+
|
|
7539
7619
|
ignoreCase?: boolean
|
|
7540
7620
|
|
|
7541
7621
|
ignoreAlias?: boolean
|
|
@@ -7553,6 +7633,8 @@ type PerfectionistSortObjectTypes = []|[{
|
|
|
7553
7633
|
|
|
7554
7634
|
order?: ("asc" | "desc")
|
|
7555
7635
|
|
|
7636
|
+
matcher?: ("minimatch" | "regex")
|
|
7637
|
+
|
|
7556
7638
|
ignoreCase?: boolean
|
|
7557
7639
|
|
|
7558
7640
|
partitionByComment?: (string[] | boolean | string)
|
|
@@ -7574,6 +7656,8 @@ type PerfectionistSortObjects = []|[{
|
|
|
7574
7656
|
|
|
7575
7657
|
order?: ("asc" | "desc")
|
|
7576
7658
|
|
|
7659
|
+
matcher?: ("minimatch" | "regex")
|
|
7660
|
+
|
|
7577
7661
|
ignoreCase?: boolean
|
|
7578
7662
|
|
|
7579
7663
|
partitionByComment?: (string[] | boolean | string)
|
|
@@ -7599,6 +7683,8 @@ type PerfectionistSortSets = []|[{
|
|
|
7599
7683
|
|
|
7600
7684
|
order?: ("asc" | "desc")
|
|
7601
7685
|
|
|
7686
|
+
matcher?: ("minimatch" | "regex")
|
|
7687
|
+
|
|
7602
7688
|
ignoreCase?: boolean
|
|
7603
7689
|
|
|
7604
7690
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
@@ -7614,6 +7700,8 @@ type PerfectionistSortSvelteAttributes = []|[{
|
|
|
7614
7700
|
|
|
7615
7701
|
order?: ("asc" | "desc")
|
|
7616
7702
|
|
|
7703
|
+
matcher?: ("minimatch" | "regex")
|
|
7704
|
+
|
|
7617
7705
|
ignoreCase?: boolean
|
|
7618
7706
|
|
|
7619
7707
|
groups?: (string | string[])[]
|
|
@@ -7638,6 +7726,8 @@ type PerfectionistSortUnionTypes = []|[{
|
|
|
7638
7726
|
|
|
7639
7727
|
order?: ("asc" | "desc")
|
|
7640
7728
|
|
|
7729
|
+
matcher?: ("minimatch" | "regex")
|
|
7730
|
+
|
|
7641
7731
|
ignoreCase?: boolean
|
|
7642
7732
|
|
|
7643
7733
|
groups?: (string | string[])[]
|
|
@@ -7653,6 +7743,8 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
7653
7743
|
|
|
7654
7744
|
order?: ("asc" | "desc")
|
|
7655
7745
|
|
|
7746
|
+
matcher?: ("minimatch" | "regex")
|
|
7747
|
+
|
|
7656
7748
|
ignoreCase?: boolean
|
|
7657
7749
|
|
|
7658
7750
|
partitionByComment?: (string[] | boolean | string)
|
|
@@ -7666,6 +7758,8 @@ type PerfectionistSortVueAttributes = []|[{
|
|
|
7666
7758
|
|
|
7667
7759
|
order?: ("asc" | "desc")
|
|
7668
7760
|
|
|
7761
|
+
matcher?: ("minimatch" | "regex")
|
|
7762
|
+
|
|
7669
7763
|
ignoreCase?: boolean
|
|
7670
7764
|
|
|
7671
7765
|
groups?: (string | string[])[]
|
|
@@ -7767,6 +7861,10 @@ type ReactRefreshOnlyExportComponents = []|[{
|
|
|
7767
7861
|
checkJS?: boolean
|
|
7768
7862
|
allowExportNames?: string[]
|
|
7769
7863
|
}]
|
|
7864
|
+
// ----- react/no-useless-fragment -----
|
|
7865
|
+
type ReactNoUselessFragment = []|[{
|
|
7866
|
+
allowExpressions?: boolean
|
|
7867
|
+
}]
|
|
7770
7868
|
// ----- require-atomic-updates -----
|
|
7771
7869
|
type RequireAtomicUpdates = []|[{
|
|
7772
7870
|
allowProperties?: boolean
|
|
@@ -7919,6 +8017,127 @@ type StylisticCommaStyle = []|[("first" | "last")]|[("first" | "last"), {
|
|
|
7919
8017
|
type StylisticComputedPropertySpacing = []|[("always" | "never")]|[("always" | "never"), {
|
|
7920
8018
|
enforceForClassMembers?: boolean
|
|
7921
8019
|
}]
|
|
8020
|
+
// ----- stylistic/curly-newline -----
|
|
8021
|
+
type StylisticCurlyNewline = []|[(("always" | "never") | {
|
|
8022
|
+
IfStatementConsequent?: (("always" | "never") | {
|
|
8023
|
+
multiline?: boolean
|
|
8024
|
+
minElements?: number
|
|
8025
|
+
consistent?: boolean
|
|
8026
|
+
})
|
|
8027
|
+
IfStatementAlternative?: (("always" | "never") | {
|
|
8028
|
+
multiline?: boolean
|
|
8029
|
+
minElements?: number
|
|
8030
|
+
consistent?: boolean
|
|
8031
|
+
})
|
|
8032
|
+
DoWhileStatement?: (("always" | "never") | {
|
|
8033
|
+
multiline?: boolean
|
|
8034
|
+
minElements?: number
|
|
8035
|
+
consistent?: boolean
|
|
8036
|
+
})
|
|
8037
|
+
ForInStatement?: (("always" | "never") | {
|
|
8038
|
+
multiline?: boolean
|
|
8039
|
+
minElements?: number
|
|
8040
|
+
consistent?: boolean
|
|
8041
|
+
})
|
|
8042
|
+
ForOfStatement?: (("always" | "never") | {
|
|
8043
|
+
multiline?: boolean
|
|
8044
|
+
minElements?: number
|
|
8045
|
+
consistent?: boolean
|
|
8046
|
+
})
|
|
8047
|
+
ForStatement?: (("always" | "never") | {
|
|
8048
|
+
multiline?: boolean
|
|
8049
|
+
minElements?: number
|
|
8050
|
+
consistent?: boolean
|
|
8051
|
+
})
|
|
8052
|
+
WhileStatement?: (("always" | "never") | {
|
|
8053
|
+
multiline?: boolean
|
|
8054
|
+
minElements?: number
|
|
8055
|
+
consistent?: boolean
|
|
8056
|
+
})
|
|
8057
|
+
SwitchStatement?: (("always" | "never") | {
|
|
8058
|
+
multiline?: boolean
|
|
8059
|
+
minElements?: number
|
|
8060
|
+
consistent?: boolean
|
|
8061
|
+
})
|
|
8062
|
+
SwitchCase?: (("always" | "never") | {
|
|
8063
|
+
multiline?: boolean
|
|
8064
|
+
minElements?: number
|
|
8065
|
+
consistent?: boolean
|
|
8066
|
+
})
|
|
8067
|
+
TryStatementBlock?: (("always" | "never") | {
|
|
8068
|
+
multiline?: boolean
|
|
8069
|
+
minElements?: number
|
|
8070
|
+
consistent?: boolean
|
|
8071
|
+
})
|
|
8072
|
+
TryStatementHandler?: (("always" | "never") | {
|
|
8073
|
+
multiline?: boolean
|
|
8074
|
+
minElements?: number
|
|
8075
|
+
consistent?: boolean
|
|
8076
|
+
})
|
|
8077
|
+
TryStatementFinalizer?: (("always" | "never") | {
|
|
8078
|
+
multiline?: boolean
|
|
8079
|
+
minElements?: number
|
|
8080
|
+
consistent?: boolean
|
|
8081
|
+
})
|
|
8082
|
+
BlockStatement?: (("always" | "never") | {
|
|
8083
|
+
multiline?: boolean
|
|
8084
|
+
minElements?: number
|
|
8085
|
+
consistent?: boolean
|
|
8086
|
+
})
|
|
8087
|
+
ArrowFunctionExpression?: (("always" | "never") | {
|
|
8088
|
+
multiline?: boolean
|
|
8089
|
+
minElements?: number
|
|
8090
|
+
consistent?: boolean
|
|
8091
|
+
})
|
|
8092
|
+
FunctionDeclaration?: (("always" | "never") | {
|
|
8093
|
+
multiline?: boolean
|
|
8094
|
+
minElements?: number
|
|
8095
|
+
consistent?: boolean
|
|
8096
|
+
})
|
|
8097
|
+
FunctionExpression?: (("always" | "never") | {
|
|
8098
|
+
multiline?: boolean
|
|
8099
|
+
minElements?: number
|
|
8100
|
+
consistent?: boolean
|
|
8101
|
+
})
|
|
8102
|
+
Property?: (("always" | "never") | {
|
|
8103
|
+
multiline?: boolean
|
|
8104
|
+
minElements?: number
|
|
8105
|
+
consistent?: boolean
|
|
8106
|
+
})
|
|
8107
|
+
ClassBody?: (("always" | "never") | {
|
|
8108
|
+
multiline?: boolean
|
|
8109
|
+
minElements?: number
|
|
8110
|
+
consistent?: boolean
|
|
8111
|
+
})
|
|
8112
|
+
StaticBlock?: (("always" | "never") | {
|
|
8113
|
+
multiline?: boolean
|
|
8114
|
+
minElements?: number
|
|
8115
|
+
consistent?: boolean
|
|
8116
|
+
})
|
|
8117
|
+
WithStatement?: (("always" | "never") | {
|
|
8118
|
+
multiline?: boolean
|
|
8119
|
+
minElements?: number
|
|
8120
|
+
consistent?: boolean
|
|
8121
|
+
})
|
|
8122
|
+
TSEnumBody?: (("always" | "never") | {
|
|
8123
|
+
multiline?: boolean
|
|
8124
|
+
minElements?: number
|
|
8125
|
+
consistent?: boolean
|
|
8126
|
+
})
|
|
8127
|
+
TSInterfaceBody?: (("always" | "never") | {
|
|
8128
|
+
multiline?: boolean
|
|
8129
|
+
minElements?: number
|
|
8130
|
+
consistent?: boolean
|
|
8131
|
+
})
|
|
8132
|
+
TSModuleBlock?: (("always" | "never") | {
|
|
8133
|
+
multiline?: boolean
|
|
8134
|
+
minElements?: number
|
|
8135
|
+
consistent?: boolean
|
|
8136
|
+
})
|
|
8137
|
+
multiline?: boolean
|
|
8138
|
+
minElements?: number
|
|
8139
|
+
consistent?: boolean
|
|
8140
|
+
})]
|
|
7922
8141
|
// ----- stylistic/dot-location -----
|
|
7923
8142
|
type StylisticDotLocation = []|[("object" | "property")]
|
|
7924
8143
|
// ----- stylistic/eol-last -----
|
|
@@ -7998,6 +8217,8 @@ type StylisticJsxClosingBracketLocation = []|[(("after-props" | "props-aligned"
|
|
|
7998
8217
|
nonEmpty?: (("after-props" | "props-aligned" | "tag-aligned" | "line-aligned") | false)
|
|
7999
8218
|
selfClosing?: (("after-props" | "props-aligned" | "tag-aligned" | "line-aligned") | false)
|
|
8000
8219
|
})]
|
|
8220
|
+
// ----- stylistic/jsx-closing-tag-location -----
|
|
8221
|
+
type StylisticJsxClosingTagLocation = []|[("tag-aligned" | "line-aligned")]
|
|
8001
8222
|
// ----- stylistic/jsx-curly-brace-presence -----
|
|
8002
8223
|
type StylisticJsxCurlyBracePresence = []|[({
|
|
8003
8224
|
props?: ("always" | "never" | "ignore")
|
|
@@ -9717,6 +9938,8 @@ type TsEslintNoUnnecessaryCondition = []|[{
|
|
|
9717
9938
|
allowConstantLoopConditions?: boolean
|
|
9718
9939
|
|
|
9719
9940
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
9941
|
+
|
|
9942
|
+
checkTypePredicates?: boolean
|
|
9720
9943
|
}]
|
|
9721
9944
|
// ----- ts-eslint/no-unnecessary-type-assertion -----
|
|
9722
9945
|
type TsEslintNoUnnecessaryTypeAssertion = []|[{
|
|
@@ -10266,7 +10489,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
10266
10489
|
}]
|
|
10267
10490
|
|
|
10268
10491
|
// Names of all the configs
|
|
10269
|
-
type ConfigNames = "zayne/js-eslint/setup" | "zayne/js-eslint/recommended" | "zayne/js-eslint/rules" | "zayne/unicorn/recommended" | "zayne/unicorn/rules" | "zayne/ts-eslint/setup" | "zayne/ts-eslint/strict" | "zayne/ts-eslint/strict" | "zayne/ts-eslint/strict" | "zayne/ts-eslint/stylistic" | "zayne/ts-eslint/stylistic" | "zayne/ts-eslint/stylistic" | "zayne/ts-eslint/rules" | "zayne/tailwindcss/setup" | "zayne/tailwindcss/recommended" | "zayne/tailwindcss/rules" | "zayne/perfectionist/rules" | "zayne/stylistic/rules" | "zayne/import/setup" | "zayne/import/recommended" | "zayne/import/rules" | "zayne/jsdoc/rules" | "zayne/jsonc/setup" | "zayne/jsonc/rules" | "zayne/react/setup" | "zayne/react/recommended" | "zayne/react/rules" | "zayne/node/setup" | "zayne/node/recommended" | "zayne/node/rules"
|
|
10492
|
+
type ConfigNames = "zayne/js-eslint/setup" | "zayne/js-eslint/recommended" | "zayne/js-eslint/rules" | "zayne/unicorn/recommended" | "zayne/unicorn/rules" | "zayne/ts-eslint/setup" | "zayne/ts-eslint/strict" | "zayne/ts-eslint/strict" | "zayne/ts-eslint/strict" | "zayne/ts-eslint/stylistic" | "zayne/ts-eslint/stylistic" | "zayne/ts-eslint/stylistic" | "zayne/ts-eslint/rules" | "zayne/tailwindcss/setup" | "zayne/tailwindcss/recommended" | "zayne/tailwindcss/rules" | "zayne/perfectionist/rules" | "zayne/stylistic/rules" | "zayne/import/setup" | "zayne/import/recommended" | "zayne/import/rules" | "zayne/jsdoc/rules" | "zayne/jsonc/setup" | "zayne/jsonc/rules" | "zayne/react/setup" | "zayne/react/recommended" | "zayne/react/rules" | "zayne/node/setup" | "zayne/node/recommended" | "zayne/node/rules" | "zayne/tanstack/setup" | "zayne/tanstack/query-recommended"
|
|
10270
10493
|
|
|
10271
10494
|
type LiteralUnion<TUnion extends TBase, TBase = string> = TUnion | (TBase & { _ignore?: never });
|
|
10272
10495
|
|
|
@@ -10575,7 +10798,7 @@ interface OptionsTypeScriptWithTypes {
|
|
|
10575
10798
|
* When this options is provided, type aware rules will be enabled.
|
|
10576
10799
|
* @see https://typescript-eslint.io/linting/typed-linting/
|
|
10577
10800
|
*/
|
|
10578
|
-
tsconfigPath?: string;
|
|
10801
|
+
tsconfigPath?: true | string | string[];
|
|
10579
10802
|
}
|
|
10580
10803
|
type OptionsTypescript = (OptionsOverrides & OptionsTypeScriptParserOptions) | (OptionsOverrides & OptionsTypeScriptWithTypes);
|
|
10581
10804
|
interface OptionsHasTypeScript {
|
|
@@ -10584,6 +10807,9 @@ interface OptionsHasTypeScript {
|
|
|
10584
10807
|
interface OptionsStylistic {
|
|
10585
10808
|
stylistic?: boolean;
|
|
10586
10809
|
}
|
|
10810
|
+
interface OptionsTanstack {
|
|
10811
|
+
query?: boolean;
|
|
10812
|
+
}
|
|
10587
10813
|
interface OptionsHasJsx {
|
|
10588
10814
|
jsx?: boolean;
|
|
10589
10815
|
}
|
|
@@ -10678,7 +10904,7 @@ interface OptionsConfig extends OptionsComponentExts {
|
|
|
10678
10904
|
* - `@eslint-react/eslint-plugin`
|
|
10679
10905
|
* - `eslint-plugin-react-hooks`
|
|
10680
10906
|
* - `eslint-plugin-react-refresh`
|
|
10681
|
-
* @default
|
|
10907
|
+
* @default auto-detect based on the dependencies
|
|
10682
10908
|
*/
|
|
10683
10909
|
react?: boolean | OptionsOverrides;
|
|
10684
10910
|
/**
|
|
@@ -10713,6 +10939,12 @@ interface OptionsConfig extends OptionsComponentExts {
|
|
|
10713
10939
|
* Enable TailwindCSS support.
|
|
10714
10940
|
*/
|
|
10715
10941
|
tailwindcss?: (OptionsOverrides & OptionsTailwindCSS) | boolean;
|
|
10942
|
+
/**
|
|
10943
|
+
* Enable TanStack Query support.
|
|
10944
|
+
*
|
|
10945
|
+
* Requires installing:
|
|
10946
|
+
*/
|
|
10947
|
+
tanstack?: (OptionsOverrides & OptionsTanstack) | boolean;
|
|
10716
10948
|
/**
|
|
10717
10949
|
* Enable TOML support.
|
|
10718
10950
|
* @default true
|
|
@@ -10736,7 +10968,6 @@ interface OptionsConfig extends OptionsComponentExts {
|
|
|
10736
10968
|
unicorn?: boolean | OptionsOverrides;
|
|
10737
10969
|
/**
|
|
10738
10970
|
* Enable Vue support.
|
|
10739
|
-
* @default auto-detect based on the dependencies
|
|
10740
10971
|
*/
|
|
10741
10972
|
vue?: boolean | OptionsVue;
|
|
10742
10973
|
/**
|
|
@@ -10767,16 +10998,10 @@ declare const jsonc: (options?: OptionsFiles & OptionsOverrides & OptionsStylist
|
|
|
10767
10998
|
|
|
10768
10999
|
declare const jsdoc: (options?: OptionsOverrides & OptionsStylistic) => Promise<TypedFlatConfigItem[]>;
|
|
10769
11000
|
|
|
10770
|
-
declare const eslintReactRenameMap: {
|
|
10771
|
-
"@eslint-react/debug": string;
|
|
10772
|
-
"@eslint-react/dom": string;
|
|
10773
|
-
"@eslint-react/hooks-extra": string;
|
|
10774
|
-
"@eslint-react/naming-convention": string;
|
|
10775
|
-
"@eslint-react/web-api": string;
|
|
10776
|
-
"@eslint-react": string;
|
|
10777
|
-
};
|
|
10778
11001
|
declare const react: (options?: OptionsFiles & OptionsHasTypeScript & OptionsOverrides) => Promise<TypedFlatConfigItem[]>;
|
|
10779
11002
|
|
|
11003
|
+
declare const tanstack: (options?: OptionsOverrides & OptionsTanstack) => Promise<TypedFlatConfigItem[]>;
|
|
11004
|
+
|
|
10780
11005
|
/**
|
|
10781
11006
|
* Sort package.json
|
|
10782
11007
|
*
|
|
@@ -10792,18 +11017,6 @@ declare const sortTsconfig: () => TypedFlatConfigItem[];
|
|
|
10792
11017
|
|
|
10793
11018
|
declare const node: (options?: OptionsAppType & OptionsNode & OptionsOverrides) => Promise<TypedFlatConfigItem[]>;
|
|
10794
11019
|
|
|
10795
|
-
declare const defaultPluginRenaming: {
|
|
10796
|
-
"@stylistic": string;
|
|
10797
|
-
"@typescript-eslint": string;
|
|
10798
|
-
"import-x": string;
|
|
10799
|
-
n: string;
|
|
10800
|
-
"@eslint-react/debug": string;
|
|
10801
|
-
"@eslint-react/dom": string;
|
|
10802
|
-
"@eslint-react/hooks-extra": string;
|
|
10803
|
-
"@eslint-react/naming-convention": string;
|
|
10804
|
-
"@eslint-react/web-api": string;
|
|
10805
|
-
"@eslint-react": string;
|
|
10806
|
-
};
|
|
10807
11020
|
/**
|
|
10808
11021
|
* Construct an array of ESLint flat config items.
|
|
10809
11022
|
* @param options
|
|
@@ -10889,6 +11102,13 @@ declare const renamePlugins: (plugins: Record<string, unknown> | undefined, rena
|
|
|
10889
11102
|
*/
|
|
10890
11103
|
declare const renamePluginInConfigs: (configs: TypedFlatConfigItem[], renameMap: Record<string, string>, extraOverrides?: TypedFlatConfigItem) => TypedFlatConfigItem[];
|
|
10891
11104
|
declare const isPackageInScope: (name: string) => boolean;
|
|
11105
|
+
/**
|
|
11106
|
+
* Ensure that packages are installed in the current scope. If they are not
|
|
11107
|
+
* installed, and the user is in a TTY, and the user is not in a CI environment,
|
|
11108
|
+
* and the user is in the same scope as this package, then prompt the user to
|
|
11109
|
+
* install the packages.
|
|
11110
|
+
* @param packages - The packages to ensure are installed.
|
|
11111
|
+
*/
|
|
10892
11112
|
declare const ensurePackages: (packages: Array<string | undefined>) => Promise<void>;
|
|
10893
11113
|
|
|
10894
|
-
export { type Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLES, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, type OptionsAppType, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsHasJsx, type OptionsHasTypeScript, type OptionsNode, type OptionsOverrides, type OptionsRegExp, type OptionsStylistic, type OptionsTailwindCSS, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsVue, type Rules, type TypedFlatConfigItem, combine, zayne as default,
|
|
11114
|
+
export { type Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLES, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, type OptionsAppType, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsHasJsx, type OptionsHasTypeScript, type OptionsNode, type OptionsOverrides, type OptionsRegExp, type OptionsStylistic, type OptionsTailwindCSS, type OptionsTanstack, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsVue, type Rules, type TypedFlatConfigItem, combine, zayne as default, ensurePackages, gitIgnores, ignores, imports, interopDefault, isPackageInScope, javascript, jsdoc, jsonc, node, perfectionist, react, renamePluginInConfigs, renamePlugins, renameRules, sortPackageJson, sortTsconfig, stylistic, tailwindcss, tanstack, typescript, unicorn, zayne };
|