@2digits/eslint-config 2.15.0 → 2.15.2

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.
Files changed (3) hide show
  1. package/dist/index.d.cts +160 -212
  2. package/dist/index.d.ts +160 -212
  3. package/package.json +11 -11
package/dist/index.d.cts CHANGED
@@ -10,7 +10,7 @@ import { FlatGitignoreOptions } from 'eslint-config-flat-gitignore';
10
10
  interface RuleOptions {
11
11
  /**
12
12
  * Enforce giving proper names to type parameters when there are two or more
13
- * @see https://github.com/2digits-agency/configs/blob/@2digits/eslint-plugin@2.3.32/packages/eslint/src/rules/type-param-names.ts
13
+ * @see https://github.com/2digits-agency/configs/blob/@2digits/eslint-plugin@2.3.33/packages/eslint/src/rules/type-param-names.ts
14
14
  */
15
15
  '@2digits/type-param-names'?: Linter.RuleEntry<[]>
16
16
  /**
@@ -4273,6 +4273,7 @@ Backward pagination arguments
4273
4273
  /**
4274
4274
  * Disabling Certificate Transparency monitoring is security-sensitive
4275
4275
  * @see https://sonarsource.github.io/rspec/#/rspec/S5742/javascript
4276
+ * @deprecated
4276
4277
  */
4277
4278
  'sonar/certificate-transparency'?: Linter.RuleEntry<SonarCertificateTransparency>
4278
4279
  /**
@@ -5896,7 +5897,7 @@ Backward pagination arguments
5896
5897
  */
5897
5898
  'ts/no-for-in-array'?: Linter.RuleEntry<[]>
5898
5899
  /**
5899
- * Disallow the use of `eval()`-like methods
5900
+ * Disallow the use of `eval()`-like functions
5900
5901
  * @see https://typescript-eslint.io/rules/no-implied-eval
5901
5902
  */
5902
5903
  'ts/no-implied-eval'?: Linter.RuleEntry<[]>
@@ -6352,702 +6353,642 @@ Backward pagination arguments
6352
6353
  'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
6353
6354
  /**
6354
6355
  * Improve regexes by making them shorter, consistent, and safer.
6355
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/better-regex.md
6356
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/better-regex.md
6356
6357
  */
6357
6358
  'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
6358
6359
  /**
6359
6360
  * Enforce a specific parameter name in catch clauses.
6360
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/catch-error-name.md
6361
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/catch-error-name.md
6361
6362
  */
6362
6363
  'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
6364
+ /**
6365
+ * Enforce consistent assertion style with `node:assert`.
6366
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/consistent-assert.md
6367
+ */
6368
+ 'unicorn/consistent-assert'?: Linter.RuleEntry<[]>
6369
+ /**
6370
+ * Prefer passing `Date` directly to the constructor when cloning.
6371
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/consistent-date-clone.md
6372
+ */
6373
+ 'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>
6363
6374
  /**
6364
6375
  * Use destructured variables over properties.
6365
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-destructuring.md
6376
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/consistent-destructuring.md
6366
6377
  */
6367
6378
  'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
6368
6379
  /**
6369
6380
  * Prefer consistent types when spreading a ternary in an array literal.
6370
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-empty-array-spread.md
6381
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/consistent-empty-array-spread.md
6371
6382
  */
6372
6383
  'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
6373
6384
  /**
6374
6385
  * Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
6375
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-existence-index-check.md
6386
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/consistent-existence-index-check.md
6376
6387
  */
6377
6388
  'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
6378
6389
  /**
6379
6390
  * Move function definitions to the highest possible scope.
6380
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-function-scoping.md
6391
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/consistent-function-scoping.md
6381
6392
  */
6382
6393
  'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
6383
6394
  /**
6384
6395
  * Enforce correct `Error` subclassing.
6385
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/custom-error-definition.md
6396
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/custom-error-definition.md
6386
6397
  */
6387
6398
  'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
6388
6399
  /**
6389
6400
  * Enforce no spaces between braces.
6390
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/empty-brace-spaces.md
6401
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/empty-brace-spaces.md
6391
6402
  */
6392
6403
  'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
6393
6404
  /**
6394
6405
  * Enforce passing a `message` value when creating a built-in error.
6395
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/error-message.md
6406
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/error-message.md
6396
6407
  */
6397
6408
  'unicorn/error-message'?: Linter.RuleEntry<[]>
6398
6409
  /**
6399
6410
  * Require escape sequences to use uppercase values.
6400
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/escape-case.md
6411
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/escape-case.md
6401
6412
  */
6402
6413
  'unicorn/escape-case'?: Linter.RuleEntry<[]>
6403
6414
  /**
6404
6415
  * Add expiration conditions to TODO comments.
6405
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/expiring-todo-comments.md
6416
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/expiring-todo-comments.md
6406
6417
  */
6407
6418
  'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
6408
6419
  /**
6409
6420
  * Enforce explicitly comparing the `length` or `size` property of a value.
6410
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/explicit-length-check.md
6421
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/explicit-length-check.md
6411
6422
  */
6412
6423
  'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
6413
6424
  /**
6414
6425
  * Enforce a case style for filenames.
6415
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/filename-case.md
6426
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/filename-case.md
6416
6427
  */
6417
6428
  'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
6418
- /**
6419
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#import-index
6420
- * @deprecated
6421
- */
6422
- 'unicorn/import-index'?: Linter.RuleEntry<[]>
6423
6429
  /**
6424
6430
  * Enforce specific import styles per module.
6425
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/import-style.md
6431
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/import-style.md
6426
6432
  */
6427
6433
  'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
6428
6434
  /**
6429
6435
  * Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
6430
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/new-for-builtins.md
6436
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/new-for-builtins.md
6431
6437
  */
6432
6438
  'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
6433
6439
  /**
6434
6440
  * Enforce specifying rules to disable in `eslint-disable` comments.
6435
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-abusive-eslint-disable.md
6441
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-abusive-eslint-disable.md
6436
6442
  */
6437
6443
  'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
6444
+ /**
6445
+ * Disallow recursive access to `this` within getters and setters.
6446
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-accessor-recursion.md
6447
+ */
6448
+ 'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>
6438
6449
  /**
6439
6450
  * Disallow anonymous functions and classes as the default export.
6440
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-anonymous-default-export.md
6451
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-anonymous-default-export.md
6441
6452
  */
6442
6453
  'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
6443
6454
  /**
6444
6455
  * Prevent passing a function reference directly to iterator methods.
6445
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-callback-reference.md
6456
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-array-callback-reference.md
6446
6457
  */
6447
6458
  'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
6448
6459
  /**
6449
6460
  * Prefer `for…of` over the `forEach` method.
6450
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-for-each.md
6461
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-array-for-each.md
6451
6462
  */
6452
6463
  'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
6453
- /**
6454
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-array-instanceof
6455
- * @deprecated
6456
- */
6457
- 'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
6458
6464
  /**
6459
6465
  * Disallow using the `this` argument in array methods.
6460
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-method-this-argument.md
6466
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-array-method-this-argument.md
6461
6467
  */
6462
6468
  'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
6463
6469
  /**
6464
6470
  * Enforce combining multiple `Array#push()` into one call.
6465
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-push-push.md
6471
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-array-push-push.md
6466
6472
  */
6467
6473
  'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
6468
6474
  /**
6469
6475
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
6470
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-reduce.md
6476
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-array-reduce.md
6471
6477
  */
6472
6478
  'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
6473
6479
  /**
6474
6480
  * Disallow member access from await expression.
6475
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-await-expression-member.md
6481
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-await-expression-member.md
6476
6482
  */
6477
6483
  'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
6478
6484
  /**
6479
6485
  * Disallow using `await` in `Promise` method parameters.
6480
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-await-in-promise-methods.md
6486
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-await-in-promise-methods.md
6481
6487
  */
6482
6488
  'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
6483
6489
  /**
6484
6490
  * Do not use leading/trailing space between `console.log` parameters.
6485
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-console-spaces.md
6491
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-console-spaces.md
6486
6492
  */
6487
6493
  'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
6488
6494
  /**
6489
6495
  * Do not use `document.cookie` directly.
6490
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-document-cookie.md
6496
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-document-cookie.md
6491
6497
  */
6492
6498
  'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
6493
6499
  /**
6494
6500
  * Disallow empty files.
6495
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-empty-file.md
6501
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-empty-file.md
6496
6502
  */
6497
6503
  'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
6498
- /**
6499
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-fn-reference-in-iterator
6500
- * @deprecated
6501
- */
6502
- 'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
6503
6504
  /**
6504
6505
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
6505
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-for-loop.md
6506
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-for-loop.md
6506
6507
  */
6507
6508
  'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
6508
6509
  /**
6509
6510
  * Enforce the use of Unicode escapes instead of hexadecimal escapes.
6510
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-hex-escape.md
6511
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-hex-escape.md
6511
6512
  */
6512
6513
  'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
6513
6514
  /**
6514
- * Require `Array.isArray()` instead of `instanceof Array`.
6515
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-instanceof-array.md
6515
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/deprecated-rules.md#no-instanceof-array
6516
+ * @deprecated
6516
6517
  */
6517
6518
  'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
6519
+ /**
6520
+ * Disallow `instanceof` with built-in objects
6521
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-instanceof-builtins.md
6522
+ */
6523
+ 'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>
6518
6524
  /**
6519
6525
  * Disallow invalid options in `fetch()` and `new Request()`.
6520
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-invalid-fetch-options.md
6526
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-invalid-fetch-options.md
6521
6527
  */
6522
6528
  'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
6523
6529
  /**
6524
6530
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
6525
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-invalid-remove-event-listener.md
6531
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-invalid-remove-event-listener.md
6526
6532
  */
6527
6533
  'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
6528
6534
  /**
6529
6535
  * Disallow identifiers starting with `new` or `class`.
6530
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-keyword-prefix.md
6536
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-keyword-prefix.md
6531
6537
  */
6532
6538
  'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
6533
6539
  /**
6534
6540
  * Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
6535
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-length-as-slice-end.md
6541
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-length-as-slice-end.md
6536
6542
  */
6537
6543
  'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
6538
6544
  /**
6539
6545
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
6540
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-lonely-if.md
6546
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-lonely-if.md
6541
6547
  */
6542
6548
  'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
6543
6549
  /**
6544
6550
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
6545
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-magic-array-flat-depth.md
6551
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-magic-array-flat-depth.md
6546
6552
  */
6547
6553
  'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
6554
+ /**
6555
+ * Disallow named usage of default import and export.
6556
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-named-default.md
6557
+ */
6558
+ 'unicorn/no-named-default'?: Linter.RuleEntry<[]>
6548
6559
  /**
6549
6560
  * Disallow negated conditions.
6550
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-negated-condition.md
6561
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-negated-condition.md
6551
6562
  */
6552
6563
  'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
6553
6564
  /**
6554
6565
  * Disallow negated expression in equality check.
6555
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-negation-in-equality-check.md
6566
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-negation-in-equality-check.md
6556
6567
  */
6557
6568
  'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
6558
6569
  /**
6559
6570
  * Disallow nested ternary expressions.
6560
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-nested-ternary.md
6571
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-nested-ternary.md
6561
6572
  */
6562
6573
  'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
6563
6574
  /**
6564
6575
  * Disallow `new Array()`.
6565
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-new-array.md
6576
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-new-array.md
6566
6577
  */
6567
6578
  'unicorn/no-new-array'?: Linter.RuleEntry<[]>
6568
6579
  /**
6569
6580
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
6570
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-new-buffer.md
6581
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-new-buffer.md
6571
6582
  */
6572
6583
  'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
6573
6584
  /**
6574
6585
  * Disallow the use of the `null` literal.
6575
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-null.md
6586
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-null.md
6576
6587
  */
6577
6588
  'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
6578
6589
  /**
6579
6590
  * Disallow the use of objects as default parameters.
6580
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-object-as-default-parameter.md
6591
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-object-as-default-parameter.md
6581
6592
  */
6582
6593
  'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
6583
6594
  /**
6584
6595
  * Disallow `process.exit()`.
6585
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-process-exit.md
6596
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-process-exit.md
6586
6597
  */
6587
6598
  'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
6588
- /**
6589
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-reduce
6590
- * @deprecated
6591
- */
6592
- 'unicorn/no-reduce'?: Linter.RuleEntry<[]>
6593
6599
  /**
6594
6600
  * Disallow passing single-element arrays to `Promise` methods.
6595
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-single-promise-in-promise-methods.md
6601
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-single-promise-in-promise-methods.md
6596
6602
  */
6597
6603
  'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
6598
6604
  /**
6599
6605
  * Disallow classes that only have static members.
6600
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-static-only-class.md
6606
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-static-only-class.md
6601
6607
  */
6602
6608
  'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
6603
6609
  /**
6604
6610
  * Disallow `then` property.
6605
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-thenable.md
6611
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-thenable.md
6606
6612
  */
6607
6613
  'unicorn/no-thenable'?: Linter.RuleEntry<[]>
6608
6614
  /**
6609
6615
  * Disallow assigning `this` to a variable.
6610
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-this-assignment.md
6616
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-this-assignment.md
6611
6617
  */
6612
6618
  'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
6613
6619
  /**
6614
6620
  * Disallow comparing `undefined` using `typeof`.
6615
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-typeof-undefined.md
6621
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-typeof-undefined.md
6616
6622
  */
6617
6623
  'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
6618
6624
  /**
6619
6625
  * Disallow awaiting non-promise values.
6620
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unnecessary-await.md
6626
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-unnecessary-await.md
6621
6627
  */
6622
6628
  'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
6623
6629
  /**
6624
6630
  * Enforce the use of built-in methods instead of unnecessary polyfills.
6625
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unnecessary-polyfills.md
6631
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-unnecessary-polyfills.md
6626
6632
  */
6627
6633
  'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
6628
6634
  /**
6629
6635
  * Disallow unreadable array destructuring.
6630
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unreadable-array-destructuring.md
6636
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-unreadable-array-destructuring.md
6631
6637
  */
6632
6638
  'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
6633
6639
  /**
6634
6640
  * Disallow unreadable IIFEs.
6635
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unreadable-iife.md
6641
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-unreadable-iife.md
6636
6642
  */
6637
6643
  'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
6638
- /**
6639
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-unsafe-regex
6640
- * @deprecated
6641
- */
6642
- 'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
6643
6644
  /**
6644
6645
  * Disallow unused object properties.
6645
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unused-properties.md
6646
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-unused-properties.md
6646
6647
  */
6647
6648
  'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
6648
6649
  /**
6649
6650
  * Disallow useless fallback when spreading in object literals.
6650
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-fallback-in-spread.md
6651
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-useless-fallback-in-spread.md
6651
6652
  */
6652
6653
  'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
6653
6654
  /**
6654
6655
  * Disallow useless array length check.
6655
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-length-check.md
6656
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-useless-length-check.md
6656
6657
  */
6657
6658
  'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
6658
6659
  /**
6659
6660
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
6660
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-promise-resolve-reject.md
6661
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-useless-promise-resolve-reject.md
6661
6662
  */
6662
6663
  'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
6663
6664
  /**
6664
6665
  * Disallow unnecessary spread.
6665
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-spread.md
6666
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-useless-spread.md
6666
6667
  */
6667
6668
  'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
6668
6669
  /**
6669
6670
  * Disallow useless case in switch statements.
6670
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-switch-case.md
6671
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-useless-switch-case.md
6671
6672
  */
6672
6673
  'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
6673
6674
  /**
6674
6675
  * Disallow useless `undefined`.
6675
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-undefined.md
6676
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-useless-undefined.md
6676
6677
  */
6677
6678
  'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
6678
6679
  /**
6679
6680
  * Disallow number literals with zero fractions or dangling dots.
6680
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-zero-fractions.md
6681
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/no-zero-fractions.md
6681
6682
  */
6682
6683
  'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
6683
6684
  /**
6684
6685
  * Enforce proper case for numeric literals.
6685
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/number-literal-case.md
6686
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/number-literal-case.md
6686
6687
  */
6687
6688
  'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
6688
6689
  /**
6689
6690
  * Enforce the style of numeric separators by correctly grouping digits.
6690
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/numeric-separators-style.md
6691
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/numeric-separators-style.md
6691
6692
  */
6692
6693
  'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
6693
6694
  /**
6694
6695
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
6695
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-add-event-listener.md
6696
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-add-event-listener.md
6696
6697
  */
6697
6698
  'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
6698
6699
  /**
6699
6700
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
6700
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-find.md
6701
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-array-find.md
6701
6702
  */
6702
6703
  'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
6703
6704
  /**
6704
6705
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
6705
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-flat.md
6706
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-array-flat.md
6706
6707
  */
6707
6708
  'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
6708
6709
  /**
6709
6710
  * Prefer `.flatMap(…)` over `.map(…).flat()`.
6710
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-flat-map.md
6711
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-array-flat-map.md
6711
6712
  */
6712
6713
  'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
6713
6714
  /**
6714
6715
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
6715
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-index-of.md
6716
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-array-index-of.md
6716
6717
  */
6717
6718
  'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
6718
6719
  /**
6719
6720
  * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
6720
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-some.md
6721
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-array-some.md
6721
6722
  */
6722
6723
  'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
6723
6724
  /**
6724
6725
  * Prefer `.at()` method for index access and `String#charAt()`.
6725
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-at.md
6726
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-at.md
6726
6727
  */
6727
6728
  'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
6728
6729
  /**
6729
6730
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
6730
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-blob-reading-methods.md
6731
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-blob-reading-methods.md
6731
6732
  */
6732
6733
  'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
6733
6734
  /**
6734
6735
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
6735
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-code-point.md
6736
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-code-point.md
6736
6737
  */
6737
6738
  'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
6738
- /**
6739
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-dataset
6740
- * @deprecated
6741
- */
6742
- 'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
6743
6739
  /**
6744
6740
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
6745
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-date-now.md
6741
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-date-now.md
6746
6742
  */
6747
6743
  'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
6748
6744
  /**
6749
6745
  * Prefer default parameters over reassignment.
6750
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-default-parameters.md
6746
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-default-parameters.md
6751
6747
  */
6752
6748
  'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
6753
6749
  /**
6754
6750
  * Prefer `Node#append()` over `Node#appendChild()`.
6755
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-append.md
6751
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-dom-node-append.md
6756
6752
  */
6757
6753
  'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
6758
6754
  /**
6759
6755
  * Prefer using `.dataset` on DOM elements over calling attribute methods.
6760
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-dataset.md
6756
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-dom-node-dataset.md
6761
6757
  */
6762
6758
  'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
6763
6759
  /**
6764
6760
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
6765
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-remove.md
6761
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-dom-node-remove.md
6766
6762
  */
6767
6763
  'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
6768
6764
  /**
6769
6765
  * Prefer `.textContent` over `.innerText`.
6770
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-text-content.md
6766
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-dom-node-text-content.md
6771
6767
  */
6772
6768
  'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
6773
- /**
6774
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-event-key
6775
- * @deprecated
6776
- */
6777
- 'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
6778
6769
  /**
6779
6770
  * Prefer `EventTarget` over `EventEmitter`.
6780
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-event-target.md
6771
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-event-target.md
6781
6772
  */
6782
6773
  'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
6783
- /**
6784
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-exponentiation-operator
6785
- * @deprecated
6786
- */
6787
- 'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
6788
6774
  /**
6789
6775
  * Prefer `export…from` when re-exporting.
6790
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-export-from.md
6776
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-export-from.md
6791
6777
  */
6792
6778
  'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
6793
- /**
6794
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-flat-map
6795
- * @deprecated
6796
- */
6797
- 'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
6798
6779
  /**
6799
6780
  * Prefer `globalThis` over `window`, `self`, and `global`.
6800
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-global-this.md
6781
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-global-this.md
6801
6782
  */
6802
6783
  'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
6803
6784
  /**
6804
6785
  * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
6805
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-includes.md
6786
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-includes.md
6806
6787
  */
6807
6788
  'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
6808
6789
  /**
6809
6790
  * Prefer reading a JSON file as a buffer.
6810
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-json-parse-buffer.md
6791
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-json-parse-buffer.md
6811
6792
  */
6812
6793
  'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
6813
6794
  /**
6814
6795
  * Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
6815
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-keyboard-event-key.md
6796
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-keyboard-event-key.md
6816
6797
  */
6817
6798
  'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
6818
6799
  /**
6819
6800
  * Prefer using a logical operator over a ternary.
6820
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-logical-operator-over-ternary.md
6801
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-logical-operator-over-ternary.md
6821
6802
  */
6822
6803
  'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
6823
6804
  /**
6824
6805
  * Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
6825
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-math-min-max.md
6806
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-math-min-max.md
6826
6807
  */
6827
6808
  'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
6828
6809
  /**
6829
6810
  * Enforce the use of `Math.trunc` instead of bitwise operators.
6830
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-math-trunc.md
6811
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-math-trunc.md
6831
6812
  */
6832
6813
  'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
6833
6814
  /**
6834
6815
  * Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
6835
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-modern-dom-apis.md
6816
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-modern-dom-apis.md
6836
6817
  */
6837
6818
  'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
6838
6819
  /**
6839
6820
  * Prefer modern `Math` APIs over legacy patterns.
6840
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-modern-math-apis.md
6821
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-modern-math-apis.md
6841
6822
  */
6842
6823
  'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
6843
6824
  /**
6844
6825
  * Prefer JavaScript modules (ESM) over CommonJS.
6845
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-module.md
6826
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-module.md
6846
6827
  */
6847
6828
  'unicorn/prefer-module'?: Linter.RuleEntry<[]>
6848
6829
  /**
6849
6830
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
6850
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-native-coercion-functions.md
6831
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-native-coercion-functions.md
6851
6832
  */
6852
6833
  'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
6853
6834
  /**
6854
6835
  * Prefer negative index over `.length - index` when possible.
6855
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-negative-index.md
6836
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-negative-index.md
6856
6837
  */
6857
6838
  'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
6858
- /**
6859
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-node-append
6860
- * @deprecated
6861
- */
6862
- 'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
6863
6839
  /**
6864
6840
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
6865
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-node-protocol.md
6841
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-node-protocol.md
6866
6842
  */
6867
6843
  'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
6868
- /**
6869
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-node-remove
6870
- * @deprecated
6871
- */
6872
- 'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
6873
6844
  /**
6874
6845
  * Prefer `Number` static properties over global ones.
6875
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-number-properties.md
6846
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-number-properties.md
6876
6847
  */
6877
6848
  'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
6878
6849
  /**
6879
6850
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
6880
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-object-from-entries.md
6851
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-object-from-entries.md
6881
6852
  */
6882
6853
  'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
6883
- /**
6884
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-object-has-own
6885
- * @deprecated
6886
- */
6887
- 'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
6888
6854
  /**
6889
6855
  * Prefer omitting the `catch` binding parameter.
6890
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-optional-catch-binding.md
6856
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-optional-catch-binding.md
6891
6857
  */
6892
6858
  'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
6893
6859
  /**
6894
6860
  * Prefer borrowing methods from the prototype instead of the instance.
6895
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-prototype-methods.md
6861
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-prototype-methods.md
6896
6862
  */
6897
6863
  'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
6898
6864
  /**
6899
6865
  * Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
6900
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-query-selector.md
6866
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-query-selector.md
6901
6867
  */
6902
6868
  'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
6903
6869
  /**
6904
6870
  * Prefer `Reflect.apply()` over `Function#apply()`.
6905
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-reflect-apply.md
6871
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-reflect-apply.md
6906
6872
  */
6907
6873
  'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
6908
6874
  /**
6909
6875
  * Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
6910
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-regexp-test.md
6876
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-regexp-test.md
6911
6877
  */
6912
6878
  'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
6913
- /**
6914
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-replace-all
6915
- * @deprecated
6916
- */
6917
- 'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
6918
6879
  /**
6919
6880
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
6920
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-set-has.md
6881
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-set-has.md
6921
6882
  */
6922
6883
  'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
6923
6884
  /**
6924
6885
  * Prefer using `Set#size` instead of `Array#length`.
6925
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-set-size.md
6886
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-set-size.md
6926
6887
  */
6927
6888
  'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
6928
6889
  /**
6929
6890
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
6930
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-spread.md
6891
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-spread.md
6931
6892
  */
6932
6893
  'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
6933
- /**
6934
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-starts-ends-with
6935
- * @deprecated
6936
- */
6937
- 'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>
6938
6894
  /**
6939
6895
  * Prefer using the `String.raw` tag to avoid escaping `\`.
6940
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-raw.md
6896
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-string-raw.md
6941
6897
  */
6942
6898
  'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
6943
6899
  /**
6944
6900
  * Prefer `String#replaceAll()` over regex searches with the global flag.
6945
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-replace-all.md
6901
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-string-replace-all.md
6946
6902
  */
6947
6903
  'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
6948
6904
  /**
6949
6905
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
6950
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-slice.md
6906
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-string-slice.md
6951
6907
  */
6952
6908
  'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
6953
6909
  /**
6954
6910
  * Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
6955
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-starts-ends-with.md
6911
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-string-starts-ends-with.md
6956
6912
  */
6957
6913
  'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
6958
6914
  /**
6959
6915
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
6960
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-trim-start-end.md
6916
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-string-trim-start-end.md
6961
6917
  */
6962
6918
  'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
6963
6919
  /**
6964
6920
  * Prefer using `structuredClone` to create a deep clone.
6965
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-structured-clone.md
6921
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-structured-clone.md
6966
6922
  */
6967
6923
  'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
6968
6924
  /**
6969
6925
  * Prefer `switch` over multiple `else-if`.
6970
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-switch.md
6926
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-switch.md
6971
6927
  */
6972
6928
  'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
6973
6929
  /**
6974
6930
  * Prefer ternary expressions over simple `if-else` statements.
6975
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-ternary.md
6931
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-ternary.md
6976
6932
  */
6977
6933
  'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
6978
- /**
6979
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-text-content
6980
- * @deprecated
6981
- */
6982
- 'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
6983
6934
  /**
6984
6935
  * Prefer top-level await over top-level promises and async function calls.
6985
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-top-level-await.md
6936
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-top-level-await.md
6986
6937
  */
6987
6938
  'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
6988
- /**
6989
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-trim-start-end
6990
- * @deprecated
6991
- */
6992
- 'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
6993
6939
  /**
6994
6940
  * Enforce throwing `TypeError` in type checking conditions.
6995
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-type-error.md
6941
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prefer-type-error.md
6996
6942
  */
6997
6943
  'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
6998
6944
  /**
6999
6945
  * Prevent abbreviations.
7000
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prevent-abbreviations.md
6946
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/prevent-abbreviations.md
7001
6947
  */
7002
6948
  'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
7003
- /**
7004
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#regex-shorthand
7005
- * @deprecated
7006
- */
7007
- 'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
7008
6949
  /**
7009
6950
  * Enforce consistent relative URL style.
7010
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/relative-url-style.md
6951
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/relative-url-style.md
7011
6952
  */
7012
6953
  'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
7013
6954
  /**
7014
6955
  * Enforce using the separator argument with `Array#join()`.
7015
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-array-join-separator.md
6956
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/require-array-join-separator.md
7016
6957
  */
7017
6958
  'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
7018
6959
  /**
7019
6960
  * Enforce using the digits argument with `Number#toFixed()`.
7020
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-number-to-fixed-digits-argument.md
6961
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/require-number-to-fixed-digits-argument.md
7021
6962
  */
7022
6963
  'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
7023
6964
  /**
7024
6965
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
7025
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-post-message-target-origin.md
6966
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/require-post-message-target-origin.md
7026
6967
  */
7027
6968
  'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
7028
6969
  /**
7029
6970
  * Enforce better string content.
7030
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/string-content.md
6971
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/string-content.md
7031
6972
  */
7032
6973
  'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
7033
6974
  /**
7034
6975
  * Enforce consistent brace style for `case` clauses.
7035
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/switch-case-braces.md
6976
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/switch-case-braces.md
7036
6977
  */
7037
6978
  'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
7038
6979
  /**
7039
6980
  * Fix whitespace-insensitive template indentation.
7040
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/template-indent.md
6981
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/template-indent.md
7041
6982
  */
7042
6983
  'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
7043
6984
  /**
7044
6985
  * Enforce consistent case for text encoding identifiers.
7045
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/text-encoding-identifier-case.md
6986
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/text-encoding-identifier-case.md
7046
6987
  */
7047
6988
  'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
7048
6989
  /**
7049
6990
  * Require `new` when creating an error.
7050
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/throw-new-error.md
6991
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v57.0.0/docs/rules/throw-new-error.md
7051
6992
  */
7052
6993
  'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
7053
6994
  /**
@@ -10356,7 +10297,7 @@ type SonarClassName = []|[{
10356
10297
  format?: string
10357
10298
  }]
10358
10299
  // ----- sonar/cognitive-complexity -----
10359
- type SonarCognitiveComplexity = []|[number]|[number, ("sonar-runtime" | "metric")]
10300
+ type SonarCognitiveComplexity = []|[(number | string)]|[(number | string), string]
10360
10301
  // ----- sonar/comment-regex -----
10361
10302
  type SonarCommentRegex = []|[{
10362
10303
  regularExpression?: string
@@ -11988,6 +11929,13 @@ type UnicornNoArrayPushPush = []|[{
11988
11929
  type UnicornNoArrayReduce = []|[{
11989
11930
  allowSimpleOperations?: boolean
11990
11931
  }]
11932
+ // ----- unicorn/no-instanceof-builtins -----
11933
+ type UnicornNoInstanceofBuiltins = []|[{
11934
+ useErrorIsError?: boolean
11935
+ strategy?: ("loose" | "strict")
11936
+ include?: string[]
11937
+ exclude?: string[]
11938
+ }]
11991
11939
  // ----- unicorn/no-keyword-prefix -----
11992
11940
  type UnicornNoKeywordPrefix = []|[{
11993
11941