@jsse/eslint-config 0.4.19 → 0.4.21

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
@@ -1,4 +1,3 @@
1
- import { n as __export } from "./chunk-kxGw7zjC.js";
2
1
  import pluginEslintComments from "@eslint-community/eslint-plugin-eslint-comments";
3
2
  import pluginTs from "@typescript-eslint/eslint-plugin";
4
3
  import * as parserTs from "@typescript-eslint/parser";
@@ -15,7 +14,6 @@ import * as _eslint_markdown0 from "@eslint/markdown";
15
14
  import * as _stylistic_eslint_plugin0 from "@stylistic/eslint-plugin";
16
15
  import { FlatGitignoreOptions } from "eslint-config-flat-gitignore";
17
16
  import * as eslint_plugin_react0 from "eslint-plugin-react";
18
- import * as eslint_plugin_react_hooks0 from "eslint-plugin-react-hooks";
19
17
  import * as jsonc_eslint_parser0 from "jsonc-eslint-parser";
20
18
  import * as yaml_eslint_parser0 from "yaml-eslint-parser";
21
19
  import * as eslint0 from "eslint";
@@ -7402,7 +7400,7 @@ interface ReactRuleOptions {
7402
7400
  */
7403
7401
  "react-hooks/use-memo"?: Linter.RuleEntry<ReactHooksUseMemo$1>;
7404
7402
  /**
7405
- * Validates that useMemos always return a value. See [`useMemo()` docs](https://react.dev/reference/react/useMemo) for more information.
7403
+ * 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
7404
  */
7407
7405
  "react-hooks/void-use-memo"?: Linter.RuleEntry<ReactHooksVoidUseMemo$1>;
7408
7406
  "react-refresh/only-export-components"?: Linter.RuleEntry<ReactRefreshOnlyExportComponents>;
@@ -8630,7 +8628,7 @@ interface ReactHooksRuleOptions {
8630
8628
  */
8631
8629
  "react-hooks/use-memo"?: Linter.RuleEntry<ReactHooksUseMemo>;
8632
8630
  /**
8633
- * Validates that useMemos always return a value. See [`useMemo()` docs](https://react.dev/reference/react/useMemo) for more information.
8631
+ * 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
8632
  */
8635
8633
  "react-hooks/void-use-memo"?: Linter.RuleEntry<ReactHooksVoidUseMemo>;
8636
8634
  }
@@ -12408,710 +12406,725 @@ type ImportNoDuplicates = [] | [{
12408
12406
  interface UnicornRuleOptions {
12409
12407
  /**
12410
12408
  * 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
12409
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/better-regex.md
12412
12410
  */
12413
12411
  "unicorn/better-regex"?: Linter.RuleEntry<UnicornBetterRegex>;
12414
12412
  /**
12415
12413
  * 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
12414
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/catch-error-name.md
12417
12415
  */
12418
12416
  "unicorn/catch-error-name"?: Linter.RuleEntry<UnicornCatchErrorName>;
12419
12417
  /**
12420
12418
  * 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
12419
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/consistent-assert.md
12422
12420
  */
12423
12421
  "unicorn/consistent-assert"?: Linter.RuleEntry<[]>;
12424
12422
  /**
12425
12423
  * 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
12424
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/consistent-date-clone.md
12427
12425
  */
12428
12426
  "unicorn/consistent-date-clone"?: Linter.RuleEntry<[]>;
12429
12427
  /**
12430
12428
  * Use destructured variables over properties.
12431
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-destructuring.md
12429
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/consistent-destructuring.md
12432
12430
  */
12433
12431
  "unicorn/consistent-destructuring"?: Linter.RuleEntry<[]>;
12434
12432
  /**
12435
12433
  * 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
12434
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/consistent-empty-array-spread.md
12437
12435
  */
12438
12436
  "unicorn/consistent-empty-array-spread"?: Linter.RuleEntry<[]>;
12439
12437
  /**
12440
12438
  * 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
12439
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/consistent-existence-index-check.md
12442
12440
  */
12443
12441
  "unicorn/consistent-existence-index-check"?: Linter.RuleEntry<[]>;
12444
12442
  /**
12445
12443
  * 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
12444
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/consistent-function-scoping.md
12447
12445
  */
12448
12446
  "unicorn/consistent-function-scoping"?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
12449
12447
  /**
12450
12448
  * Enforce correct `Error` subclassing.
12451
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/custom-error-definition.md
12449
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/custom-error-definition.md
12452
12450
  */
12453
12451
  "unicorn/custom-error-definition"?: Linter.RuleEntry<[]>;
12454
12452
  /**
12455
12453
  * Enforce no spaces between braces.
12456
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/empty-brace-spaces.md
12454
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/empty-brace-spaces.md
12457
12455
  */
12458
12456
  "unicorn/empty-brace-spaces"?: Linter.RuleEntry<[]>;
12459
12457
  /**
12460
12458
  * 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
12459
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/error-message.md
12462
12460
  */
12463
12461
  "unicorn/error-message"?: Linter.RuleEntry<[]>;
12464
12462
  /**
12465
12463
  * 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
12464
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/escape-case.md
12467
12465
  */
12468
12466
  "unicorn/escape-case"?: Linter.RuleEntry<UnicornEscapeCase>;
12469
12467
  /**
12470
12468
  * 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
12469
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/expiring-todo-comments.md
12472
12470
  */
12473
12471
  "unicorn/expiring-todo-comments"?: Linter.RuleEntry<UnicornExpiringTodoComments>;
12474
12472
  /**
12475
12473
  * 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
12474
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/explicit-length-check.md
12477
12475
  */
12478
12476
  "unicorn/explicit-length-check"?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
12479
12477
  /**
12480
12478
  * Enforce a case style for filenames.
12481
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/filename-case.md
12479
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/filename-case.md
12482
12480
  */
12483
12481
  "unicorn/filename-case"?: Linter.RuleEntry<UnicornFilenameCase>;
12484
12482
  /**
12485
12483
  * Enforce specific import styles per module.
12486
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/import-style.md
12484
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/import-style.md
12487
12485
  */
12488
12486
  "unicorn/import-style"?: Linter.RuleEntry<UnicornImportStyle>;
12489
12487
  /**
12490
12488
  * 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
12489
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/new-for-builtins.md
12492
12490
  */
12493
12491
  "unicorn/new-for-builtins"?: Linter.RuleEntry<[]>;
12494
12492
  /**
12495
12493
  * 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
12494
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-abusive-eslint-disable.md
12497
12495
  */
12498
12496
  "unicorn/no-abusive-eslint-disable"?: Linter.RuleEntry<[]>;
12499
12497
  /**
12500
12498
  * 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
12499
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-accessor-recursion.md
12502
12500
  */
12503
12501
  "unicorn/no-accessor-recursion"?: Linter.RuleEntry<[]>;
12504
12502
  /**
12505
12503
  * 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
12504
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-anonymous-default-export.md
12507
12505
  */
12508
12506
  "unicorn/no-anonymous-default-export"?: Linter.RuleEntry<[]>;
12509
12507
  /**
12510
12508
  * 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
12509
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-array-callback-reference.md
12512
12510
  */
12513
12511
  "unicorn/no-array-callback-reference"?: Linter.RuleEntry<[]>;
12514
12512
  /**
12515
12513
  * 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
12514
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-array-for-each.md
12517
12515
  */
12518
12516
  "unicorn/no-array-for-each"?: Linter.RuleEntry<[]>;
12519
12517
  /**
12520
12518
  * 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
12519
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-array-method-this-argument.md
12522
12520
  */
12523
12521
  "unicorn/no-array-method-this-argument"?: Linter.RuleEntry<[]>;
12524
12522
  /**
12525
12523
  * 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
12524
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/deprecated-rules.md#no-array-push-push
12527
12525
  * @deprecated
12528
12526
  */
12529
12527
  "unicorn/no-array-push-push"?: Linter.RuleEntry<[]>;
12530
12528
  /**
12531
12529
  * 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
12530
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-array-reduce.md
12533
12531
  */
12534
12532
  "unicorn/no-array-reduce"?: Linter.RuleEntry<UnicornNoArrayReduce>;
12535
12533
  /**
12536
12534
  * 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
12535
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-array-reverse.md
12538
12536
  */
12539
12537
  "unicorn/no-array-reverse"?: Linter.RuleEntry<UnicornNoArrayReverse>;
12540
12538
  /**
12541
12539
  * 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
12540
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-array-sort.md
12543
12541
  */
12544
12542
  "unicorn/no-array-sort"?: Linter.RuleEntry<UnicornNoArraySort>;
12545
12543
  /**
12546
12544
  * 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
12545
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-await-expression-member.md
12548
12546
  */
12549
12547
  "unicorn/no-await-expression-member"?: Linter.RuleEntry<[]>;
12550
12548
  /**
12551
12549
  * 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
12550
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-await-in-promise-methods.md
12553
12551
  */
12554
12552
  "unicorn/no-await-in-promise-methods"?: Linter.RuleEntry<[]>;
12555
12553
  /**
12556
12554
  * 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
12555
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-console-spaces.md
12558
12556
  */
12559
12557
  "unicorn/no-console-spaces"?: Linter.RuleEntry<[]>;
12560
12558
  /**
12561
12559
  * 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
12560
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-document-cookie.md
12563
12561
  */
12564
12562
  "unicorn/no-document-cookie"?: Linter.RuleEntry<[]>;
12565
12563
  /**
12566
12564
  * Disallow empty files.
12567
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-empty-file.md
12565
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-empty-file.md
12568
12566
  */
12569
12567
  "unicorn/no-empty-file"?: Linter.RuleEntry<[]>;
12570
12568
  /**
12571
12569
  * 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
12570
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-for-loop.md
12573
12571
  */
12574
12572
  "unicorn/no-for-loop"?: Linter.RuleEntry<[]>;
12575
12573
  /**
12576
12574
  * 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
12575
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-hex-escape.md
12578
12576
  */
12579
12577
  "unicorn/no-hex-escape"?: Linter.RuleEntry<[]>;
12578
+ /**
12579
+ * Disallow immediate mutation after variable assignment.
12580
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-immediate-mutation.md
12581
+ */
12582
+ "unicorn/no-immediate-mutation"?: Linter.RuleEntry<[]>;
12580
12583
  /**
12581
12584
  * 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
12585
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/deprecated-rules.md#no-instanceof-array
12583
12586
  * @deprecated
12584
12587
  */
12585
12588
  "unicorn/no-instanceof-array"?: Linter.RuleEntry<[]>;
12586
12589
  /**
12587
12590
  * 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
12591
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-instanceof-builtins.md
12589
12592
  */
12590
12593
  "unicorn/no-instanceof-builtins"?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
12591
12594
  /**
12592
12595
  * 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
12596
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-invalid-fetch-options.md
12594
12597
  */
12595
12598
  "unicorn/no-invalid-fetch-options"?: Linter.RuleEntry<[]>;
12596
12599
  /**
12597
12600
  * 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
12601
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-invalid-remove-event-listener.md
12599
12602
  */
12600
12603
  "unicorn/no-invalid-remove-event-listener"?: Linter.RuleEntry<[]>;
12601
12604
  /**
12602
12605
  * 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
12606
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-keyword-prefix.md
12604
12607
  */
12605
12608
  "unicorn/no-keyword-prefix"?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
12606
12609
  /**
12607
12610
  * 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
12611
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/deprecated-rules.md#no-length-as-slice-end
12609
12612
  * @deprecated
12610
12613
  */
12611
12614
  "unicorn/no-length-as-slice-end"?: Linter.RuleEntry<[]>;
12612
12615
  /**
12613
12616
  * 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
12617
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-lonely-if.md
12615
12618
  */
12616
12619
  "unicorn/no-lonely-if"?: Linter.RuleEntry<[]>;
12617
12620
  /**
12618
12621
  * 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
12622
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-magic-array-flat-depth.md
12620
12623
  */
12621
12624
  "unicorn/no-magic-array-flat-depth"?: Linter.RuleEntry<[]>;
12622
12625
  /**
12623
12626
  * 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
12627
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-named-default.md
12625
12628
  */
12626
12629
  "unicorn/no-named-default"?: Linter.RuleEntry<[]>;
12627
12630
  /**
12628
12631
  * Disallow negated conditions.
12629
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-negated-condition.md
12632
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-negated-condition.md
12630
12633
  */
12631
12634
  "unicorn/no-negated-condition"?: Linter.RuleEntry<[]>;
12632
12635
  /**
12633
12636
  * 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
12637
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-negation-in-equality-check.md
12635
12638
  */
12636
12639
  "unicorn/no-negation-in-equality-check"?: Linter.RuleEntry<[]>;
12637
12640
  /**
12638
12641
  * Disallow nested ternary expressions.
12639
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-nested-ternary.md
12642
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-nested-ternary.md
12640
12643
  */
12641
12644
  "unicorn/no-nested-ternary"?: Linter.RuleEntry<[]>;
12642
12645
  /**
12643
12646
  * Disallow `new Array()`.
12644
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-new-array.md
12647
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-new-array.md
12645
12648
  */
12646
12649
  "unicorn/no-new-array"?: Linter.RuleEntry<[]>;
12647
12650
  /**
12648
12651
  * 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
12652
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-new-buffer.md
12650
12653
  */
12651
12654
  "unicorn/no-new-buffer"?: Linter.RuleEntry<[]>;
12652
12655
  /**
12653
12656
  * 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
12657
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-null.md
12655
12658
  */
12656
12659
  "unicorn/no-null"?: Linter.RuleEntry<UnicornNoNull>;
12657
12660
  /**
12658
12661
  * 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
12662
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-object-as-default-parameter.md
12660
12663
  */
12661
12664
  "unicorn/no-object-as-default-parameter"?: Linter.RuleEntry<[]>;
12662
12665
  /**
12663
12666
  * Disallow `process.exit()`.
12664
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-process-exit.md
12667
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-process-exit.md
12665
12668
  */
12666
12669
  "unicorn/no-process-exit"?: Linter.RuleEntry<[]>;
12667
12670
  /**
12668
12671
  * 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
12672
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-single-promise-in-promise-methods.md
12670
12673
  */
12671
12674
  "unicorn/no-single-promise-in-promise-methods"?: Linter.RuleEntry<[]>;
12672
12675
  /**
12673
12676
  * 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
12677
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-static-only-class.md
12675
12678
  */
12676
12679
  "unicorn/no-static-only-class"?: Linter.RuleEntry<[]>;
12677
12680
  /**
12678
12681
  * Disallow `then` property.
12679
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-thenable.md
12682
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-thenable.md
12680
12683
  */
12681
12684
  "unicorn/no-thenable"?: Linter.RuleEntry<[]>;
12682
12685
  /**
12683
12686
  * 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
12687
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-this-assignment.md
12685
12688
  */
12686
12689
  "unicorn/no-this-assignment"?: Linter.RuleEntry<[]>;
12687
12690
  /**
12688
12691
  * Disallow comparing `undefined` using `typeof`.
12689
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-typeof-undefined.md
12692
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-typeof-undefined.md
12690
12693
  */
12691
12694
  "unicorn/no-typeof-undefined"?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
12692
12695
  /**
12693
12696
  * 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
12697
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unnecessary-array-flat-depth.md
12695
12698
  */
12696
12699
  "unicorn/no-unnecessary-array-flat-depth"?: Linter.RuleEntry<[]>;
12697
12700
  /**
12698
12701
  * 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
12702
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unnecessary-array-splice-count.md
12700
12703
  */
12701
12704
  "unicorn/no-unnecessary-array-splice-count"?: Linter.RuleEntry<[]>;
12702
12705
  /**
12703
12706
  * Disallow awaiting non-promise values.
12704
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-await.md
12707
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unnecessary-await.md
12705
12708
  */
12706
12709
  "unicorn/no-unnecessary-await"?: Linter.RuleEntry<[]>;
12707
12710
  /**
12708
12711
  * 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
12712
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unnecessary-polyfills.md
12710
12713
  */
12711
12714
  "unicorn/no-unnecessary-polyfills"?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
12712
12715
  /**
12713
12716
  * 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
12717
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unnecessary-slice-end.md
12715
12718
  */
12716
12719
  "unicorn/no-unnecessary-slice-end"?: Linter.RuleEntry<[]>;
12717
12720
  /**
12718
12721
  * Disallow unreadable array destructuring.
12719
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unreadable-array-destructuring.md
12722
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unreadable-array-destructuring.md
12720
12723
  */
12721
12724
  "unicorn/no-unreadable-array-destructuring"?: Linter.RuleEntry<[]>;
12722
12725
  /**
12723
12726
  * Disallow unreadable IIFEs.
12724
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unreadable-iife.md
12727
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unreadable-iife.md
12725
12728
  */
12726
12729
  "unicorn/no-unreadable-iife"?: Linter.RuleEntry<[]>;
12727
12730
  /**
12728
12731
  * Disallow unused object properties.
12729
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unused-properties.md
12732
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unused-properties.md
12730
12733
  */
12731
12734
  "unicorn/no-unused-properties"?: Linter.RuleEntry<[]>;
12735
+ /**
12736
+ * Disallow useless values or fallbacks in `Set`, `Map`, `WeakSet`, or `WeakMap`.
12737
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-collection-argument.md
12738
+ */
12739
+ "unicorn/no-useless-collection-argument"?: Linter.RuleEntry<[]>;
12732
12740
  /**
12733
12741
  * 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
12742
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-error-capture-stack-trace.md
12735
12743
  */
12736
12744
  "unicorn/no-useless-error-capture-stack-trace"?: Linter.RuleEntry<[]>;
12737
12745
  /**
12738
12746
  * 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
12747
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-fallback-in-spread.md
12740
12748
  */
12741
12749
  "unicorn/no-useless-fallback-in-spread"?: Linter.RuleEntry<[]>;
12742
12750
  /**
12743
12751
  * 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
12752
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-length-check.md
12745
12753
  */
12746
12754
  "unicorn/no-useless-length-check"?: Linter.RuleEntry<[]>;
12747
12755
  /**
12748
12756
  * 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
12757
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-promise-resolve-reject.md
12750
12758
  */
12751
12759
  "unicorn/no-useless-promise-resolve-reject"?: Linter.RuleEntry<[]>;
12752
12760
  /**
12753
12761
  * Disallow unnecessary spread.
12754
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-spread.md
12762
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-spread.md
12755
12763
  */
12756
12764
  "unicorn/no-useless-spread"?: Linter.RuleEntry<[]>;
12757
12765
  /**
12758
12766
  * 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
12767
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-switch-case.md
12760
12768
  */
12761
12769
  "unicorn/no-useless-switch-case"?: Linter.RuleEntry<[]>;
12762
12770
  /**
12763
12771
  * Disallow useless `undefined`.
12764
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-undefined.md
12772
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-undefined.md
12765
12773
  */
12766
12774
  "unicorn/no-useless-undefined"?: Linter.RuleEntry<UnicornNoUselessUndefined>;
12767
12775
  /**
12768
12776
  * 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
12777
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-zero-fractions.md
12770
12778
  */
12771
12779
  "unicorn/no-zero-fractions"?: Linter.RuleEntry<[]>;
12772
12780
  /**
12773
12781
  * 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
12782
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/number-literal-case.md
12775
12783
  */
12776
12784
  "unicorn/number-literal-case"?: Linter.RuleEntry<UnicornNumberLiteralCase>;
12777
12785
  /**
12778
12786
  * 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
12787
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/numeric-separators-style.md
12780
12788
  */
12781
12789
  "unicorn/numeric-separators-style"?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
12782
12790
  /**
12783
12791
  * 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
12792
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-add-event-listener.md
12785
12793
  */
12786
12794
  "unicorn/prefer-add-event-listener"?: Linter.RuleEntry<UnicornPreferAddEventListener>;
12787
12795
  /**
12788
12796
  * 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
12797
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-array-find.md
12790
12798
  */
12791
12799
  "unicorn/prefer-array-find"?: Linter.RuleEntry<UnicornPreferArrayFind>;
12792
12800
  /**
12793
12801
  * 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
12802
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-array-flat.md
12795
12803
  */
12796
12804
  "unicorn/prefer-array-flat"?: Linter.RuleEntry<UnicornPreferArrayFlat>;
12797
12805
  /**
12798
12806
  * 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
12807
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-array-flat-map.md
12800
12808
  */
12801
12809
  "unicorn/prefer-array-flat-map"?: Linter.RuleEntry<[]>;
12802
12810
  /**
12803
12811
  * 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
12812
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-array-index-of.md
12805
12813
  */
12806
12814
  "unicorn/prefer-array-index-of"?: Linter.RuleEntry<[]>;
12807
12815
  /**
12808
12816
  * 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
12817
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-array-some.md
12810
12818
  */
12811
12819
  "unicorn/prefer-array-some"?: Linter.RuleEntry<[]>;
12812
12820
  /**
12813
12821
  * 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
12822
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-at.md
12815
12823
  */
12816
12824
  "unicorn/prefer-at"?: Linter.RuleEntry<UnicornPreferAt>;
12817
12825
  /**
12818
12826
  * 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
12827
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-bigint-literals.md
12820
12828
  */
12821
12829
  "unicorn/prefer-bigint-literals"?: Linter.RuleEntry<[]>;
12822
12830
  /**
12823
12831
  * 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
12832
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-blob-reading-methods.md
12825
12833
  */
12826
12834
  "unicorn/prefer-blob-reading-methods"?: Linter.RuleEntry<[]>;
12827
12835
  /**
12828
12836
  * 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
12837
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-class-fields.md
12830
12838
  */
12831
12839
  "unicorn/prefer-class-fields"?: Linter.RuleEntry<[]>;
12832
12840
  /**
12833
12841
  * 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
12842
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-classlist-toggle.md
12835
12843
  */
12836
12844
  "unicorn/prefer-classlist-toggle"?: Linter.RuleEntry<[]>;
12837
12845
  /**
12838
12846
  * 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
12847
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-code-point.md
12840
12848
  */
12841
12849
  "unicorn/prefer-code-point"?: Linter.RuleEntry<[]>;
12842
12850
  /**
12843
12851
  * 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
12852
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-date-now.md
12845
12853
  */
12846
12854
  "unicorn/prefer-date-now"?: Linter.RuleEntry<[]>;
12847
12855
  /**
12848
12856
  * Prefer default parameters over reassignment.
12849
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-default-parameters.md
12857
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-default-parameters.md
12850
12858
  */
12851
12859
  "unicorn/prefer-default-parameters"?: Linter.RuleEntry<[]>;
12852
12860
  /**
12853
12861
  * 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
12862
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-dom-node-append.md
12855
12863
  */
12856
12864
  "unicorn/prefer-dom-node-append"?: Linter.RuleEntry<[]>;
12857
12865
  /**
12858
12866
  * 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
12867
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-dom-node-dataset.md
12860
12868
  */
12861
12869
  "unicorn/prefer-dom-node-dataset"?: Linter.RuleEntry<[]>;
12862
12870
  /**
12863
12871
  * 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
12872
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-dom-node-remove.md
12865
12873
  */
12866
12874
  "unicorn/prefer-dom-node-remove"?: Linter.RuleEntry<[]>;
12867
12875
  /**
12868
12876
  * 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
12877
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-dom-node-text-content.md
12870
12878
  */
12871
12879
  "unicorn/prefer-dom-node-text-content"?: Linter.RuleEntry<[]>;
12872
12880
  /**
12873
12881
  * Prefer `EventTarget` over `EventEmitter`.
12874
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-event-target.md
12882
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-event-target.md
12875
12883
  */
12876
12884
  "unicorn/prefer-event-target"?: Linter.RuleEntry<[]>;
12877
12885
  /**
12878
12886
  * 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
12887
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-export-from.md
12880
12888
  */
12881
12889
  "unicorn/prefer-export-from"?: Linter.RuleEntry<UnicornPreferExportFrom>;
12882
12890
  /**
12883
12891
  * 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
12892
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-global-this.md
12885
12893
  */
12886
12894
  "unicorn/prefer-global-this"?: Linter.RuleEntry<[]>;
12887
12895
  /**
12888
12896
  * 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
12897
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-import-meta-properties.md
12890
12898
  */
12891
12899
  "unicorn/prefer-import-meta-properties"?: Linter.RuleEntry<[]>;
12892
12900
  /**
12893
12901
  * 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
12902
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-includes.md
12895
12903
  */
12896
12904
  "unicorn/prefer-includes"?: Linter.RuleEntry<[]>;
12897
12905
  /**
12898
12906
  * 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
12907
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-json-parse-buffer.md
12900
12908
  */
12901
12909
  "unicorn/prefer-json-parse-buffer"?: Linter.RuleEntry<[]>;
12902
12910
  /**
12903
12911
  * 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
12912
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-keyboard-event-key.md
12905
12913
  */
12906
12914
  "unicorn/prefer-keyboard-event-key"?: Linter.RuleEntry<[]>;
12907
12915
  /**
12908
12916
  * 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
12917
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-logical-operator-over-ternary.md
12910
12918
  */
12911
12919
  "unicorn/prefer-logical-operator-over-ternary"?: Linter.RuleEntry<[]>;
12912
12920
  /**
12913
12921
  * 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
12922
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-math-min-max.md
12915
12923
  */
12916
12924
  "unicorn/prefer-math-min-max"?: Linter.RuleEntry<[]>;
12917
12925
  /**
12918
12926
  * 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
12927
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-math-trunc.md
12920
12928
  */
12921
12929
  "unicorn/prefer-math-trunc"?: Linter.RuleEntry<[]>;
12922
12930
  /**
12923
12931
  * 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
12932
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-modern-dom-apis.md
12925
12933
  */
12926
12934
  "unicorn/prefer-modern-dom-apis"?: Linter.RuleEntry<[]>;
12927
12935
  /**
12928
12936
  * 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
12937
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-modern-math-apis.md
12930
12938
  */
12931
12939
  "unicorn/prefer-modern-math-apis"?: Linter.RuleEntry<[]>;
12932
12940
  /**
12933
12941
  * Prefer JavaScript modules (ESM) over CommonJS.
12934
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-module.md
12942
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-module.md
12935
12943
  */
12936
12944
  "unicorn/prefer-module"?: Linter.RuleEntry<[]>;
12937
12945
  /**
12938
12946
  * 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
12947
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-native-coercion-functions.md
12940
12948
  */
12941
12949
  "unicorn/prefer-native-coercion-functions"?: Linter.RuleEntry<[]>;
12942
12950
  /**
12943
12951
  * 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
12952
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-negative-index.md
12945
12953
  */
12946
12954
  "unicorn/prefer-negative-index"?: Linter.RuleEntry<[]>;
12947
12955
  /**
12948
12956
  * 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
12957
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-node-protocol.md
12950
12958
  */
12951
12959
  "unicorn/prefer-node-protocol"?: Linter.RuleEntry<[]>;
12952
12960
  /**
12953
12961
  * 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
12962
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-number-properties.md
12955
12963
  */
12956
12964
  "unicorn/prefer-number-properties"?: Linter.RuleEntry<UnicornPreferNumberProperties>;
12957
12965
  /**
12958
12966
  * 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
12967
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-object-from-entries.md
12960
12968
  */
12961
12969
  "unicorn/prefer-object-from-entries"?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
12962
12970
  /**
12963
12971
  * 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
12972
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-optional-catch-binding.md
12965
12973
  */
12966
12974
  "unicorn/prefer-optional-catch-binding"?: Linter.RuleEntry<[]>;
12967
12975
  /**
12968
12976
  * 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
12977
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-prototype-methods.md
12970
12978
  */
12971
12979
  "unicorn/prefer-prototype-methods"?: Linter.RuleEntry<[]>;
12972
12980
  /**
12973
12981
  * 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
12982
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-query-selector.md
12975
12983
  */
12976
12984
  "unicorn/prefer-query-selector"?: Linter.RuleEntry<[]>;
12977
12985
  /**
12978
12986
  * 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
12987
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-reflect-apply.md
12980
12988
  */
12981
12989
  "unicorn/prefer-reflect-apply"?: Linter.RuleEntry<[]>;
12982
12990
  /**
12983
12991
  * 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
12992
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-regexp-test.md
12985
12993
  */
12986
12994
  "unicorn/prefer-regexp-test"?: Linter.RuleEntry<[]>;
12995
+ /**
12996
+ * Prefer `Response.json()` over `new Response(JSON.stringify())`.
12997
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-response-static-json.md
12998
+ */
12999
+ "unicorn/prefer-response-static-json"?: Linter.RuleEntry<[]>;
12987
13000
  /**
12988
13001
  * 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
13002
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-set-has.md
12990
13003
  */
12991
13004
  "unicorn/prefer-set-has"?: Linter.RuleEntry<[]>;
12992
13005
  /**
12993
13006
  * 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
13007
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-set-size.md
12995
13008
  */
12996
13009
  "unicorn/prefer-set-size"?: Linter.RuleEntry<[]>;
12997
13010
  /**
12998
13011
  * 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
13012
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-single-call.md
13000
13013
  */
13001
13014
  "unicorn/prefer-single-call"?: Linter.RuleEntry<UnicornPreferSingleCall>;
13002
13015
  /**
13003
13016
  * 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
13017
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-spread.md
13005
13018
  */
13006
13019
  "unicorn/prefer-spread"?: Linter.RuleEntry<[]>;
13007
13020
  /**
13008
13021
  * 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
13022
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-string-raw.md
13010
13023
  */
13011
13024
  "unicorn/prefer-string-raw"?: Linter.RuleEntry<[]>;
13012
13025
  /**
13013
13026
  * 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
13027
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-string-replace-all.md
13015
13028
  */
13016
13029
  "unicorn/prefer-string-replace-all"?: Linter.RuleEntry<[]>;
13017
13030
  /**
13018
13031
  * 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
13032
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-string-slice.md
13020
13033
  */
13021
13034
  "unicorn/prefer-string-slice"?: Linter.RuleEntry<[]>;
13022
13035
  /**
13023
13036
  * 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
13037
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-string-starts-ends-with.md
13025
13038
  */
13026
13039
  "unicorn/prefer-string-starts-ends-with"?: Linter.RuleEntry<[]>;
13027
13040
  /**
13028
13041
  * 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
13042
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-string-trim-start-end.md
13030
13043
  */
13031
13044
  "unicorn/prefer-string-trim-start-end"?: Linter.RuleEntry<[]>;
13032
13045
  /**
13033
13046
  * 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
13047
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-structured-clone.md
13035
13048
  */
13036
13049
  "unicorn/prefer-structured-clone"?: Linter.RuleEntry<UnicornPreferStructuredClone>;
13037
13050
  /**
13038
13051
  * Prefer `switch` over multiple `else-if`.
13039
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-switch.md
13052
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-switch.md
13040
13053
  */
13041
13054
  "unicorn/prefer-switch"?: Linter.RuleEntry<UnicornPreferSwitch>;
13042
13055
  /**
13043
13056
  * 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
13057
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-ternary.md
13045
13058
  */
13046
13059
  "unicorn/prefer-ternary"?: Linter.RuleEntry<UnicornPreferTernary>;
13047
13060
  /**
13048
13061
  * 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
13062
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-top-level-await.md
13050
13063
  */
13051
13064
  "unicorn/prefer-top-level-await"?: Linter.RuleEntry<[]>;
13052
13065
  /**
13053
13066
  * 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
13067
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-type-error.md
13055
13068
  */
13056
13069
  "unicorn/prefer-type-error"?: Linter.RuleEntry<[]>;
13057
13070
  /**
13058
13071
  * Prevent abbreviations.
13059
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prevent-abbreviations.md
13072
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prevent-abbreviations.md
13060
13073
  */
13061
13074
  "unicorn/prevent-abbreviations"?: Linter.RuleEntry<UnicornPreventAbbreviations>;
13062
13075
  /**
13063
13076
  * Enforce consistent relative URL style.
13064
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/relative-url-style.md
13077
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/relative-url-style.md
13065
13078
  */
13066
13079
  "unicorn/relative-url-style"?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
13067
13080
  /**
13068
13081
  * 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
13082
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/require-array-join-separator.md
13070
13083
  */
13071
13084
  "unicorn/require-array-join-separator"?: Linter.RuleEntry<[]>;
13072
13085
  /**
13073
13086
  * 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
13087
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/require-module-attributes.md
13075
13088
  */
13076
13089
  "unicorn/require-module-attributes"?: Linter.RuleEntry<[]>;
13077
13090
  /**
13078
13091
  * 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
13092
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/require-module-specifiers.md
13080
13093
  */
13081
13094
  "unicorn/require-module-specifiers"?: Linter.RuleEntry<[]>;
13082
13095
  /**
13083
13096
  * 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
13097
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/require-number-to-fixed-digits-argument.md
13085
13098
  */
13086
13099
  "unicorn/require-number-to-fixed-digits-argument"?: Linter.RuleEntry<[]>;
13087
13100
  /**
13088
13101
  * 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
13102
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/require-post-message-target-origin.md
13090
13103
  */
13091
13104
  "unicorn/require-post-message-target-origin"?: Linter.RuleEntry<[]>;
13092
13105
  /**
13093
13106
  * Enforce better string content.
13094
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/string-content.md
13107
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/string-content.md
13095
13108
  */
13096
13109
  "unicorn/string-content"?: Linter.RuleEntry<UnicornStringContent>;
13097
13110
  /**
13098
13111
  * 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
13112
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/switch-case-braces.md
13100
13113
  */
13101
13114
  "unicorn/switch-case-braces"?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
13102
13115
  /**
13103
13116
  * Fix whitespace-insensitive template indentation.
13104
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/template-indent.md
13117
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/template-indent.md
13105
13118
  */
13106
13119
  "unicorn/template-indent"?: Linter.RuleEntry<UnicornTemplateIndent>;
13107
13120
  /**
13108
13121
  * 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
13122
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/text-encoding-identifier-case.md
13110
13123
  */
13111
- "unicorn/text-encoding-identifier-case"?: Linter.RuleEntry<[]>;
13124
+ "unicorn/text-encoding-identifier-case"?: Linter.RuleEntry<UnicornTextEncodingIdentifierCase>;
13112
13125
  /**
13113
13126
  * 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
13127
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/throw-new-error.md
13115
13128
  */
13116
13129
  "unicorn/throw-new-error"?: Linter.RuleEntry<[]>;
13117
13130
  }
@@ -13334,6 +13347,10 @@ type UnicornTemplateIndent = [] | [{
13334
13347
  selectors?: string[];
13335
13348
  comments?: string[];
13336
13349
  }];
13350
+ // ----- unicorn/text-encoding-identifier-case -----
13351
+ type UnicornTextEncodingIdentifierCase = [] | [{
13352
+ withDash?: boolean;
13353
+ }];
13337
13354
  //#endregion
13338
13355
  //#region src/generated/dts/vitest.d.ts
13339
13356
  interface VitestRuleOptions {
@@ -14483,7 +14500,7 @@ declare function defineConfig(options?: OptionsConfig & Config, ...userConfigs:
14483
14500
  type DefineConfig = typeof defineConfig;
14484
14501
  //#endregion
14485
14502
  //#region src/generated/version.d.ts
14486
- declare const VERSION = "0.4.19";
14503
+ declare const VERSION = "0.4.21";
14487
14504
  declare namespace globs_d_exports {
14488
14505
  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
14506
  }
@@ -14788,9 +14805,6 @@ declare function importPluginReact(): Promise<{
14788
14805
  };
14789
14806
  };
14790
14807
  }>;
14791
- declare function importPluginReactHooks(): Promise<{
14792
- pluginReactHooks: typeof eslint_plugin_react_hooks0;
14793
- }>;
14794
14808
  declare function importPluginReactRefresh(): Promise<{
14795
14809
  pluginReactRefresh: {
14796
14810
  rules: Record<string, any>;
@@ -14822,309 +14836,6 @@ declare function importPluginReactRefresh(): Promise<{
14822
14836
  };
14823
14837
  };
14824
14838
  }>;
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
14839
  declare function importParserJsonc(): Promise<{
15129
14840
  parserJsonc: typeof jsonc_eslint_parser0;
15130
14841
  }>;
@@ -16148,4 +15859,4 @@ declare function changeRuleEntrySeverity(ruleConfig: Linter.RuleEntry<any>, leve
16148
15859
  declare function error2warn<T extends Config>(configs: T[]): T[];
16149
15860
  declare function warn2error<T extends Config>(configs: T[]): T[];
16150
15861
  //#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 };
15862
+ 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 };