@eienjs/eslint-config 1.9.2 → 1.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/constants_generated.mjs +6 -6
- package/dist/configs/adonisjs.mjs +2 -1
- package/dist/configs/formatters.mjs +1 -1
- package/dist/configs/ignores.d.mts +1 -1
- package/dist/configs/ignores.mjs +3 -2
- package/dist/configs/jsdoc.mjs +2 -0
- package/dist/configs/node.mjs +2 -0
- package/dist/factory.mjs +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/package.mjs +1 -1
- package/dist/typegen.d.mts +226 -167
- package/dist/types.d.mts +2 -1
- package/package.json +41 -38
package/dist/typegen.d.mts
CHANGED
|
@@ -142,6 +142,11 @@ interface RuleOptions {
|
|
|
142
142
|
* @see https://eslint.style/rules/eol-last
|
|
143
143
|
*/
|
|
144
144
|
'@stylistic/eol-last'?: Linter.RuleEntry<StylisticEolLast>;
|
|
145
|
+
/**
|
|
146
|
+
* Enforce consistent line break styles for JSX props
|
|
147
|
+
* @see https://eslint.style/rules/jsx-props-style
|
|
148
|
+
*/
|
|
149
|
+
'@stylistic/exp-jsx-props-style'?: Linter.RuleEntry<StylisticExpJsxPropsStyle>;
|
|
145
150
|
/**
|
|
146
151
|
* Enforce consistent spacing and line break styles inside brackets.
|
|
147
152
|
* @see https://eslint.style/rules/list-style
|
|
@@ -1022,7 +1027,7 @@ interface RuleOptions {
|
|
|
1022
1027
|
* Disallow default values that will never be used
|
|
1023
1028
|
* @see https://typescript-eslint.io/rules/no-useless-default-assignment
|
|
1024
1029
|
*/
|
|
1025
|
-
'@typescript-eslint/no-useless-default-assignment'?: Linter.RuleEntry<
|
|
1030
|
+
'@typescript-eslint/no-useless-default-assignment'?: Linter.RuleEntry<TypescriptEslintNoUselessDefaultAssignment>;
|
|
1026
1031
|
/**
|
|
1027
1032
|
* Disallow empty exports that don't change anything in a module file
|
|
1028
1033
|
* @see https://typescript-eslint.io/rules/no-useless-empty-export
|
|
@@ -2882,6 +2887,11 @@ interface RuleOptions {
|
|
|
2882
2887
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/console.md
|
|
2883
2888
|
*/
|
|
2884
2889
|
'n/prefer-global/console'?: Linter.RuleEntry<NPreferGlobalConsole>;
|
|
2890
|
+
/**
|
|
2891
|
+
* enforce either `crypto` or `require("crypto").webcrypto`
|
|
2892
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/crypto.md
|
|
2893
|
+
*/
|
|
2894
|
+
'n/prefer-global/crypto'?: Linter.RuleEntry<NPreferGlobalCrypto>;
|
|
2885
2895
|
/**
|
|
2886
2896
|
* enforce either `process` or `require("process")`
|
|
2887
2897
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/process.md
|
|
@@ -2897,6 +2907,11 @@ interface RuleOptions {
|
|
|
2897
2907
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/text-encoder.md
|
|
2898
2908
|
*/
|
|
2899
2909
|
'n/prefer-global/text-encoder'?: Linter.RuleEntry<NPreferGlobalTextEncoder>;
|
|
2910
|
+
/**
|
|
2911
|
+
* enforce either global timer functions or `require("timers")`
|
|
2912
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/timers.md
|
|
2913
|
+
*/
|
|
2914
|
+
'n/prefer-global/timers'?: Linter.RuleEntry<NPreferGlobalTimers>;
|
|
2900
2915
|
/**
|
|
2901
2916
|
* enforce either `URL` or `require("url").URL`
|
|
2902
2917
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/url.md
|
|
@@ -3779,6 +3794,11 @@ interface RuleOptions {
|
|
|
3779
3794
|
* @see https://eslint.nuxt.com/packages/plugin#nuxtno-nuxt-config-test-key
|
|
3780
3795
|
*/
|
|
3781
3796
|
'nuxt/no-nuxt-config-test-key'?: Linter.RuleEntry<[]>;
|
|
3797
|
+
/**
|
|
3798
|
+
* Disallow runtime context values inside `definePageMeta` at the eager level, which is extracted into a separate chunk at build time and runs before component setup
|
|
3799
|
+
* @see https://eslint.nuxt.com/packages/plugin#nuxtno-page-meta-runtime-values
|
|
3800
|
+
*/
|
|
3801
|
+
'nuxt/no-page-meta-runtime-values'?: Linter.RuleEntry<[]>;
|
|
3782
3802
|
/**
|
|
3783
3803
|
* Prefer recommended order of Nuxt config properties
|
|
3784
3804
|
* @see https://eslint.nuxt.com/packages/plugin#nuxtnuxt-config-keys-order
|
|
@@ -5146,725 +5166,730 @@ interface RuleOptions {
|
|
|
5146
5166
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>;
|
|
5147
5167
|
/**
|
|
5148
5168
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
5149
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5169
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/better-regex.md
|
|
5150
5170
|
*/
|
|
5151
5171
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>;
|
|
5152
5172
|
/**
|
|
5153
5173
|
* Enforce a specific parameter name in catch clauses.
|
|
5154
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5174
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/catch-error-name.md
|
|
5155
5175
|
*/
|
|
5156
5176
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>;
|
|
5157
5177
|
/**
|
|
5158
5178
|
* Enforce consistent assertion style with `node:assert`.
|
|
5159
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5179
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-assert.md
|
|
5160
5180
|
*/
|
|
5161
5181
|
'unicorn/consistent-assert'?: Linter.RuleEntry<[]>;
|
|
5162
5182
|
/**
|
|
5163
5183
|
* Prefer passing `Date` directly to the constructor when cloning.
|
|
5164
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5184
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-date-clone.md
|
|
5165
5185
|
*/
|
|
5166
5186
|
'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>;
|
|
5167
5187
|
/**
|
|
5168
5188
|
* Use destructured variables over properties.
|
|
5169
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5189
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-destructuring.md
|
|
5170
5190
|
*/
|
|
5171
5191
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>;
|
|
5172
5192
|
/**
|
|
5173
5193
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
5174
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5194
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-empty-array-spread.md
|
|
5175
5195
|
*/
|
|
5176
5196
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>;
|
|
5177
5197
|
/**
|
|
5178
5198
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
5179
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5199
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-existence-index-check.md
|
|
5180
5200
|
*/
|
|
5181
5201
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>;
|
|
5182
5202
|
/**
|
|
5183
5203
|
* Move function definitions to the highest possible scope.
|
|
5184
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5204
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-function-scoping.md
|
|
5185
5205
|
*/
|
|
5186
5206
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
|
|
5187
5207
|
/**
|
|
5188
5208
|
* Enforce correct `Error` subclassing.
|
|
5189
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5209
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/custom-error-definition.md
|
|
5190
5210
|
*/
|
|
5191
5211
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>;
|
|
5192
5212
|
/**
|
|
5193
5213
|
* Enforce no spaces between braces.
|
|
5194
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5214
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/empty-brace-spaces.md
|
|
5195
5215
|
*/
|
|
5196
5216
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>;
|
|
5197
5217
|
/**
|
|
5198
5218
|
* Enforce passing a `message` value when creating a built-in error.
|
|
5199
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5219
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/error-message.md
|
|
5200
5220
|
*/
|
|
5201
5221
|
'unicorn/error-message'?: Linter.RuleEntry<[]>;
|
|
5202
5222
|
/**
|
|
5203
5223
|
* Require escape sequences to use uppercase or lowercase values.
|
|
5204
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5224
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/escape-case.md
|
|
5205
5225
|
*/
|
|
5206
5226
|
'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>;
|
|
5207
5227
|
/**
|
|
5208
5228
|
* Add expiration conditions to TODO comments.
|
|
5209
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5229
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/expiring-todo-comments.md
|
|
5210
5230
|
*/
|
|
5211
5231
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>;
|
|
5212
5232
|
/**
|
|
5213
5233
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
5214
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5234
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/explicit-length-check.md
|
|
5215
5235
|
*/
|
|
5216
5236
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
|
|
5217
5237
|
/**
|
|
5218
5238
|
* Enforce a case style for filenames.
|
|
5219
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5239
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/filename-case.md
|
|
5220
5240
|
*/
|
|
5221
5241
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>;
|
|
5222
5242
|
/**
|
|
5223
5243
|
* Enforce specific import styles per module.
|
|
5224
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5244
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/import-style.md
|
|
5225
5245
|
*/
|
|
5226
5246
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>;
|
|
5247
|
+
/**
|
|
5248
|
+
* Prevent usage of variables from outside the scope of isolated functions.
|
|
5249
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/isolated-functions.md
|
|
5250
|
+
*/
|
|
5251
|
+
'unicorn/isolated-functions'?: Linter.RuleEntry<UnicornIsolatedFunctions>;
|
|
5227
5252
|
/**
|
|
5228
5253
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
5229
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5254
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/new-for-builtins.md
|
|
5230
5255
|
*/
|
|
5231
5256
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>;
|
|
5232
5257
|
/**
|
|
5233
5258
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
5234
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5259
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-abusive-eslint-disable.md
|
|
5235
5260
|
*/
|
|
5236
5261
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>;
|
|
5237
5262
|
/**
|
|
5238
5263
|
* Disallow recursive access to `this` within getters and setters.
|
|
5239
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5264
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-accessor-recursion.md
|
|
5240
5265
|
*/
|
|
5241
5266
|
'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>;
|
|
5242
5267
|
/**
|
|
5243
5268
|
* Disallow anonymous functions and classes as the default export.
|
|
5244
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5269
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-anonymous-default-export.md
|
|
5245
5270
|
*/
|
|
5246
5271
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>;
|
|
5247
5272
|
/**
|
|
5248
5273
|
* Prevent passing a function reference directly to iterator methods.
|
|
5249
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5274
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-callback-reference.md
|
|
5250
5275
|
*/
|
|
5251
5276
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>;
|
|
5252
5277
|
/**
|
|
5253
5278
|
* Prefer `for…of` over the `forEach` method.
|
|
5254
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5279
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-for-each.md
|
|
5255
5280
|
*/
|
|
5256
5281
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>;
|
|
5257
5282
|
/**
|
|
5258
5283
|
* Disallow using the `this` argument in array methods.
|
|
5259
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5284
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-method-this-argument.md
|
|
5260
5285
|
*/
|
|
5261
5286
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>;
|
|
5262
5287
|
/**
|
|
5263
5288
|
* Replaced by `unicorn/prefer-single-call` which covers more cases.
|
|
5264
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5289
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
|
|
5265
5290
|
* @deprecated
|
|
5266
5291
|
*/
|
|
5267
5292
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>;
|
|
5268
5293
|
/**
|
|
5269
5294
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
5270
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5295
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-reduce.md
|
|
5271
5296
|
*/
|
|
5272
5297
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>;
|
|
5273
5298
|
/**
|
|
5274
5299
|
* Prefer `Array#toReversed()` over `Array#reverse()`.
|
|
5275
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5300
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-reverse.md
|
|
5276
5301
|
*/
|
|
5277
5302
|
'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>;
|
|
5278
5303
|
/**
|
|
5279
5304
|
* Prefer `Array#toSorted()` over `Array#sort()`.
|
|
5280
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5305
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-sort.md
|
|
5281
5306
|
*/
|
|
5282
5307
|
'unicorn/no-array-sort'?: Linter.RuleEntry<UnicornNoArraySort>;
|
|
5283
5308
|
/**
|
|
5284
5309
|
* Disallow member access from await expression.
|
|
5285
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5310
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-await-expression-member.md
|
|
5286
5311
|
*/
|
|
5287
5312
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>;
|
|
5288
5313
|
/**
|
|
5289
5314
|
* Disallow using `await` in `Promise` method parameters.
|
|
5290
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5315
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-await-in-promise-methods.md
|
|
5291
5316
|
*/
|
|
5292
5317
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
5293
5318
|
/**
|
|
5294
5319
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
5295
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5320
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-console-spaces.md
|
|
5296
5321
|
*/
|
|
5297
5322
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>;
|
|
5298
5323
|
/**
|
|
5299
5324
|
* Do not use `document.cookie` directly.
|
|
5300
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5325
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-document-cookie.md
|
|
5301
5326
|
*/
|
|
5302
5327
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>;
|
|
5303
5328
|
/**
|
|
5304
5329
|
* Disallow empty files.
|
|
5305
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5330
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-empty-file.md
|
|
5306
5331
|
*/
|
|
5307
5332
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>;
|
|
5308
5333
|
/**
|
|
5309
5334
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
5310
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5335
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-for-loop.md
|
|
5311
5336
|
*/
|
|
5312
5337
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>;
|
|
5313
5338
|
/**
|
|
5314
5339
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
5315
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5340
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-hex-escape.md
|
|
5316
5341
|
*/
|
|
5317
5342
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>;
|
|
5318
5343
|
/**
|
|
5319
5344
|
* Disallow immediate mutation after variable assignment.
|
|
5320
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5345
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-immediate-mutation.md
|
|
5321
5346
|
*/
|
|
5322
5347
|
'unicorn/no-immediate-mutation'?: Linter.RuleEntry<[]>;
|
|
5323
5348
|
/**
|
|
5324
5349
|
* Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
|
|
5325
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5350
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
|
|
5326
5351
|
* @deprecated
|
|
5327
5352
|
*/
|
|
5328
5353
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>;
|
|
5329
5354
|
/**
|
|
5330
5355
|
* Disallow `instanceof` with built-in objects
|
|
5331
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5356
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-instanceof-builtins.md
|
|
5332
5357
|
*/
|
|
5333
5358
|
'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
|
|
5334
5359
|
/**
|
|
5335
5360
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
5336
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5361
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-invalid-fetch-options.md
|
|
5337
5362
|
*/
|
|
5338
5363
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>;
|
|
5339
5364
|
/**
|
|
5340
5365
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
5341
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5366
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-invalid-remove-event-listener.md
|
|
5342
5367
|
*/
|
|
5343
5368
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>;
|
|
5344
5369
|
/**
|
|
5345
5370
|
* Disallow identifiers starting with `new` or `class`.
|
|
5346
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5371
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-keyword-prefix.md
|
|
5347
5372
|
*/
|
|
5348
5373
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
|
|
5349
5374
|
/**
|
|
5350
5375
|
* Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
|
|
5351
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5376
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
|
|
5352
5377
|
* @deprecated
|
|
5353
5378
|
*/
|
|
5354
5379
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>;
|
|
5355
5380
|
/**
|
|
5356
5381
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
5357
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5382
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-lonely-if.md
|
|
5358
5383
|
*/
|
|
5359
5384
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>;
|
|
5360
5385
|
/**
|
|
5361
5386
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
5362
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5387
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-magic-array-flat-depth.md
|
|
5363
5388
|
*/
|
|
5364
5389
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>;
|
|
5365
5390
|
/**
|
|
5366
5391
|
* Disallow named usage of default import and export.
|
|
5367
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5392
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-named-default.md
|
|
5368
5393
|
*/
|
|
5369
5394
|
'unicorn/no-named-default'?: Linter.RuleEntry<[]>;
|
|
5370
5395
|
/**
|
|
5371
5396
|
* Disallow negated conditions.
|
|
5372
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5397
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-negated-condition.md
|
|
5373
5398
|
*/
|
|
5374
5399
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>;
|
|
5375
5400
|
/**
|
|
5376
5401
|
* Disallow negated expression in equality check.
|
|
5377
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5402
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-negation-in-equality-check.md
|
|
5378
5403
|
*/
|
|
5379
5404
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>;
|
|
5380
5405
|
/**
|
|
5381
5406
|
* Disallow nested ternary expressions.
|
|
5382
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5407
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-nested-ternary.md
|
|
5383
5408
|
*/
|
|
5384
5409
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>;
|
|
5385
5410
|
/**
|
|
5386
5411
|
* Disallow `new Array()`.
|
|
5387
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5412
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-new-array.md
|
|
5388
5413
|
*/
|
|
5389
5414
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>;
|
|
5390
5415
|
/**
|
|
5391
5416
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
5392
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5417
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-new-buffer.md
|
|
5393
5418
|
*/
|
|
5394
5419
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>;
|
|
5395
5420
|
/**
|
|
5396
5421
|
* Disallow the use of the `null` literal.
|
|
5397
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5422
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-null.md
|
|
5398
5423
|
*/
|
|
5399
5424
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>;
|
|
5400
5425
|
/**
|
|
5401
5426
|
* Disallow the use of objects as default parameters.
|
|
5402
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5427
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-object-as-default-parameter.md
|
|
5403
5428
|
*/
|
|
5404
5429
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>;
|
|
5405
5430
|
/**
|
|
5406
5431
|
* Disallow `process.exit()`.
|
|
5407
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5432
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-process-exit.md
|
|
5408
5433
|
*/
|
|
5409
5434
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>;
|
|
5410
5435
|
/**
|
|
5411
5436
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
5412
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5437
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-single-promise-in-promise-methods.md
|
|
5413
5438
|
*/
|
|
5414
5439
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
5415
5440
|
/**
|
|
5416
5441
|
* Disallow classes that only have static members.
|
|
5417
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5442
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-static-only-class.md
|
|
5418
5443
|
*/
|
|
5419
5444
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>;
|
|
5420
5445
|
/**
|
|
5421
5446
|
* Disallow `then` property.
|
|
5422
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5447
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-thenable.md
|
|
5423
5448
|
*/
|
|
5424
5449
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>;
|
|
5425
5450
|
/**
|
|
5426
5451
|
* Disallow assigning `this` to a variable.
|
|
5427
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5452
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-this-assignment.md
|
|
5428
5453
|
*/
|
|
5429
5454
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>;
|
|
5430
5455
|
/**
|
|
5431
5456
|
* Disallow comparing `undefined` using `typeof`.
|
|
5432
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5457
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-typeof-undefined.md
|
|
5433
5458
|
*/
|
|
5434
5459
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
|
|
5435
5460
|
/**
|
|
5436
5461
|
* Disallow using `1` as the `depth` argument of `Array#flat()`.
|
|
5437
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5462
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-array-flat-depth.md
|
|
5438
5463
|
*/
|
|
5439
5464
|
'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>;
|
|
5440
5465
|
/**
|
|
5441
5466
|
* Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
|
|
5442
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5467
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-array-splice-count.md
|
|
5443
5468
|
*/
|
|
5444
5469
|
'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>;
|
|
5445
5470
|
/**
|
|
5446
5471
|
* Disallow awaiting non-promise values.
|
|
5447
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5472
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-await.md
|
|
5448
5473
|
*/
|
|
5449
5474
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>;
|
|
5450
5475
|
/**
|
|
5451
5476
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
5452
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5477
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-polyfills.md
|
|
5453
5478
|
*/
|
|
5454
5479
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
|
|
5455
5480
|
/**
|
|
5456
5481
|
* Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
5457
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5482
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-slice-end.md
|
|
5458
5483
|
*/
|
|
5459
5484
|
'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>;
|
|
5460
5485
|
/**
|
|
5461
5486
|
* Disallow unreadable array destructuring.
|
|
5462
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5487
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unreadable-array-destructuring.md
|
|
5463
5488
|
*/
|
|
5464
5489
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>;
|
|
5465
5490
|
/**
|
|
5466
5491
|
* Disallow unreadable IIFEs.
|
|
5467
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5492
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unreadable-iife.md
|
|
5468
5493
|
*/
|
|
5469
5494
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>;
|
|
5470
5495
|
/**
|
|
5471
5496
|
* Disallow unused object properties.
|
|
5472
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5497
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unused-properties.md
|
|
5473
5498
|
*/
|
|
5474
5499
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>;
|
|
5475
5500
|
/**
|
|
5476
5501
|
* Disallow useless values or fallbacks in `Set`, `Map`, `WeakSet`, or `WeakMap`.
|
|
5477
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5502
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-collection-argument.md
|
|
5478
5503
|
*/
|
|
5479
5504
|
'unicorn/no-useless-collection-argument'?: Linter.RuleEntry<[]>;
|
|
5480
5505
|
/**
|
|
5481
5506
|
* Disallow unnecessary `Error.captureStackTrace(…)`.
|
|
5482
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5507
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-error-capture-stack-trace.md
|
|
5483
5508
|
*/
|
|
5484
5509
|
'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>;
|
|
5485
5510
|
/**
|
|
5486
5511
|
* Disallow useless fallback when spreading in object literals.
|
|
5487
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5512
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-fallback-in-spread.md
|
|
5488
5513
|
*/
|
|
5489
5514
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>;
|
|
5490
5515
|
/**
|
|
5491
5516
|
* Disallow useless array length check.
|
|
5492
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5517
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-length-check.md
|
|
5493
5518
|
*/
|
|
5494
5519
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>;
|
|
5495
5520
|
/**
|
|
5496
5521
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
5497
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5522
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-promise-resolve-reject.md
|
|
5498
5523
|
*/
|
|
5499
5524
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>;
|
|
5500
5525
|
/**
|
|
5501
5526
|
* Disallow unnecessary spread.
|
|
5502
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5527
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-spread.md
|
|
5503
5528
|
*/
|
|
5504
5529
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>;
|
|
5505
5530
|
/**
|
|
5506
5531
|
* Disallow useless case in switch statements.
|
|
5507
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5532
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-switch-case.md
|
|
5508
5533
|
*/
|
|
5509
5534
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>;
|
|
5510
5535
|
/**
|
|
5511
5536
|
* Disallow useless `undefined`.
|
|
5512
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5537
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-undefined.md
|
|
5513
5538
|
*/
|
|
5514
5539
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>;
|
|
5515
5540
|
/**
|
|
5516
5541
|
* Disallow number literals with zero fractions or dangling dots.
|
|
5517
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5542
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-zero-fractions.md
|
|
5518
5543
|
*/
|
|
5519
5544
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>;
|
|
5520
5545
|
/**
|
|
5521
5546
|
* Enforce proper case for numeric literals.
|
|
5522
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5547
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/number-literal-case.md
|
|
5523
5548
|
*/
|
|
5524
5549
|
'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>;
|
|
5525
5550
|
/**
|
|
5526
5551
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
5527
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5552
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/numeric-separators-style.md
|
|
5528
5553
|
*/
|
|
5529
5554
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
|
|
5530
5555
|
/**
|
|
5531
5556
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
5532
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5557
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-add-event-listener.md
|
|
5533
5558
|
*/
|
|
5534
5559
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>;
|
|
5535
5560
|
/**
|
|
5536
5561
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
5537
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5562
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-find.md
|
|
5538
5563
|
*/
|
|
5539
5564
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>;
|
|
5540
5565
|
/**
|
|
5541
5566
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
5542
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5567
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-flat.md
|
|
5543
5568
|
*/
|
|
5544
5569
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>;
|
|
5545
5570
|
/**
|
|
5546
5571
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
5547
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5572
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-flat-map.md
|
|
5548
5573
|
*/
|
|
5549
5574
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>;
|
|
5550
5575
|
/**
|
|
5551
5576
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
5552
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5577
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-index-of.md
|
|
5553
5578
|
*/
|
|
5554
5579
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>;
|
|
5555
5580
|
/**
|
|
5556
5581
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
5557
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5582
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-some.md
|
|
5558
5583
|
*/
|
|
5559
5584
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>;
|
|
5560
5585
|
/**
|
|
5561
5586
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
5562
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5587
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-at.md
|
|
5563
5588
|
*/
|
|
5564
5589
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>;
|
|
5565
5590
|
/**
|
|
5566
5591
|
* Prefer `BigInt` literals over the constructor.
|
|
5567
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5592
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-bigint-literals.md
|
|
5568
5593
|
*/
|
|
5569
5594
|
'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>;
|
|
5570
5595
|
/**
|
|
5571
5596
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
5572
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5597
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-blob-reading-methods.md
|
|
5573
5598
|
*/
|
|
5574
5599
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>;
|
|
5575
5600
|
/**
|
|
5576
5601
|
* Prefer class field declarations over `this` assignments in constructors.
|
|
5577
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5602
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-class-fields.md
|
|
5578
5603
|
*/
|
|
5579
5604
|
'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>;
|
|
5580
5605
|
/**
|
|
5581
5606
|
* Prefer using `Element#classList.toggle()` to toggle class names.
|
|
5582
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5607
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-classlist-toggle.md
|
|
5583
5608
|
*/
|
|
5584
5609
|
'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>;
|
|
5585
5610
|
/**
|
|
5586
5611
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
5587
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5612
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-code-point.md
|
|
5588
5613
|
*/
|
|
5589
5614
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>;
|
|
5590
5615
|
/**
|
|
5591
5616
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
5592
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5617
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-date-now.md
|
|
5593
5618
|
*/
|
|
5594
5619
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>;
|
|
5595
5620
|
/**
|
|
5596
5621
|
* Prefer default parameters over reassignment.
|
|
5597
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5622
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-default-parameters.md
|
|
5598
5623
|
*/
|
|
5599
5624
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>;
|
|
5600
5625
|
/**
|
|
5601
5626
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
5602
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5627
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-dom-node-append.md
|
|
5603
5628
|
*/
|
|
5604
5629
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>;
|
|
5605
5630
|
/**
|
|
5606
5631
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
5607
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5632
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-dom-node-dataset.md
|
|
5608
5633
|
*/
|
|
5609
5634
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>;
|
|
5610
5635
|
/**
|
|
5611
5636
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
5612
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5637
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-dom-node-remove.md
|
|
5613
5638
|
*/
|
|
5614
5639
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>;
|
|
5615
5640
|
/**
|
|
5616
5641
|
* Prefer `.textContent` over `.innerText`.
|
|
5617
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5642
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-dom-node-text-content.md
|
|
5618
5643
|
*/
|
|
5619
5644
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>;
|
|
5620
5645
|
/**
|
|
5621
5646
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
5622
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5647
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-event-target.md
|
|
5623
5648
|
*/
|
|
5624
5649
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>;
|
|
5625
5650
|
/**
|
|
5626
5651
|
* Prefer `export…from` when re-exporting.
|
|
5627
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5652
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-export-from.md
|
|
5628
5653
|
*/
|
|
5629
5654
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>;
|
|
5630
5655
|
/**
|
|
5631
5656
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
5632
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5657
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-global-this.md
|
|
5633
5658
|
*/
|
|
5634
5659
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>;
|
|
5635
5660
|
/**
|
|
5636
5661
|
* Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
|
|
5637
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5662
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-import-meta-properties.md
|
|
5638
5663
|
*/
|
|
5639
5664
|
'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>;
|
|
5640
5665
|
/**
|
|
5641
5666
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
5642
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5667
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-includes.md
|
|
5643
5668
|
*/
|
|
5644
5669
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>;
|
|
5645
5670
|
/**
|
|
5646
5671
|
* Prefer reading a JSON file as a buffer.
|
|
5647
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5672
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-json-parse-buffer.md
|
|
5648
5673
|
*/
|
|
5649
5674
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>;
|
|
5650
5675
|
/**
|
|
5651
5676
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
5652
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5677
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-keyboard-event-key.md
|
|
5653
5678
|
*/
|
|
5654
5679
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>;
|
|
5655
5680
|
/**
|
|
5656
5681
|
* Prefer using a logical operator over a ternary.
|
|
5657
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5682
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-logical-operator-over-ternary.md
|
|
5658
5683
|
*/
|
|
5659
5684
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>;
|
|
5660
5685
|
/**
|
|
5661
5686
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
5662
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5687
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-math-min-max.md
|
|
5663
5688
|
*/
|
|
5664
5689
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>;
|
|
5665
5690
|
/**
|
|
5666
5691
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
5667
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5692
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-math-trunc.md
|
|
5668
5693
|
*/
|
|
5669
5694
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>;
|
|
5670
5695
|
/**
|
|
5671
5696
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
5672
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5697
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-modern-dom-apis.md
|
|
5673
5698
|
*/
|
|
5674
5699
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>;
|
|
5675
5700
|
/**
|
|
5676
5701
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
5677
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5702
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-modern-math-apis.md
|
|
5678
5703
|
*/
|
|
5679
5704
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>;
|
|
5680
5705
|
/**
|
|
5681
5706
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
5682
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5707
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-module.md
|
|
5683
5708
|
*/
|
|
5684
5709
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>;
|
|
5685
5710
|
/**
|
|
5686
5711
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
5687
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5712
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-native-coercion-functions.md
|
|
5688
5713
|
*/
|
|
5689
5714
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>;
|
|
5690
5715
|
/**
|
|
5691
5716
|
* Prefer negative index over `.length - index` when possible.
|
|
5692
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5717
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-negative-index.md
|
|
5693
5718
|
*/
|
|
5694
5719
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>;
|
|
5695
5720
|
/**
|
|
5696
5721
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
5697
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5722
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-node-protocol.md
|
|
5698
5723
|
*/
|
|
5699
5724
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>;
|
|
5700
5725
|
/**
|
|
5701
5726
|
* Prefer `Number` static properties over global ones.
|
|
5702
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5727
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-number-properties.md
|
|
5703
5728
|
*/
|
|
5704
5729
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>;
|
|
5705
5730
|
/**
|
|
5706
5731
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
5707
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5732
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-object-from-entries.md
|
|
5708
5733
|
*/
|
|
5709
5734
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
|
|
5710
5735
|
/**
|
|
5711
5736
|
* Prefer omitting the `catch` binding parameter.
|
|
5712
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5737
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-optional-catch-binding.md
|
|
5713
5738
|
*/
|
|
5714
5739
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>;
|
|
5715
5740
|
/**
|
|
5716
5741
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
5717
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5742
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-prototype-methods.md
|
|
5718
5743
|
*/
|
|
5719
5744
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>;
|
|
5720
5745
|
/**
|
|
5721
5746
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
5722
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5747
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-query-selector.md
|
|
5723
5748
|
*/
|
|
5724
5749
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>;
|
|
5725
5750
|
/**
|
|
5726
5751
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
5727
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5752
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-reflect-apply.md
|
|
5728
5753
|
*/
|
|
5729
5754
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>;
|
|
5730
5755
|
/**
|
|
5731
5756
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
5732
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5757
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-regexp-test.md
|
|
5733
5758
|
*/
|
|
5734
5759
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>;
|
|
5735
5760
|
/**
|
|
5736
5761
|
* Prefer `Response.json()` over `new Response(JSON.stringify())`.
|
|
5737
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5762
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-response-static-json.md
|
|
5738
5763
|
*/
|
|
5739
5764
|
'unicorn/prefer-response-static-json'?: Linter.RuleEntry<[]>;
|
|
5740
5765
|
/**
|
|
5741
5766
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
5742
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5767
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-set-has.md
|
|
5743
5768
|
*/
|
|
5744
5769
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>;
|
|
5745
5770
|
/**
|
|
5746
5771
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
5747
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5772
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-set-size.md
|
|
5748
5773
|
*/
|
|
5749
5774
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>;
|
|
5750
5775
|
/**
|
|
5751
5776
|
* Enforce combining multiple `Array#push()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
|
|
5752
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5777
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-single-call.md
|
|
5753
5778
|
*/
|
|
5754
5779
|
'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>;
|
|
5755
5780
|
/**
|
|
5756
5781
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
5757
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5782
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-spread.md
|
|
5758
5783
|
*/
|
|
5759
5784
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>;
|
|
5760
5785
|
/**
|
|
5761
5786
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
5762
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5787
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-raw.md
|
|
5763
5788
|
*/
|
|
5764
5789
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>;
|
|
5765
5790
|
/**
|
|
5766
5791
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
5767
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5792
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-replace-all.md
|
|
5768
5793
|
*/
|
|
5769
5794
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>;
|
|
5770
5795
|
/**
|
|
5771
5796
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
5772
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5797
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-slice.md
|
|
5773
5798
|
*/
|
|
5774
5799
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>;
|
|
5775
5800
|
/**
|
|
5776
5801
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
5777
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5802
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-starts-ends-with.md
|
|
5778
5803
|
*/
|
|
5779
5804
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>;
|
|
5780
5805
|
/**
|
|
5781
5806
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
5782
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5807
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-trim-start-end.md
|
|
5783
5808
|
*/
|
|
5784
5809
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>;
|
|
5785
5810
|
/**
|
|
5786
5811
|
* Prefer using `structuredClone` to create a deep clone.
|
|
5787
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5812
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-structured-clone.md
|
|
5788
5813
|
*/
|
|
5789
5814
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>;
|
|
5790
5815
|
/**
|
|
5791
5816
|
* Prefer `switch` over multiple `else-if`.
|
|
5792
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5817
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-switch.md
|
|
5793
5818
|
*/
|
|
5794
5819
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>;
|
|
5795
5820
|
/**
|
|
5796
5821
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
5797
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5822
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-ternary.md
|
|
5798
5823
|
*/
|
|
5799
5824
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>;
|
|
5800
5825
|
/**
|
|
5801
5826
|
* Prefer top-level await over top-level promises and async function calls.
|
|
5802
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5827
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-top-level-await.md
|
|
5803
5828
|
*/
|
|
5804
5829
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>;
|
|
5805
5830
|
/**
|
|
5806
5831
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
5807
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5832
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-type-error.md
|
|
5808
5833
|
*/
|
|
5809
5834
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>;
|
|
5810
5835
|
/**
|
|
5811
5836
|
* Prevent abbreviations.
|
|
5812
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5837
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prevent-abbreviations.md
|
|
5813
5838
|
*/
|
|
5814
5839
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>;
|
|
5815
5840
|
/**
|
|
5816
5841
|
* Enforce consistent relative URL style.
|
|
5817
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5842
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/relative-url-style.md
|
|
5818
5843
|
*/
|
|
5819
5844
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
|
|
5820
5845
|
/**
|
|
5821
5846
|
* Enforce using the separator argument with `Array#join()`.
|
|
5822
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5847
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-array-join-separator.md
|
|
5823
5848
|
*/
|
|
5824
5849
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>;
|
|
5825
5850
|
/**
|
|
5826
5851
|
* Require non-empty module attributes for imports and exports
|
|
5827
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5852
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-module-attributes.md
|
|
5828
5853
|
*/
|
|
5829
5854
|
'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>;
|
|
5830
5855
|
/**
|
|
5831
5856
|
* Require non-empty specifier list in import and export statements.
|
|
5832
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5857
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-module-specifiers.md
|
|
5833
5858
|
*/
|
|
5834
5859
|
'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>;
|
|
5835
5860
|
/**
|
|
5836
5861
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
5837
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5862
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-number-to-fixed-digits-argument.md
|
|
5838
5863
|
*/
|
|
5839
5864
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>;
|
|
5840
5865
|
/**
|
|
5841
5866
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
5842
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5867
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-post-message-target-origin.md
|
|
5843
5868
|
*/
|
|
5844
5869
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>;
|
|
5845
5870
|
/**
|
|
5846
5871
|
* Enforce better string content.
|
|
5847
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5872
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/string-content.md
|
|
5848
5873
|
*/
|
|
5849
5874
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>;
|
|
5850
5875
|
/**
|
|
5851
5876
|
* Enforce consistent brace style for `case` clauses.
|
|
5852
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5877
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/switch-case-braces.md
|
|
5853
5878
|
*/
|
|
5854
5879
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
|
|
5855
5880
|
/**
|
|
5856
5881
|
* Fix whitespace-insensitive template indentation.
|
|
5857
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5882
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/template-indent.md
|
|
5858
5883
|
*/
|
|
5859
5884
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>;
|
|
5860
5885
|
/**
|
|
5861
5886
|
* Enforce consistent case for text encoding identifiers.
|
|
5862
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5887
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/text-encoding-identifier-case.md
|
|
5863
5888
|
*/
|
|
5864
5889
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<UnicornTextEncodingIdentifierCase>;
|
|
5865
5890
|
/**
|
|
5866
5891
|
* Require `new` when creating an error.
|
|
5867
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5892
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/throw-new-error.md
|
|
5868
5893
|
*/
|
|
5869
5894
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>;
|
|
5870
5895
|
/**
|
|
@@ -7090,7 +7115,7 @@ interface RuleOptions {
|
|
|
7090
7115
|
* enforce valid `v-for` directives
|
|
7091
7116
|
* @see https://eslint.vuejs.org/rules/valid-v-for.html
|
|
7092
7117
|
*/
|
|
7093
|
-
'vue/valid-v-for'?: Linter.RuleEntry<
|
|
7118
|
+
'vue/valid-v-for'?: Linter.RuleEntry<VueValidVFor>;
|
|
7094
7119
|
/**
|
|
7095
7120
|
* enforce valid `v-html` directives
|
|
7096
7121
|
* @see https://eslint.vuejs.org/rules/valid-v-html.html
|
|
@@ -7491,15 +7516,24 @@ type StylisticCurlyNewline = [] | [(("always" | "never") | {
|
|
|
7491
7516
|
consistent?: boolean;
|
|
7492
7517
|
})]; // ----- @stylistic/dot-location -----
|
|
7493
7518
|
type StylisticDotLocation = [] | [("object" | "property")]; // ----- @stylistic/eol-last -----
|
|
7494
|
-
type StylisticEolLast = [] | [("always" | "never" | "unix" | "windows")]; // ----- @stylistic/exp-
|
|
7519
|
+
type StylisticEolLast = [] | [("always" | "never" | "unix" | "windows")]; // ----- @stylistic/exp-jsx-props-style -----
|
|
7520
|
+
type StylisticExpJsxPropsStyle = [] | [{
|
|
7521
|
+
singleLine?: {
|
|
7522
|
+
maxItems?: number;
|
|
7523
|
+
};
|
|
7524
|
+
multiLine?: {
|
|
7525
|
+
minItems?: number;
|
|
7526
|
+
maxItemsPerLine?: number;
|
|
7527
|
+
};
|
|
7528
|
+
}]; // ----- @stylistic/exp-list-style -----
|
|
7495
7529
|
type StylisticExpListStyle = [] | [{
|
|
7496
7530
|
singleLine?: _StylisticExpListStyle_SingleLineConfig;
|
|
7497
7531
|
multiLine?: _StylisticExpListStyle_MultiLineConfig;
|
|
7498
7532
|
overrides?: {
|
|
7533
|
+
"()"?: _StylisticExpListStyle_BaseConfig;
|
|
7499
7534
|
"[]"?: _StylisticExpListStyle_BaseConfig;
|
|
7500
7535
|
"{}"?: _StylisticExpListStyle_BaseConfig;
|
|
7501
7536
|
"<>"?: _StylisticExpListStyle_BaseConfig;
|
|
7502
|
-
"()"?: _StylisticExpListStyle_BaseConfig;
|
|
7503
7537
|
ArrayExpression?: _StylisticExpListStyle_BaseConfig;
|
|
7504
7538
|
ArrayPattern?: _StylisticExpListStyle_BaseConfig;
|
|
7505
7539
|
ArrowFunctionExpression?: _StylisticExpListStyle_BaseConfig;
|
|
@@ -7507,21 +7541,22 @@ type StylisticExpListStyle = [] | [{
|
|
|
7507
7541
|
ExportNamedDeclaration?: _StylisticExpListStyle_BaseConfig;
|
|
7508
7542
|
FunctionDeclaration?: _StylisticExpListStyle_BaseConfig;
|
|
7509
7543
|
FunctionExpression?: _StylisticExpListStyle_BaseConfig;
|
|
7510
|
-
|
|
7544
|
+
IfStatement?: _StylisticExpListStyle_BaseConfig;
|
|
7511
7545
|
ImportAttributes?: _StylisticExpListStyle_BaseConfig;
|
|
7546
|
+
ImportDeclaration?: _StylisticExpListStyle_BaseConfig;
|
|
7547
|
+
JSONArrayExpression?: _StylisticExpListStyle_BaseConfig;
|
|
7548
|
+
JSONObjectExpression?: _StylisticExpListStyle_BaseConfig;
|
|
7512
7549
|
NewExpression?: _StylisticExpListStyle_BaseConfig;
|
|
7513
7550
|
ObjectExpression?: _StylisticExpListStyle_BaseConfig;
|
|
7514
7551
|
ObjectPattern?: _StylisticExpListStyle_BaseConfig;
|
|
7515
7552
|
TSDeclareFunction?: _StylisticExpListStyle_BaseConfig;
|
|
7553
|
+
TSEnumBody?: _StylisticExpListStyle_BaseConfig;
|
|
7516
7554
|
TSFunctionType?: _StylisticExpListStyle_BaseConfig;
|
|
7517
7555
|
TSInterfaceBody?: _StylisticExpListStyle_BaseConfig;
|
|
7518
|
-
TSEnumBody?: _StylisticExpListStyle_BaseConfig;
|
|
7519
7556
|
TSTupleType?: _StylisticExpListStyle_BaseConfig;
|
|
7520
7557
|
TSTypeLiteral?: _StylisticExpListStyle_BaseConfig;
|
|
7521
7558
|
TSTypeParameterDeclaration?: _StylisticExpListStyle_BaseConfig;
|
|
7522
7559
|
TSTypeParameterInstantiation?: _StylisticExpListStyle_BaseConfig;
|
|
7523
|
-
JSONArrayExpression?: _StylisticExpListStyle_BaseConfig;
|
|
7524
|
-
JSONObjectExpression?: _StylisticExpListStyle_BaseConfig;
|
|
7525
7560
|
};
|
|
7526
7561
|
}];
|
|
7527
7562
|
interface _StylisticExpListStyle_SingleLineConfig {
|
|
@@ -8382,13 +8417,17 @@ type StylisticPaddedBlocks = [] | [(("always" | "never" | "start" | "end") | {
|
|
|
8382
8417
|
allowSingleLineBlocks?: boolean;
|
|
8383
8418
|
}]; // ----- @stylistic/padding-line-between-statements -----
|
|
8384
8419
|
type _StylisticPaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always");
|
|
8385
|
-
type _StylisticPaddingLineBetweenStatementsStatementOption = (
|
|
8420
|
+
type _StylisticPaddingLineBetweenStatementsStatementOption = (_StylisticPaddingLineBetweenStatementsStatementMatcher | [_StylisticPaddingLineBetweenStatementsStatementMatcher, ...(_StylisticPaddingLineBetweenStatementsStatementMatcher)[]]);
|
|
8421
|
+
type _StylisticPaddingLineBetweenStatementsStatementMatcher = (_StylisticPaddingLineBetweenStatementsStatementType | _StylisticPaddingLineBetweenStatements_SelectorOption);
|
|
8386
8422
|
type _StylisticPaddingLineBetweenStatementsStatementType = ("*" | "exports" | "require" | "directive" | "iife" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "continue" | "debugger" | "default" | "do" | "for" | "if" | "import" | "switch" | "throw" | "try" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "function-overload" | "block-like" | "singleline-block-like" | "multiline-block-like" | "expression" | "singleline-expression" | "multiline-expression" | "return" | "singleline-return" | "multiline-return" | "export" | "singleline-export" | "multiline-export" | "var" | "singleline-var" | "multiline-var" | "let" | "singleline-let" | "multiline-let" | "const" | "singleline-const" | "multiline-const" | "using" | "singleline-using" | "multiline-using" | "type" | "singleline-type" | "multiline-type");
|
|
8387
8423
|
type StylisticPaddingLineBetweenStatements = {
|
|
8388
8424
|
blankLine: _StylisticPaddingLineBetweenStatementsPaddingType;
|
|
8389
8425
|
prev: _StylisticPaddingLineBetweenStatementsStatementOption;
|
|
8390
8426
|
next: _StylisticPaddingLineBetweenStatementsStatementOption;
|
|
8391
|
-
}[];
|
|
8427
|
+
}[];
|
|
8428
|
+
interface _StylisticPaddingLineBetweenStatements_SelectorOption {
|
|
8429
|
+
selector: string;
|
|
8430
|
+
} // ----- @stylistic/quote-props -----
|
|
8392
8431
|
type StylisticQuoteProps = ([] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
|
|
8393
8432
|
keywords?: boolean;
|
|
8394
8433
|
unnecessary?: boolean;
|
|
@@ -9162,7 +9201,10 @@ type TypescriptEslintNoUseBeforeDefine = [] | [("nofunc" | {
|
|
|
9162
9201
|
ignoreTypeReferences?: boolean;
|
|
9163
9202
|
typedefs?: boolean;
|
|
9164
9203
|
variables?: boolean;
|
|
9165
|
-
})]; // ----- @typescript-eslint/no-
|
|
9204
|
+
})]; // ----- @typescript-eslint/no-useless-default-assignment -----
|
|
9205
|
+
type TypescriptEslintNoUselessDefaultAssignment = [] | [{
|
|
9206
|
+
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean;
|
|
9207
|
+
}]; // ----- @typescript-eslint/no-var-requires -----
|
|
9166
9208
|
type TypescriptEslintNoVarRequires = [] | [{
|
|
9167
9209
|
allow?: string[];
|
|
9168
9210
|
}]; // ----- @typescript-eslint/only-throw-error -----
|
|
@@ -9376,6 +9418,7 @@ type AntfuConsistentListNewline = [] | [{
|
|
|
9376
9418
|
ExportNamedDeclaration?: boolean;
|
|
9377
9419
|
FunctionDeclaration?: boolean;
|
|
9378
9420
|
FunctionExpression?: boolean;
|
|
9421
|
+
IfStatement?: boolean;
|
|
9379
9422
|
ImportDeclaration?: boolean;
|
|
9380
9423
|
JSONArrayExpression?: boolean;
|
|
9381
9424
|
JSONObjectExpression?: boolean;
|
|
@@ -9532,7 +9575,7 @@ type FormatDprint = [] | [{
|
|
|
9532
9575
|
[k: string]: unknown | undefined;
|
|
9533
9576
|
}]; // ----- format/prettier -----
|
|
9534
9577
|
type FormatPrettier = [] | [{
|
|
9535
|
-
parser
|
|
9578
|
+
parser: string;
|
|
9536
9579
|
[k: string]: unknown | undefined;
|
|
9537
9580
|
}]; // ----- func-call-spacing -----
|
|
9538
9581
|
type FuncCallSpacing = ([] | ["never"] | [] | ["always"] | ["always", {
|
|
@@ -10111,6 +10154,7 @@ type JsdocTagLines = [] | [("always" | "any" | "never")] | [("always" | "any" |
|
|
|
10111
10154
|
endLines?: (number | null);
|
|
10112
10155
|
maxBlockLines?: (number | null);
|
|
10113
10156
|
startLines?: (number | null);
|
|
10157
|
+
startLinesWithNoTags?: number;
|
|
10114
10158
|
tags?: {
|
|
10115
10159
|
[k: string]: {
|
|
10116
10160
|
count?: number;
|
|
@@ -11155,10 +11199,12 @@ type NNoUnsupportedFeaturesNodeBuiltins = [] | [{
|
|
|
11155
11199
|
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.execve" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.ref" | "process.release" | "process.report" | "process.report.excludeEnv" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.threadCpuUsage" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.unref" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.Assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.partialDeepStrictEqual" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.Assert" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.partialDeepStrictEqual" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.Assert" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.partialDeepStrictEqual" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTlsa" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTlsa" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTlsa" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.METHODS" | "http.STATUS_CODES" | "http.globalAgent" | "http.maxHeaderSize" | "http.createServer" | "http.get" | "http.request" | "http.validateHeaderName" | "http.validateHeaderValue" | "http.setMaxIdleHTTPParsers" | "http.Agent" | "http.ClientRequest" | "http.Server" | "http.ServerResponse" | "http.IncomingMessage" | "http.OutgoingMessage" | "http.WebSocket" | "_http_agent" | "_http_client" | "_http_common" | "_http_incoming" | "_http_outgoing" | "_http_server" | "https" | "https.globalAgent" | "https.createServer" | "https.get" | "https.request" | "https.Agent" | "https.Server" | "inspector" | "inspector.Session" | "inspector.Network.dataReceived" | "inspector.Network.dataSent" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.NetworkResources.put" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.Network.dataReceived" | "inspector/promises.Network.dataSent" | "inspector/promises.Network.loadingFailed" | "inspector/promises.Network.loadingFinished" | "inspector/promises.Network.requestWillBeSent" | "inspector/promises.Network.responseReceived" | "inspector/promises.NetworkResources.put" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.findPackageJSON" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.getSourceMapsSupport" | "module.isBuiltin" | "module.registerHooks" | "module.register" | "module.setSourceMapsSupport" | "module.stripTypeScriptTypes" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.findPackageJSON" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.getSourceMapsSupport" | "module.Module.isBuiltin" | "module.Module.registerHooks" | "module.Module.register" | "module.Module.setSourceMapsSupport" | "module.Module.stripTypeScriptTypes" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.BlockList.isBlockList" | "net.SocketAddress" | "net.SocketAddress.parse" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "sqlite" | "sqlite.constants" | "sqlite.constants.SQLITE_CHANGESET_OMIT" | "sqlite.constants.SQLITE_CHANGESET_REPLACE" | "sqlite.constants.SQLITE_CHANGESET_ABORT" | "sqlite.backup" | "sqlite.DatabaseSync" | "sqlite.StatementSync" | "sqlite.SQLITE_CHANGESET_OMIT" | "sqlite.SQLITE_CHANGESET_REPLACE" | "sqlite.SQLITE_CHANGESET_ABORT" | "test" | "test.after" | "test.afterEach" | "test.assert" | "test.assert.register" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "timers/promises.scheduler.wait" | "timers/promises.scheduler.yield" | "tls" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.CryptoStream" | "tls.DEFAULT_CIPHERS" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.getCACertificates" | "tls.getCiphers" | "tls.rootCertificates" | "tls.SecureContext" | "tls.SecurePair" | "tls.Server" | "tls.setDefaultCACertificates" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLPattern" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.diff" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getCallSites" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.setTraceSigInt" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat16Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat16Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.isStringOneByteRepresentation" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.getHeapStatistics" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isInternalThread" | "worker_threads.isMainThread" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.constants" | "zlib.constants.ZSTD_e_continue" | "zlib.constants.ZSTD_e_flush" | "zlib.constants.ZSTD_e_end" | "zlib.constants.ZSTD_fast" | "zlib.constants.ZSTD_dfast" | "zlib.constants.ZSTD_greedy" | "zlib.constants.ZSTD_lazy" | "zlib.constants.ZSTD_lazy2" | "zlib.constants.ZSTD_btlazy2" | "zlib.constants.ZSTD_btopt" | "zlib.constants.ZSTD_btultra" | "zlib.constants.ZSTD_btultra2" | "zlib.constants.ZSTD_c_compressionLevel" | "zlib.constants.ZSTD_c_windowLog" | "zlib.constants.ZSTD_c_hashLog" | "zlib.constants.ZSTD_c_chainLog" | "zlib.constants.ZSTD_c_searchLog" | "zlib.constants.ZSTD_c_minMatch" | "zlib.constants.ZSTD_c_targetLength" | "zlib.constants.ZSTD_c_strategy" | "zlib.constants.ZSTD_c_enableLongDistanceMatching" | "zlib.constants.ZSTD_c_ldmHashLog" | "zlib.constants.ZSTD_c_ldmMinMatch" | "zlib.constants.ZSTD_c_ldmBucketSizeLog" | "zlib.constants.ZSTD_c_ldmHashRateLog" | "zlib.constants.ZSTD_c_contentSizeFlag" | "zlib.constants.ZSTD_c_checksumFlag" | "zlib.constants.ZSTD_c_dictIDFlag" | "zlib.constants.ZSTD_c_nbWorkers" | "zlib.constants.ZSTD_c_jobSize" | "zlib.constants.ZSTD_c_overlapLog" | "zlib.constants.ZSTD_d_windowLogMax" | "zlib.constants.ZSTD_CLEVEL_DEFAULT" | "zlib.constants.ZSTD_error_no_error" | "zlib.constants.ZSTD_error_GENERIC" | "zlib.constants.ZSTD_error_prefix_unknown" | "zlib.constants.ZSTD_error_version_unsupported" | "zlib.constants.ZSTD_error_frameParameter_unsupported" | "zlib.constants.ZSTD_error_frameParameter_windowTooLarge" | "zlib.constants.ZSTD_error_corruption_detected" | "zlib.constants.ZSTD_error_checksum_wrong" | "zlib.constants.ZSTD_error_literals_headerWrong" | "zlib.constants.ZSTD_error_dictionary_corrupted" | "zlib.constants.ZSTD_error_dictionary_wrong" | "zlib.constants.ZSTD_error_dictionaryCreation_failed" | "zlib.constants.ZSTD_error_parameter_unsupported" | "zlib.constants.ZSTD_error_parameter_combination_unsupported" | "zlib.constants.ZSTD_error_parameter_outOfBound" | "zlib.constants.ZSTD_error_tableLog_tooLarge" | "zlib.constants.ZSTD_error_maxSymbolValue_tooLarge" | "zlib.constants.ZSTD_error_maxSymbolValue_tooSmall" | "zlib.constants.ZSTD_error_stabilityCondition_notRespected" | "zlib.constants.ZSTD_error_stage_wrong" | "zlib.constants.ZSTD_error_init_missing" | "zlib.constants.ZSTD_error_memory_allocation" | "zlib.constants.ZSTD_error_workSpace_tooSmall" | "zlib.constants.ZSTD_error_dstSize_tooSmall" | "zlib.constants.ZSTD_error_srcSize_wrong" | "zlib.constants.ZSTD_error_dstBuffer_null" | "zlib.constants.ZSTD_error_noForwardProgress_destFull" | "zlib.constants.ZSTD_error_noForwardProgress_inputEmpty" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.createZstdCompress" | "zlib.createZstdDecompress" | "zlib.deflate" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.deflateSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.inflateSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.zstdCompress" | "zlib.zstdCompressSync" | "zlib.zstdDecompress" | "zlib.zstdDecompressSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib.ZstdCompress" | "zlib.ZstdDecompress" | "zlib.ZstdOptions" | "zlib" | "import.meta.resolve" | "import.meta.dirname" | "import.meta.filename" | "import.meta.main")[];
|
|
11156
11200
|
}]; // ----- n/prefer-global/buffer -----
|
|
11157
11201
|
type NPreferGlobalBuffer = [] | [("always" | "never")]; // ----- n/prefer-global/console -----
|
|
11158
|
-
type NPreferGlobalConsole = [] | [("always" | "never")]; // ----- n/prefer-global/
|
|
11202
|
+
type NPreferGlobalConsole = [] | [("always" | "never")]; // ----- n/prefer-global/crypto -----
|
|
11203
|
+
type NPreferGlobalCrypto = [] | [("always" | "never")]; // ----- n/prefer-global/process -----
|
|
11159
11204
|
type NPreferGlobalProcess = [] | [("always" | "never")]; // ----- n/prefer-global/text-decoder -----
|
|
11160
11205
|
type NPreferGlobalTextDecoder = [] | [("always" | "never")]; // ----- n/prefer-global/text-encoder -----
|
|
11161
|
-
type NPreferGlobalTextEncoder = [] | [("always" | "never")]; // ----- n/prefer-global/
|
|
11206
|
+
type NPreferGlobalTextEncoder = [] | [("always" | "never")]; // ----- n/prefer-global/timers -----
|
|
11207
|
+
type NPreferGlobalTimers = [] | [("always" | "never")]; // ----- n/prefer-global/url -----
|
|
11162
11208
|
type NPreferGlobalUrl = [] | [("always" | "never")]; // ----- n/prefer-global/url-search-params -----
|
|
11163
11209
|
type NPreferGlobalUrlSearchParams = [] | [("always" | "never")]; // ----- n/prefer-node-protocol -----
|
|
11164
11210
|
type NPreferNodeProtocol = [] | [{
|
|
@@ -11629,7 +11675,7 @@ type PerfectionistSortArrayIncludes = {
|
|
|
11629
11675
|
pattern: string;
|
|
11630
11676
|
flags?: string;
|
|
11631
11677
|
} | string));
|
|
11632
|
-
selector?:
|
|
11678
|
+
selector?: "literal";
|
|
11633
11679
|
}, ...({
|
|
11634
11680
|
elementNamePattern?: (({
|
|
11635
11681
|
pattern: string;
|
|
@@ -11638,7 +11684,7 @@ type PerfectionistSortArrayIncludes = {
|
|
|
11638
11684
|
pattern: string;
|
|
11639
11685
|
flags?: string;
|
|
11640
11686
|
} | string));
|
|
11641
|
-
selector?:
|
|
11687
|
+
selector?: "literal";
|
|
11642
11688
|
})[]];
|
|
11643
11689
|
} | {
|
|
11644
11690
|
fallbackSort?: {
|
|
@@ -11656,7 +11702,7 @@ type PerfectionistSortArrayIncludes = {
|
|
|
11656
11702
|
pattern: string;
|
|
11657
11703
|
flags?: string;
|
|
11658
11704
|
} | string));
|
|
11659
|
-
selector?:
|
|
11705
|
+
selector?: "literal";
|
|
11660
11706
|
})[];
|
|
11661
11707
|
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
11662
11708
|
groups?: (string | [string, ...(string)[]] | {
|
|
@@ -11823,6 +11869,7 @@ type PerfectionistSortClasses = [] | [{
|
|
|
11823
11869
|
order?: ("asc" | "desc");
|
|
11824
11870
|
})[];
|
|
11825
11871
|
newlinesBetween?: ("ignore" | number);
|
|
11872
|
+
useExperimentalDependencyDetection?: boolean;
|
|
11826
11873
|
ignoreCallbackDependenciesPatterns?: (({
|
|
11827
11874
|
pattern: string;
|
|
11828
11875
|
flags?: string;
|
|
@@ -13709,7 +13756,7 @@ type PerfectionistSortSets = {
|
|
|
13709
13756
|
pattern: string;
|
|
13710
13757
|
flags?: string;
|
|
13711
13758
|
} | string));
|
|
13712
|
-
selector?:
|
|
13759
|
+
selector?: "literal";
|
|
13713
13760
|
}, ...({
|
|
13714
13761
|
elementNamePattern?: (({
|
|
13715
13762
|
pattern: string;
|
|
@@ -13718,7 +13765,7 @@ type PerfectionistSortSets = {
|
|
|
13718
13765
|
pattern: string;
|
|
13719
13766
|
flags?: string;
|
|
13720
13767
|
} | string));
|
|
13721
|
-
selector?:
|
|
13768
|
+
selector?: "literal";
|
|
13722
13769
|
})[]];
|
|
13723
13770
|
} | {
|
|
13724
13771
|
fallbackSort?: {
|
|
@@ -13736,7 +13783,7 @@ type PerfectionistSortSets = {
|
|
|
13736
13783
|
pattern: string;
|
|
13737
13784
|
flags?: string;
|
|
13738
13785
|
} | string));
|
|
13739
|
-
selector?:
|
|
13786
|
+
selector?: "literal";
|
|
13740
13787
|
})[];
|
|
13741
13788
|
newlinesInside?: (("ignore" | number) | "newlinesBetween");
|
|
13742
13789
|
groups?: (string | [string, ...(string)[]] | {
|
|
@@ -14507,7 +14554,15 @@ interface _UnicornImportStyle_ModuleStyles {
|
|
|
14507
14554
|
}
|
|
14508
14555
|
interface _UnicornImportStyle_BooleanObject {
|
|
14509
14556
|
[k: string]: boolean | undefined;
|
|
14510
|
-
} // ----- unicorn/
|
|
14557
|
+
} // ----- unicorn/isolated-functions -----
|
|
14558
|
+
type UnicornIsolatedFunctions = [] | [{
|
|
14559
|
+
overrideGlobals?: {
|
|
14560
|
+
[k: string]: (boolean | ("readonly" | "writable" | "writeable" | "off")) | undefined;
|
|
14561
|
+
};
|
|
14562
|
+
functions?: string[];
|
|
14563
|
+
selectors?: string[];
|
|
14564
|
+
comments?: string[];
|
|
14565
|
+
}]; // ----- unicorn/no-array-reduce -----
|
|
14511
14566
|
type UnicornNoArrayReduce = [] | [{
|
|
14512
14567
|
allowSimpleOperations?: boolean;
|
|
14513
14568
|
}]; // ----- unicorn/no-array-reverse -----
|
|
@@ -14716,6 +14771,7 @@ type VueAttributesOrder = [] | [{
|
|
|
14716
14771
|
order?: (("DEFINITION" | "LIST_RENDERING" | "CONDITIONALS" | "RENDER_MODIFIERS" | "GLOBAL" | "UNIQUE" | "SLOT" | "TWO_WAY_BINDING" | "OTHER_DIRECTIVES" | "OTHER_ATTR" | "ATTR_STATIC" | "ATTR_DYNAMIC" | "ATTR_SHORTHAND_BOOL" | "EVENTS" | "CONTENT") | ("DEFINITION" | "LIST_RENDERING" | "CONDITIONALS" | "RENDER_MODIFIERS" | "GLOBAL" | "UNIQUE" | "SLOT" | "TWO_WAY_BINDING" | "OTHER_DIRECTIVES" | "OTHER_ATTR" | "ATTR_STATIC" | "ATTR_DYNAMIC" | "ATTR_SHORTHAND_BOOL" | "EVENTS" | "CONTENT")[])[];
|
|
14717
14772
|
alphabetical?: boolean;
|
|
14718
14773
|
sortLineLength?: boolean;
|
|
14774
|
+
ignoreVBindObject?: boolean;
|
|
14719
14775
|
}]; // ----- vue/block-lang -----
|
|
14720
14776
|
type VueBlockLang = [] | [{
|
|
14721
14777
|
[k: string]: {
|
|
@@ -14788,7 +14844,7 @@ type VueDefineMacrosOrder = [] | [{
|
|
|
14788
14844
|
}]; // ----- vue/define-props-declaration -----
|
|
14789
14845
|
type VueDefinePropsDeclaration = [] | [("type-based" | "runtime")]; // ----- vue/define-props-destructuring -----
|
|
14790
14846
|
type VueDefinePropsDestructuring = [] | [{
|
|
14791
|
-
destructure?: ("always" | "never");
|
|
14847
|
+
destructure?: ("only-when-assigned" | "always" | "never");
|
|
14792
14848
|
}]; // ----- vue/dot-location -----
|
|
14793
14849
|
type VueDotLocation = [] | [("object" | "property")]; // ----- vue/dot-notation -----
|
|
14794
14850
|
type VueDotNotation = [] | [{
|
|
@@ -15724,7 +15780,10 @@ type VueVSlotStyle = [] | [(("shorthand" | "longform") | {
|
|
|
15724
15780
|
atComponent?: ("shorthand" | "longform" | "v-slot");
|
|
15725
15781
|
default?: ("shorthand" | "longform" | "v-slot");
|
|
15726
15782
|
named?: ("shorthand" | "longform");
|
|
15727
|
-
})]; // ----- vue/valid-v-
|
|
15783
|
+
})]; // ----- vue/valid-v-for -----
|
|
15784
|
+
type VueValidVFor = [] | [{
|
|
15785
|
+
allowEmptyAlias?: boolean;
|
|
15786
|
+
}]; // ----- vue/valid-v-on -----
|
|
15728
15787
|
type VueValidVOn = [] | [{
|
|
15729
15788
|
modifiers?: unknown[];
|
|
15730
15789
|
}]; // ----- vue/valid-v-slot -----
|