@jsse/eslint-config 0.4.19 → 0.4.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -15,7 +15,6 @@ import * as _eslint_markdown0 from "@eslint/markdown";
15
15
  import * as _stylistic_eslint_plugin0 from "@stylistic/eslint-plugin";
16
16
  import { FlatGitignoreOptions } from "eslint-config-flat-gitignore";
17
17
  import * as eslint_plugin_react0 from "eslint-plugin-react";
18
- import * as eslint_plugin_react_hooks0 from "eslint-plugin-react-hooks";
19
18
  import * as jsonc_eslint_parser0 from "jsonc-eslint-parser";
20
19
  import * as yaml_eslint_parser0 from "yaml-eslint-parser";
21
20
  import * as eslint0 from "eslint";
@@ -7402,7 +7401,7 @@ interface ReactRuleOptions {
7402
7401
  */
7403
7402
  "react-hooks/use-memo"?: Linter.RuleEntry<ReactHooksUseMemo$1>;
7404
7403
  /**
7405
- * Validates that useMemos always return a value. See [`useMemo()` docs](https://react.dev/reference/react/useMemo) for more information.
7404
+ * Validates that useMemos always return a value and that the result of the useMemo is used by the component/hook. See [`useMemo()` docs](https://react.dev/reference/react/useMemo) for more information.
7406
7405
  */
7407
7406
  "react-hooks/void-use-memo"?: Linter.RuleEntry<ReactHooksVoidUseMemo$1>;
7408
7407
  "react-refresh/only-export-components"?: Linter.RuleEntry<ReactRefreshOnlyExportComponents>;
@@ -8630,7 +8629,7 @@ interface ReactHooksRuleOptions {
8630
8629
  */
8631
8630
  "react-hooks/use-memo"?: Linter.RuleEntry<ReactHooksUseMemo>;
8632
8631
  /**
8633
- * Validates that useMemos always return a value. See [`useMemo()` docs](https://react.dev/reference/react/useMemo) for more information.
8632
+ * Validates that useMemos always return a value and that the result of the useMemo is used by the component/hook. See [`useMemo()` docs](https://react.dev/reference/react/useMemo) for more information.
8634
8633
  */
8635
8634
  "react-hooks/void-use-memo"?: Linter.RuleEntry<ReactHooksVoidUseMemo>;
8636
8635
  }
@@ -12408,710 +12407,725 @@ type ImportNoDuplicates = [] | [{
12408
12407
  interface UnicornRuleOptions {
12409
12408
  /**
12410
12409
  * Improve regexes by making them shorter, consistent, and safer.
12411
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/better-regex.md
12410
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/better-regex.md
12412
12411
  */
12413
12412
  "unicorn/better-regex"?: Linter.RuleEntry<UnicornBetterRegex>;
12414
12413
  /**
12415
12414
  * Enforce a specific parameter name in catch clauses.
12416
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/catch-error-name.md
12415
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/catch-error-name.md
12417
12416
  */
12418
12417
  "unicorn/catch-error-name"?: Linter.RuleEntry<UnicornCatchErrorName>;
12419
12418
  /**
12420
12419
  * Enforce consistent assertion style with `node:assert`.
12421
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-assert.md
12420
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/consistent-assert.md
12422
12421
  */
12423
12422
  "unicorn/consistent-assert"?: Linter.RuleEntry<[]>;
12424
12423
  /**
12425
12424
  * Prefer passing `Date` directly to the constructor when cloning.
12426
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-date-clone.md
12425
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/consistent-date-clone.md
12427
12426
  */
12428
12427
  "unicorn/consistent-date-clone"?: Linter.RuleEntry<[]>;
12429
12428
  /**
12430
12429
  * Use destructured variables over properties.
12431
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-destructuring.md
12430
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/consistent-destructuring.md
12432
12431
  */
12433
12432
  "unicorn/consistent-destructuring"?: Linter.RuleEntry<[]>;
12434
12433
  /**
12435
12434
  * Prefer consistent types when spreading a ternary in an array literal.
12436
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-empty-array-spread.md
12435
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/consistent-empty-array-spread.md
12437
12436
  */
12438
12437
  "unicorn/consistent-empty-array-spread"?: Linter.RuleEntry<[]>;
12439
12438
  /**
12440
12439
  * Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
12441
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-existence-index-check.md
12440
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/consistent-existence-index-check.md
12442
12441
  */
12443
12442
  "unicorn/consistent-existence-index-check"?: Linter.RuleEntry<[]>;
12444
12443
  /**
12445
12444
  * Move function definitions to the highest possible scope.
12446
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-function-scoping.md
12445
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/consistent-function-scoping.md
12447
12446
  */
12448
12447
  "unicorn/consistent-function-scoping"?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
12449
12448
  /**
12450
12449
  * Enforce correct `Error` subclassing.
12451
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/custom-error-definition.md
12450
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/custom-error-definition.md
12452
12451
  */
12453
12452
  "unicorn/custom-error-definition"?: Linter.RuleEntry<[]>;
12454
12453
  /**
12455
12454
  * Enforce no spaces between braces.
12456
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/empty-brace-spaces.md
12455
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/empty-brace-spaces.md
12457
12456
  */
12458
12457
  "unicorn/empty-brace-spaces"?: Linter.RuleEntry<[]>;
12459
12458
  /**
12460
12459
  * Enforce passing a `message` value when creating a built-in error.
12461
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/error-message.md
12460
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/error-message.md
12462
12461
  */
12463
12462
  "unicorn/error-message"?: Linter.RuleEntry<[]>;
12464
12463
  /**
12465
12464
  * Require escape sequences to use uppercase or lowercase values.
12466
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/escape-case.md
12465
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/escape-case.md
12467
12466
  */
12468
12467
  "unicorn/escape-case"?: Linter.RuleEntry<UnicornEscapeCase>;
12469
12468
  /**
12470
12469
  * Add expiration conditions to TODO comments.
12471
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/expiring-todo-comments.md
12470
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/expiring-todo-comments.md
12472
12471
  */
12473
12472
  "unicorn/expiring-todo-comments"?: Linter.RuleEntry<UnicornExpiringTodoComments>;
12474
12473
  /**
12475
12474
  * Enforce explicitly comparing the `length` or `size` property of a value.
12476
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/explicit-length-check.md
12475
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/explicit-length-check.md
12477
12476
  */
12478
12477
  "unicorn/explicit-length-check"?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
12479
12478
  /**
12480
12479
  * Enforce a case style for filenames.
12481
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/filename-case.md
12480
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/filename-case.md
12482
12481
  */
12483
12482
  "unicorn/filename-case"?: Linter.RuleEntry<UnicornFilenameCase>;
12484
12483
  /**
12485
12484
  * Enforce specific import styles per module.
12486
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/import-style.md
12485
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/import-style.md
12487
12486
  */
12488
12487
  "unicorn/import-style"?: Linter.RuleEntry<UnicornImportStyle>;
12489
12488
  /**
12490
12489
  * Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
12491
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/new-for-builtins.md
12490
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/new-for-builtins.md
12492
12491
  */
12493
12492
  "unicorn/new-for-builtins"?: Linter.RuleEntry<[]>;
12494
12493
  /**
12495
12494
  * Enforce specifying rules to disable in `eslint-disable` comments.
12496
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-abusive-eslint-disable.md
12495
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-abusive-eslint-disable.md
12497
12496
  */
12498
12497
  "unicorn/no-abusive-eslint-disable"?: Linter.RuleEntry<[]>;
12499
12498
  /**
12500
12499
  * Disallow recursive access to `this` within getters and setters.
12501
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-accessor-recursion.md
12500
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-accessor-recursion.md
12502
12501
  */
12503
12502
  "unicorn/no-accessor-recursion"?: Linter.RuleEntry<[]>;
12504
12503
  /**
12505
12504
  * Disallow anonymous functions and classes as the default export.
12506
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-anonymous-default-export.md
12505
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-anonymous-default-export.md
12507
12506
  */
12508
12507
  "unicorn/no-anonymous-default-export"?: Linter.RuleEntry<[]>;
12509
12508
  /**
12510
12509
  * Prevent passing a function reference directly to iterator methods.
12511
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-callback-reference.md
12510
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-array-callback-reference.md
12512
12511
  */
12513
12512
  "unicorn/no-array-callback-reference"?: Linter.RuleEntry<[]>;
12514
12513
  /**
12515
12514
  * Prefer `for…of` over the `forEach` method.
12516
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-for-each.md
12515
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-array-for-each.md
12517
12516
  */
12518
12517
  "unicorn/no-array-for-each"?: Linter.RuleEntry<[]>;
12519
12518
  /**
12520
12519
  * Disallow using the `this` argument in array methods.
12521
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-method-this-argument.md
12520
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-array-method-this-argument.md
12522
12521
  */
12523
12522
  "unicorn/no-array-method-this-argument"?: Linter.RuleEntry<[]>;
12524
12523
  /**
12525
12524
  * Replaced by `unicorn/prefer-single-call` which covers more cases.
12526
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/deprecated-rules.md#no-array-push-push
12525
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/deprecated-rules.md#no-array-push-push
12527
12526
  * @deprecated
12528
12527
  */
12529
12528
  "unicorn/no-array-push-push"?: Linter.RuleEntry<[]>;
12530
12529
  /**
12531
12530
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
12532
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-reduce.md
12531
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-array-reduce.md
12533
12532
  */
12534
12533
  "unicorn/no-array-reduce"?: Linter.RuleEntry<UnicornNoArrayReduce>;
12535
12534
  /**
12536
12535
  * Prefer `Array#toReversed()` over `Array#reverse()`.
12537
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-reverse.md
12536
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-array-reverse.md
12538
12537
  */
12539
12538
  "unicorn/no-array-reverse"?: Linter.RuleEntry<UnicornNoArrayReverse>;
12540
12539
  /**
12541
12540
  * Prefer `Array#toSorted()` over `Array#sort()`.
12542
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-sort.md
12541
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-array-sort.md
12543
12542
  */
12544
12543
  "unicorn/no-array-sort"?: Linter.RuleEntry<UnicornNoArraySort>;
12545
12544
  /**
12546
12545
  * Disallow member access from await expression.
12547
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-await-expression-member.md
12546
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-await-expression-member.md
12548
12547
  */
12549
12548
  "unicorn/no-await-expression-member"?: Linter.RuleEntry<[]>;
12550
12549
  /**
12551
12550
  * Disallow using `await` in `Promise` method parameters.
12552
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-await-in-promise-methods.md
12551
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-await-in-promise-methods.md
12553
12552
  */
12554
12553
  "unicorn/no-await-in-promise-methods"?: Linter.RuleEntry<[]>;
12555
12554
  /**
12556
12555
  * Do not use leading/trailing space between `console.log` parameters.
12557
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-console-spaces.md
12556
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-console-spaces.md
12558
12557
  */
12559
12558
  "unicorn/no-console-spaces"?: Linter.RuleEntry<[]>;
12560
12559
  /**
12561
12560
  * Do not use `document.cookie` directly.
12562
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-document-cookie.md
12561
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-document-cookie.md
12563
12562
  */
12564
12563
  "unicorn/no-document-cookie"?: Linter.RuleEntry<[]>;
12565
12564
  /**
12566
12565
  * Disallow empty files.
12567
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-empty-file.md
12566
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-empty-file.md
12568
12567
  */
12569
12568
  "unicorn/no-empty-file"?: Linter.RuleEntry<[]>;
12570
12569
  /**
12571
12570
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
12572
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-for-loop.md
12571
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-for-loop.md
12573
12572
  */
12574
12573
  "unicorn/no-for-loop"?: Linter.RuleEntry<[]>;
12575
12574
  /**
12576
12575
  * Enforce the use of Unicode escapes instead of hexadecimal escapes.
12577
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-hex-escape.md
12576
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-hex-escape.md
12578
12577
  */
12579
12578
  "unicorn/no-hex-escape"?: Linter.RuleEntry<[]>;
12579
+ /**
12580
+ * Disallow immediate mutation after variable assignment.
12581
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-immediate-mutation.md
12582
+ */
12583
+ "unicorn/no-immediate-mutation"?: Linter.RuleEntry<[]>;
12580
12584
  /**
12581
12585
  * Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
12582
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/deprecated-rules.md#no-instanceof-array
12586
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/deprecated-rules.md#no-instanceof-array
12583
12587
  * @deprecated
12584
12588
  */
12585
12589
  "unicorn/no-instanceof-array"?: Linter.RuleEntry<[]>;
12586
12590
  /**
12587
12591
  * Disallow `instanceof` with built-in objects
12588
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-instanceof-builtins.md
12592
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-instanceof-builtins.md
12589
12593
  */
12590
12594
  "unicorn/no-instanceof-builtins"?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
12591
12595
  /**
12592
12596
  * Disallow invalid options in `fetch()` and `new Request()`.
12593
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-invalid-fetch-options.md
12597
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-invalid-fetch-options.md
12594
12598
  */
12595
12599
  "unicorn/no-invalid-fetch-options"?: Linter.RuleEntry<[]>;
12596
12600
  /**
12597
12601
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
12598
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-invalid-remove-event-listener.md
12602
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-invalid-remove-event-listener.md
12599
12603
  */
12600
12604
  "unicorn/no-invalid-remove-event-listener"?: Linter.RuleEntry<[]>;
12601
12605
  /**
12602
12606
  * Disallow identifiers starting with `new` or `class`.
12603
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-keyword-prefix.md
12607
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-keyword-prefix.md
12604
12608
  */
12605
12609
  "unicorn/no-keyword-prefix"?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
12606
12610
  /**
12607
12611
  * Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
12608
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/deprecated-rules.md#no-length-as-slice-end
12612
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/deprecated-rules.md#no-length-as-slice-end
12609
12613
  * @deprecated
12610
12614
  */
12611
12615
  "unicorn/no-length-as-slice-end"?: Linter.RuleEntry<[]>;
12612
12616
  /**
12613
12617
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
12614
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-lonely-if.md
12618
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-lonely-if.md
12615
12619
  */
12616
12620
  "unicorn/no-lonely-if"?: Linter.RuleEntry<[]>;
12617
12621
  /**
12618
12622
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
12619
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-magic-array-flat-depth.md
12623
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-magic-array-flat-depth.md
12620
12624
  */
12621
12625
  "unicorn/no-magic-array-flat-depth"?: Linter.RuleEntry<[]>;
12622
12626
  /**
12623
12627
  * Disallow named usage of default import and export.
12624
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-named-default.md
12628
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-named-default.md
12625
12629
  */
12626
12630
  "unicorn/no-named-default"?: Linter.RuleEntry<[]>;
12627
12631
  /**
12628
12632
  * Disallow negated conditions.
12629
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-negated-condition.md
12633
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-negated-condition.md
12630
12634
  */
12631
12635
  "unicorn/no-negated-condition"?: Linter.RuleEntry<[]>;
12632
12636
  /**
12633
12637
  * Disallow negated expression in equality check.
12634
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-negation-in-equality-check.md
12638
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-negation-in-equality-check.md
12635
12639
  */
12636
12640
  "unicorn/no-negation-in-equality-check"?: Linter.RuleEntry<[]>;
12637
12641
  /**
12638
12642
  * Disallow nested ternary expressions.
12639
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-nested-ternary.md
12643
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-nested-ternary.md
12640
12644
  */
12641
12645
  "unicorn/no-nested-ternary"?: Linter.RuleEntry<[]>;
12642
12646
  /**
12643
12647
  * Disallow `new Array()`.
12644
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-new-array.md
12648
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-new-array.md
12645
12649
  */
12646
12650
  "unicorn/no-new-array"?: Linter.RuleEntry<[]>;
12647
12651
  /**
12648
12652
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
12649
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-new-buffer.md
12653
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-new-buffer.md
12650
12654
  */
12651
12655
  "unicorn/no-new-buffer"?: Linter.RuleEntry<[]>;
12652
12656
  /**
12653
12657
  * Disallow the use of the `null` literal.
12654
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-null.md
12658
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-null.md
12655
12659
  */
12656
12660
  "unicorn/no-null"?: Linter.RuleEntry<UnicornNoNull>;
12657
12661
  /**
12658
12662
  * Disallow the use of objects as default parameters.
12659
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-object-as-default-parameter.md
12663
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-object-as-default-parameter.md
12660
12664
  */
12661
12665
  "unicorn/no-object-as-default-parameter"?: Linter.RuleEntry<[]>;
12662
12666
  /**
12663
12667
  * Disallow `process.exit()`.
12664
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-process-exit.md
12668
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-process-exit.md
12665
12669
  */
12666
12670
  "unicorn/no-process-exit"?: Linter.RuleEntry<[]>;
12667
12671
  /**
12668
12672
  * Disallow passing single-element arrays to `Promise` methods.
12669
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-single-promise-in-promise-methods.md
12673
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-single-promise-in-promise-methods.md
12670
12674
  */
12671
12675
  "unicorn/no-single-promise-in-promise-methods"?: Linter.RuleEntry<[]>;
12672
12676
  /**
12673
12677
  * Disallow classes that only have static members.
12674
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-static-only-class.md
12678
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-static-only-class.md
12675
12679
  */
12676
12680
  "unicorn/no-static-only-class"?: Linter.RuleEntry<[]>;
12677
12681
  /**
12678
12682
  * Disallow `then` property.
12679
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-thenable.md
12683
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-thenable.md
12680
12684
  */
12681
12685
  "unicorn/no-thenable"?: Linter.RuleEntry<[]>;
12682
12686
  /**
12683
12687
  * Disallow assigning `this` to a variable.
12684
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-this-assignment.md
12688
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-this-assignment.md
12685
12689
  */
12686
12690
  "unicorn/no-this-assignment"?: Linter.RuleEntry<[]>;
12687
12691
  /**
12688
12692
  * Disallow comparing `undefined` using `typeof`.
12689
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-typeof-undefined.md
12693
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-typeof-undefined.md
12690
12694
  */
12691
12695
  "unicorn/no-typeof-undefined"?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
12692
12696
  /**
12693
12697
  * Disallow using `1` as the `depth` argument of `Array#flat()`.
12694
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-array-flat-depth.md
12698
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unnecessary-array-flat-depth.md
12695
12699
  */
12696
12700
  "unicorn/no-unnecessary-array-flat-depth"?: Linter.RuleEntry<[]>;
12697
12701
  /**
12698
12702
  * Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
12699
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-array-splice-count.md
12703
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unnecessary-array-splice-count.md
12700
12704
  */
12701
12705
  "unicorn/no-unnecessary-array-splice-count"?: Linter.RuleEntry<[]>;
12702
12706
  /**
12703
12707
  * Disallow awaiting non-promise values.
12704
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-await.md
12708
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unnecessary-await.md
12705
12709
  */
12706
12710
  "unicorn/no-unnecessary-await"?: Linter.RuleEntry<[]>;
12707
12711
  /**
12708
12712
  * Enforce the use of built-in methods instead of unnecessary polyfills.
12709
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-polyfills.md
12713
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unnecessary-polyfills.md
12710
12714
  */
12711
12715
  "unicorn/no-unnecessary-polyfills"?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
12712
12716
  /**
12713
12717
  * Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
12714
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-slice-end.md
12718
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unnecessary-slice-end.md
12715
12719
  */
12716
12720
  "unicorn/no-unnecessary-slice-end"?: Linter.RuleEntry<[]>;
12717
12721
  /**
12718
12722
  * Disallow unreadable array destructuring.
12719
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unreadable-array-destructuring.md
12723
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unreadable-array-destructuring.md
12720
12724
  */
12721
12725
  "unicorn/no-unreadable-array-destructuring"?: Linter.RuleEntry<[]>;
12722
12726
  /**
12723
12727
  * Disallow unreadable IIFEs.
12724
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unreadable-iife.md
12728
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unreadable-iife.md
12725
12729
  */
12726
12730
  "unicorn/no-unreadable-iife"?: Linter.RuleEntry<[]>;
12727
12731
  /**
12728
12732
  * Disallow unused object properties.
12729
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unused-properties.md
12733
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unused-properties.md
12730
12734
  */
12731
12735
  "unicorn/no-unused-properties"?: Linter.RuleEntry<[]>;
12736
+ /**
12737
+ * Disallow useless values or fallbacks in `Set`, `Map`, `WeakSet`, or `WeakMap`.
12738
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-collection-argument.md
12739
+ */
12740
+ "unicorn/no-useless-collection-argument"?: Linter.RuleEntry<[]>;
12732
12741
  /**
12733
12742
  * Disallow unnecessary `Error.captureStackTrace(…)`.
12734
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-error-capture-stack-trace.md
12743
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-error-capture-stack-trace.md
12735
12744
  */
12736
12745
  "unicorn/no-useless-error-capture-stack-trace"?: Linter.RuleEntry<[]>;
12737
12746
  /**
12738
12747
  * Disallow useless fallback when spreading in object literals.
12739
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-fallback-in-spread.md
12748
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-fallback-in-spread.md
12740
12749
  */
12741
12750
  "unicorn/no-useless-fallback-in-spread"?: Linter.RuleEntry<[]>;
12742
12751
  /**
12743
12752
  * Disallow useless array length check.
12744
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-length-check.md
12753
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-length-check.md
12745
12754
  */
12746
12755
  "unicorn/no-useless-length-check"?: Linter.RuleEntry<[]>;
12747
12756
  /**
12748
12757
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
12749
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-promise-resolve-reject.md
12758
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-promise-resolve-reject.md
12750
12759
  */
12751
12760
  "unicorn/no-useless-promise-resolve-reject"?: Linter.RuleEntry<[]>;
12752
12761
  /**
12753
12762
  * Disallow unnecessary spread.
12754
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-spread.md
12763
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-spread.md
12755
12764
  */
12756
12765
  "unicorn/no-useless-spread"?: Linter.RuleEntry<[]>;
12757
12766
  /**
12758
12767
  * Disallow useless case in switch statements.
12759
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-switch-case.md
12768
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-switch-case.md
12760
12769
  */
12761
12770
  "unicorn/no-useless-switch-case"?: Linter.RuleEntry<[]>;
12762
12771
  /**
12763
12772
  * Disallow useless `undefined`.
12764
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-undefined.md
12773
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-undefined.md
12765
12774
  */
12766
12775
  "unicorn/no-useless-undefined"?: Linter.RuleEntry<UnicornNoUselessUndefined>;
12767
12776
  /**
12768
12777
  * Disallow number literals with zero fractions or dangling dots.
12769
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-zero-fractions.md
12778
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-zero-fractions.md
12770
12779
  */
12771
12780
  "unicorn/no-zero-fractions"?: Linter.RuleEntry<[]>;
12772
12781
  /**
12773
12782
  * Enforce proper case for numeric literals.
12774
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/number-literal-case.md
12783
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/number-literal-case.md
12775
12784
  */
12776
12785
  "unicorn/number-literal-case"?: Linter.RuleEntry<UnicornNumberLiteralCase>;
12777
12786
  /**
12778
12787
  * Enforce the style of numeric separators by correctly grouping digits.
12779
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/numeric-separators-style.md
12788
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/numeric-separators-style.md
12780
12789
  */
12781
12790
  "unicorn/numeric-separators-style"?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
12782
12791
  /**
12783
12792
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
12784
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-add-event-listener.md
12793
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-add-event-listener.md
12785
12794
  */
12786
12795
  "unicorn/prefer-add-event-listener"?: Linter.RuleEntry<UnicornPreferAddEventListener>;
12787
12796
  /**
12788
12797
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
12789
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-find.md
12798
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-array-find.md
12790
12799
  */
12791
12800
  "unicorn/prefer-array-find"?: Linter.RuleEntry<UnicornPreferArrayFind>;
12792
12801
  /**
12793
12802
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
12794
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-flat.md
12803
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-array-flat.md
12795
12804
  */
12796
12805
  "unicorn/prefer-array-flat"?: Linter.RuleEntry<UnicornPreferArrayFlat>;
12797
12806
  /**
12798
12807
  * Prefer `.flatMap(…)` over `.map(…).flat()`.
12799
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-flat-map.md
12808
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-array-flat-map.md
12800
12809
  */
12801
12810
  "unicorn/prefer-array-flat-map"?: Linter.RuleEntry<[]>;
12802
12811
  /**
12803
12812
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
12804
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-index-of.md
12813
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-array-index-of.md
12805
12814
  */
12806
12815
  "unicorn/prefer-array-index-of"?: Linter.RuleEntry<[]>;
12807
12816
  /**
12808
12817
  * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
12809
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-some.md
12818
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-array-some.md
12810
12819
  */
12811
12820
  "unicorn/prefer-array-some"?: Linter.RuleEntry<[]>;
12812
12821
  /**
12813
12822
  * Prefer `.at()` method for index access and `String#charAt()`.
12814
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-at.md
12823
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-at.md
12815
12824
  */
12816
12825
  "unicorn/prefer-at"?: Linter.RuleEntry<UnicornPreferAt>;
12817
12826
  /**
12818
12827
  * Prefer `BigInt` literals over the constructor.
12819
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-bigint-literals.md
12828
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-bigint-literals.md
12820
12829
  */
12821
12830
  "unicorn/prefer-bigint-literals"?: Linter.RuleEntry<[]>;
12822
12831
  /**
12823
12832
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
12824
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-blob-reading-methods.md
12833
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-blob-reading-methods.md
12825
12834
  */
12826
12835
  "unicorn/prefer-blob-reading-methods"?: Linter.RuleEntry<[]>;
12827
12836
  /**
12828
12837
  * Prefer class field declarations over `this` assignments in constructors.
12829
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-class-fields.md
12838
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-class-fields.md
12830
12839
  */
12831
12840
  "unicorn/prefer-class-fields"?: Linter.RuleEntry<[]>;
12832
12841
  /**
12833
12842
  * Prefer using `Element#classList.toggle()` to toggle class names.
12834
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-classlist-toggle.md
12843
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-classlist-toggle.md
12835
12844
  */
12836
12845
  "unicorn/prefer-classlist-toggle"?: Linter.RuleEntry<[]>;
12837
12846
  /**
12838
12847
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
12839
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-code-point.md
12848
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-code-point.md
12840
12849
  */
12841
12850
  "unicorn/prefer-code-point"?: Linter.RuleEntry<[]>;
12842
12851
  /**
12843
12852
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
12844
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-date-now.md
12853
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-date-now.md
12845
12854
  */
12846
12855
  "unicorn/prefer-date-now"?: Linter.RuleEntry<[]>;
12847
12856
  /**
12848
12857
  * Prefer default parameters over reassignment.
12849
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-default-parameters.md
12858
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-default-parameters.md
12850
12859
  */
12851
12860
  "unicorn/prefer-default-parameters"?: Linter.RuleEntry<[]>;
12852
12861
  /**
12853
12862
  * Prefer `Node#append()` over `Node#appendChild()`.
12854
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-append.md
12863
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-dom-node-append.md
12855
12864
  */
12856
12865
  "unicorn/prefer-dom-node-append"?: Linter.RuleEntry<[]>;
12857
12866
  /**
12858
12867
  * Prefer using `.dataset` on DOM elements over calling attribute methods.
12859
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-dataset.md
12868
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-dom-node-dataset.md
12860
12869
  */
12861
12870
  "unicorn/prefer-dom-node-dataset"?: Linter.RuleEntry<[]>;
12862
12871
  /**
12863
12872
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
12864
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-remove.md
12873
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-dom-node-remove.md
12865
12874
  */
12866
12875
  "unicorn/prefer-dom-node-remove"?: Linter.RuleEntry<[]>;
12867
12876
  /**
12868
12877
  * Prefer `.textContent` over `.innerText`.
12869
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-text-content.md
12878
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-dom-node-text-content.md
12870
12879
  */
12871
12880
  "unicorn/prefer-dom-node-text-content"?: Linter.RuleEntry<[]>;
12872
12881
  /**
12873
12882
  * Prefer `EventTarget` over `EventEmitter`.
12874
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-event-target.md
12883
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-event-target.md
12875
12884
  */
12876
12885
  "unicorn/prefer-event-target"?: Linter.RuleEntry<[]>;
12877
12886
  /**
12878
12887
  * Prefer `export…from` when re-exporting.
12879
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-export-from.md
12888
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-export-from.md
12880
12889
  */
12881
12890
  "unicorn/prefer-export-from"?: Linter.RuleEntry<UnicornPreferExportFrom>;
12882
12891
  /**
12883
12892
  * Prefer `globalThis` over `window`, `self`, and `global`.
12884
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-global-this.md
12893
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-global-this.md
12885
12894
  */
12886
12895
  "unicorn/prefer-global-this"?: Linter.RuleEntry<[]>;
12887
12896
  /**
12888
12897
  * Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
12889
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-import-meta-properties.md
12898
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-import-meta-properties.md
12890
12899
  */
12891
12900
  "unicorn/prefer-import-meta-properties"?: Linter.RuleEntry<[]>;
12892
12901
  /**
12893
12902
  * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
12894
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-includes.md
12903
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-includes.md
12895
12904
  */
12896
12905
  "unicorn/prefer-includes"?: Linter.RuleEntry<[]>;
12897
12906
  /**
12898
12907
  * Prefer reading a JSON file as a buffer.
12899
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-json-parse-buffer.md
12908
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-json-parse-buffer.md
12900
12909
  */
12901
12910
  "unicorn/prefer-json-parse-buffer"?: Linter.RuleEntry<[]>;
12902
12911
  /**
12903
12912
  * Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
12904
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-keyboard-event-key.md
12913
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-keyboard-event-key.md
12905
12914
  */
12906
12915
  "unicorn/prefer-keyboard-event-key"?: Linter.RuleEntry<[]>;
12907
12916
  /**
12908
12917
  * Prefer using a logical operator over a ternary.
12909
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-logical-operator-over-ternary.md
12918
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-logical-operator-over-ternary.md
12910
12919
  */
12911
12920
  "unicorn/prefer-logical-operator-over-ternary"?: Linter.RuleEntry<[]>;
12912
12921
  /**
12913
12922
  * Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
12914
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-math-min-max.md
12923
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-math-min-max.md
12915
12924
  */
12916
12925
  "unicorn/prefer-math-min-max"?: Linter.RuleEntry<[]>;
12917
12926
  /**
12918
12927
  * Enforce the use of `Math.trunc` instead of bitwise operators.
12919
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-math-trunc.md
12928
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-math-trunc.md
12920
12929
  */
12921
12930
  "unicorn/prefer-math-trunc"?: Linter.RuleEntry<[]>;
12922
12931
  /**
12923
12932
  * Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
12924
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-modern-dom-apis.md
12933
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-modern-dom-apis.md
12925
12934
  */
12926
12935
  "unicorn/prefer-modern-dom-apis"?: Linter.RuleEntry<[]>;
12927
12936
  /**
12928
12937
  * Prefer modern `Math` APIs over legacy patterns.
12929
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-modern-math-apis.md
12938
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-modern-math-apis.md
12930
12939
  */
12931
12940
  "unicorn/prefer-modern-math-apis"?: Linter.RuleEntry<[]>;
12932
12941
  /**
12933
12942
  * Prefer JavaScript modules (ESM) over CommonJS.
12934
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-module.md
12943
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-module.md
12935
12944
  */
12936
12945
  "unicorn/prefer-module"?: Linter.RuleEntry<[]>;
12937
12946
  /**
12938
12947
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
12939
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-native-coercion-functions.md
12948
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-native-coercion-functions.md
12940
12949
  */
12941
12950
  "unicorn/prefer-native-coercion-functions"?: Linter.RuleEntry<[]>;
12942
12951
  /**
12943
12952
  * Prefer negative index over `.length - index` when possible.
12944
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-negative-index.md
12953
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-negative-index.md
12945
12954
  */
12946
12955
  "unicorn/prefer-negative-index"?: Linter.RuleEntry<[]>;
12947
12956
  /**
12948
12957
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
12949
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-node-protocol.md
12958
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-node-protocol.md
12950
12959
  */
12951
12960
  "unicorn/prefer-node-protocol"?: Linter.RuleEntry<[]>;
12952
12961
  /**
12953
12962
  * Prefer `Number` static properties over global ones.
12954
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-number-properties.md
12963
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-number-properties.md
12955
12964
  */
12956
12965
  "unicorn/prefer-number-properties"?: Linter.RuleEntry<UnicornPreferNumberProperties>;
12957
12966
  /**
12958
12967
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
12959
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-object-from-entries.md
12968
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-object-from-entries.md
12960
12969
  */
12961
12970
  "unicorn/prefer-object-from-entries"?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
12962
12971
  /**
12963
12972
  * Prefer omitting the `catch` binding parameter.
12964
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-optional-catch-binding.md
12973
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-optional-catch-binding.md
12965
12974
  */
12966
12975
  "unicorn/prefer-optional-catch-binding"?: Linter.RuleEntry<[]>;
12967
12976
  /**
12968
12977
  * Prefer borrowing methods from the prototype instead of the instance.
12969
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-prototype-methods.md
12978
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-prototype-methods.md
12970
12979
  */
12971
12980
  "unicorn/prefer-prototype-methods"?: Linter.RuleEntry<[]>;
12972
12981
  /**
12973
12982
  * Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
12974
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-query-selector.md
12983
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-query-selector.md
12975
12984
  */
12976
12985
  "unicorn/prefer-query-selector"?: Linter.RuleEntry<[]>;
12977
12986
  /**
12978
12987
  * Prefer `Reflect.apply()` over `Function#apply()`.
12979
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-reflect-apply.md
12988
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-reflect-apply.md
12980
12989
  */
12981
12990
  "unicorn/prefer-reflect-apply"?: Linter.RuleEntry<[]>;
12982
12991
  /**
12983
12992
  * Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
12984
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-regexp-test.md
12993
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-regexp-test.md
12985
12994
  */
12986
12995
  "unicorn/prefer-regexp-test"?: Linter.RuleEntry<[]>;
12996
+ /**
12997
+ * Prefer `Response.json()` over `new Response(JSON.stringify())`.
12998
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-response-static-json.md
12999
+ */
13000
+ "unicorn/prefer-response-static-json"?: Linter.RuleEntry<[]>;
12987
13001
  /**
12988
13002
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
12989
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-set-has.md
13003
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-set-has.md
12990
13004
  */
12991
13005
  "unicorn/prefer-set-has"?: Linter.RuleEntry<[]>;
12992
13006
  /**
12993
13007
  * Prefer using `Set#size` instead of `Array#length`.
12994
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-set-size.md
13008
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-set-size.md
12995
13009
  */
12996
13010
  "unicorn/prefer-set-size"?: Linter.RuleEntry<[]>;
12997
13011
  /**
12998
13012
  * Enforce combining multiple `Array#push()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
12999
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-single-call.md
13013
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-single-call.md
13000
13014
  */
13001
13015
  "unicorn/prefer-single-call"?: Linter.RuleEntry<UnicornPreferSingleCall>;
13002
13016
  /**
13003
13017
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
13004
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-spread.md
13018
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-spread.md
13005
13019
  */
13006
13020
  "unicorn/prefer-spread"?: Linter.RuleEntry<[]>;
13007
13021
  /**
13008
13022
  * Prefer using the `String.raw` tag to avoid escaping `\`.
13009
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-raw.md
13023
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-string-raw.md
13010
13024
  */
13011
13025
  "unicorn/prefer-string-raw"?: Linter.RuleEntry<[]>;
13012
13026
  /**
13013
13027
  * Prefer `String#replaceAll()` over regex searches with the global flag.
13014
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-replace-all.md
13028
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-string-replace-all.md
13015
13029
  */
13016
13030
  "unicorn/prefer-string-replace-all"?: Linter.RuleEntry<[]>;
13017
13031
  /**
13018
13032
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
13019
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-slice.md
13033
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-string-slice.md
13020
13034
  */
13021
13035
  "unicorn/prefer-string-slice"?: Linter.RuleEntry<[]>;
13022
13036
  /**
13023
13037
  * Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
13024
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-starts-ends-with.md
13038
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-string-starts-ends-with.md
13025
13039
  */
13026
13040
  "unicorn/prefer-string-starts-ends-with"?: Linter.RuleEntry<[]>;
13027
13041
  /**
13028
13042
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
13029
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-trim-start-end.md
13043
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-string-trim-start-end.md
13030
13044
  */
13031
13045
  "unicorn/prefer-string-trim-start-end"?: Linter.RuleEntry<[]>;
13032
13046
  /**
13033
13047
  * Prefer using `structuredClone` to create a deep clone.
13034
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-structured-clone.md
13048
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-structured-clone.md
13035
13049
  */
13036
13050
  "unicorn/prefer-structured-clone"?: Linter.RuleEntry<UnicornPreferStructuredClone>;
13037
13051
  /**
13038
13052
  * Prefer `switch` over multiple `else-if`.
13039
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-switch.md
13053
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-switch.md
13040
13054
  */
13041
13055
  "unicorn/prefer-switch"?: Linter.RuleEntry<UnicornPreferSwitch>;
13042
13056
  /**
13043
13057
  * Prefer ternary expressions over simple `if-else` statements.
13044
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-ternary.md
13058
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-ternary.md
13045
13059
  */
13046
13060
  "unicorn/prefer-ternary"?: Linter.RuleEntry<UnicornPreferTernary>;
13047
13061
  /**
13048
13062
  * Prefer top-level await over top-level promises and async function calls.
13049
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-top-level-await.md
13063
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-top-level-await.md
13050
13064
  */
13051
13065
  "unicorn/prefer-top-level-await"?: Linter.RuleEntry<[]>;
13052
13066
  /**
13053
13067
  * Enforce throwing `TypeError` in type checking conditions.
13054
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-type-error.md
13068
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-type-error.md
13055
13069
  */
13056
13070
  "unicorn/prefer-type-error"?: Linter.RuleEntry<[]>;
13057
13071
  /**
13058
13072
  * Prevent abbreviations.
13059
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prevent-abbreviations.md
13073
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prevent-abbreviations.md
13060
13074
  */
13061
13075
  "unicorn/prevent-abbreviations"?: Linter.RuleEntry<UnicornPreventAbbreviations>;
13062
13076
  /**
13063
13077
  * Enforce consistent relative URL style.
13064
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/relative-url-style.md
13078
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/relative-url-style.md
13065
13079
  */
13066
13080
  "unicorn/relative-url-style"?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
13067
13081
  /**
13068
13082
  * Enforce using the separator argument with `Array#join()`.
13069
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-array-join-separator.md
13083
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/require-array-join-separator.md
13070
13084
  */
13071
13085
  "unicorn/require-array-join-separator"?: Linter.RuleEntry<[]>;
13072
13086
  /**
13073
13087
  * Require non-empty module attributes for imports and exports
13074
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-module-attributes.md
13088
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/require-module-attributes.md
13075
13089
  */
13076
13090
  "unicorn/require-module-attributes"?: Linter.RuleEntry<[]>;
13077
13091
  /**
13078
13092
  * Require non-empty specifier list in import and export statements.
13079
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-module-specifiers.md
13093
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/require-module-specifiers.md
13080
13094
  */
13081
13095
  "unicorn/require-module-specifiers"?: Linter.RuleEntry<[]>;
13082
13096
  /**
13083
13097
  * Enforce using the digits argument with `Number#toFixed()`.
13084
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-number-to-fixed-digits-argument.md
13098
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/require-number-to-fixed-digits-argument.md
13085
13099
  */
13086
13100
  "unicorn/require-number-to-fixed-digits-argument"?: Linter.RuleEntry<[]>;
13087
13101
  /**
13088
13102
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
13089
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-post-message-target-origin.md
13103
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/require-post-message-target-origin.md
13090
13104
  */
13091
13105
  "unicorn/require-post-message-target-origin"?: Linter.RuleEntry<[]>;
13092
13106
  /**
13093
13107
  * Enforce better string content.
13094
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/string-content.md
13108
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/string-content.md
13095
13109
  */
13096
13110
  "unicorn/string-content"?: Linter.RuleEntry<UnicornStringContent>;
13097
13111
  /**
13098
13112
  * Enforce consistent brace style for `case` clauses.
13099
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/switch-case-braces.md
13113
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/switch-case-braces.md
13100
13114
  */
13101
13115
  "unicorn/switch-case-braces"?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
13102
13116
  /**
13103
13117
  * Fix whitespace-insensitive template indentation.
13104
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/template-indent.md
13118
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/template-indent.md
13105
13119
  */
13106
13120
  "unicorn/template-indent"?: Linter.RuleEntry<UnicornTemplateIndent>;
13107
13121
  /**
13108
13122
  * Enforce consistent case for text encoding identifiers.
13109
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/text-encoding-identifier-case.md
13123
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/text-encoding-identifier-case.md
13110
13124
  */
13111
- "unicorn/text-encoding-identifier-case"?: Linter.RuleEntry<[]>;
13125
+ "unicorn/text-encoding-identifier-case"?: Linter.RuleEntry<UnicornTextEncodingIdentifierCase>;
13112
13126
  /**
13113
13127
  * Require `new` when creating an error.
13114
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/throw-new-error.md
13128
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/throw-new-error.md
13115
13129
  */
13116
13130
  "unicorn/throw-new-error"?: Linter.RuleEntry<[]>;
13117
13131
  }
@@ -13334,6 +13348,10 @@ type UnicornTemplateIndent = [] | [{
13334
13348
  selectors?: string[];
13335
13349
  comments?: string[];
13336
13350
  }];
13351
+ // ----- unicorn/text-encoding-identifier-case -----
13352
+ type UnicornTextEncodingIdentifierCase = [] | [{
13353
+ withDash?: boolean;
13354
+ }];
13337
13355
  //#endregion
13338
13356
  //#region src/generated/dts/vitest.d.ts
13339
13357
  interface VitestRuleOptions {
@@ -14483,7 +14501,7 @@ declare function defineConfig(options?: OptionsConfig & Config, ...userConfigs:
14483
14501
  type DefineConfig = typeof defineConfig;
14484
14502
  //#endregion
14485
14503
  //#region src/generated/version.d.ts
14486
- declare const VERSION = "0.4.19";
14504
+ declare const VERSION = "0.4.20";
14487
14505
  declare namespace globs_d_exports {
14488
14506
  export { GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_JS_SRC_EXT, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSCONFIG, GLOB_TSX, GLOB_TS_SRC_EXT, GLOB_YAML };
14489
14507
  }
@@ -14788,9 +14806,6 @@ declare function importPluginReact(): Promise<{
14788
14806
  };
14789
14807
  };
14790
14808
  }>;
14791
- declare function importPluginReactHooks(): Promise<{
14792
- pluginReactHooks: typeof eslint_plugin_react_hooks0;
14793
- }>;
14794
14809
  declare function importPluginReactRefresh(): Promise<{
14795
14810
  pluginReactRefresh: {
14796
14811
  rules: Record<string, any>;
@@ -14822,309 +14837,6 @@ declare function importPluginReactRefresh(): Promise<{
14822
14837
  };
14823
14838
  };
14824
14839
  }>;
14825
- declare function importReactPlugins(): Promise<{
14826
- pluginReact: {
14827
- deprecatedRules: Partial<{
14828
- 'boolean-prop-naming': eslint0.Rule.RuleModule;
14829
- 'button-has-type': eslint0.Rule.RuleModule;
14830
- 'checked-requires-onchange-or-readonly': eslint0.Rule.RuleModule;
14831
- 'default-props-match-prop-types': eslint0.Rule.RuleModule;
14832
- 'destructuring-assignment': eslint0.Rule.RuleModule;
14833
- 'display-name': eslint0.Rule.RuleModule;
14834
- 'forbid-component-props': eslint0.Rule.RuleModule;
14835
- 'forbid-dom-props': eslint0.Rule.RuleModule;
14836
- 'forbid-elements': eslint0.Rule.RuleModule;
14837
- 'forbid-foreign-prop-types': eslint0.Rule.RuleModule;
14838
- 'forbid-prop-types': eslint0.Rule.RuleModule;
14839
- 'forward-ref-uses-ref': eslint0.Rule.RuleModule;
14840
- 'function-component-definition': eslint0.Rule.RuleModule;
14841
- 'hook-use-state': eslint0.Rule.RuleModule;
14842
- 'iframe-missing-sandbox': eslint0.Rule.RuleModule;
14843
- 'jsx-boolean-value': eslint0.Rule.RuleModule;
14844
- 'jsx-child-element-spacing': eslint0.Rule.RuleModule;
14845
- 'jsx-closing-bracket-location': eslint0.Rule.RuleModule;
14846
- 'jsx-closing-tag-location': eslint0.Rule.RuleModule;
14847
- 'jsx-curly-spacing': eslint0.Rule.RuleModule;
14848
- 'jsx-curly-newline': eslint0.Rule.RuleModule;
14849
- 'jsx-equals-spacing': eslint0.Rule.RuleModule;
14850
- 'jsx-filename-extension': eslint0.Rule.RuleModule;
14851
- 'jsx-first-prop-new-line': eslint0.Rule.RuleModule;
14852
- 'jsx-handler-names': eslint0.Rule.RuleModule;
14853
- 'jsx-indent': eslint0.Rule.RuleModule;
14854
- 'jsx-indent-props': eslint0.Rule.RuleModule;
14855
- 'jsx-key': eslint0.Rule.RuleModule;
14856
- 'jsx-max-depth': eslint0.Rule.RuleModule;
14857
- 'jsx-max-props-per-line': eslint0.Rule.RuleModule;
14858
- 'jsx-newline': eslint0.Rule.RuleModule;
14859
- 'jsx-no-bind': eslint0.Rule.RuleModule;
14860
- 'jsx-no-comment-textnodes': eslint0.Rule.RuleModule;
14861
- 'jsx-no-constructed-context-values': eslint0.Rule.RuleModule;
14862
- 'jsx-no-duplicate-props': eslint0.Rule.RuleModule;
14863
- 'jsx-no-leaked-render': eslint0.Rule.RuleModule;
14864
- 'jsx-no-literals': eslint0.Rule.RuleModule;
14865
- 'jsx-no-script-url': eslint0.Rule.RuleModule;
14866
- 'jsx-no-target-blank': eslint0.Rule.RuleModule;
14867
- 'jsx-no-useless-fragment': eslint0.Rule.RuleModule;
14868
- 'jsx-one-expression-per-line': eslint0.Rule.RuleModule;
14869
- 'jsx-no-undef': eslint0.Rule.RuleModule;
14870
- 'jsx-curly-brace-presence': eslint0.Rule.RuleModule;
14871
- 'jsx-pascal-case': eslint0.Rule.RuleModule;
14872
- 'jsx-fragments': eslint0.Rule.RuleModule;
14873
- 'jsx-props-no-multi-spaces': eslint0.Rule.RuleModule;
14874
- 'jsx-props-no-spreading': eslint0.Rule.RuleModule;
14875
- 'jsx-props-no-spread-multi': eslint0.Rule.RuleModule;
14876
- 'jsx-sort-default-props': eslint0.Rule.RuleModule;
14877
- 'jsx-sort-props': eslint0.Rule.RuleModule;
14878
- 'jsx-space-before-closing': eslint0.Rule.RuleModule;
14879
- 'jsx-tag-spacing': eslint0.Rule.RuleModule;
14880
- 'jsx-uses-react': eslint0.Rule.RuleModule;
14881
- 'jsx-uses-vars': eslint0.Rule.RuleModule;
14882
- 'jsx-wrap-multilines': eslint0.Rule.RuleModule;
14883
- 'no-invalid-html-attribute': eslint0.Rule.RuleModule;
14884
- 'no-access-state-in-setstate': eslint0.Rule.RuleModule;
14885
- 'no-adjacent-inline-elements': eslint0.Rule.RuleModule;
14886
- 'no-array-index-key': eslint0.Rule.RuleModule;
14887
- 'no-arrow-function-lifecycle': eslint0.Rule.RuleModule;
14888
- 'no-children-prop': eslint0.Rule.RuleModule;
14889
- 'no-danger': eslint0.Rule.RuleModule;
14890
- 'no-danger-with-children': eslint0.Rule.RuleModule;
14891
- 'no-deprecated': eslint0.Rule.RuleModule;
14892
- 'no-did-mount-set-state': eslint0.Rule.RuleModule;
14893
- 'no-did-update-set-state': eslint0.Rule.RuleModule;
14894
- 'no-direct-mutation-state': eslint0.Rule.RuleModule;
14895
- 'no-find-dom-node': eslint0.Rule.RuleModule;
14896
- 'no-is-mounted': eslint0.Rule.RuleModule;
14897
- 'no-multi-comp': eslint0.Rule.RuleModule;
14898
- 'no-namespace': eslint0.Rule.RuleModule;
14899
- 'no-set-state': eslint0.Rule.RuleModule;
14900
- 'no-string-refs': eslint0.Rule.RuleModule;
14901
- 'no-redundant-should-component-update': eslint0.Rule.RuleModule;
14902
- 'no-render-return-value': eslint0.Rule.RuleModule;
14903
- 'no-this-in-sfc': eslint0.Rule.RuleModule;
14904
- 'no-typos': eslint0.Rule.RuleModule;
14905
- 'no-unescaped-entities': eslint0.Rule.RuleModule;
14906
- 'no-unknown-property': eslint0.Rule.RuleModule;
14907
- 'no-unsafe': eslint0.Rule.RuleModule;
14908
- 'no-unstable-nested-components': eslint0.Rule.RuleModule;
14909
- 'no-unused-class-component-methods': eslint0.Rule.RuleModule;
14910
- 'no-unused-prop-types': eslint0.Rule.RuleModule;
14911
- 'no-unused-state': eslint0.Rule.RuleModule;
14912
- 'no-object-type-as-default-prop': eslint0.Rule.RuleModule;
14913
- 'no-will-update-set-state': eslint0.Rule.RuleModule;
14914
- 'prefer-es6-class': eslint0.Rule.RuleModule;
14915
- 'prefer-exact-props': eslint0.Rule.RuleModule;
14916
- 'prefer-read-only-props': eslint0.Rule.RuleModule;
14917
- 'prefer-stateless-function': eslint0.Rule.RuleModule;
14918
- 'prop-types': eslint0.Rule.RuleModule;
14919
- 'react-in-jsx-scope': eslint0.Rule.RuleModule;
14920
- 'require-default-props': eslint0.Rule.RuleModule;
14921
- 'require-optimization': eslint0.Rule.RuleModule;
14922
- 'require-render-return': eslint0.Rule.RuleModule;
14923
- 'self-closing-comp': eslint0.Rule.RuleModule;
14924
- 'sort-comp': eslint0.Rule.RuleModule;
14925
- 'sort-default-props': eslint0.Rule.RuleModule;
14926
- 'sort-prop-types': eslint0.Rule.RuleModule;
14927
- 'state-in-constructor': eslint0.Rule.RuleModule;
14928
- 'static-property-placement': eslint0.Rule.RuleModule;
14929
- 'style-prop-object': eslint0.Rule.RuleModule;
14930
- 'void-dom-elements-no-children': eslint0.Rule.RuleModule;
14931
- }>;
14932
- rules: {
14933
- 'boolean-prop-naming': eslint0.Rule.RuleModule;
14934
- 'button-has-type': eslint0.Rule.RuleModule;
14935
- 'checked-requires-onchange-or-readonly': eslint0.Rule.RuleModule;
14936
- 'default-props-match-prop-types': eslint0.Rule.RuleModule;
14937
- 'destructuring-assignment': eslint0.Rule.RuleModule;
14938
- 'display-name': eslint0.Rule.RuleModule;
14939
- 'forbid-component-props': eslint0.Rule.RuleModule;
14940
- 'forbid-dom-props': eslint0.Rule.RuleModule;
14941
- 'forbid-elements': eslint0.Rule.RuleModule;
14942
- 'forbid-foreign-prop-types': eslint0.Rule.RuleModule;
14943
- 'forbid-prop-types': eslint0.Rule.RuleModule;
14944
- 'forward-ref-uses-ref': eslint0.Rule.RuleModule;
14945
- 'function-component-definition': eslint0.Rule.RuleModule;
14946
- 'hook-use-state': eslint0.Rule.RuleModule;
14947
- 'iframe-missing-sandbox': eslint0.Rule.RuleModule;
14948
- 'jsx-boolean-value': eslint0.Rule.RuleModule;
14949
- 'jsx-child-element-spacing': eslint0.Rule.RuleModule;
14950
- 'jsx-closing-bracket-location': eslint0.Rule.RuleModule;
14951
- 'jsx-closing-tag-location': eslint0.Rule.RuleModule;
14952
- 'jsx-curly-spacing': eslint0.Rule.RuleModule;
14953
- 'jsx-curly-newline': eslint0.Rule.RuleModule;
14954
- 'jsx-equals-spacing': eslint0.Rule.RuleModule;
14955
- 'jsx-filename-extension': eslint0.Rule.RuleModule;
14956
- 'jsx-first-prop-new-line': eslint0.Rule.RuleModule;
14957
- 'jsx-handler-names': eslint0.Rule.RuleModule;
14958
- 'jsx-indent': eslint0.Rule.RuleModule;
14959
- 'jsx-indent-props': eslint0.Rule.RuleModule;
14960
- 'jsx-key': eslint0.Rule.RuleModule;
14961
- 'jsx-max-depth': eslint0.Rule.RuleModule;
14962
- 'jsx-max-props-per-line': eslint0.Rule.RuleModule;
14963
- 'jsx-newline': eslint0.Rule.RuleModule;
14964
- 'jsx-no-bind': eslint0.Rule.RuleModule;
14965
- 'jsx-no-comment-textnodes': eslint0.Rule.RuleModule;
14966
- 'jsx-no-constructed-context-values': eslint0.Rule.RuleModule;
14967
- 'jsx-no-duplicate-props': eslint0.Rule.RuleModule;
14968
- 'jsx-no-leaked-render': eslint0.Rule.RuleModule;
14969
- 'jsx-no-literals': eslint0.Rule.RuleModule;
14970
- 'jsx-no-script-url': eslint0.Rule.RuleModule;
14971
- 'jsx-no-target-blank': eslint0.Rule.RuleModule;
14972
- 'jsx-no-useless-fragment': eslint0.Rule.RuleModule;
14973
- 'jsx-one-expression-per-line': eslint0.Rule.RuleModule;
14974
- 'jsx-no-undef': eslint0.Rule.RuleModule;
14975
- 'jsx-curly-brace-presence': eslint0.Rule.RuleModule;
14976
- 'jsx-pascal-case': eslint0.Rule.RuleModule;
14977
- 'jsx-fragments': eslint0.Rule.RuleModule;
14978
- 'jsx-props-no-multi-spaces': eslint0.Rule.RuleModule;
14979
- 'jsx-props-no-spreading': eslint0.Rule.RuleModule;
14980
- 'jsx-props-no-spread-multi': eslint0.Rule.RuleModule;
14981
- 'jsx-sort-default-props': eslint0.Rule.RuleModule;
14982
- 'jsx-sort-props': eslint0.Rule.RuleModule;
14983
- 'jsx-space-before-closing': eslint0.Rule.RuleModule;
14984
- 'jsx-tag-spacing': eslint0.Rule.RuleModule;
14985
- 'jsx-uses-react': eslint0.Rule.RuleModule;
14986
- 'jsx-uses-vars': eslint0.Rule.RuleModule;
14987
- 'jsx-wrap-multilines': eslint0.Rule.RuleModule;
14988
- 'no-invalid-html-attribute': eslint0.Rule.RuleModule;
14989
- 'no-access-state-in-setstate': eslint0.Rule.RuleModule;
14990
- 'no-adjacent-inline-elements': eslint0.Rule.RuleModule;
14991
- 'no-array-index-key': eslint0.Rule.RuleModule;
14992
- 'no-arrow-function-lifecycle': eslint0.Rule.RuleModule;
14993
- 'no-children-prop': eslint0.Rule.RuleModule;
14994
- 'no-danger': eslint0.Rule.RuleModule;
14995
- 'no-danger-with-children': eslint0.Rule.RuleModule;
14996
- 'no-deprecated': eslint0.Rule.RuleModule;
14997
- 'no-did-mount-set-state': eslint0.Rule.RuleModule;
14998
- 'no-did-update-set-state': eslint0.Rule.RuleModule;
14999
- 'no-direct-mutation-state': eslint0.Rule.RuleModule;
15000
- 'no-find-dom-node': eslint0.Rule.RuleModule;
15001
- 'no-is-mounted': eslint0.Rule.RuleModule;
15002
- 'no-multi-comp': eslint0.Rule.RuleModule;
15003
- 'no-namespace': eslint0.Rule.RuleModule;
15004
- 'no-set-state': eslint0.Rule.RuleModule;
15005
- 'no-string-refs': eslint0.Rule.RuleModule;
15006
- 'no-redundant-should-component-update': eslint0.Rule.RuleModule;
15007
- 'no-render-return-value': eslint0.Rule.RuleModule;
15008
- 'no-this-in-sfc': eslint0.Rule.RuleModule;
15009
- 'no-typos': eslint0.Rule.RuleModule;
15010
- 'no-unescaped-entities': eslint0.Rule.RuleModule;
15011
- 'no-unknown-property': eslint0.Rule.RuleModule;
15012
- 'no-unsafe': eslint0.Rule.RuleModule;
15013
- 'no-unstable-nested-components': eslint0.Rule.RuleModule;
15014
- 'no-unused-class-component-methods': eslint0.Rule.RuleModule;
15015
- 'no-unused-prop-types': eslint0.Rule.RuleModule;
15016
- 'no-unused-state': eslint0.Rule.RuleModule;
15017
- 'no-object-type-as-default-prop': eslint0.Rule.RuleModule;
15018
- 'no-will-update-set-state': eslint0.Rule.RuleModule;
15019
- 'prefer-es6-class': eslint0.Rule.RuleModule;
15020
- 'prefer-exact-props': eslint0.Rule.RuleModule;
15021
- 'prefer-read-only-props': eslint0.Rule.RuleModule;
15022
- 'prefer-stateless-function': eslint0.Rule.RuleModule;
15023
- 'prop-types': eslint0.Rule.RuleModule;
15024
- 'react-in-jsx-scope': eslint0.Rule.RuleModule;
15025
- 'require-default-props': eslint0.Rule.RuleModule;
15026
- 'require-optimization': eslint0.Rule.RuleModule;
15027
- 'require-render-return': eslint0.Rule.RuleModule;
15028
- 'self-closing-comp': eslint0.Rule.RuleModule;
15029
- 'sort-comp': eslint0.Rule.RuleModule;
15030
- 'sort-default-props': eslint0.Rule.RuleModule;
15031
- 'sort-prop-types': eslint0.Rule.RuleModule;
15032
- 'state-in-constructor': eslint0.Rule.RuleModule;
15033
- 'static-property-placement': eslint0.Rule.RuleModule;
15034
- 'style-prop-object': eslint0.Rule.RuleModule;
15035
- 'void-dom-elements-no-children': eslint0.Rule.RuleModule;
15036
- };
15037
- configs: {
15038
- recommended: {
15039
- plugins: ["react"];
15040
- parserOptions: {
15041
- ecmaFeatures: {
15042
- jsx: boolean;
15043
- };
15044
- };
15045
- rules: {
15046
- "react/display-name": 2;
15047
- "react/jsx-key": 2;
15048
- "react/jsx-no-comment-textnodes": 2;
15049
- "react/jsx-no-duplicate-props": 2;
15050
- "react/jsx-no-target-blank": 2;
15051
- "react/jsx-no-undef": 2;
15052
- "react/jsx-uses-react": 2;
15053
- "react/jsx-uses-vars": 2;
15054
- "react/no-children-prop": 2;
15055
- "react/no-danger-with-children": 2;
15056
- "react/no-deprecated": 2;
15057
- "react/no-direct-mutation-state": 2;
15058
- "react/no-find-dom-node": 2;
15059
- "react/no-is-mounted": 2;
15060
- "react/no-render-return-value": 2;
15061
- "react/no-string-refs": 2;
15062
- "react/no-unescaped-entities": 2;
15063
- "react/no-unknown-property": 2;
15064
- "react/no-unsafe": 0;
15065
- "react/prop-types": 2;
15066
- "react/react-in-jsx-scope": 2;
15067
- "react/require-render-return": 2;
15068
- };
15069
- };
15070
- all: {
15071
- plugins: ["react"];
15072
- parserOptions: {
15073
- ecmaFeatures: {
15074
- jsx: boolean;
15075
- };
15076
- };
15077
- rules: Record<"boolean-prop-naming" | "button-has-type" | "checked-requires-onchange-or-readonly" | "default-props-match-prop-types" | "destructuring-assignment" | "display-name" | "forbid-component-props" | "forbid-dom-props" | "forbid-elements" | "forbid-foreign-prop-types" | "forbid-prop-types" | "prop-types" | "forward-ref-uses-ref" | "function-component-definition" | "hook-use-state" | "iframe-missing-sandbox" | "jsx-boolean-value" | "jsx-child-element-spacing" | "jsx-closing-bracket-location" | "jsx-closing-tag-location" | "jsx-curly-spacing" | "jsx-curly-newline" | "jsx-equals-spacing" | "jsx-filename-extension" | "jsx-first-prop-new-line" | "jsx-handler-names" | "jsx-indent" | "jsx-indent-props" | "jsx-key" | "jsx-max-depth" | "jsx-max-props-per-line" | "jsx-newline" | "jsx-no-bind" | "jsx-no-comment-textnodes" | "jsx-no-constructed-context-values" | "jsx-no-duplicate-props" | "jsx-no-leaked-render" | "jsx-no-literals" | "jsx-no-script-url" | "jsx-no-target-blank" | "jsx-no-useless-fragment" | "jsx-one-expression-per-line" | "jsx-no-undef" | "jsx-curly-brace-presence" | "jsx-pascal-case" | "jsx-fragments" | "jsx-props-no-multi-spaces" | "jsx-props-no-spreading" | "jsx-props-no-spread-multi" | "sort-default-props" | "jsx-sort-default-props" | "jsx-sort-props" | "jsx-tag-spacing" | "jsx-space-before-closing" | "jsx-uses-react" | "jsx-uses-vars" | "jsx-wrap-multilines" | "no-invalid-html-attribute" | "no-access-state-in-setstate" | "no-adjacent-inline-elements" | "no-array-index-key" | "no-arrow-function-lifecycle" | "no-children-prop" | "no-danger" | "no-danger-with-children" | "no-deprecated" | "no-direct-mutation-state" | "no-find-dom-node" | "no-is-mounted" | "no-multi-comp" | "no-namespace" | "no-set-state" | "no-string-refs" | "no-redundant-should-component-update" | "no-render-return-value" | "no-this-in-sfc" | "no-typos" | "no-unescaped-entities" | "no-unknown-property" | "no-unsafe" | "no-unstable-nested-components" | "no-unused-class-component-methods" | "no-unused-prop-types" | "no-unused-state" | "no-object-type-as-default-prop" | "prefer-es6-class" | "prefer-exact-props" | "prefer-read-only-props" | "prefer-stateless-function" | "react-in-jsx-scope" | "require-default-props" | "require-optimization" | "require-render-return" | "self-closing-comp" | "sort-comp" | "sort-prop-types" | "state-in-constructor" | "static-property-placement" | "style-prop-object" | "void-dom-elements-no-children" | "no-did-mount-set-state" | "no-did-update-set-state" | "no-will-update-set-state", 2 | "error">;
15078
- };
15079
- 'jsx-runtime': {
15080
- plugins: ["react"];
15081
- parserOptions: {
15082
- ecmaFeatures: {
15083
- jsx: boolean;
15084
- };
15085
- jsxPragma: any;
15086
- };
15087
- rules: {
15088
- "react/react-in-jsx-scope": 0;
15089
- "react/jsx-uses-react": 0;
15090
- };
15091
- };
15092
- flat: Record<string, eslint_plugin_react0.ReactFlatConfig>;
15093
- } & {
15094
- flat: Record<string, eslint_plugin_react0.ReactFlatConfig>;
15095
- };
15096
- };
15097
- pluginReactHooks: typeof eslint_plugin_react_hooks0;
15098
- pluginReactRefresh: {
15099
- rules: Record<string, any>;
15100
- configs: {
15101
- recommended: {
15102
- plugins: {
15103
- "react-refresh": {
15104
- rules: Record<string, any>;
15105
- };
15106
- };
15107
- rules: Record<string, any>;
15108
- };
15109
- vite: {
15110
- plugins: {
15111
- "react-refresh": {
15112
- rules: Record<string, any>;
15113
- };
15114
- };
15115
- rules: Record<string, any>;
15116
- };
15117
- next: {
15118
- plugins: {
15119
- "react-refresh": {
15120
- rules: Record<string, any>;
15121
- };
15122
- };
15123
- rules: Record<string, any>;
15124
- };
15125
- };
15126
- };
15127
- }>;
15128
14840
  declare function importParserJsonc(): Promise<{
15129
14841
  parserJsonc: typeof jsonc_eslint_parser0;
15130
14842
  }>;
@@ -16148,4 +15860,4 @@ declare function changeRuleEntrySeverity(ruleConfig: Linter.RuleEntry<any>, leve
16148
15860
  declare function error2warn<T extends Config>(configs: T[]): T[];
16149
15861
  declare function warn2error<T extends Config>(configs: T[]): T[];
16150
15862
  //#endregion
16151
- export { Awaitable, Config, EslintConfigFn, LanguageOptions, OptionsCommon, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsHasTypeScript, OptionsIsInEditor, OptionsOverrides, OptionsPrefix, OptionsReact, OptionsStylistic, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, RenamePefix, RuleName, SLOW_RULES, StylisticConfig, TailwindEslintSettings, TailwindOptions, TypedFlatConfigItemWithId, UnPromise, VERSION, changeRuleEntrySeverity, combine, combineAsync, jsse as default, jsse, defineConfig, error2warn, globs_d_exports as globs, importJsoncLibs, importParserJsonc, importPluginJsonc, importPluginMarkdown, importPluginReact, importPluginReactHooks, importPluginReactRefresh, importPluginStylistic, importPluginTsdoc, importReactPlugins, importYmlLibs, interopDefault, isCI, isInEditor, jsseReact, parserPlain, parserTs, pluginAntfu, pluginDeMorgan, pluginEslintComments, pluginImportLite, pluginN, pluginPerfectionist, pluginPnpm, pluginTs, pluginUnicorn, pluginUnusedImports, renameRules, turnOffRules, uniqueStrings, warn2error };
15863
+ export { Awaitable, Config, EslintConfigFn, LanguageOptions, OptionsCommon, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsHasTypeScript, OptionsIsInEditor, OptionsOverrides, OptionsPrefix, OptionsReact, OptionsStylistic, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, RenamePefix, RuleName, SLOW_RULES, StylisticConfig, TailwindEslintSettings, TailwindOptions, TypedFlatConfigItemWithId, UnPromise, VERSION, changeRuleEntrySeverity, combine, combineAsync, jsse as default, jsse, defineConfig, error2warn, globs_d_exports as globs, importJsoncLibs, importParserJsonc, importPluginJsonc, importPluginMarkdown, importPluginReact, importPluginReactRefresh, importPluginStylistic, importPluginTsdoc, importYmlLibs, interopDefault, isCI, isInEditor, jsseReact, parserPlain, parserTs, pluginAntfu, pluginDeMorgan, pluginEslintComments, pluginImportLite, pluginN, pluginPerfectionist, pluginPnpm, pluginTs, pluginUnicorn, pluginUnusedImports, renameRules, turnOffRules, uniqueStrings, warn2error };