@shayanthenerd/eslint-config 0.32.0 → 0.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -881,7 +881,7 @@ export interface ESLintSchema {
881
881
  */
882
882
  '@html-eslint/no-redundant-role'?: Linter.RuleEntry<[]>;
883
883
  /**
884
- * Disallow specified attributes
884
+ * Disallow specified attribute values
885
885
  * @see https://html-eslint.org/docs/rules/no-restricted-attr-values
886
886
  */
887
887
  '@html-eslint/no-restricted-attr-values'?: Linter.RuleEntry<HtmlEslintNoRestrictedAttrValues>;
@@ -959,6 +959,21 @@ export interface ESLintSchema {
959
959
  * Disallow use of obsolete elements in HTML5
960
960
  */
961
961
  '@html-eslint/react/no-obsolete-tags'?: Linter.RuleEntry<[]>;
962
+ /**
963
+ * Disallow specified attribute values
964
+ * @see https://html-eslint.org/docs/react/rules/no-restricted-attr-values
965
+ */
966
+ '@html-eslint/react/no-restricted-attr-values'?: Linter.RuleEntry<HtmlEslintReactNoRestrictedAttrValues>;
967
+ /**
968
+ * Disallow specified attributes
969
+ * @see https://html-eslint.org/docs/react/rules/no-restricted-attrs
970
+ */
971
+ '@html-eslint/react/no-restricted-attrs'?: Linter.RuleEntry<HtmlEslintReactNoRestrictedAttrs>;
972
+ /**
973
+ * Require specified attributes
974
+ * @see https://html-eslint.org/docs/react/rules/require-attrs
975
+ */
976
+ '@html-eslint/react/require-attrs'?: Linter.RuleEntry<HtmlEslintReactRequireAttrs>;
962
977
  /**
963
978
  * Enforce the use of baseline features.
964
979
  * @see https://html-eslint.org/docs/react/rules/use-baseline
@@ -2370,17 +2385,17 @@ export interface ESLintSchema {
2370
2385
  * apply `jsx-a11y/aria-activedescendant-has-tabindex` rule to Astro components
2371
2386
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/aria-activedescendant-has-tabindex/
2372
2387
  */
2373
- 'astro/jsx-a11y/aria-activedescendant-has-tabindex'?: Linter.RuleEntry<AstroJsxA11YAriaActivedescendantHasTabindex>;
2388
+ 'astro/jsx-a11y/aria-activedescendant-has-tabindex'?: Linter.RuleEntry<[]>;
2374
2389
  /**
2375
2390
  * apply `jsx-a11y/aria-props` rule to Astro components
2376
2391
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/aria-props/
2377
2392
  */
2378
- 'astro/jsx-a11y/aria-props'?: Linter.RuleEntry<AstroJsxA11YAriaProps>;
2393
+ 'astro/jsx-a11y/aria-props'?: Linter.RuleEntry<[]>;
2379
2394
  /**
2380
2395
  * apply `jsx-a11y/aria-proptypes` rule to Astro components
2381
2396
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/aria-proptypes/
2382
2397
  */
2383
- 'astro/jsx-a11y/aria-proptypes'?: Linter.RuleEntry<AstroJsxA11YAriaProptypes>;
2398
+ 'astro/jsx-a11y/aria-proptypes'?: Linter.RuleEntry<[]>;
2384
2399
  /**
2385
2400
  * apply `jsx-a11y/aria-role` rule to Astro components
2386
2401
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/aria-role/
@@ -2390,7 +2405,7 @@ export interface ESLintSchema {
2390
2405
  * apply `jsx-a11y/aria-unsupported-elements` rule to Astro components
2391
2406
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/aria-unsupported-elements/
2392
2407
  */
2393
- 'astro/jsx-a11y/aria-unsupported-elements'?: Linter.RuleEntry<AstroJsxA11YAriaUnsupportedElements>;
2408
+ 'astro/jsx-a11y/aria-unsupported-elements'?: Linter.RuleEntry<[]>;
2394
2409
  /**
2395
2410
  * apply `jsx-a11y/autocomplete-valid` rule to Astro components
2396
2411
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/autocomplete-valid/
@@ -2400,7 +2415,7 @@ export interface ESLintSchema {
2400
2415
  * apply `jsx-a11y/click-events-have-key-events` rule to Astro components
2401
2416
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/click-events-have-key-events/
2402
2417
  */
2403
- 'astro/jsx-a11y/click-events-have-key-events'?: Linter.RuleEntry<AstroJsxA11YClickEventsHaveKeyEvents>;
2418
+ 'astro/jsx-a11y/click-events-have-key-events'?: Linter.RuleEntry<[]>;
2404
2419
  /**
2405
2420
  * apply `jsx-a11y/control-has-associated-label` rule to Astro components
2406
2421
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/control-has-associated-label/
@@ -2415,12 +2430,12 @@ export interface ESLintSchema {
2415
2430
  * apply `jsx-a11y/html-has-lang` rule to Astro components
2416
2431
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/html-has-lang/
2417
2432
  */
2418
- 'astro/jsx-a11y/html-has-lang'?: Linter.RuleEntry<AstroJsxA11YHtmlHasLang>;
2433
+ 'astro/jsx-a11y/html-has-lang'?: Linter.RuleEntry<[]>;
2419
2434
  /**
2420
2435
  * apply `jsx-a11y/iframe-has-title` rule to Astro components
2421
2436
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/iframe-has-title/
2422
2437
  */
2423
- 'astro/jsx-a11y/iframe-has-title'?: Linter.RuleEntry<AstroJsxA11YIframeHasTitle>;
2438
+ 'astro/jsx-a11y/iframe-has-title'?: Linter.RuleEntry<[]>;
2424
2439
  /**
2425
2440
  * apply `jsx-a11y/img-redundant-alt` rule to Astro components
2426
2441
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/img-redundant-alt/
@@ -2440,7 +2455,7 @@ export interface ESLintSchema {
2440
2455
  * apply `jsx-a11y/lang` rule to Astro components
2441
2456
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/lang/
2442
2457
  */
2443
- 'astro/jsx-a11y/lang'?: Linter.RuleEntry<AstroJsxA11YLang>;
2458
+ 'astro/jsx-a11y/lang'?: Linter.RuleEntry<[]>;
2444
2459
  /**
2445
2460
  * apply `jsx-a11y/media-has-caption` rule to Astro components
2446
2461
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/media-has-caption/
@@ -2455,12 +2470,12 @@ export interface ESLintSchema {
2455
2470
  * apply `jsx-a11y/no-access-key` rule to Astro components
2456
2471
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/no-access-key/
2457
2472
  */
2458
- 'astro/jsx-a11y/no-access-key'?: Linter.RuleEntry<AstroJsxA11YNoAccessKey>;
2473
+ 'astro/jsx-a11y/no-access-key'?: Linter.RuleEntry<[]>;
2459
2474
  /**
2460
2475
  * apply `jsx-a11y/no-aria-hidden-on-focusable` rule to Astro components
2461
2476
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/no-aria-hidden-on-focusable/
2462
2477
  */
2463
- 'astro/jsx-a11y/no-aria-hidden-on-focusable'?: Linter.RuleEntry<AstroJsxA11YNoAriaHiddenOnFocusable>;
2478
+ 'astro/jsx-a11y/no-aria-hidden-on-focusable'?: Linter.RuleEntry<[]>;
2464
2479
  /**
2465
2480
  * apply `jsx-a11y/no-autofocus` rule to Astro components
2466
2481
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/no-autofocus/
@@ -2505,27 +2520,27 @@ export interface ESLintSchema {
2505
2520
  * apply `jsx-a11y/prefer-tag-over-role` rule to Astro components
2506
2521
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/prefer-tag-over-role/
2507
2522
  */
2508
- 'astro/jsx-a11y/prefer-tag-over-role'?: Linter.RuleEntry<AstroJsxA11YPreferTagOverRole>;
2523
+ 'astro/jsx-a11y/prefer-tag-over-role'?: Linter.RuleEntry<[]>;
2509
2524
  /**
2510
2525
  * apply `jsx-a11y/role-has-required-aria-props` rule to Astro components
2511
2526
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/role-has-required-aria-props/
2512
2527
  */
2513
- 'astro/jsx-a11y/role-has-required-aria-props'?: Linter.RuleEntry<AstroJsxA11YRoleHasRequiredAriaProps>;
2528
+ 'astro/jsx-a11y/role-has-required-aria-props'?: Linter.RuleEntry<[]>;
2514
2529
  /**
2515
2530
  * apply `jsx-a11y/role-supports-aria-props` rule to Astro components
2516
2531
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/role-supports-aria-props/
2517
2532
  */
2518
- 'astro/jsx-a11y/role-supports-aria-props'?: Linter.RuleEntry<AstroJsxA11YRoleSupportsAriaProps>;
2533
+ 'astro/jsx-a11y/role-supports-aria-props'?: Linter.RuleEntry<[]>;
2519
2534
  /**
2520
2535
  * apply `jsx-a11y/scope` rule to Astro components
2521
2536
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/scope/
2522
2537
  */
2523
- 'astro/jsx-a11y/scope'?: Linter.RuleEntry<AstroJsxA11YScope>;
2538
+ 'astro/jsx-a11y/scope'?: Linter.RuleEntry<[]>;
2524
2539
  /**
2525
2540
  * apply `jsx-a11y/tabindex-no-positive` rule to Astro components
2526
2541
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/tabindex-no-positive/
2527
2542
  */
2528
- 'astro/jsx-a11y/tabindex-no-positive'?: Linter.RuleEntry<AstroJsxA11YTabindexNoPositive>;
2543
+ 'astro/jsx-a11y/tabindex-no-positive'?: Linter.RuleEntry<[]>;
2529
2544
  /**
2530
2545
  * the client:only directive is missing the correct component's framework value
2531
2546
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/missing-client-only-directive-value/
@@ -3343,204 +3358,186 @@ export interface ESLintSchema {
3343
3358
  * @see https://eslint.org/docs/latest/rules/init-declarations
3344
3359
  */
3345
3360
  'init-declarations'?: Linter.RuleEntry<InitDeclarations>;
3346
- /**
3347
- * Enforce emojis are wrapped in `<span>` and provide screen reader access.
3348
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/accessible-emoji.md
3349
- * @deprecated
3350
- */
3351
- 'jsx-a11y/accessible-emoji'?: Linter.RuleEntry<JsxA11YAccessibleEmoji>;
3352
3361
  /**
3353
3362
  * Enforce all elements that require alternative text have meaningful information to relay back to end user.
3354
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/alt-text.md
3363
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/alt-text.md
3355
3364
  */
3356
- 'jsx-a11y/alt-text'?: Linter.RuleEntry<JsxA11YAltText>;
3365
+ 'jsx-a11y-x/alt-text'?: Linter.RuleEntry<JsxA11YXAltText>;
3357
3366
  /**
3358
3367
  * Enforce `<a>` text to not exactly match "click here", "here", "link", or "a link".
3359
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/anchor-ambiguous-text.md
3368
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/anchor-ambiguous-text.md
3360
3369
  */
3361
- 'jsx-a11y/anchor-ambiguous-text'?: Linter.RuleEntry<JsxA11YAnchorAmbiguousText>;
3370
+ 'jsx-a11y-x/anchor-ambiguous-text'?: Linter.RuleEntry<JsxA11YXAnchorAmbiguousText>;
3362
3371
  /**
3363
3372
  * Enforce all anchors to contain accessible content.
3364
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/anchor-has-content.md
3373
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/anchor-has-content.md
3365
3374
  */
3366
- 'jsx-a11y/anchor-has-content'?: Linter.RuleEntry<JsxA11YAnchorHasContent>;
3375
+ 'jsx-a11y-x/anchor-has-content'?: Linter.RuleEntry<JsxA11YXAnchorHasContent>;
3367
3376
  /**
3368
3377
  * Enforce all anchors are valid, navigable elements.
3369
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/anchor-is-valid.md
3378
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/anchor-is-valid.md
3370
3379
  */
3371
- 'jsx-a11y/anchor-is-valid'?: Linter.RuleEntry<JsxA11YAnchorIsValid>;
3380
+ 'jsx-a11y-x/anchor-is-valid'?: Linter.RuleEntry<JsxA11YXAnchorIsValid>;
3372
3381
  /**
3373
3382
  * Enforce elements with aria-activedescendant are tabbable.
3374
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-activedescendant-has-tabindex.md
3383
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/aria-activedescendant-has-tabindex.md
3375
3384
  */
3376
- 'jsx-a11y/aria-activedescendant-has-tabindex'?: Linter.RuleEntry<JsxA11YAriaActivedescendantHasTabindex>;
3385
+ 'jsx-a11y-x/aria-activedescendant-has-tabindex'?: Linter.RuleEntry<[]>;
3377
3386
  /**
3378
3387
  * Enforce all `aria-*` props are valid.
3379
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-props.md
3388
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/aria-props.md
3380
3389
  */
3381
- 'jsx-a11y/aria-props'?: Linter.RuleEntry<JsxA11YAriaProps>;
3390
+ 'jsx-a11y-x/aria-props'?: Linter.RuleEntry<[]>;
3382
3391
  /**
3383
3392
  * Enforce ARIA state and property values are valid.
3384
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-proptypes.md
3393
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/aria-proptypes.md
3385
3394
  */
3386
- 'jsx-a11y/aria-proptypes'?: Linter.RuleEntry<JsxA11YAriaProptypes>;
3395
+ 'jsx-a11y-x/aria-proptypes'?: Linter.RuleEntry<[]>;
3387
3396
  /**
3388
3397
  * Enforce that elements with ARIA roles must use a valid, non-abstract ARIA role.
3389
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-role.md
3398
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/aria-role.md
3390
3399
  */
3391
- 'jsx-a11y/aria-role'?: Linter.RuleEntry<JsxA11YAriaRole>;
3400
+ 'jsx-a11y-x/aria-role'?: Linter.RuleEntry<JsxA11YXAriaRole>;
3392
3401
  /**
3393
3402
  * Enforce that elements that do not support ARIA roles, states, and properties do not have those attributes.
3394
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-unsupported-elements.md
3403
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/aria-unsupported-elements.md
3395
3404
  */
3396
- 'jsx-a11y/aria-unsupported-elements'?: Linter.RuleEntry<JsxA11YAriaUnsupportedElements>;
3405
+ 'jsx-a11y-x/aria-unsupported-elements'?: Linter.RuleEntry<[]>;
3397
3406
  /**
3398
3407
  * Enforce that autocomplete attributes are used correctly.
3399
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/autocomplete-valid.md
3408
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/autocomplete-valid.md
3400
3409
  */
3401
- 'jsx-a11y/autocomplete-valid'?: Linter.RuleEntry<JsxA11YAutocompleteValid>;
3410
+ 'jsx-a11y-x/autocomplete-valid'?: Linter.RuleEntry<JsxA11YXAutocompleteValid>;
3402
3411
  /**
3403
3412
  * Enforce a clickable non-interactive element has at least one keyboard event listener.
3404
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/click-events-have-key-events.md
3413
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/click-events-have-key-events.md
3405
3414
  */
3406
- 'jsx-a11y/click-events-have-key-events'?: Linter.RuleEntry<JsxA11YClickEventsHaveKeyEvents>;
3415
+ 'jsx-a11y-x/click-events-have-key-events'?: Linter.RuleEntry<[]>;
3407
3416
  /**
3408
3417
  * Enforce that a control (an interactive element) has a text label.
3409
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/control-has-associated-label.md
3418
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/control-has-associated-label.md
3410
3419
  */
3411
- 'jsx-a11y/control-has-associated-label'?: Linter.RuleEntry<JsxA11YControlHasAssociatedLabel>;
3420
+ 'jsx-a11y-x/control-has-associated-label'?: Linter.RuleEntry<JsxA11YXControlHasAssociatedLabel>;
3412
3421
  /**
3413
3422
  * Enforce heading (`h1`, `h2`, etc) elements contain accessible content.
3414
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/heading-has-content.md
3423
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/heading-has-content.md
3415
3424
  */
3416
- 'jsx-a11y/heading-has-content'?: Linter.RuleEntry<JsxA11YHeadingHasContent>;
3425
+ 'jsx-a11y-x/heading-has-content'?: Linter.RuleEntry<JsxA11YXHeadingHasContent>;
3417
3426
  /**
3418
3427
  * Enforce `<html>` element has `lang` prop.
3419
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/html-has-lang.md
3428
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/html-has-lang.md
3420
3429
  */
3421
- 'jsx-a11y/html-has-lang'?: Linter.RuleEntry<JsxA11YHtmlHasLang>;
3430
+ 'jsx-a11y-x/html-has-lang'?: Linter.RuleEntry<[]>;
3422
3431
  /**
3423
3432
  * Enforce iframe elements have a title attribute.
3424
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/iframe-has-title.md
3433
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/iframe-has-title.md
3425
3434
  */
3426
- 'jsx-a11y/iframe-has-title'?: Linter.RuleEntry<JsxA11YIframeHasTitle>;
3435
+ 'jsx-a11y-x/iframe-has-title'?: Linter.RuleEntry<[]>;
3427
3436
  /**
3428
3437
  * Enforce `<img>` alt prop does not contain the word "image", "picture", or "photo".
3429
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/img-redundant-alt.md
3438
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/img-redundant-alt.md
3430
3439
  */
3431
- 'jsx-a11y/img-redundant-alt'?: Linter.RuleEntry<JsxA11YImgRedundantAlt>;
3440
+ 'jsx-a11y-x/img-redundant-alt'?: Linter.RuleEntry<JsxA11YXImgRedundantAlt>;
3432
3441
  /**
3433
3442
  * Enforce that elements with interactive handlers like `onClick` must be focusable.
3434
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/interactive-supports-focus.md
3443
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/interactive-supports-focus.md
3435
3444
  */
3436
- 'jsx-a11y/interactive-supports-focus'?: Linter.RuleEntry<JsxA11YInteractiveSupportsFocus>;
3445
+ 'jsx-a11y-x/interactive-supports-focus'?: Linter.RuleEntry<JsxA11YXInteractiveSupportsFocus>;
3437
3446
  /**
3438
3447
  * Enforce that a `label` tag has a text label and an associated control.
3439
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/label-has-associated-control.md
3440
- */
3441
- 'jsx-a11y/label-has-associated-control'?: Linter.RuleEntry<JsxA11YLabelHasAssociatedControl>;
3442
- /**
3443
- * Enforce that `<label>` elements have the `htmlFor` prop.
3444
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/label-has-for.md
3445
- * @deprecated
3448
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/label-has-associated-control.md
3446
3449
  */
3447
- 'jsx-a11y/label-has-for'?: Linter.RuleEntry<JsxA11YLabelHasFor>;
3450
+ 'jsx-a11y-x/label-has-associated-control'?: Linter.RuleEntry<JsxA11YXLabelHasAssociatedControl>;
3448
3451
  /**
3449
3452
  * Enforce lang attribute has a valid value.
3450
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/lang.md
3453
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/lang.md
3451
3454
  */
3452
- 'jsx-a11y/lang'?: Linter.RuleEntry<JsxA11YLang>;
3455
+ 'jsx-a11y-x/lang'?: Linter.RuleEntry<[]>;
3453
3456
  /**
3454
3457
  * Enforces that `<audio>` and `<video>` elements must have a `<track>` for captions.
3455
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/media-has-caption.md
3458
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/media-has-caption.md
3456
3459
  */
3457
- 'jsx-a11y/media-has-caption'?: Linter.RuleEntry<JsxA11YMediaHasCaption>;
3460
+ 'jsx-a11y-x/media-has-caption'?: Linter.RuleEntry<JsxA11YXMediaHasCaption>;
3458
3461
  /**
3459
3462
  * Enforce that `onMouseOver`/`onMouseOut` are accompanied by `onFocus`/`onBlur` for keyboard-only users.
3460
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/mouse-events-have-key-events.md
3463
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/mouse-events-have-key-events.md
3461
3464
  */
3462
- 'jsx-a11y/mouse-events-have-key-events'?: Linter.RuleEntry<JsxA11YMouseEventsHaveKeyEvents>;
3465
+ 'jsx-a11y-x/mouse-events-have-key-events'?: Linter.RuleEntry<JsxA11YXMouseEventsHaveKeyEvents>;
3463
3466
  /**
3464
3467
  * Enforce that the `accessKey` prop is not used on any element to avoid complications with keyboard commands used by a screen reader.
3465
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-access-key.md
3468
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/no-access-key.md
3466
3469
  */
3467
- 'jsx-a11y/no-access-key'?: Linter.RuleEntry<JsxA11YNoAccessKey>;
3470
+ 'jsx-a11y-x/no-access-key'?: Linter.RuleEntry<[]>;
3468
3471
  /**
3469
3472
  * Disallow `aria-hidden="true"` from being set on focusable elements.
3470
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-aria-hidden-on-focusable.md
3473
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/no-aria-hidden-on-focusable.md
3471
3474
  */
3472
- 'jsx-a11y/no-aria-hidden-on-focusable'?: Linter.RuleEntry<JsxA11YNoAriaHiddenOnFocusable>;
3475
+ 'jsx-a11y-x/no-aria-hidden-on-focusable'?: Linter.RuleEntry<[]>;
3473
3476
  /**
3474
- * Enforce autoFocus prop is not used.
3475
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-autofocus.md
3477
+ * Enforce autoFocus prop is not enabled.
3478
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/no-autofocus.md
3476
3479
  */
3477
- 'jsx-a11y/no-autofocus'?: Linter.RuleEntry<JsxA11YNoAutofocus>;
3480
+ 'jsx-a11y-x/no-autofocus'?: Linter.RuleEntry<JsxA11YXNoAutofocus>;
3478
3481
  /**
3479
3482
  * Enforce distracting elements are not used.
3480
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-distracting-elements.md
3483
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/no-distracting-elements.md
3481
3484
  */
3482
- 'jsx-a11y/no-distracting-elements'?: Linter.RuleEntry<JsxA11YNoDistractingElements>;
3485
+ 'jsx-a11y-x/no-distracting-elements'?: Linter.RuleEntry<JsxA11YXNoDistractingElements>;
3483
3486
  /**
3484
- * Interactive elements should not be assigned non-interactive roles.
3485
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-interactive-element-to-noninteractive-role.md
3487
+ * Disallow interactive elements being assigned non-interactive roles.
3488
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/no-interactive-element-to-noninteractive-role.md
3486
3489
  */
3487
- 'jsx-a11y/no-interactive-element-to-noninteractive-role'?: Linter.RuleEntry<JsxA11YNoInteractiveElementToNoninteractiveRole>;
3490
+ 'jsx-a11y-x/no-interactive-element-to-noninteractive-role'?: Linter.RuleEntry<JsxA11YXNoInteractiveElementToNoninteractiveRole>;
3488
3491
  /**
3489
- * Non-interactive elements should not be assigned mouse or keyboard event listeners.
3490
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-noninteractive-element-interactions.md
3492
+ * Disallow non-interactive elements being assigned mouse or keyboard event listeners.
3493
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/no-noninteractive-element-interactions.md
3491
3494
  */
3492
- 'jsx-a11y/no-noninteractive-element-interactions'?: Linter.RuleEntry<JsxA11YNoNoninteractiveElementInteractions>;
3495
+ 'jsx-a11y-x/no-noninteractive-element-interactions'?: Linter.RuleEntry<JsxA11YXNoNoninteractiveElementInteractions>;
3493
3496
  /**
3494
- * Non-interactive elements should not be assigned interactive roles.
3495
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-noninteractive-element-to-interactive-role.md
3497
+ * Disallow non-interactive elements being assigned interactive roles.
3498
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/no-noninteractive-element-to-interactive-role.md
3496
3499
  */
3497
- 'jsx-a11y/no-noninteractive-element-to-interactive-role'?: Linter.RuleEntry<JsxA11YNoNoninteractiveElementToInteractiveRole>;
3500
+ 'jsx-a11y-x/no-noninteractive-element-to-interactive-role'?: Linter.RuleEntry<JsxA11YXNoNoninteractiveElementToInteractiveRole>;
3498
3501
  /**
3499
- * `tabIndex` should only be declared on interactive elements.
3500
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-noninteractive-tabindex.md
3502
+ * Enforce `tabIndex` only be declared on interactive elements.
3503
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/no-noninteractive-tabindex.md
3501
3504
  */
3502
- 'jsx-a11y/no-noninteractive-tabindex'?: Linter.RuleEntry<JsxA11YNoNoninteractiveTabindex>;
3503
- /**
3504
- * Enforce usage of `onBlur` over `onChange` on select menus for accessibility.
3505
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-onchange.md
3506
- * @deprecated
3507
- */
3508
- 'jsx-a11y/no-onchange'?: Linter.RuleEntry<JsxA11YNoOnchange>;
3505
+ 'jsx-a11y-x/no-noninteractive-tabindex'?: Linter.RuleEntry<JsxA11YXNoNoninteractiveTabindex>;
3509
3506
  /**
3510
3507
  * Enforce explicit role property is not the same as implicit/default role property on element.
3511
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-redundant-roles.md
3508
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/no-redundant-roles.md
3512
3509
  */
3513
- 'jsx-a11y/no-redundant-roles'?: Linter.RuleEntry<JsxA11YNoRedundantRoles>;
3510
+ 'jsx-a11y-x/no-redundant-roles'?: Linter.RuleEntry<JsxA11YXNoRedundantRoles>;
3514
3511
  /**
3515
3512
  * Enforce that non-interactive, visible elements (such as `<div>`) that have click handlers use the role attribute.
3516
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-static-element-interactions.md
3513
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/no-static-element-interactions.md
3517
3514
  */
3518
- 'jsx-a11y/no-static-element-interactions'?: Linter.RuleEntry<JsxA11YNoStaticElementInteractions>;
3515
+ 'jsx-a11y-x/no-static-element-interactions'?: Linter.RuleEntry<JsxA11YXNoStaticElementInteractions>;
3519
3516
  /**
3520
3517
  * Enforces using semantic DOM elements over the ARIA `role` property.
3521
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/prefer-tag-over-role.md
3518
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/prefer-tag-over-role.md
3522
3519
  */
3523
- 'jsx-a11y/prefer-tag-over-role'?: Linter.RuleEntry<JsxA11YPreferTagOverRole>;
3520
+ 'jsx-a11y-x/prefer-tag-over-role'?: Linter.RuleEntry<[]>;
3524
3521
  /**
3525
3522
  * Enforce that elements with ARIA roles must have all required attributes for that role.
3526
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/role-has-required-aria-props.md
3523
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/role-has-required-aria-props.md
3527
3524
  */
3528
- 'jsx-a11y/role-has-required-aria-props'?: Linter.RuleEntry<JsxA11YRoleHasRequiredAriaProps>;
3525
+ 'jsx-a11y-x/role-has-required-aria-props'?: Linter.RuleEntry<[]>;
3529
3526
  /**
3530
3527
  * Enforce that elements with explicit or implicit roles defined contain only `aria-*` properties supported by that `role`.
3531
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/role-supports-aria-props.md
3528
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/role-supports-aria-props.md
3532
3529
  */
3533
- 'jsx-a11y/role-supports-aria-props'?: Linter.RuleEntry<JsxA11YRoleSupportsAriaProps>;
3530
+ 'jsx-a11y-x/role-supports-aria-props'?: Linter.RuleEntry<[]>;
3534
3531
  /**
3535
3532
  * Enforce `scope` prop is only used on `<th>` elements.
3536
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/scope.md
3533
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/scope.md
3537
3534
  */
3538
- 'jsx-a11y/scope'?: Linter.RuleEntry<JsxA11YScope>;
3535
+ 'jsx-a11y-x/scope'?: Linter.RuleEntry<[]>;
3539
3536
  /**
3540
3537
  * Enforce `tabIndex` value is not greater than zero.
3541
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/tabindex-no-positive.md
3538
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/tabindex-no-positive.md
3542
3539
  */
3543
- 'jsx-a11y/tabindex-no-positive'?: Linter.RuleEntry<JsxA11YTabindexNoPositive>;
3540
+ 'jsx-a11y-x/tabindex-no-positive'?: Linter.RuleEntry<[]>;
3544
3541
  /**
3545
3542
  * Enforce the consistent use of either double or single quotes in JSX attributes
3546
3543
  * @see https://eslint.org/docs/latest/rules/jsx-quotes
@@ -5198,6 +5195,11 @@ export interface ESLintSchema {
5198
5195
  * @see https://eslint-plugin-package-json.dev/rules/require-properties/require-os
5199
5196
  */
5200
5197
  'package-json/require-os'?: Linter.RuleEntry<PackageJsonRequireOs>;
5198
+ /**
5199
+ * Ensures that if a package specifies `exports` (or `publishConfig.exports`), an explicit `package.json` export is included.
5200
+ * @see https://eslint-plugin-package-json.dev/rules/require-package-json-export
5201
+ */
5202
+ 'package-json/require-package-json-export'?: Linter.RuleEntry<[]>;
5201
5203
  /**
5202
5204
  * Requires the `packageManager` property to be present.
5203
5205
  * @see https://eslint-plugin-package-json.dev/rules/require-properties/require-packageManager
@@ -5258,6 +5260,11 @@ export interface ESLintSchema {
5258
5260
  * @see https://eslint-plugin-package-json.dev/rules/restrict-dependency-ranges
5259
5261
  */
5260
5262
  'package-json/restrict-dependency-ranges'?: Linter.RuleEntry<PackageJsonRestrictDependencyRanges>;
5263
+ /**
5264
+ * Restricts dependency dist-tags to an allowed list and selected dependency types.
5265
+ * @see https://eslint-plugin-package-json.dev/rules/restrict-dist-tags
5266
+ */
5267
+ 'package-json/restrict-dist-tags'?: Linter.RuleEntry<PackageJsonRestrictDistTags>;
5261
5268
  /**
5262
5269
  * Disallows unnecessary properties in private packages.
5263
5270
  * @see https://eslint-plugin-package-json.dev/rules/restrict-private-properties
@@ -5645,6 +5652,11 @@ export interface ESLintSchema {
5645
5652
  * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/missing-playwright-await.md
5646
5653
  */
5647
5654
  'playwright/missing-playwright-await'?: Linter.RuleEntry<PlaywrightMissingPlaywrightAwait>;
5655
+ /**
5656
+ * Disallow the `timeout` option on actions
5657
+ * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/no-action-timeout.md
5658
+ */
5659
+ 'playwright/no-action-timeout'?: Linter.RuleEntry<PlaywrightNoActionTimeout>;
5648
5660
  /**
5649
5661
  * Disallow commented out tests
5650
5662
  * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/no-commented-out-tests.md
@@ -5680,6 +5692,11 @@ export interface ESLintSchema {
5680
5692
  * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/no-eval.md
5681
5693
  */
5682
5694
  'playwright/no-eval'?: Linter.RuleEntry<[]>;
5695
+ /**
5696
+ * Disallow using `export` in files containing tests
5697
+ * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/no-export.md
5698
+ */
5699
+ 'playwright/no-export'?: Linter.RuleEntry<[]>;
5683
5700
  /**
5684
5701
  * Prevent usage of `.only()` focus test annotation
5685
5702
  * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/no-focused-test.md
@@ -5700,6 +5717,16 @@ export interface ESLintSchema {
5700
5717
  * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/no-hooks.md
5701
5718
  */
5702
5719
  'playwright/no-hooks'?: Linter.RuleEntry<PlaywrightNoHooks>;
5720
+ /**
5721
+ * Disallow identical titles
5722
+ * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/no-identical-title.md
5723
+ */
5724
+ 'playwright/no-identical-title'?: Linter.RuleEntry<[]>;
5725
+ /**
5726
+ * Disallow magic numbers as Playwright timeout values
5727
+ * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/no-magic-timeouts.md
5728
+ */
5729
+ 'playwright/no-magic-timeouts'?: Linter.RuleEntry<PlaywrightNoMagicTimeouts>;
5703
5730
  /**
5704
5731
  * Disallow nested `test.step()` methods
5705
5732
  * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/no-nested-step.md
@@ -5755,6 +5782,16 @@ export interface ESLintSchema {
5755
5782
  * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/no-standalone-expect.md
5756
5783
  */
5757
5784
  'playwright/no-standalone-expect'?: Linter.RuleEntry<[]>;
5785
+ /**
5786
+ * Disallow template literals in test, describe, and step titles
5787
+ * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/no-template-literal-title.md
5788
+ */
5789
+ 'playwright/no-template-literal-title'?: Linter.RuleEntry<PlaywrightNoTemplateLiteralTitle>;
5790
+ /**
5791
+ * Disallow explicitly returning from tests
5792
+ * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/no-test-return-statement.md
5793
+ */
5794
+ 'playwright/no-test-return-statement'?: Linter.RuleEntry<[]>;
5758
5795
  /**
5759
5796
  * Disallow assertions on a Locator that can never fail
5760
5797
  * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/no-unnecessary-assertions.md
@@ -5800,6 +5837,11 @@ export interface ESLintSchema {
5800
5837
  * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/prefer-comparison-matcher.md
5801
5838
  */
5802
5839
  'playwright/prefer-comparison-matcher'?: Linter.RuleEntry<[]>;
5840
+ /**
5841
+ * Prefer having the last statement in a test be an assertion
5842
+ * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/prefer-ending-with-an-expect.md
5843
+ */
5844
+ 'playwright/prefer-ending-with-an-expect'?: Linter.RuleEntry<PlaywrightPreferEndingWithAnExpect>;
5803
5845
  /**
5804
5846
  * Suggest using the built-in equality matchers
5805
5847
  * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/prefer-equality-matcher.md
@@ -5860,6 +5902,11 @@ export interface ESLintSchema {
5860
5902
  * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/prefer-web-first-assertions.md
5861
5903
  */
5862
5904
  'playwright/prefer-web-first-assertions'?: Linter.RuleEntry<[]>;
5905
+ /**
5906
+ * Require a reason for `.skip()` and `.fixme()` annotations
5907
+ * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/require-annotation-reason.md
5908
+ */
5909
+ 'playwright/require-annotation-reason'?: Linter.RuleEntry<PlaywrightRequireAnnotationReason>;
5863
5910
  /**
5864
5911
  * Require setup and teardown code to be within a hook
5865
5912
  * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/require-hook.md
@@ -6303,1740 +6350,1841 @@ export interface ESLintSchema {
6303
6350
  'unicode-bom'?: Linter.RuleEntry<UnicodeBom>;
6304
6351
  /**
6305
6352
  * Prefer better DOM traversal APIs.
6306
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/better-dom-traversing.md
6353
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/better-dom-traversing.md
6307
6354
  */
6308
6355
  'unicorn/better-dom-traversing'?: Linter.RuleEntry<[]>;
6309
6356
  /**
6310
6357
  * Removed. Prefer `eslint-plugin-regexp`
6311
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/deleted-and-deprecated-rules.md#better-regex
6358
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/deleted-and-deprecated-rules.md#better-regex
6312
6359
  * @deprecated
6313
6360
  */
6314
6361
  'unicorn/better-regex'?: Linter.RuleEntry<[]>;
6315
6362
  /**
6316
6363
  * Enforce a specific parameter name in catch clauses.
6317
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/catch-error-name.md
6364
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/catch-error-name.md
6318
6365
  */
6319
6366
  'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>;
6320
6367
  /**
6321
6368
  * Enforce consistent class references in static methods.
6322
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/class-reference-in-static-methods.md
6369
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/class-reference-in-static-methods.md
6323
6370
  */
6324
6371
  'unicorn/class-reference-in-static-methods'?: Linter.RuleEntry<UnicornClassReferenceInStaticMethods>;
6325
6372
  /**
6326
6373
  * Enforce better comment content.
6327
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/comment-content.md
6374
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/comment-content.md
6328
6375
  */
6329
6376
  'unicorn/comment-content'?: Linter.RuleEntry<UnicornCommentContent>;
6330
6377
  /**
6331
6378
  * Enforce a consistent return style for multiline arrow function bodies.
6332
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/consistent-arrow-return-style.md
6379
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-arrow-return-style.md
6333
6380
  */
6334
6381
  'unicorn/consistent-arrow-return-style'?: Linter.RuleEntry<[]>;
6335
6382
  /**
6336
6383
  * Enforce consistent assertion style with `node:assert`.
6337
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/consistent-assert.md
6384
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-assert.md
6338
6385
  */
6339
6386
  'unicorn/consistent-assert'?: Linter.RuleEntry<[]>;
6340
6387
  /**
6341
6388
  * Enforce consistent naming for boolean names.
6342
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/consistent-boolean-name.md
6389
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-boolean-name.md
6343
6390
  */
6344
6391
  'unicorn/consistent-boolean-name'?: Linter.RuleEntry<UnicornConsistentBooleanName>;
6345
6392
  /**
6346
6393
  * Enforce consistent class member order.
6347
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/consistent-class-member-order.md
6394
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-class-member-order.md
6348
6395
  */
6349
6396
  'unicorn/consistent-class-member-order'?: Linter.RuleEntry<UnicornConsistentClassMemberOrder>;
6350
6397
  /**
6351
6398
  * Enforce consistent spelling of compound words in identifiers.
6352
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/consistent-compound-words.md
6399
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-compound-words.md
6353
6400
  */
6354
6401
  'unicorn/consistent-compound-words'?: Linter.RuleEntry<UnicornConsistentCompoundWords>;
6355
6402
  /**
6356
6403
  * Enforce consistent conditional object spread style.
6357
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/consistent-conditional-object-spread.md
6404
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-conditional-object-spread.md
6358
6405
  */
6359
6406
  'unicorn/consistent-conditional-object-spread'?: Linter.RuleEntry<UnicornConsistentConditionalObjectSpread>;
6360
6407
  /**
6361
6408
  * Prefer passing `Date` directly to the constructor when cloning.
6362
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/consistent-date-clone.md
6409
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-date-clone.md
6363
6410
  */
6364
6411
  'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>;
6365
6412
  /**
6366
6413
  * Use destructured variables over properties.
6367
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/consistent-destructuring.md
6414
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-destructuring.md
6368
6415
  */
6369
6416
  'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>;
6370
6417
  /**
6371
6418
  * Prefer consistent types when spreading a ternary in an array literal.
6372
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/consistent-empty-array-spread.md
6419
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-empty-array-spread.md
6373
6420
  */
6374
6421
  'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>;
6375
6422
  /**
6376
6423
  * Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
6377
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/consistent-existence-index-check.md
6424
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-existence-index-check.md
6378
6425
  */
6379
6426
  'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>;
6380
6427
  /**
6381
6428
  * Enforce consistent decorator position on exported classes.
6382
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/consistent-export-decorator-position.md
6429
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-export-decorator-position.md
6383
6430
  */
6384
6431
  'unicorn/consistent-export-decorator-position'?: Linter.RuleEntry<UnicornConsistentExportDecoratorPosition>;
6385
6432
  /**
6386
6433
  * Move function definitions to the highest possible scope.
6387
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/consistent-function-scoping.md
6434
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-function-scoping.md
6388
6435
  */
6389
6436
  'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
6390
6437
  /**
6391
6438
  * Enforce function syntax by role.
6392
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/consistent-function-style.md
6439
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-function-style.md
6393
6440
  */
6394
6441
  'unicorn/consistent-function-style'?: Linter.RuleEntry<UnicornConsistentFunctionStyle>;
6395
6442
  /**
6396
6443
  * Enforce consistent JSON file reads before `JSON.parse()`.
6397
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/consistent-json-file-read.md
6444
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-json-file-read.md
6398
6445
  */
6399
6446
  'unicorn/consistent-json-file-read'?: Linter.RuleEntry<UnicornConsistentJsonFileRead>;
6400
6447
  /**
6401
6448
  * Enforce consistent optional chaining for same-base member access.
6402
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/consistent-optional-chaining.md
6449
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-optional-chaining.md
6403
6450
  */
6404
6451
  'unicorn/consistent-optional-chaining'?: Linter.RuleEntry<[]>;
6405
6452
  /**
6406
6453
  * Enforce consistent style for escaping `${` in template literals.
6407
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/consistent-template-literal-escape.md
6454
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-template-literal-escape.md
6408
6455
  */
6409
6456
  'unicorn/consistent-template-literal-escape'?: Linter.RuleEntry<[]>;
6410
6457
  /**
6411
6458
  * Enforce consistent labels on tuple type elements.
6412
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/consistent-tuple-labels.md
6459
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/consistent-tuple-labels.md
6413
6460
  */
6414
6461
  'unicorn/consistent-tuple-labels'?: Linter.RuleEntry<[]>;
6415
6462
  /**
6416
6463
  * Enforce correct `Error` subclassing.
6417
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/custom-error-definition.md
6464
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/custom-error-definition.md
6418
6465
  */
6419
6466
  'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>;
6420
6467
  /**
6421
6468
  * Enforce consistent default export declarations.
6422
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/default-export-style.md
6469
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/default-export-style.md
6423
6470
  */
6424
6471
  'unicorn/default-export-style'?: Linter.RuleEntry<UnicornDefaultExportStyle>;
6425
6472
  /**
6426
6473
  * Enforce consistent style for DOM element dataset access.
6427
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/dom-node-dataset.md
6474
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/dom-node-dataset.md
6428
6475
  */
6429
6476
  'unicorn/dom-node-dataset'?: Linter.RuleEntry<UnicornDomNodeDataset>;
6430
6477
  /**
6431
6478
  * Enforce no spaces between braces.
6432
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/empty-brace-spaces.md
6479
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/empty-brace-spaces.md
6433
6480
  */
6434
6481
  'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>;
6435
6482
  /**
6436
6483
  * Enforce passing a `message` value when creating a built-in error.
6437
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/error-message.md
6484
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/error-message.md
6438
6485
  */
6439
6486
  'unicorn/error-message'?: Linter.RuleEntry<[]>;
6440
6487
  /**
6441
6488
  * Require escape sequences to use uppercase or lowercase values.
6442
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/escape-case.md
6489
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/escape-case.md
6443
6490
  */
6444
6491
  'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>;
6445
6492
  /**
6446
6493
  * Add expiration conditions to TODO comments.
6447
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/expiring-todo-comments.md
6494
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/expiring-todo-comments.md
6448
6495
  */
6449
6496
  'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>;
6450
6497
  /**
6451
6498
  * Enforce explicitly comparing the `length` or `size` property of a value.
6452
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/explicit-length-check.md
6499
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/explicit-length-check.md
6453
6500
  */
6454
6501
  'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
6455
6502
  /**
6456
6503
  * Enforce or disallow explicit `delay` argument for `setTimeout()` and `setInterval()`.
6457
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/explicit-timer-delay.md
6504
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/explicit-timer-delay.md
6458
6505
  */
6459
6506
  'unicorn/explicit-timer-delay'?: Linter.RuleEntry<UnicornExplicitTimerDelay>;
6460
6507
  /**
6461
6508
  * Enforce a case style for filenames and directory names.
6462
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/filename-case.md
6509
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/filename-case.md
6463
6510
  */
6464
6511
  'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>;
6465
6512
  /**
6466
6513
  * Require identifiers to match a specified regular expression.
6467
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/id-match.md
6514
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/id-match.md
6468
6515
  */
6469
6516
  'unicorn/id-match'?: Linter.RuleEntry<UnicornIdMatch>;
6470
6517
  /**
6471
6518
  * Enforce specific import styles per module.
6472
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/import-style.md
6519
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/import-style.md
6473
6520
  */
6474
6521
  'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>;
6475
6522
  /**
6476
6523
  * Prevent usage of variables from outside the scope of isolated functions.
6477
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/isolated-functions.md
6524
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/isolated-functions.md
6478
6525
  */
6479
6526
  'unicorn/isolated-functions'?: Linter.RuleEntry<UnicornIsolatedFunctions>;
6480
6527
  /**
6481
6528
  * Enforce a consistent style for optional loop sources.
6482
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/iteration-fallback-style.md
6529
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/iteration-fallback-style.md
6483
6530
  */
6484
6531
  'unicorn/iteration-fallback-style'?: Linter.RuleEntry<UnicornIterationFallbackStyle>;
6485
6532
  /**
6486
6533
  * Require or disallow logical assignment operator shorthand
6487
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/logical-assignment-operators.md
6534
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/logical-assignment-operators.md
6488
6535
  */
6489
6536
  'unicorn/logical-assignment-operators'?: Linter.RuleEntry<UnicornLogicalAssignmentOperators>;
6490
6537
  /**
6491
6538
  * Limit the depth of nested calls.
6492
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/max-nested-calls.md
6539
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/max-nested-calls.md
6493
6540
  */
6494
6541
  'unicorn/max-nested-calls'?: Linter.RuleEntry<UnicornMaxNestedCalls>;
6495
6542
  /**
6496
6543
  * Enforce replacements for variable, property, and filenames.
6497
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/name-replacements.md
6544
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/name-replacements.md
6498
6545
  */
6499
6546
  'unicorn/name-replacements'?: Linter.RuleEntry<UnicornNameReplacements>;
6500
6547
  /**
6501
6548
  * Enforce correct use of `new` for builtin constructors.
6502
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/new-for-builtins.md
6549
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/new-for-builtins.md
6503
6550
  */
6504
6551
  'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>;
6505
6552
  /**
6506
6553
  * Enforce specifying rules to disable in `eslint-disable` comments.
6507
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-abusive-eslint-disable.md
6554
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-abusive-eslint-disable.md
6508
6555
  */
6509
6556
  'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>;
6510
6557
  /**
6511
6558
  * Disallow recursive access to `this` within getters and setters.
6512
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-accessor-recursion.md
6559
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-accessor-recursion.md
6513
6560
  */
6514
6561
  'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>;
6515
6562
  /**
6516
6563
  * Disallow bitwise operators where a logical operator was likely intended.
6517
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-accidental-bitwise-operator.md
6564
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-accidental-bitwise-operator.md
6518
6565
  */
6519
6566
  'unicorn/no-accidental-bitwise-operator'?: Linter.RuleEntry<[]>;
6520
6567
  /**
6521
6568
  * Disallow anonymous functions and classes as the default export.
6522
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-anonymous-default-export.md
6569
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-anonymous-default-export.md
6523
6570
  */
6524
6571
  'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>;
6525
6572
  /**
6526
6573
  * Prevent passing a function reference directly to iterator methods.
6527
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-array-callback-reference.md
6574
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-callback-reference.md
6528
6575
  */
6529
6576
  'unicorn/no-array-callback-reference'?: Linter.RuleEntry<UnicornNoArrayCallbackReference>;
6530
6577
  /**
6531
6578
  * Disallow array accumulation with `Array#concat()` in loops.
6532
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-array-concat-in-loop.md
6579
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-concat-in-loop.md
6533
6580
  */
6534
6581
  'unicorn/no-array-concat-in-loop'?: Linter.RuleEntry<[]>;
6535
6582
  /**
6536
6583
  * Disallow using reference values as `Array#fill()` values.
6537
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-array-fill-with-reference-type.md
6584
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-fill-with-reference-type.md
6538
6585
  */
6539
6586
  'unicorn/no-array-fill-with-reference-type'?: Linter.RuleEntry<[]>;
6540
6587
  /**
6541
6588
  * Disallow `.fill()` after `Array.from({length: …})`.
6542
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-array-from-fill.md
6589
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-from-fill.md
6543
6590
  */
6544
6591
  'unicorn/no-array-from-fill'?: Linter.RuleEntry<[]>;
6545
6592
  /**
6546
6593
  * Disallow front-of-array mutation.
6547
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-array-front-mutation.md
6594
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-front-mutation.md
6548
6595
  */
6549
6596
  'unicorn/no-array-front-mutation'?: Linter.RuleEntry<[]>;
6550
6597
  /**
6551
6598
  * Disallow using the `this` argument in array methods.
6552
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-array-method-this-argument.md
6599
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-method-this-argument.md
6553
6600
  */
6554
6601
  'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>;
6555
6602
  /**
6556
6603
  * Replaced by `unicorn/prefer-single-call` which covers more cases.
6557
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
6604
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
6558
6605
  * @deprecated
6559
6606
  */
6560
6607
  'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>;
6561
6608
  /**
6562
6609
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
6563
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-array-reduce.md
6610
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-reduce.md
6564
6611
  */
6565
6612
  'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>;
6566
6613
  /**
6567
6614
  * Prefer `Array#toReversed()` over `Array#reverse()`.
6568
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-array-reverse.md
6615
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-reverse.md
6569
6616
  */
6570
6617
  'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>;
6571
6618
  /**
6572
6619
  * Prefer `Array#toSorted()` over `Array#sort()`.
6573
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-array-sort.md
6620
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-sort.md
6574
6621
  */
6575
6622
  'unicorn/no-array-sort'?: Linter.RuleEntry<UnicornNoArraySort>;
6576
6623
  /**
6577
6624
  * Disallow sorting arrays to get the minimum or maximum value.
6578
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-array-sort-for-min-max.md
6625
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-sort-for-min-max.md
6579
6626
  */
6580
6627
  'unicorn/no-array-sort-for-min-max'?: Linter.RuleEntry<[]>;
6581
6628
  /**
6582
6629
  * Prefer `Array#toSpliced()` over `Array#splice()`.
6583
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-array-splice.md
6630
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-array-splice.md
6584
6631
  */
6585
6632
  'unicorn/no-array-splice'?: Linter.RuleEntry<[]>;
6586
6633
  /**
6587
6634
  * Disallow asterisk prefixes in documentation comments.
6588
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-asterisk-prefix-in-documentation-comments.md
6635
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-asterisk-prefix-in-documentation-comments.md
6589
6636
  */
6590
6637
  'unicorn/no-asterisk-prefix-in-documentation-comments'?: Linter.RuleEntry<[]>;
6638
+ /**
6639
+ * Disallow asynchronous callbacks in synchronous iterator helpers.
6640
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-async-iterator-callback.md
6641
+ */
6642
+ 'unicorn/no-async-iterator-callback'?: Linter.RuleEntry<[]>;
6591
6643
  /**
6592
6644
  * Disallow async functions as `Promise#finally()` callbacks.
6593
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-async-promise-finally.md
6645
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-async-promise-finally.md
6594
6646
  */
6595
6647
  'unicorn/no-async-promise-finally'?: Linter.RuleEntry<[]>;
6596
6648
  /**
6597
6649
  * Disallow member access from await expression.
6598
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-await-expression-member.md
6650
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-await-expression-member.md
6599
6651
  */
6600
6652
  'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>;
6601
6653
  /**
6602
6654
  * Disallow using `await` in `Promise` method parameters.
6603
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-await-in-promise-methods.md
6655
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-await-in-promise-methods.md
6604
6656
  */
6605
6657
  'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>;
6606
6658
  /**
6607
6659
  * Disallow barrel files.
6608
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-barrel-files.md
6660
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-barrel-files.md
6609
6661
  */
6610
6662
  'unicorn/no-barrel-files'?: Linter.RuleEntry<[]>;
6611
6663
  /**
6612
6664
  * Disallow unnecessary `Blob` to `File` conversion.
6613
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-blob-to-file.md
6665
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-blob-to-file.md
6614
6666
  */
6615
6667
  'unicorn/no-blob-to-file'?: Linter.RuleEntry<[]>;
6616
6668
  /**
6617
6669
  * Disallow boolean-returning sort comparators.
6618
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-boolean-sort-comparator.md
6670
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-boolean-sort-comparator.md
6619
6671
  */
6620
6672
  'unicorn/no-boolean-sort-comparator'?: Linter.RuleEntry<[]>;
6621
6673
  /**
6622
- * Disallow `break` and `continue` in nested loops and switches inside loops.
6623
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-break-in-nested-loop.md
6674
+ * Disallow `break` and optionally `continue` in nested loops and switches inside loops.
6675
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-break-in-nested-loop.md
6624
6676
  */
6625
- 'unicorn/no-break-in-nested-loop'?: Linter.RuleEntry<[]>;
6677
+ 'unicorn/no-break-in-nested-loop'?: Linter.RuleEntry<UnicornNoBreakInNestedLoop>;
6626
6678
  /**
6627
6679
  * Prefer drawing canvases directly instead of converting them to images.
6628
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-canvas-to-image.md
6680
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-canvas-to-image.md
6629
6681
  */
6630
6682
  'unicorn/no-canvas-to-image'?: Linter.RuleEntry<[]>;
6631
6683
  /**
6632
6684
  * Disallow chained comparisons such as `a < b < c`.
6633
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-chained-comparison.md
6685
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-chained-comparison.md
6634
6686
  */
6635
6687
  'unicorn/no-chained-comparison'?: Linter.RuleEntry<[]>;
6636
6688
  /**
6637
6689
  * Disallow accessing `Map`, `Set`, `WeakMap`, and `WeakSet` entries with bracket notation.
6638
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-collection-bracket-access.md
6690
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-collection-bracket-access.md
6639
6691
  */
6640
6692
  'unicorn/no-collection-bracket-access'?: Linter.RuleEntry<[]>;
6641
6693
  /**
6642
6694
  * Disallow dynamic object property existence checks.
6643
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-computed-property-existence-check.md
6695
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-computed-property-existence-check.md
6644
6696
  */
6645
6697
  'unicorn/no-computed-property-existence-check'?: Linter.RuleEntry<[]>;
6646
6698
  /**
6647
6699
  * Disallow confusing uses of `Array#{splice,toSpliced}()`.
6648
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-confusing-array-splice.md
6700
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-confusing-array-splice.md
6649
6701
  */
6650
6702
  'unicorn/no-confusing-array-splice'?: Linter.RuleEntry<[]>;
6651
6703
  /**
6652
6704
  * Disallow confusing uses of `Array#with()`.
6653
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-confusing-array-with.md
6705
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-confusing-array-with.md
6654
6706
  */
6655
6707
  'unicorn/no-confusing-array-with'?: Linter.RuleEntry<[]>;
6656
6708
  /**
6657
6709
  * Do not use leading/trailing space between `console.log` parameters.
6658
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-console-spaces.md
6710
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-console-spaces.md
6659
6711
  */
6660
6712
  'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>;
6661
6713
  /**
6662
6714
  * Disallow arithmetic and bitwise operations that always evaluate to `0`.
6663
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-constant-zero-expression.md
6715
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-constant-zero-expression.md
6664
6716
  */
6665
6717
  'unicorn/no-constant-zero-expression'?: Linter.RuleEntry<[]>;
6666
6718
  /**
6667
6719
  * Disallow declarations before conditional early exits when they are only used after the exit.
6668
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-declarations-before-early-exit.md
6720
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-declarations-before-early-exit.md
6669
6721
  */
6670
6722
  'unicorn/no-declarations-before-early-exit'?: Linter.RuleEntry<[]>;
6723
+ /**
6724
+ * Disallow deprecated CSS features.
6725
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-deprecated-css-features.md
6726
+ */
6727
+ 'unicorn/no-deprecated-css-features'?: Linter.RuleEntry<UnicornNoDeprecatedCssFeatures>;
6671
6728
  /**
6672
6729
  * Do not use `document.cookie` directly.
6673
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-document-cookie.md
6730
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-document-cookie.md
6674
6731
  */
6675
6732
  'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>;
6676
6733
  /**
6677
6734
  * Disallow two comparisons of the same operands that can be combined into one.
6678
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-double-comparison.md
6735
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-double-comparison.md
6679
6736
  */
6680
6737
  'unicorn/no-double-comparison'?: Linter.RuleEntry<[]>;
6738
+ /**
6739
+ * Disallow duplicate CSS selectors.
6740
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-duplicate-css-selectors.md
6741
+ */
6742
+ 'unicorn/no-duplicate-css-selectors'?: Linter.RuleEntry<[]>;
6743
+ /**
6744
+ * Disallow duplicate font family names.
6745
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-duplicate-font-family-names.md
6746
+ */
6747
+ 'unicorn/no-duplicate-font-family-names'?: Linter.RuleEntry<[]>;
6681
6748
  /**
6682
6749
  * Disallow duplicate adjacent branches in if chains.
6683
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-duplicate-if-branches.md
6750
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-duplicate-if-branches.md
6684
6751
  */
6685
6752
  'unicorn/no-duplicate-if-branches'?: Linter.RuleEntry<[]>;
6686
6753
  /**
6687
6754
  * Disallow adjacent duplicate operands in logical expressions.
6688
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-duplicate-logical-operands.md
6755
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-duplicate-logical-operands.md
6689
6756
  */
6690
6757
  'unicorn/no-duplicate-logical-operands'?: Linter.RuleEntry<[]>;
6691
6758
  /**
6692
6759
  * Disallow `.map()` and `.filter()` in `for…of` and `for await…of` loop headers.
6693
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-duplicate-loops.md
6760
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-duplicate-loops.md
6694
6761
  */
6695
6762
  'unicorn/no-duplicate-loops'?: Linter.RuleEntry<[]>;
6696
6763
  /**
6697
6764
  * Disallow duplicate values in `Set` constructor array literals.
6698
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-duplicate-set-values.md
6765
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-duplicate-set-values.md
6699
6766
  */
6700
6767
  'unicorn/no-duplicate-set-values'?: Linter.RuleEntry<[]>;
6701
6768
  /**
6702
6769
  * Disallow empty files.
6703
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-empty-file.md
6770
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-empty-file.md
6704
6771
  */
6705
6772
  'unicorn/no-empty-file'?: Linter.RuleEntry<UnicornNoEmptyFile>;
6706
6773
  /**
6707
6774
  * Disallow assigning to built-in error properties.
6708
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-error-property-assignment.md
6775
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-error-property-assignment.md
6709
6776
  */
6710
6777
  'unicorn/no-error-property-assignment'?: Linter.RuleEntry<[]>;
6711
6778
  /**
6712
6779
  * Disallow exports in scripts.
6713
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-exports-in-scripts.md
6780
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-exports-in-scripts.md
6714
6781
  */
6715
6782
  'unicorn/no-exports-in-scripts'?: Linter.RuleEntry<[]>;
6716
6783
  /**
6717
6784
  * Prefer `for…of` over the `forEach` method.
6718
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-for-each.md
6785
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-for-each.md
6719
6786
  */
6720
6787
  'unicorn/no-for-each'?: Linter.RuleEntry<[]>;
6721
6788
  /**
6722
6789
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
6723
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-for-loop.md
6790
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-for-loop.md
6724
6791
  */
6725
6792
  'unicorn/no-for-loop'?: Linter.RuleEntry<[]>;
6726
6793
  /**
6727
6794
  * Disallow assigning properties on the global object.
6728
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-global-object-property-assignment.md
6795
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-global-object-property-assignment.md
6729
6796
  */
6730
6797
  'unicorn/no-global-object-property-assignment'?: Linter.RuleEntry<[]>;
6731
6798
  /**
6732
6799
  * Replaced by `unicorn/prefer-unicode-code-point-escapes` which covers more cases.
6733
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/deleted-and-deprecated-rules.md#no-hex-escape
6800
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/deleted-and-deprecated-rules.md#no-hex-escape
6734
6801
  * @deprecated
6735
6802
  */
6736
6803
  'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>;
6737
6804
  /**
6738
6805
  * Disallow immediate mutation after variable assignment.
6739
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-immediate-mutation.md
6806
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-immediate-mutation.md
6740
6807
  */
6741
- 'unicorn/no-immediate-mutation'?: Linter.RuleEntry<[]>;
6808
+ 'unicorn/no-immediate-mutation'?: Linter.RuleEntry<UnicornNoImmediateMutation>;
6742
6809
  /**
6743
6810
  * Disallow impossible comparisons against `.length` or `.size`.
6744
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-impossible-length-comparison.md
6811
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-impossible-length-comparison.md
6745
6812
  */
6746
6813
  'unicorn/no-impossible-length-comparison'?: Linter.RuleEntry<[]>;
6747
6814
  /**
6748
6815
  * Disallow incorrect `querySelector()` and `querySelectorAll()` usage.
6749
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-incorrect-query-selector.md
6816
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-incorrect-query-selector.md
6750
6817
  */
6751
6818
  'unicorn/no-incorrect-query-selector'?: Linter.RuleEntry<[]>;
6752
6819
  /**
6753
6820
  * Disallow incorrect template literal interpolation syntax.
6754
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-incorrect-template-string-interpolation.md
6821
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-incorrect-template-string-interpolation.md
6755
6822
  */
6756
6823
  'unicorn/no-incorrect-template-string-interpolation'?: Linter.RuleEntry<[]>;
6757
6824
  /**
6758
6825
  * Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
6759
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
6826
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
6760
6827
  * @deprecated
6761
6828
  */
6762
6829
  'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>;
6763
6830
  /**
6764
6831
  * Disallow `instanceof` with built-in objects
6765
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-instanceof-builtins.md
6832
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-instanceof-builtins.md
6766
6833
  */
6767
6834
  'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
6768
6835
  /**
6769
6836
  * Disallow calling functions and constructors with an invalid number of arguments.
6770
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-invalid-argument-count.md
6837
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-invalid-argument-count.md
6771
6838
  */
6772
6839
  'unicorn/no-invalid-argument-count'?: Linter.RuleEntry<UnicornNoInvalidArgumentCount>;
6773
6840
  /**
6774
6841
  * Disallow comparing a single character from a string to a multi-character string.
6775
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-invalid-character-comparison.md
6842
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-invalid-character-comparison.md
6776
6843
  */
6777
6844
  'unicorn/no-invalid-character-comparison'?: Linter.RuleEntry<[]>;
6778
6845
  /**
6779
6846
  * Disallow invalid options in `fetch()` and `new Request()`.
6780
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-invalid-fetch-options.md
6847
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-invalid-fetch-options.md
6781
6848
  */
6782
6849
  'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>;
6783
6850
  /**
6784
6851
  * Disallow invalid `accept` values on file inputs.
6785
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-invalid-file-input-accept.md
6852
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-invalid-file-input-accept.md
6786
6853
  */
6787
6854
  'unicorn/no-invalid-file-input-accept'?: Linter.RuleEntry<[]>;
6855
+ /**
6856
+ * Disallow unknown media features and invalid values for known media features.
6857
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-invalid-media-features.md
6858
+ */
6859
+ 'unicorn/no-invalid-media-features'?: Linter.RuleEntry<[]>;
6788
6860
  /**
6789
6861
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
6790
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-invalid-remove-event-listener.md
6862
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-invalid-remove-event-listener.md
6791
6863
  */
6792
6864
  'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>;
6793
6865
  /**
6794
6866
  * Disallow invalid implementations of well-known symbol methods.
6795
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-invalid-well-known-symbol-methods.md
6867
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-invalid-well-known-symbol-methods.md
6796
6868
  */
6797
6869
  'unicorn/no-invalid-well-known-symbol-methods'?: Linter.RuleEntry<[]>;
6798
6870
  /**
6799
6871
  * Disallow identifiers starting with `new` or `class`.
6800
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-keyword-prefix.md
6872
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-keyword-prefix.md
6801
6873
  */
6802
6874
  'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
6803
6875
  /**
6804
6876
  * Disallow accessing `event.currentTarget` after the synchronous event dispatch has finished.
6805
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-late-current-target-access.md
6877
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-late-current-target-access.md
6806
6878
  */
6807
6879
  'unicorn/no-late-current-target-access'?: Linter.RuleEntry<[]>;
6808
6880
  /**
6809
6881
  * Disallow event-control method calls after the synchronous event dispatch has finished.
6810
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-late-event-control.md
6882
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-late-event-control.md
6811
6883
  */
6812
6884
  'unicorn/no-late-event-control'?: Linter.RuleEntry<[]>;
6813
6885
  /**
6814
6886
  * Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
6815
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
6887
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
6816
6888
  * @deprecated
6817
6889
  */
6818
6890
  'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>;
6819
6891
  /**
6820
6892
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
6821
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-lonely-if.md
6893
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-lonely-if.md
6822
6894
  */
6823
6895
  'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>;
6824
6896
  /**
6825
6897
  * Disallow mutating a loop iterable during iteration.
6826
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-loop-iterable-mutation.md
6898
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-loop-iterable-mutation.md
6827
6899
  */
6828
6900
  'unicorn/no-loop-iterable-mutation'?: Linter.RuleEntry<[]>;
6829
6901
  /**
6830
6902
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
6831
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-magic-array-flat-depth.md
6903
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-magic-array-flat-depth.md
6832
6904
  */
6833
6905
  'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>;
6834
6906
  /**
6835
6907
  * Disallow manually wrapped comments.
6836
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-manually-wrapped-comments.md
6908
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-manually-wrapped-comments.md
6837
6909
  */
6838
6910
  'unicorn/no-manually-wrapped-comments'?: Linter.RuleEntry<[]>;
6839
6911
  /**
6840
6912
  * Disallow checking a Map key before accessing a different key.
6841
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-mismatched-map-key.md
6913
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-mismatched-map-key.md
6842
6914
  */
6843
6915
  'unicorn/no-mismatched-map-key'?: Linter.RuleEntry<[]>;
6844
6916
  /**
6845
6917
  * Disallow misrefactored compound assignments where the target is duplicated in the right-hand side.
6846
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-misrefactored-assignment.md
6918
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-misrefactored-assignment.md
6847
6919
  */
6848
6920
  'unicorn/no-misrefactored-assignment'?: Linter.RuleEntry<[]>;
6849
6921
  /**
6850
6922
  * Disallow references to missing local resources.
6851
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-missing-local-resource.md
6923
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-missing-local-resource.md
6852
6924
  */
6853
6925
  'unicorn/no-missing-local-resource'?: Linter.RuleEntry<[]>;
6854
6926
  /**
6855
6927
  * Disallow calling Promise executor resolver functions more than once on the same execution path.
6856
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-multiple-promise-resolver-calls.md
6928
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-multiple-promise-resolver-calls.md
6857
6929
  */
6858
6930
  'unicorn/no-multiple-promise-resolver-calls'?: Linter.RuleEntry<[]>;
6859
6931
  /**
6860
6932
  * Disallow named usage of default import and export.
6861
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-named-default.md
6933
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-named-default.md
6862
6934
  */
6863
6935
  'unicorn/no-named-default'?: Linter.RuleEntry<[]>;
6864
6936
  /**
6865
6937
  * Disallow negated array predicate calls.
6866
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-negated-array-predicate.md
6938
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-negated-array-predicate.md
6867
6939
  */
6868
6940
  'unicorn/no-negated-array-predicate'?: Linter.RuleEntry<[]>;
6869
6941
  /**
6870
6942
  * Disallow negated comparisons.
6871
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-negated-comparison.md
6943
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-negated-comparison.md
6872
6944
  */
6873
6945
  'unicorn/no-negated-comparison'?: Linter.RuleEntry<UnicornNoNegatedComparison>;
6874
6946
  /**
6875
6947
  * Disallow negated conditions.
6876
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-negated-condition.md
6948
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-negated-condition.md
6877
6949
  */
6878
6950
  'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>;
6879
6951
  /**
6880
6952
  * Disallow negated expression in equality check.
6881
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-negation-in-equality-check.md
6953
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-negation-in-equality-check.md
6882
6954
  */
6883
6955
  'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>;
6884
6956
  /**
6885
6957
  * Disallow nested ternary expressions.
6886
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-nested-ternary.md
6958
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-nested-ternary.md
6887
6959
  */
6888
6960
  'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>;
6961
+ /**
6962
+ * Disallow nesting under selector lists with mixed specificity.
6963
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-nesting-with-mixed-specificity.md
6964
+ */
6965
+ 'unicorn/no-nesting-with-mixed-specificity'?: Linter.RuleEntry<[]>;
6889
6966
  /**
6890
6967
  * Disallow `new Array()`.
6891
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-new-array.md
6968
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-new-array.md
6892
6969
  */
6893
6970
  'unicorn/no-new-array'?: Linter.RuleEntry<[]>;
6894
6971
  /**
6895
6972
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
6896
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-new-buffer.md
6973
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-new-buffer.md
6897
6974
  */
6898
6975
  'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>;
6899
6976
  /**
6900
6977
  * Disallow non-function values with function-style verb prefixes.
6901
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-non-function-verb-prefix.md
6978
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-non-function-verb-prefix.md
6902
6979
  */
6903
6980
  'unicorn/no-non-function-verb-prefix'?: Linter.RuleEntry<UnicornNoNonFunctionVerbPrefix>;
6904
6981
  /**
6905
6982
  * Disallow non-standard properties on built-in objects.
6906
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-nonstandard-builtin-properties.md
6983
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-nonstandard-builtin-properties.md
6907
6984
  */
6908
6985
  'unicorn/no-nonstandard-builtin-properties'?: Linter.RuleEntry<[]>;
6909
6986
  /**
6910
6987
  * Disallow the use of the `null` literal.
6911
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-null.md
6988
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-null.md
6912
6989
  */
6913
6990
  'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>;
6914
6991
  /**
6915
6992
  * Disallow the use of objects as default parameters.
6916
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-object-as-default-parameter.md
6993
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-object-as-default-parameter.md
6917
6994
  */
6918
6995
  'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>;
6919
6996
  /**
6920
6997
  * Disallow `Object` methods with `Map` or `Set`.
6921
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-object-methods-with-collections.md
6998
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-object-methods-with-collections.md
6922
6999
  */
6923
7000
  'unicorn/no-object-methods-with-collections'?: Linter.RuleEntry<[]>;
6924
7001
  /**
6925
7002
  * Disallow optional chaining on undeclared variables.
6926
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-optional-chaining-on-undeclared-variable.md
7003
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-optional-chaining-on-undeclared-variable.md
6927
7004
  */
6928
7005
  'unicorn/no-optional-chaining-on-undeclared-variable'?: Linter.RuleEntry<[]>;
6929
7006
  /**
6930
7007
  * Disallow `process.exit()`.
6931
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-process-exit.md
7008
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-process-exit.md
6932
7009
  */
6933
7010
  'unicorn/no-process-exit'?: Linter.RuleEntry<[]>;
6934
7011
  /**
6935
7012
  * Disallow comparisons made redundant by an equality check in the same logical AND.
6936
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-redundant-comparison.md
7013
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-redundant-comparison.md
6937
7014
  */
6938
7015
  'unicorn/no-redundant-comparison'?: Linter.RuleEntry<[]>;
7016
+ /**
7017
+ * Disallow nested style rules that do not modify the parent selector.
7018
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-redundant-nested-style-rules.md
7019
+ */
7020
+ 'unicorn/no-redundant-nested-style-rules'?: Linter.RuleEntry<[]>;
6939
7021
  /**
6940
7022
  * Disallow using the return value of `Array#push()` and `Array#unshift()`.
6941
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-return-array-push.md
7023
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-return-array-push.md
6942
7024
  */
6943
7025
  'unicorn/no-return-array-push'?: Linter.RuleEntry<[]>;
6944
7026
  /**
6945
7027
  * Disallow selector syntax in DOM names.
6946
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-selector-as-dom-name.md
7028
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-selector-as-dom-name.md
6947
7029
  */
6948
7030
  'unicorn/no-selector-as-dom-name'?: Linter.RuleEntry<[]>;
6949
7031
  /**
6950
7032
  * Disallow shorthand properties that override related longhand properties.
6951
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-shorthand-property-overrides.md
7033
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-shorthand-property-overrides.md
6952
7034
  */
6953
7035
  'unicorn/no-shorthand-property-overrides'?: Linter.RuleEntry<[]>;
6954
7036
  /**
6955
7037
  * Disallow passing single-element arrays to `Promise` methods.
6956
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-single-promise-in-promise-methods.md
7038
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-single-promise-in-promise-methods.md
6957
7039
  */
6958
7040
  'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>;
6959
7041
  /**
6960
7042
  * Disallow classes that only have static members.
6961
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-static-only-class.md
7043
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-static-only-class.md
6962
7044
  */
6963
7045
  'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>;
6964
7046
  /**
6965
7047
  * Prefer comparing values directly over subtracting and comparing to `0`.
6966
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-subtraction-comparison.md
7048
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-subtraction-comparison.md
6967
7049
  */
6968
7050
  'unicorn/no-subtraction-comparison'?: Linter.RuleEntry<[]>;
6969
7051
  /**
6970
7052
  * Disallow `then` property.
6971
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-thenable.md
7053
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-thenable.md
6972
7054
  */
6973
7055
  'unicorn/no-thenable'?: Linter.RuleEntry<[]>;
6974
7056
  /**
6975
7057
  * Disallow assigning `this` to a variable.
6976
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-this-assignment.md
7058
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-this-assignment.md
6977
7059
  */
6978
7060
  'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>;
6979
7061
  /**
6980
7062
  * Disallow `this` outside of classes.
6981
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-this-outside-of-class.md
7063
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-this-outside-of-class.md
6982
7064
  */
6983
7065
  'unicorn/no-this-outside-of-class'?: Linter.RuleEntry<[]>;
6984
7066
  /**
6985
7067
  * Disallow assigning to top-level variables from inside functions.
6986
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-top-level-assignment-in-function.md
7068
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-top-level-assignment-in-function.md
6987
7069
  */
6988
7070
  'unicorn/no-top-level-assignment-in-function'?: Linter.RuleEntry<[]>;
6989
7071
  /**
6990
7072
  * Disallow top-level side effects in exported modules.
6991
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-top-level-side-effects.md
7073
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-top-level-side-effects.md
6992
7074
  */
6993
7075
  'unicorn/no-top-level-side-effects'?: Linter.RuleEntry<[]>;
6994
7076
  /**
6995
7077
  * Disallow `all` as a transition property.
6996
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-transition-all.md
7078
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-transition-all.md
6997
7079
  */
6998
7080
  'unicorn/no-transition-all'?: Linter.RuleEntry<[]>;
6999
7081
  /**
7000
7082
  * Disallow comparing `undefined` using `typeof`.
7001
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-typeof-undefined.md
7083
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-typeof-undefined.md
7002
7084
  */
7003
7085
  'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
7004
7086
  /**
7005
7087
  * Disallow referencing methods without calling them.
7006
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-uncalled-method.md
7088
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-uncalled-method.md
7007
7089
  */
7008
7090
  'unicorn/no-uncalled-method'?: Linter.RuleEntry<[]>;
7009
7091
  /**
7010
7092
  * Require class members to be declared.
7011
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-undeclared-class-members.md
7093
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-undeclared-class-members.md
7012
7094
  */
7013
7095
  'unicorn/no-undeclared-class-members'?: Linter.RuleEntry<[]>;
7096
+ /**
7097
+ * Disallow unknown and noncanonical CSS annotations.
7098
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unknown-css-annotations.md
7099
+ */
7100
+ 'unicorn/no-unknown-css-annotations'?: Linter.RuleEntry<[]>;
7101
+ /**
7102
+ * Disallow unknown pseudo-class and pseudo-element selectors.
7103
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unknown-pseudo-selectors.md
7104
+ */
7105
+ 'unicorn/no-unknown-pseudo-selectors'?: Linter.RuleEntry<UnicornNoUnknownPseudoSelectors>;
7014
7106
  /**
7015
7107
  * Disallow using `1` as the `depth` argument of `Array#flat()`.
7016
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unnecessary-array-flat-depth.md
7108
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-array-flat-depth.md
7017
7109
  */
7018
7110
  'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>;
7019
7111
  /**
7020
7112
  * Disallow `Array#flatMap()` callbacks that only wrap a single item.
7021
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unnecessary-array-flat-map.md
7113
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-array-flat-map.md
7022
7114
  */
7023
7115
  'unicorn/no-unnecessary-array-flat-map'?: Linter.RuleEntry<[]>;
7024
7116
  /**
7025
7117
  * Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
7026
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unnecessary-array-splice-count.md
7118
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-array-splice-count.md
7027
7119
  */
7028
7120
  'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>;
7029
7121
  /**
7030
7122
  * Disallow awaiting non-promise values.
7031
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unnecessary-await.md
7123
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-await.md
7032
7124
  */
7033
7125
  'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>;
7034
7126
  /**
7035
7127
  * Disallow unnecessary comparisons against boolean literals.
7036
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unnecessary-boolean-comparison.md
7128
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-boolean-comparison.md
7037
7129
  */
7038
7130
  'unicorn/no-unnecessary-boolean-comparison'?: Linter.RuleEntry<[]>;
7039
7131
  /**
7040
7132
  * Disallow unnecessary options in `fetch()` and `new Request()`.
7041
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unnecessary-fetch-options.md
7133
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-fetch-options.md
7042
7134
  */
7043
7135
  'unicorn/no-unnecessary-fetch-options'?: Linter.RuleEntry<[]>;
7044
7136
  /**
7045
7137
  * Disallow unnecessary `globalThis` references.
7046
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unnecessary-global-this.md
7138
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-global-this.md
7047
7139
  */
7048
7140
  'unicorn/no-unnecessary-global-this'?: Linter.RuleEntry<[]>;
7049
7141
  /**
7050
7142
  * Disallow unnecessary nested ternary expressions.
7051
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unnecessary-nested-ternary.md
7143
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-nested-ternary.md
7052
7144
  */
7053
7145
  'unicorn/no-unnecessary-nested-ternary'?: Linter.RuleEntry<[]>;
7054
7146
  /**
7055
7147
  * Enforce the use of built-in methods instead of unnecessary polyfills.
7056
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unnecessary-polyfills.md
7148
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-polyfills.md
7057
7149
  */
7058
7150
  'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
7059
7151
  /**
7060
7152
  * Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
7061
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unnecessary-slice-end.md
7153
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-slice-end.md
7062
7154
  */
7063
7155
  'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>;
7064
7156
  /**
7065
7157
  * Disallow `Array#splice()` when simpler alternatives exist.
7066
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unnecessary-splice.md
7158
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-splice.md
7067
7159
  */
7068
7160
  'unicorn/no-unnecessary-splice'?: Linter.RuleEntry<[]>;
7069
7161
  /**
7070
7162
  * Disallow `String#trim()` before `String#startsWith()` or `String#endsWith()`.
7071
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unnecessary-string-trim.md
7163
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unnecessary-string-trim.md
7072
7164
  */
7073
7165
  'unicorn/no-unnecessary-string-trim'?: Linter.RuleEntry<[]>;
7074
7166
  /**
7075
7167
  * Disallow unreadable array destructuring.
7076
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unreadable-array-destructuring.md
7168
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unreadable-array-destructuring.md
7077
7169
  */
7078
7170
  'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<UnicornNoUnreadableArrayDestructuring>;
7079
7171
  /**
7080
7172
  * Disallow unreadable iterable expressions in `for…of` and `for await…of` loop headers.
7081
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unreadable-for-of-expression.md
7173
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unreadable-for-of-expression.md
7082
7174
  */
7083
7175
  'unicorn/no-unreadable-for-of-expression'?: Linter.RuleEntry<[]>;
7084
7176
  /**
7085
7177
  * Disallow unreadable IIFEs.
7086
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unreadable-iife.md
7178
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unreadable-iife.md
7087
7179
  */
7088
7180
  'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>;
7089
7181
  /**
7090
7182
  * Disallow unreadable `new` expressions.
7091
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unreadable-new-expression.md
7183
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unreadable-new-expression.md
7092
7184
  */
7093
7185
  'unicorn/no-unreadable-new-expression'?: Linter.RuleEntry<[]>;
7094
7186
  /**
7095
7187
  * Disallow unreadable object destructuring.
7096
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unreadable-object-destructuring.md
7188
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unreadable-object-destructuring.md
7097
7189
  */
7098
7190
  'unicorn/no-unreadable-object-destructuring'?: Linter.RuleEntry<[]>;
7099
7191
  /**
7100
7192
  * Prevent unsafe use of ArrayBuffer view `.buffer`.
7101
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unsafe-buffer-conversion.md
7193
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unsafe-buffer-conversion.md
7102
7194
  */
7103
7195
  'unicorn/no-unsafe-buffer-conversion'?: Linter.RuleEntry<[]>;
7104
7196
  /**
7105
7197
  * Disallow unsafe DOM HTML APIs.
7106
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unsafe-dom-html.md
7198
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unsafe-dom-html.md
7107
7199
  */
7108
7200
  'unicorn/no-unsafe-dom-html'?: Linter.RuleEntry<[]>;
7109
7201
  /**
7110
7202
  * Disallow reading `.value` from `Promise.allSettled()` results without a fulfilled status guard.
7111
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unsafe-promise-all-settled-values.md
7203
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unsafe-promise-all-settled-values.md
7112
7204
  */
7113
7205
  'unicorn/no-unsafe-promise-all-settled-values'?: Linter.RuleEntry<[]>;
7114
7206
  /**
7115
7207
  * Disallow unsafe values as property keys.
7116
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unsafe-property-key.md
7208
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unsafe-property-key.md
7117
7209
  */
7118
7210
  'unicorn/no-unsafe-property-key'?: Linter.RuleEntry<[]>;
7119
7211
  /**
7120
7212
  * Disallow interpolation into SQL strings passed to Node’s `node:sqlite` APIs.
7121
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unsafe-sqlite-interpolation.md
7213
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unsafe-sqlite-interpolation.md
7122
7214
  */
7123
7215
  'unicorn/no-unsafe-sqlite-interpolation'?: Linter.RuleEntry<[]>;
7124
7216
  /**
7125
7217
  * Disallow non-literal replacement values in `String#replace()` and `String#replaceAll()`.
7126
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unsafe-string-replacement.md
7218
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unsafe-string-replacement.md
7127
7219
  */
7128
7220
  'unicorn/no-unsafe-string-replacement'?: Linter.RuleEntry<[]>;
7129
7221
  /**
7130
- * Disallow ignoring the return value of selected array methods.
7131
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unused-array-method-return.md
7222
+ * Disallow unscoped CSS nesting selectors.
7223
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unscoped-css-nesting-selector.md
7224
+ */
7225
+ 'unicorn/no-unscoped-css-nesting-selector'?: Linter.RuleEntry<UnicornNoUnscopedCssNestingSelector>;
7226
+ /**
7227
+ * Replaced by `unicorn/no-unused-builtin-method-return` which covers more cases.
7228
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/deleted-and-deprecated-rules.md#no-unused-array-method-return
7229
+ * @deprecated
7132
7230
  */
7133
7231
  'unicorn/no-unused-array-method-return'?: Linter.RuleEntry<[]>;
7232
+ /**
7233
+ * Disallow ignoring the return value of selected built-in methods.
7234
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unused-builtin-method-return.md
7235
+ */
7236
+ 'unicorn/no-unused-builtin-method-return'?: Linter.RuleEntry<[]>;
7237
+ /**
7238
+ * Disallow discarding lazy iterator helpers.
7239
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unused-iterator-helper.md
7240
+ */
7241
+ 'unicorn/no-unused-iterator-helper'?: Linter.RuleEntry<[]>;
7134
7242
  /**
7135
7243
  * Disallow unused object properties.
7136
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unused-properties.md
7244
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-unused-properties.md
7137
7245
  */
7138
7246
  'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>;
7139
7247
  /**
7140
7248
  * Disallow unnecessary `Boolean()` casts in array predicate callbacks.
7141
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-boolean-cast.md
7249
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-boolean-cast.md
7142
7250
  */
7143
7251
  'unicorn/no-useless-boolean-cast'?: Linter.RuleEntry<[]>;
7144
7252
  /**
7145
7253
  * Disallow useless type coercions of values that are already of the target type.
7146
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-coercion.md
7254
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-coercion.md
7147
7255
  */
7148
7256
  'unicorn/no-useless-coercion'?: Linter.RuleEntry<[]>;
7149
7257
  /**
7150
7258
  * Disallow useless values or fallbacks in `Set`, `Map`, `WeakSet`, or `WeakMap`.
7151
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-collection-argument.md
7259
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-collection-argument.md
7152
7260
  */
7153
7261
  'unicorn/no-useless-collection-argument'?: Linter.RuleEntry<[]>;
7154
7262
  /**
7155
7263
  * Disallow useless compound assignments such as `x += 0`.
7156
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-compound-assignment.md
7264
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-compound-assignment.md
7157
7265
  */
7158
7266
  'unicorn/no-useless-compound-assignment'?: Linter.RuleEntry<[]>;
7159
7267
  /**
7160
7268
  * Disallow useless concatenation of literals.
7161
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-concat.md
7269
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-concat.md
7162
7270
  */
7163
7271
  'unicorn/no-useless-concat'?: Linter.RuleEntry<[]>;
7164
7272
  /**
7165
7273
  * Disallow useless `continue` statements.
7166
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-continue.md
7274
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-continue.md
7167
7275
  */
7168
7276
  'unicorn/no-useless-continue'?: Linter.RuleEntry<[]>;
7169
7277
  /**
7170
7278
  * Disallow unnecessary existence checks before deletion.
7171
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-delete-check.md
7279
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-delete-check.md
7172
7280
  */
7173
7281
  'unicorn/no-useless-delete-check'?: Linter.RuleEntry<[]>;
7174
7282
  /**
7175
7283
  * Disallow `else` after a statement that exits.
7176
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-else.md
7284
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-else.md
7177
7285
  */
7178
7286
  'unicorn/no-useless-else'?: Linter.RuleEntry<[]>;
7179
7287
  /**
7180
7288
  * Disallow unnecessary `Error.captureStackTrace(…)`.
7181
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-error-capture-stack-trace.md
7289
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-error-capture-stack-trace.md
7182
7290
  */
7183
7291
  'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>;
7184
7292
  /**
7185
7293
  * Disallow useless fallback when spreading in object literals.
7186
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-fallback-in-spread.md
7294
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-fallback-in-spread.md
7187
7295
  */
7188
7296
  'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>;
7189
7297
  /**
7190
7298
  * Disallow unnecessary `.toArray()` on iterators.
7191
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-iterator-to-array.md
7299
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-iterator-to-array.md
7192
7300
  */
7193
7301
  'unicorn/no-useless-iterator-to-array'?: Linter.RuleEntry<[]>;
7194
7302
  /**
7195
7303
  * Disallow useless array length check.
7196
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-length-check.md
7304
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-length-check.md
7197
7305
  */
7198
7306
  'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>;
7199
7307
  /**
7200
7308
  * Disallow unnecessary operands in logical expressions involving boolean literals.
7201
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-logical-operand.md
7309
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-logical-operand.md
7202
7310
  */
7203
7311
  'unicorn/no-useless-logical-operand'?: Linter.RuleEntry<[]>;
7204
7312
  /**
7205
7313
  * Disallow useless overrides of class methods.
7206
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-override.md
7314
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-override.md
7207
7315
  */
7208
7316
  'unicorn/no-useless-override'?: Linter.RuleEntry<[]>;
7209
7317
  /**
7210
7318
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
7211
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-promise-resolve-reject.md
7319
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-promise-resolve-reject.md
7212
7320
  */
7213
7321
  'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>;
7214
7322
  /**
7215
7323
  * Disallow redundant re-exports.
7216
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-re-export.md
7324
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-re-export.md
7217
7325
  */
7218
7326
  'unicorn/no-useless-re-export'?: Linter.RuleEntry<[]>;
7219
7327
  /**
7220
7328
  * Disallow simple recursive function calls that can be replaced with a loop.
7221
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-recursion.md
7329
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-recursion.md
7222
7330
  */
7223
7331
  'unicorn/no-useless-recursion'?: Linter.RuleEntry<[]>;
7332
+ /**
7333
+ * Disallow unnecessary `Set` construction around `Set` methods.
7334
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-set-construction.md
7335
+ */
7336
+ 'unicorn/no-useless-set-construction'?: Linter.RuleEntry<[]>;
7224
7337
  /**
7225
7338
  * Disallow unnecessary spread.
7226
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-spread.md
7339
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-spread.md
7227
7340
  */
7228
7341
  'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>;
7229
7342
  /**
7230
7343
  * Disallow useless case in switch statements.
7231
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-switch-case.md
7344
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-switch-case.md
7232
7345
  */
7233
7346
  'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>;
7234
7347
  /**
7235
7348
  * Disallow useless template literal expressions.
7236
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-template-literals.md
7349
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-template-literals.md
7237
7350
  */
7238
7351
  'unicorn/no-useless-template-literals'?: Linter.RuleEntry<[]>;
7239
7352
  /**
7240
7353
  * Disallow useless `undefined`.
7241
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-undefined.md
7354
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-useless-undefined.md
7242
7355
  */
7243
7356
  'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>;
7357
+ /**
7358
+ * Disallow returning or exporting resources declared with `using`, including through capturing functions.
7359
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-using-resource-escape.md
7360
+ */
7361
+ 'unicorn/no-using-resource-escape'?: Linter.RuleEntry<[]>;
7244
7362
  /**
7245
7363
  * Disallow the bitwise XOR operator where exponentiation was likely intended.
7246
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-xor-as-exponentiation.md
7364
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-xor-as-exponentiation.md
7247
7365
  */
7248
7366
  'unicorn/no-xor-as-exponentiation'?: Linter.RuleEntry<[]>;
7249
7367
  /**
7250
7368
  * Disallow number literals with zero fractions or dangling dots.
7251
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-zero-fractions.md
7369
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/no-zero-fractions.md
7252
7370
  */
7253
7371
  'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>;
7254
7372
  /**
7255
7373
  * Enforce proper case for numeric literals.
7256
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/number-literal-case.md
7374
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/number-literal-case.md
7257
7375
  */
7258
7376
  'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>;
7259
7377
  /**
7260
7378
  * Enforce the style of numeric separators by correctly grouping digits.
7261
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/numeric-separators-style.md
7379
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/numeric-separators-style.md
7262
7380
  */
7263
7381
  'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
7264
7382
  /**
7265
7383
  * Require assignment operator shorthand where possible.
7266
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/operator-assignment.md
7384
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/operator-assignment.md
7267
7385
  */
7268
7386
  'unicorn/operator-assignment'?: Linter.RuleEntry<UnicornOperatorAssignment>;
7269
7387
  /**
7270
7388
  * Prefer `AbortSignal.any()` over manually forwarding abort events between signals.
7271
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-abort-signal-any.md
7389
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-abort-signal-any.md
7272
7390
  */
7273
7391
  'unicorn/prefer-abort-signal-any'?: Linter.RuleEntry<[]>;
7274
7392
  /**
7275
7393
  * Prefer `AbortSignal.timeout()` over manually aborting an `AbortController` with `setTimeout()`.
7276
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-abort-signal-timeout.md
7394
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-abort-signal-timeout.md
7277
7395
  */
7278
7396
  'unicorn/prefer-abort-signal-timeout'?: Linter.RuleEntry<[]>;
7279
7397
  /**
7280
7398
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
7281
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-add-event-listener.md
7399
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-add-event-listener.md
7282
7400
  */
7283
7401
  'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>;
7284
7402
  /**
7285
7403
  * Prefer an options object over a boolean in `.addEventListener()`.
7286
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-add-event-listener-options.md
7404
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-add-event-listener-options.md
7287
7405
  */
7288
7406
  'unicorn/prefer-add-event-listener-options'?: Linter.RuleEntry<[]>;
7289
7407
  /**
7290
7408
  * Prefer `AggregateError` when throwing collected errors.
7291
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-aggregate-error.md
7409
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-aggregate-error.md
7292
7410
  */
7293
7411
  'unicorn/prefer-aggregate-error'?: Linter.RuleEntry<[]>;
7294
7412
  /**
7295
7413
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
7296
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-array-find.md
7414
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-find.md
7297
7415
  */
7298
7416
  'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>;
7299
7417
  /**
7300
7418
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
7301
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-array-flat.md
7419
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-flat.md
7302
7420
  */
7303
7421
  'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>;
7304
7422
  /**
7305
7423
  * Prefer `.flatMap(…)` over `.map(…).flat()` and `.filter(…).flatMap(…)`.
7306
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-array-flat-map.md
7424
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-flat-map.md
7307
7425
  */
7308
7426
  'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>;
7309
7427
  /**
7310
- * Prefer `Array.fromAsync()` over `for await…of` array accumulation.
7311
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-array-from-async.md
7428
+ * Prefer `Array.fromAsync()` over array accumulation loops.
7429
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-from-async.md
7312
7430
  */
7313
7431
  'unicorn/prefer-array-from-async'?: Linter.RuleEntry<[]>;
7314
7432
  /**
7315
7433
  * Prefer using the `Array.from()` mapping function argument.
7316
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-array-from-map.md
7434
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-from-map.md
7317
7435
  */
7318
7436
  'unicorn/prefer-array-from-map'?: Linter.RuleEntry<[]>;
7319
7437
  /**
7320
7438
  * Prefer `Array.from({length}, …)` when creating range arrays.
7321
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-array-from-range.md
7439
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-from-range.md
7322
7440
  */
7323
7441
  'unicorn/prefer-array-from-range'?: Linter.RuleEntry<[]>;
7324
7442
  /**
7325
7443
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
7326
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-array-index-of.md
7444
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-index-of.md
7327
7445
  */
7328
7446
  'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>;
7329
7447
  /**
7330
7448
  * Prefer iterating an array directly or with `Array#keys()` over `Array#entries()` when the index or value is unused.
7331
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-array-iterable-methods.md
7449
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-iterable-methods.md
7332
7450
  */
7333
7451
  'unicorn/prefer-array-iterable-methods'?: Linter.RuleEntry<[]>;
7334
7452
  /**
7335
7453
  * Prefer last-oriented array methods over `Array#reverse()` or `Array#toReversed()` followed by a method.
7336
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-array-last-methods.md
7454
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-last-methods.md
7337
7455
  */
7338
7456
  'unicorn/prefer-array-last-methods'?: Linter.RuleEntry<[]>;
7339
7457
  /**
7340
7458
  * Prefer `Array#slice()` over `Array#splice()` when reading from the returned array.
7341
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-array-slice.md
7459
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-slice.md
7342
7460
  */
7343
7461
  'unicorn/prefer-array-slice'?: Linter.RuleEntry<[]>;
7344
7462
  /**
7345
7463
  * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
7346
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-array-some.md
7464
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-array-some.md
7347
7465
  */
7348
7466
  'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>;
7349
7467
  /**
7350
7468
  * Prefer `.at()` method for index access and `String#charAt()`.
7351
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-at.md
7469
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-at.md
7352
7470
  */
7353
7471
  'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>;
7354
7472
  /**
7355
7473
  * Prefer `await` over promise chaining.
7356
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-await.md
7474
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-await.md
7357
7475
  */
7358
7476
  'unicorn/prefer-await'?: Linter.RuleEntry<[]>;
7359
7477
  /**
7360
7478
  * Prefer `BigInt` literals over the constructor.
7361
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-bigint-literals.md
7479
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-bigint-literals.md
7362
7480
  */
7363
7481
  'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>;
7364
7482
  /**
7365
7483
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
7366
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-blob-reading-methods.md
7484
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-blob-reading-methods.md
7367
7485
  */
7368
7486
  'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>;
7369
7487
  /**
7370
7488
  * Prefer block statements over IIFEs used only for scoping.
7371
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-block-statement-over-iife.md
7489
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-block-statement-over-iife.md
7372
7490
  */
7373
7491
  'unicorn/prefer-block-statement-over-iife'?: Linter.RuleEntry<[]>;
7374
7492
  /**
7375
7493
  * Prefer directly returning boolean expressions over `if` statements.
7376
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-boolean-return.md
7494
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-boolean-return.md
7377
7495
  */
7378
7496
  'unicorn/prefer-boolean-return'?: Linter.RuleEntry<[]>;
7379
7497
  /**
7380
7498
  * Prefer class field declarations over `this` assignments in constructors.
7381
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-class-fields.md
7499
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-class-fields.md
7382
7500
  */
7383
7501
  'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>;
7384
7502
  /**
7385
7503
  * Prefer using `Element#classList.toggle()` to toggle class names.
7386
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-classlist-toggle.md
7504
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-classlist-toggle.md
7387
7505
  */
7388
7506
  'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>;
7389
7507
  /**
7390
7508
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
7391
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-code-point.md
7509
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-code-point.md
7392
7510
  */
7393
7511
  'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>;
7394
7512
  /**
7395
- * Prefer early continues over whole-loop conditional wrapping.
7396
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-continue.md
7513
+ * Prefer combining consecutive guards with identical exit statements.
7514
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-combined-guards.md
7515
+ */
7516
+ 'unicorn/prefer-combined-guards'?: Linter.RuleEntry<UnicornPreferCombinedGuards>;
7517
+ /**
7518
+ * Prefer early continues over conditionals wrapping the remainder of the loop body.
7519
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-continue.md
7397
7520
  */
7398
7521
  'unicorn/prefer-continue'?: Linter.RuleEntry<UnicornPreferContinue>;
7399
7522
  /**
7400
7523
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
7401
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-date-now.md
7524
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-date-now.md
7402
7525
  */
7403
7526
  'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>;
7404
7527
  /**
7405
7528
  * Prefer default parameters over reassignment.
7406
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-default-parameters.md
7529
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-default-parameters.md
7407
7530
  */
7408
7531
  'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>;
7409
7532
  /**
7410
7533
  * Prefer direct iteration over default iterator method calls.
7411
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-direct-iteration.md
7534
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-direct-iteration.md
7412
7535
  */
7413
7536
  'unicorn/prefer-direct-iteration'?: Linter.RuleEntry<[]>;
7414
7537
  /**
7415
7538
  * Prefer using `using`/`await using` over manual `try`/`finally` resource disposal.
7416
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-dispose.md
7539
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-dispose.md
7417
7540
  */
7418
7541
  'unicorn/prefer-dispose'?: Linter.RuleEntry<[]>;
7419
7542
  /**
7420
7543
  * Prefer `Element#append()` over `Node#appendChild()`.
7421
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-dom-node-append.md
7544
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-dom-node-append.md
7422
7545
  */
7423
7546
  'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>;
7424
7547
  /**
7425
7548
  * Renamed to `unicorn/dom-node-dataset`.
7426
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/deleted-and-deprecated-rules.md#prefer-dom-node-dataset
7549
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/deleted-and-deprecated-rules.md#prefer-dom-node-dataset
7427
7550
  * @deprecated
7428
7551
  */
7429
7552
  'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>;
7430
7553
  /**
7431
7554
  * Prefer `.getHTML()` and `.setHTML()` over `.innerHTML`.
7432
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-dom-node-html-methods.md
7555
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-dom-node-html-methods.md
7433
7556
  */
7434
7557
  'unicorn/prefer-dom-node-html-methods'?: Linter.RuleEntry<UnicornPreferDomNodeHtmlMethods>;
7435
7558
  /**
7436
7559
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
7437
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-dom-node-remove.md
7560
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-dom-node-remove.md
7438
7561
  */
7439
7562
  'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>;
7440
7563
  /**
7441
- * Prefer `.replaceChildren()` when emptying DOM children.
7442
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-dom-node-replace-children.md
7564
+ * Prefer `.replaceChildren()` when replacing DOM children.
7565
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-dom-node-replace-children.md
7443
7566
  */
7444
7567
  'unicorn/prefer-dom-node-replace-children'?: Linter.RuleEntry<[]>;
7445
7568
  /**
7446
7569
  * Prefer `.textContent` over `.innerText`.
7447
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-dom-node-text-content.md
7570
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-dom-node-text-content.md
7448
7571
  */
7449
7572
  'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>;
7450
7573
  /**
7451
- * Prefer early returns over full-function conditional wrapping.
7452
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-early-return.md
7574
+ * Prefer early returns over conditionals wrapping the remainder of the function body.
7575
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-early-return.md
7453
7576
  */
7454
7577
  'unicorn/prefer-early-return'?: Linter.RuleEntry<UnicornPreferEarlyReturn>;
7455
7578
  /**
7456
7579
  * Prefer `else if` over adjacent `if` statements with related conditions.
7457
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-else-if.md
7580
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-else-if.md
7458
7581
  */
7459
7582
  'unicorn/prefer-else-if'?: Linter.RuleEntry<[]>;
7460
7583
  /**
7461
7584
  * Prefer `Error.isError()` when checking for errors.
7462
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-error-is-error.md
7585
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-error-is-error.md
7463
7586
  */
7464
7587
  'unicorn/prefer-error-is-error'?: Linter.RuleEntry<[]>;
7465
7588
  /**
7466
7589
  * Prefer `EventTarget` over `EventEmitter`.
7467
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-event-target.md
7590
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-event-target.md
7468
7591
  */
7469
7592
  'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>;
7470
7593
  /**
7471
7594
  * Prefer explicit viewport units.
7472
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-explicit-viewport-units.md
7595
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-explicit-viewport-units.md
7473
7596
  */
7474
7597
  'unicorn/prefer-explicit-viewport-units'?: Linter.RuleEntry<UnicornPreferExplicitViewportUnits>;
7475
7598
  /**
7476
7599
  * Prefer `export…from` when re-exporting.
7477
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-export-from.md
7600
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-export-from.md
7478
7601
  */
7479
7602
  'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>;
7480
7603
  /**
7481
7604
  * Prefer flat `Math.min()` and `Math.max()` calls over nested calls.
7482
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-flat-math-min-max.md
7605
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-flat-math-min-max.md
7483
7606
  */
7484
7607
  'unicorn/prefer-flat-math-min-max'?: Linter.RuleEntry<[]>;
7485
7608
  /**
7486
7609
  * Prefer `.getOrInsertComputed()` when the default value has side effects.
7487
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-get-or-insert-computed.md
7610
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-get-or-insert-computed.md
7488
7611
  */
7489
7612
  'unicorn/prefer-get-or-insert-computed'?: Linter.RuleEntry<[]>;
7490
7613
  /**
7491
7614
  * Prefer global numeric constants over `Number` static properties.
7492
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-global-number-constants.md
7615
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-global-number-constants.md
7493
7616
  */
7494
7617
  'unicorn/prefer-global-number-constants'?: Linter.RuleEntry<[]>;
7495
7618
  /**
7496
7619
  * Prefer `globalThis` over `window`, `self`, and `global`.
7497
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-global-this.md
7620
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-global-this.md
7498
7621
  */
7499
7622
  'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>;
7500
7623
  /**
7501
- * Prefer `Object.groupBy()` or `Map.groupBy()` over reduce-based grouping.
7502
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-group-by.md
7624
+ * Prefer `Object.groupBy()` or `Map.groupBy()` over manual grouping.
7625
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-group-by.md
7503
7626
  */
7504
7627
  'unicorn/prefer-group-by'?: Linter.RuleEntry<[]>;
7505
7628
  /**
7506
7629
  * Prefer `.has()` when checking existence.
7507
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-has-check.md
7630
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-has-check.md
7508
7631
  */
7509
7632
  'unicorn/prefer-has-check'?: Linter.RuleEntry<[]>;
7510
7633
  /**
7511
7634
  * Prefer moving code shared by all branches of an `if` statement out of the branches.
7512
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-hoisting-branch-code.md
7635
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-hoisting-branch-code.md
7513
7636
  */
7514
7637
  'unicorn/prefer-hoisting-branch-code'?: Linter.RuleEntry<[]>;
7515
7638
  /**
7516
7639
  * Prefer HTTPS over HTTP.
7517
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-https.md
7640
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-https.md
7518
7641
  */
7519
7642
  'unicorn/prefer-https'?: Linter.RuleEntry<UnicornPreferHttps>;
7520
7643
  /**
7521
7644
  * Prefer identifiers over string literals in import and export specifiers.
7522
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-identifier-import-export-specifiers.md
7645
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-identifier-import-export-specifiers.md
7523
7646
  */
7524
7647
  'unicorn/prefer-identifier-import-export-specifiers'?: Linter.RuleEntry<[]>;
7525
7648
  /**
7526
7649
  * Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
7527
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-import-meta-properties.md
7650
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-import-meta-properties.md
7528
7651
  */
7529
7652
  'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>;
7530
7653
  /**
7531
7654
  * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
7532
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-includes.md
7655
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-includes.md
7533
7656
  */
7534
7657
  'unicorn/prefer-includes'?: Linter.RuleEntry<[]>;
7535
7658
  /**
7536
7659
  * Prefer `.includes()` over repeated equality comparisons.
7537
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-includes-over-repeated-comparisons.md
7660
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-includes-over-repeated-comparisons.md
7538
7661
  */
7539
7662
  'unicorn/prefer-includes-over-repeated-comparisons'?: Linter.RuleEntry<UnicornPreferIncludesOverRepeatedComparisons>;
7540
7663
  /**
7541
7664
  * Prefer passing iterables directly to constructors instead of filling empty collections.
7542
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-iterable-in-constructor.md
7665
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-iterable-in-constructor.md
7543
7666
  */
7544
7667
  'unicorn/prefer-iterable-in-constructor'?: Linter.RuleEntry<[]>;
7545
7668
  /**
7546
7669
  * Prefer `Iterator.concat(…)` over temporary spread arrays.
7547
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-iterator-concat.md
7670
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-iterator-concat.md
7548
7671
  */
7549
7672
  'unicorn/prefer-iterator-concat'?: Linter.RuleEntry<[]>;
7550
7673
  /**
7551
7674
  * Prefer iterator helpers over temporary arrays from iterators.
7552
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-iterator-helpers.md
7675
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-iterator-helpers.md
7553
7676
  */
7554
7677
  'unicorn/prefer-iterator-helpers'?: Linter.RuleEntry<[]>;
7555
7678
  /**
7556
7679
  * Prefer `Iterator#toArray()` over temporary arrays from iterator spreads.
7557
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-iterator-to-array.md
7680
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-iterator-to-array.md
7558
7681
  */
7559
7682
  'unicorn/prefer-iterator-to-array'?: Linter.RuleEntry<[]>;
7560
7683
  /**
7561
7684
  * Prefer moving `.toArray()` to the end of iterator helper chains.
7562
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-iterator-to-array-at-end.md
7685
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-iterator-to-array-at-end.md
7563
7686
  */
7564
7687
  'unicorn/prefer-iterator-to-array-at-end'?: Linter.RuleEntry<[]>;
7688
+ /**
7689
+ * Prefer `Iterator.zip()` over parallel-array indexing.
7690
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-iterator-zip.md
7691
+ */
7692
+ 'unicorn/prefer-iterator-zip'?: Linter.RuleEntry<[]>;
7693
+ /**
7694
+ * Prefer JSON imports over reading and parsing JSON files.
7695
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-json-import.md
7696
+ */
7697
+ 'unicorn/prefer-json-import'?: Linter.RuleEntry<[]>;
7565
7698
  /**
7566
7699
  * Renamed to `unicorn/consistent-json-file-read`.
7567
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/deleted-and-deprecated-rules.md#prefer-json-parse-buffer
7700
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/deleted-and-deprecated-rules.md#prefer-json-parse-buffer
7568
7701
  * @deprecated
7569
7702
  */
7570
7703
  'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>;
7571
7704
  /**
7572
7705
  * Prefer `KeyboardEvent#key` over deprecated keyboard event properties.
7573
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-keyboard-event-key.md
7706
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-keyboard-event-key.md
7574
7707
  */
7575
7708
  'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>;
7576
7709
  /**
7577
7710
  * Prefer `location.assign()` over assigning to `location.href`.
7578
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-location-assign.md
7711
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-location-assign.md
7579
7712
  */
7580
7713
  'unicorn/prefer-location-assign'?: Linter.RuleEntry<[]>;
7581
7714
  /**
7582
7715
  * Prefer using a logical operator over a ternary.
7583
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-logical-operator-over-ternary.md
7716
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-logical-operator-over-ternary.md
7584
7717
  */
7585
7718
  'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>;
7586
7719
  /**
7587
7720
  * Prefer `new Map()` over `Object.fromEntries()` when using the result as a map.
7588
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-map-from-entries.md
7721
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-map-from-entries.md
7589
7722
  */
7590
7723
  'unicorn/prefer-map-from-entries'?: Linter.RuleEntry<[]>;
7591
7724
  /**
7592
7725
  * Prefer `Math.abs()` over manual absolute value expressions and symmetric range checks.
7593
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-math-abs.md
7726
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-math-abs.md
7594
7727
  */
7595
7728
  'unicorn/prefer-math-abs'?: Linter.RuleEntry<[]>;
7596
7729
  /**
7597
7730
  * Prefer `Math` constants over their approximate numeric values.
7598
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-math-constants.md
7731
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-math-constants.md
7599
7732
  */
7600
7733
  'unicorn/prefer-math-constants'?: Linter.RuleEntry<[]>;
7601
7734
  /**
7602
7735
  * Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
7603
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-math-min-max.md
7736
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-math-min-max.md
7604
7737
  */
7605
7738
  'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>;
7606
7739
  /**
7607
7740
  * Prefer `Math.trunc()` for truncating numbers.
7608
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-math-trunc.md
7741
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-math-trunc.md
7609
7742
  */
7610
7743
  'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>;
7744
+ /**
7745
+ * Prefer modern media feature range syntax.
7746
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-media-feature-range-syntax.md
7747
+ */
7748
+ 'unicorn/prefer-media-feature-range-syntax'?: Linter.RuleEntry<[]>;
7611
7749
  /**
7612
7750
  * Prefer moving ternaries into the minimal varying part of an expression.
7613
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-minimal-ternary.md
7751
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-minimal-ternary.md
7614
7752
  */
7615
7753
  'unicorn/prefer-minimal-ternary'?: Linter.RuleEntry<UnicornPreferMinimalTernary>;
7616
7754
  /**
7617
7755
  * Prefer modern DOM APIs.
7618
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-modern-dom-apis.md
7756
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-modern-dom-apis.md
7619
7757
  */
7620
7758
  'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>;
7621
7759
  /**
7622
7760
  * Prefer modern `Math` APIs over legacy patterns.
7623
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-modern-math-apis.md
7761
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-modern-math-apis.md
7624
7762
  */
7625
7763
  'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>;
7626
7764
  /**
7627
7765
  * Prefer JavaScript modules (ESM) over CommonJS.
7628
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-module.md
7766
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-module.md
7629
7767
  */
7630
7768
  'unicorn/prefer-module'?: Linter.RuleEntry<[]>;
7631
7769
  /**
7632
7770
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
7633
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-native-coercion-functions.md
7771
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-native-coercion-functions.md
7634
7772
  */
7635
7773
  'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>;
7636
7774
  /**
7637
7775
  * Prefer negative index over `.length - index` when possible.
7638
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-negative-index.md
7776
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-negative-index.md
7639
7777
  */
7640
7778
  'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>;
7641
7779
  /**
7642
7780
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
7643
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-node-protocol.md
7781
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-node-protocol.md
7644
7782
  */
7645
7783
  'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>;
7646
7784
  /**
7647
7785
  * Prefer `Number()` over `parseFloat()` and base-10 `parseInt()`.
7648
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-number-coercion.md
7786
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-number-coercion.md
7649
7787
  */
7650
7788
  'unicorn/prefer-number-coercion'?: Linter.RuleEntry<[]>;
7651
7789
  /**
7652
7790
  * Prefer `Number.isSafeInteger()` over integer checks.
7653
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-number-is-safe-integer.md
7791
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-number-is-safe-integer.md
7654
7792
  */
7655
7793
  'unicorn/prefer-number-is-safe-integer'?: Linter.RuleEntry<[]>;
7656
7794
  /**
7657
7795
  * Prefer `Number` static methods over global functions and optionally static properties over global constants.
7658
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-number-properties.md
7796
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-number-properties.md
7659
7797
  */
7660
7798
  'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>;
7661
7799
  /**
7662
7800
  * Prefer `Object.defineProperties()` over multiple `Object.defineProperty()` calls.
7663
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-object-define-properties.md
7801
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-object-define-properties.md
7664
7802
  */
7665
7803
  'unicorn/prefer-object-define-properties'?: Linter.RuleEntry<[]>;
7666
7804
  /**
7667
7805
  * Prefer object destructuring defaults over default object literals with spread.
7668
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-object-destructuring-defaults.md
7806
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-object-destructuring-defaults.md
7669
7807
  */
7670
7808
  'unicorn/prefer-object-destructuring-defaults'?: Linter.RuleEntry<[]>;
7671
7809
  /**
7672
7810
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
7673
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-object-from-entries.md
7811
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-object-from-entries.md
7674
7812
  */
7675
7813
  'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
7676
7814
  /**
7677
7815
  * Prefer the most specific `Object` iterable method.
7678
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-object-iterable-methods.md
7816
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-object-iterable-methods.md
7679
7817
  */
7680
7818
  'unicorn/prefer-object-iterable-methods'?: Linter.RuleEntry<[]>;
7681
7819
  /**
7682
7820
  * Prefer observer APIs over resize and scroll listeners with layout reads.
7683
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-observer-apis.md
7821
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-observer-apis.md
7684
7822
  */
7685
7823
  'unicorn/prefer-observer-apis'?: Linter.RuleEntry<[]>;
7686
7824
  /**
7687
7825
  * Prefer omitting the `catch` binding parameter.
7688
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-optional-catch-binding.md
7826
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-optional-catch-binding.md
7689
7827
  */
7690
7828
  'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>;
7691
7829
  /**
7692
7830
  * Prefer `Path2D` for repeatedly drawn canvas paths.
7693
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-path2d.md
7831
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-path2d.md
7694
7832
  */
7695
7833
  'unicorn/prefer-path2d'?: Linter.RuleEntry<[]>;
7696
7834
  /**
7697
7835
  * Prefer private class fields over the underscore-prefix convention.
7698
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-private-class-fields.md
7836
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-private-class-fields.md
7699
7837
  */
7700
7838
  'unicorn/prefer-private-class-fields'?: Linter.RuleEntry<[]>;
7701
7839
  /**
7702
7840
  * Prefer `Promise.try()` over promise-wrapping boilerplate.
7703
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-promise-try.md
7841
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-promise-try.md
7704
7842
  */
7705
7843
  'unicorn/prefer-promise-try'?: Linter.RuleEntry<[]>;
7706
7844
  /**
7707
7845
  * Prefer `Promise.withResolvers()` when extracting resolver functions from `new Promise()`.
7708
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-promise-with-resolvers.md
7846
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-promise-with-resolvers.md
7709
7847
  */
7710
7848
  'unicorn/prefer-promise-with-resolvers'?: Linter.RuleEntry<[]>;
7711
7849
  /**
7712
7850
  * Prefer borrowing methods from the prototype instead of the instance.
7713
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-prototype-methods.md
7851
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-prototype-methods.md
7714
7852
  */
7715
7853
  'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>;
7716
7854
  /**
7717
7855
  * Prefer `.querySelector()` and `.querySelectorAll()` over older DOM query methods.
7718
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-query-selector.md
7856
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-query-selector.md
7719
7857
  */
7720
7858
  'unicorn/prefer-query-selector'?: Linter.RuleEntry<UnicornPreferQuerySelector>;
7721
7859
  /**
7722
7860
  * Prefer `queueMicrotask()` over `process.nextTick()`, `setImmediate()`, and `setTimeout(…, 0)`.
7723
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-queue-microtask.md
7861
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-queue-microtask.md
7724
7862
  */
7725
7863
  'unicorn/prefer-queue-microtask'?: Linter.RuleEntry<UnicornPreferQueueMicrotask>;
7726
7864
  /**
7727
7865
  * Prefer `Reflect.apply()` over `Function#apply()`.
7728
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-reflect-apply.md
7866
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-reflect-apply.md
7729
7867
  */
7730
7868
  'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>;
7731
7869
  /**
7732
7870
  * Prefer `RegExp.escape()` for escaping strings to use in regular expressions.
7733
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-regexp-escape.md
7871
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-regexp-escape.md
7734
7872
  */
7735
7873
  'unicorn/prefer-regexp-escape'?: Linter.RuleEntry<[]>;
7736
7874
  /**
7737
7875
  * Prefer `RegExp#test()` over `String#match()`, `String#search()`, and `RegExp#exec()`.
7738
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-regexp-test.md
7876
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-regexp-test.md
7739
7877
  */
7740
7878
  'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>;
7741
7879
  /**
7742
7880
  * Prefer `Response.json()` over `new Response(JSON.stringify())`.
7743
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-response-static-json.md
7881
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-response-static-json.md
7744
7882
  */
7745
7883
  'unicorn/prefer-response-static-json'?: Linter.RuleEntry<[]>;
7746
7884
  /**
7747
7885
  * Prefer `:scope` when using element query selector methods.
7748
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-scoped-selector.md
7886
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-scoped-selector.md
7749
7887
  */
7750
7888
  'unicorn/prefer-scoped-selector'?: Linter.RuleEntry<[]>;
7751
7889
  /**
7752
7890
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
7753
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-set-has.md
7891
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-set-has.md
7754
7892
  */
7755
7893
  'unicorn/prefer-set-has'?: Linter.RuleEntry<UnicornPreferSetHas>;
7756
7894
  /**
7757
7895
  * Prefer `Set` methods for Set operations.
7758
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-set-methods.md
7896
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-set-methods.md
7759
7897
  */
7760
7898
  'unicorn/prefer-set-methods'?: Linter.RuleEntry<[]>;
7761
7899
  /**
7762
7900
  * Prefer using `Set#size` instead of `Array#length`.
7763
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-set-size.md
7901
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-set-size.md
7764
7902
  */
7765
7903
  'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>;
7766
7904
  /**
7767
7905
  * Prefer arrow function properties over methods with a single return.
7768
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-short-arrow-method.md
7906
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-short-arrow-method.md
7769
7907
  */
7770
7908
  'unicorn/prefer-short-arrow-method'?: Linter.RuleEntry<UnicornPreferShortArrowMethod>;
7771
7909
  /**
7772
7910
  * Prefer simple conditions first in logical expressions.
7773
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-simple-condition-first.md
7911
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-simple-condition-first.md
7774
7912
  */
7775
7913
  'unicorn/prefer-simple-condition-first'?: Linter.RuleEntry<[]>;
7776
7914
  /**
7777
7915
  * Prefer a simple comparison function for `Array#sort()`.
7778
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-simple-sort-comparator.md
7916
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-simple-sort-comparator.md
7779
7917
  */
7780
7918
  'unicorn/prefer-simple-sort-comparator'?: Linter.RuleEntry<[]>;
7781
7919
  /**
7782
7920
  * Prefer simplified conditions.
7783
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-simplified-conditions.md
7921
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-simplified-conditions.md
7784
7922
  */
7785
7923
  'unicorn/prefer-simplified-conditions'?: Linter.RuleEntry<[]>;
7786
7924
  /**
7787
7925
  * Prefer a single `Array#some()` or `Array#every()` with a combined predicate.
7788
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-single-array-predicate.md
7926
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-single-array-predicate.md
7789
7927
  */
7790
7928
  'unicorn/prefer-single-array-predicate'?: Linter.RuleEntry<[]>;
7791
7929
  /**
7792
7930
  * Enforce combining multiple `Array#{push,unshift}()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
7793
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-single-call.md
7931
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-single-call.md
7794
7932
  */
7795
7933
  'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>;
7796
7934
  /**
7797
7935
  * Prefer a single object destructuring declaration per local const source.
7798
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-single-object-destructuring.md
7936
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-single-object-destructuring.md
7799
7937
  */
7800
7938
  'unicorn/prefer-single-object-destructuring'?: Linter.RuleEntry<[]>;
7801
7939
  /**
7802
7940
  * Enforce combining multiple single-character replacements into a single `String#replaceAll()` with a regular expression.
7803
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-single-replace.md
7941
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-single-replace.md
7804
7942
  */
7805
7943
  'unicorn/prefer-single-replace'?: Linter.RuleEntry<[]>;
7806
7944
  /**
7807
7945
  * Prefer declaring variables in the smallest possible scope.
7808
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-smaller-scope.md
7946
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-smaller-scope.md
7809
7947
  */
7810
7948
  'unicorn/prefer-smaller-scope'?: Linter.RuleEntry<[]>;
7811
7949
  /**
7812
7950
  * Prefer `String#split()` with a limit.
7813
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-split-limit.md
7951
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-split-limit.md
7814
7952
  */
7815
7953
  'unicorn/prefer-split-limit'?: Linter.RuleEntry<[]>;
7816
7954
  /**
7817
7955
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()`, and trivial `for…of` copies.
7818
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-spread.md
7956
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-spread.md
7819
7957
  */
7820
7958
  'unicorn/prefer-spread'?: Linter.RuleEntry<[]>;
7821
7959
  /**
7822
7960
  * Prefer `String#matchAll()` over `RegExp#exec()` loops.
7823
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-string-match-all.md
7961
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-string-match-all.md
7824
7962
  */
7825
7963
  'unicorn/prefer-string-match-all'?: Linter.RuleEntry<[]>;
7826
7964
  /**
7827
7965
  * Prefer `String#padStart()` and `String#padEnd()` over manual string padding.
7828
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-string-pad-start-end.md
7966
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-string-pad-start-end.md
7829
7967
  */
7830
7968
  'unicorn/prefer-string-pad-start-end'?: Linter.RuleEntry<[]>;
7831
7969
  /**
7832
7970
  * Prefer using the `String.raw` tag to avoid escaping `\`.
7833
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-string-raw.md
7971
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-string-raw.md
7834
7972
  */
7835
7973
  'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>;
7836
7974
  /**
7837
7975
  * Prefer `String#repeat()` for repeated whitespace.
7838
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-string-repeat.md
7976
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-string-repeat.md
7839
7977
  */
7840
7978
  'unicorn/prefer-string-repeat'?: Linter.RuleEntry<UnicornPreferStringRepeat>;
7841
7979
  /**
7842
7980
  * Prefer `String#replaceAll()` over regex searches with the global flag and `String#split().join()`.
7843
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-string-replace-all.md
7981
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-string-replace-all.md
7844
7982
  */
7845
7983
  'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>;
7846
7984
  /**
7847
7985
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
7848
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-string-slice.md
7986
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-string-slice.md
7849
7987
  */
7850
7988
  'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>;
7851
7989
  /**
7852
7990
  * Prefer `String#startsWith()` & `String#endsWith()` over regexes, `String#indexOf() === 0`, and slice checks.
7853
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-string-starts-ends-with.md
7991
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-string-starts-ends-with.md
7854
7992
  */
7855
7993
  'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>;
7856
7994
  /**
7857
7995
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
7858
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-string-trim-start-end.md
7996
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-string-trim-start-end.md
7859
7997
  */
7860
7998
  'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>;
7861
7999
  /**
7862
8000
  * Prefer using `structuredClone` to create a deep clone.
7863
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-structured-clone.md
8001
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-structured-clone.md
7864
8002
  */
7865
8003
  'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>;
7866
8004
  /**
7867
8005
  * Prefer `switch` over multiple `else-if`.
7868
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-switch.md
8006
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-switch.md
7869
8007
  */
7870
8008
  'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>;
7871
8009
  /**
7872
8010
  * Prefer `Temporal` over `Date`.
7873
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-temporal.md
8011
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-temporal.md
7874
8012
  */
7875
8013
  'unicorn/prefer-temporal'?: Linter.RuleEntry<UnicornPreferTemporal>;
8014
+ /**
8015
+ * Prefer direct Temporal conversion methods.
8016
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-temporal-conversion.md
8017
+ */
8018
+ 'unicorn/prefer-temporal-conversion'?: Linter.RuleEntry<[]>;
7876
8019
  /**
7877
8020
  * Prefer ternary expressions over simple `if` statements that return or assign values.
7878
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-ternary.md
8021
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-ternary.md
7879
8022
  */
7880
8023
  'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>;
7881
8024
  /**
7882
8025
  * Prefer `.then().catch()` over `.then(…, …)` for error handling.
7883
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-then-catch.md
8026
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-then-catch.md
7884
8027
  */
7885
8028
  'unicorn/prefer-then-catch'?: Linter.RuleEntry<[]>;
7886
8029
  /**
7887
8030
  * Prefer using `Element#toggleAttribute()` to toggle attributes.
7888
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-toggle-attribute.md
8031
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-toggle-attribute.md
7889
8032
  */
7890
8033
  'unicorn/prefer-toggle-attribute'?: Linter.RuleEntry<[]>;
7891
8034
  /**
7892
8035
  * Prefer top-level await over top-level promises and async function calls.
7893
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-top-level-await.md
8036
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-top-level-await.md
7894
8037
  */
7895
8038
  'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>;
7896
8039
  /**
7897
8040
  * Enforce throwing `TypeError` in type checking conditions.
7898
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-type-error.md
8041
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-type-error.md
7899
8042
  */
7900
8043
  'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>;
7901
8044
  /**
7902
8045
  * Require type literals to be last in union types.
7903
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-type-literal-last.md
8046
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-type-literal-last.md
7904
8047
  */
7905
8048
  'unicorn/prefer-type-literal-last'?: Linter.RuleEntry<[]>;
7906
8049
  /**
7907
- * Prefer `Uint8Array#toBase64()` and `Uint8Array.fromBase64()` over `atob()`, `btoa()`, and `Buffer` base64 conversions.
7908
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-uint8array-base64.md
8050
+ * Prefer `Uint8Array#toBase64()` and `Uint8Array.fromBase64()` over legacy base64 conversions and manual postprocessing.
8051
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-uint8array-base64.md
7909
8052
  */
7910
8053
  'unicorn/prefer-uint8array-base64'?: Linter.RuleEntry<[]>;
8054
+ /**
8055
+ * Prefer `Uint8Array#toHex()` and `Uint8Array.fromHex()` over manual and Buffer hex conversions.
8056
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-uint8array-hex.md
8057
+ */
8058
+ 'unicorn/prefer-uint8array-hex'?: Linter.RuleEntry<[]>;
7911
8059
  /**
7912
8060
  * Prefer the unary minus operator over multiplying or dividing by `-1`.
7913
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-unary-minus.md
8061
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-unary-minus.md
7914
8062
  */
7915
8063
  'unicorn/prefer-unary-minus'?: Linter.RuleEntry<[]>;
7916
8064
  /**
7917
8065
  * Prefer Unicode code point escapes over legacy escape sequences.
7918
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-unicode-code-point-escapes.md
8066
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-unicode-code-point-escapes.md
7919
8067
  */
7920
8068
  'unicorn/prefer-unicode-code-point-escapes'?: Linter.RuleEntry<[]>;
7921
8069
  /**
7922
8070
  * Prefer `URL.canParse()` over constructing a `URL` in a try/catch for validation.
7923
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-url-can-parse.md
8071
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-url-can-parse.md
7924
8072
  */
7925
8073
  'unicorn/prefer-url-can-parse'?: Linter.RuleEntry<[]>;
7926
8074
  /**
7927
8075
  * Prefer `URL#href` over stringifying a `URL`.
7928
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-url-href.md
8076
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-url-href.md
7929
8077
  */
7930
8078
  'unicorn/prefer-url-href'?: Linter.RuleEntry<[]>;
7931
8079
  /**
7932
8080
  * Prefer `URLSearchParams` over manually splitting query strings.
7933
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-url-search-parameters.md
8081
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-url-search-parameters.md
7934
8082
  */
7935
8083
  'unicorn/prefer-url-search-parameters'?: Linter.RuleEntry<[]>;
7936
8084
  /**
7937
8085
  * Prefer putting the condition in the while statement.
7938
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-while-loop-condition.md
8086
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/prefer-while-loop-condition.md
7939
8087
  */
7940
8088
  'unicorn/prefer-while-loop-condition'?: Linter.RuleEntry<[]>;
7941
8089
  /**
7942
8090
  * Renamed to `unicorn/name-replacements`.
7943
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/deleted-and-deprecated-rules.md#prevent-abbreviations
8091
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/deleted-and-deprecated-rules.md#prevent-abbreviations
7944
8092
  * @deprecated
7945
8093
  */
7946
8094
  'unicorn/prevent-abbreviations'?: Linter.RuleEntry<[]>;
7947
8095
  /**
7948
8096
  * Enforce consistent relative URL style.
7949
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/relative-url-style.md
8097
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/relative-url-style.md
7950
8098
  */
7951
8099
  'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
7952
8100
  /**
7953
8101
  * Enforce using the separator argument with `Array#join()`.
7954
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/require-array-join-separator.md
8102
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-array-join-separator.md
7955
8103
  */
7956
8104
  'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>;
7957
8105
  /**
7958
8106
  * Require a compare function when calling `Array#sort()` or `Array#toSorted()`.
7959
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/require-array-sort-compare.md
8107
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-array-sort-compare.md
7960
8108
  */
7961
8109
  'unicorn/require-array-sort-compare'?: Linter.RuleEntry<[]>;
7962
8110
  /**
7963
8111
  * Require `CSS.escape()` for interpolated values in CSS selectors.
7964
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/require-css-escape.md
8112
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-css-escape.md
7965
8113
  */
7966
8114
  'unicorn/require-css-escape'?: Linter.RuleEntry<UnicornRequireCssEscape>;
7967
8115
  /**
7968
8116
  * Require configured YAML frontmatter fields.
7969
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/require-frontmatter-fields.md
8117
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-frontmatter-fields.md
7970
8118
  */
7971
8119
  'unicorn/require-frontmatter-fields'?: Linter.RuleEntry<UnicornRequireFrontmatterFields>;
7972
8120
  /**
7973
8121
  * Require non-empty module attributes for imports and exports
7974
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/require-module-attributes.md
8122
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-module-attributes.md
7975
8123
  */
7976
8124
  'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>;
7977
8125
  /**
7978
8126
  * Require non-empty specifier list in import and export statements.
7979
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/require-module-specifiers.md
8127
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-module-specifiers.md
7980
8128
  */
7981
8129
  'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>;
7982
8130
  /**
7983
8131
  * Enforce using the digits argument with `Number#toFixed()`.
7984
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/require-number-to-fixed-digits-argument.md
8132
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-number-to-fixed-digits-argument.md
7985
8133
  */
7986
8134
  'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>;
7987
8135
  /**
7988
8136
  * Require passive event listeners for high-frequency events.
7989
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/require-passive-events.md
8137
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-passive-events.md
7990
8138
  */
7991
8139
  'unicorn/require-passive-events'?: Linter.RuleEntry<[]>;
7992
8140
  /**
7993
8141
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
7994
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/require-post-message-target-origin.md
8142
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-post-message-target-origin.md
7995
8143
  */
7996
8144
  'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>;
7997
8145
  /**
7998
8146
  * Require boolean-returning Proxy traps to return booleans.
7999
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/require-proxy-trap-boolean-return.md
8147
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/require-proxy-trap-boolean-return.md
8000
8148
  */
8001
8149
  'unicorn/require-proxy-trap-boolean-return'?: Linter.RuleEntry<[]>;
8002
8150
  /**
8003
8151
  * Enforce a consistent style for single-line block comments.
8004
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/single-line-block-comment-style.md
8152
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/single-line-block-comment-style.md
8005
8153
  */
8006
8154
  'unicorn/single-line-block-comment-style'?: Linter.RuleEntry<UnicornSingleLineBlockCommentStyle>;
8007
8155
  /**
8008
8156
  * Enforce better string content.
8009
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/string-content.md
8157
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/string-content.md
8010
8158
  */
8011
8159
  'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>;
8012
8160
  /**
8013
8161
  * Enforce consistent brace style for `case` clauses.
8014
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/switch-case-braces.md
8162
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/switch-case-braces.md
8015
8163
  */
8016
8164
  'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
8017
8165
  /**
8018
8166
  * Enforce consistent `break`/`return`/`continue`/`throw` position in `case` clauses.
8019
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/switch-case-break-position.md
8167
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/switch-case-break-position.md
8020
8168
  */
8021
8169
  'unicorn/switch-case-break-position'?: Linter.RuleEntry<[]>;
8022
8170
  /**
8023
8171
  * Fix whitespace-insensitive template indentation.
8024
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/template-indent.md
8172
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/template-indent.md
8025
8173
  */
8026
8174
  'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>;
8027
8175
  /**
8028
8176
  * Enforce consistent case for text encoding identifiers.
8029
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/text-encoding-identifier-case.md
8177
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/text-encoding-identifier-case.md
8030
8178
  */
8031
8179
  'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<UnicornTextEncodingIdentifierCase>;
8032
8180
  /**
8033
8181
  * Require `new` when creating an error.
8034
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/throw-new-error.md
8182
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/throw-new-error.md
8035
8183
  */
8036
8184
  'unicorn/throw-new-error'?: Linter.RuleEntry<[]>;
8037
8185
  /**
8038
8186
  * Limit the complexity of `try` blocks.
8039
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/try-complexity.md
8187
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v76.0.0/docs/rules/try-complexity.md
8040
8188
  */
8041
8189
  'unicorn/try-complexity'?: Linter.RuleEntry<UnicornTryComplexity>;
8042
8190
  /**
@@ -9895,11 +10043,21 @@ export interface ESLintSchema {
9895
10043
  * @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod-mini/docs/rules/no-duplicate-schema-methods.md
9896
10044
  */
9897
10045
  'zod-mini/no-duplicate-schema-methods'?: Linter.RuleEntry<[]>;
10046
+ /**
10047
+ * Disallow non-static values passed as arguments in a Zod Mini schema expression
10048
+ * @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod-mini/docs/rules/no-dynamic-schema-value.md
10049
+ */
10050
+ 'zod-mini/no-dynamic-schema-value'?: Linter.RuleEntry<[]>;
9898
10051
  /**
9899
10052
  * Disallow usage of `z.custom()` without arguments
9900
10053
  * @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod-mini/docs/rules/no-empty-custom-schema.md
9901
10054
  */
9902
10055
  'zod-mini/no-empty-custom-schema'?: Linter.RuleEntry<[]>;
10056
+ /**
10057
+ * Disallow constructing a Zod Mini schema inside a function body
10058
+ * @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod-mini/docs/rules/no-function-scoped-schema.md
10059
+ */
10060
+ 'zod-mini/no-function-scoped-schema'?: Linter.RuleEntry<[]>;
9903
10061
  /**
9904
10062
  * Disallow deprecated `z.nativeEnum()` in favor of `z.enum()`.
9905
10063
  * @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod-mini/docs/rules/no-native-enum.md
@@ -9960,6 +10118,11 @@ export interface ESLintSchema {
9960
10118
  * @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod-mini/docs/rules/prefer-tuple-over-array-length.md
9961
10119
  */
9962
10120
  'zod-mini/prefer-tuple-over-array-length'?: Linter.RuleEntry<[]>;
10121
+ /**
10122
+ * Prefer boolean validation when only the success of parsing is used
10123
+ * @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod-mini/docs/rules/prefer-validate.md
10124
+ */
10125
+ 'zod-mini/prefer-validate'?: Linter.RuleEntry<[]>;
9963
10126
  /**
9964
10127
  * Require type parameter on `.brand()` functions
9965
10128
  * @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod-mini/docs/rules/require-brand-type-parameter.md
@@ -10025,11 +10188,21 @@ export interface ESLintSchema {
10025
10188
  * @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod/docs/rules/no-duplicate-schema-methods.md
10026
10189
  */
10027
10190
  'zod/no-duplicate-schema-methods'?: Linter.RuleEntry<[]>;
10191
+ /**
10192
+ * Disallow non-static values passed as arguments in a Zod schema expression
10193
+ * @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod/docs/rules/no-dynamic-schema-value.md
10194
+ */
10195
+ 'zod/no-dynamic-schema-value'?: Linter.RuleEntry<[]>;
10028
10196
  /**
10029
10197
  * Disallow usage of `z.custom()` without arguments
10030
10198
  * @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod/docs/rules/no-empty-custom-schema.md
10031
10199
  */
10032
10200
  'zod/no-empty-custom-schema'?: Linter.RuleEntry<[]>;
10201
+ /**
10202
+ * Disallow constructing a Zod schema inside a function body
10203
+ * @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod/docs/rules/no-function-scoped-schema.md
10204
+ */
10205
+ 'zod/no-function-scoped-schema'?: Linter.RuleEntry<[]>;
10033
10206
  /**
10034
10207
  * Disallow deprecated `z.nativeEnum()` in favor of `z.enum()`.
10035
10208
  * @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod/docs/rules/no-native-enum.md
@@ -10171,6 +10344,11 @@ export interface ESLintSchema {
10171
10344
  * @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod/docs/rules/prefer-tuple-over-array-length.md
10172
10345
  */
10173
10346
  'zod/prefer-tuple-over-array-length'?: Linter.RuleEntry<[]>;
10347
+ /**
10348
+ * Prefer boolean validation when only the success of parsing is used
10349
+ * @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod/docs/rules/prefer-validate.md
10350
+ */
10351
+ 'zod/prefer-validate'?: Linter.RuleEntry<[]>;
10174
10352
  /**
10175
10353
  * Require type parameter on `.brand()` functions
10176
10354
  * @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod/docs/rules/require-brand-type-parameter.md
@@ -10354,6 +10532,30 @@ type HtmlEslintReactNoInvalidAttrValue = [] | [{
10354
10532
  valuePattern?: string;
10355
10533
  }[];
10356
10534
  }];
10535
+ // ----- @html-eslint/react/no-restricted-attr-values -----
10536
+ type HtmlEslintReactNoRestrictedAttrValues = {
10537
+ attrPatterns: string[];
10538
+ attrValuePatterns: string[];
10539
+ message?: string;
10540
+ }[];
10541
+ // ----- @html-eslint/react/no-restricted-attrs -----
10542
+ type HtmlEslintReactNoRestrictedAttrs = {
10543
+ tagPatterns: string[];
10544
+ attrPatterns: string[];
10545
+ message?: string;
10546
+ }[];
10547
+ // ----- @html-eslint/react/require-attrs -----
10548
+ type HtmlEslintReactRequireAttrs = {
10549
+ tag: string;
10550
+ attr: string;
10551
+ value?: (string | boolean);
10552
+ message?: string;
10553
+ conditions?: {
10554
+ attr: string;
10555
+ value?: string;
10556
+ kind: ("present" | "absent" | "equal" | "not-equal");
10557
+ }[];
10558
+ }[];
10357
10559
  // ----- @html-eslint/react/use-baseline -----
10358
10560
  type HtmlEslintReactUseBaseline = [] | [{
10359
10561
  available?: (("widely" | "newly") | number);
@@ -12716,37 +12918,17 @@ type AstroJsxA11YAnchorIsValid = [] | [{
12716
12918
  aspects?: [("noHref" | "invalidHref" | "preferButton"), ...(("noHref" | "invalidHref" | "preferButton"))[]];
12717
12919
  [k: string]: unknown | undefined;
12718
12920
  }];
12719
- // ----- astro/jsx-a11y/aria-activedescendant-has-tabindex -----
12720
- type AstroJsxA11YAriaActivedescendantHasTabindex = [] | [{
12721
- [k: string]: unknown | undefined;
12722
- }];
12723
- // ----- astro/jsx-a11y/aria-props -----
12724
- type AstroJsxA11YAriaProps = [] | [{
12725
- [k: string]: unknown | undefined;
12726
- }];
12727
- // ----- astro/jsx-a11y/aria-proptypes -----
12728
- type AstroJsxA11YAriaProptypes = [] | [{
12729
- [k: string]: unknown | undefined;
12730
- }];
12731
12921
  // ----- astro/jsx-a11y/aria-role -----
12732
12922
  type AstroJsxA11YAriaRole = [] | [{
12733
12923
  allowedInvalidRoles?: string[];
12734
12924
  ignoreNonDOM?: boolean;
12735
12925
  [k: string]: unknown | undefined;
12736
12926
  }];
12737
- // ----- astro/jsx-a11y/aria-unsupported-elements -----
12738
- type AstroJsxA11YAriaUnsupportedElements = [] | [{
12739
- [k: string]: unknown | undefined;
12740
- }];
12741
12927
  // ----- astro/jsx-a11y/autocomplete-valid -----
12742
12928
  type AstroJsxA11YAutocompleteValid = [] | [{
12743
12929
  inputComponents?: string[];
12744
12930
  [k: string]: unknown | undefined;
12745
12931
  }];
12746
- // ----- astro/jsx-a11y/click-events-have-key-events -----
12747
- type AstroJsxA11YClickEventsHaveKeyEvents = [] | [{
12748
- [k: string]: unknown | undefined;
12749
- }];
12750
12932
  // ----- astro/jsx-a11y/control-has-associated-label -----
12751
12933
  type AstroJsxA11YControlHasAssociatedLabel = [] | [{
12752
12934
  labelAttributes?: string[];
@@ -12761,14 +12943,6 @@ type AstroJsxA11YHeadingHasContent = [] | [{
12761
12943
  components?: string[];
12762
12944
  [k: string]: unknown | undefined;
12763
12945
  }];
12764
- // ----- astro/jsx-a11y/html-has-lang -----
12765
- type AstroJsxA11YHtmlHasLang = [] | [{
12766
- [k: string]: unknown | undefined;
12767
- }];
12768
- // ----- astro/jsx-a11y/iframe-has-title -----
12769
- type AstroJsxA11YIframeHasTitle = [] | [{
12770
- [k: string]: unknown | undefined;
12771
- }];
12772
12946
  // ----- astro/jsx-a11y/img-redundant-alt -----
12773
12947
  type AstroJsxA11YImgRedundantAlt = [] | [{
12774
12948
  components?: string[];
@@ -12789,10 +12963,6 @@ type AstroJsxA11YLabelHasAssociatedControl = [] | [{
12789
12963
  depth?: number;
12790
12964
  [k: string]: unknown | undefined;
12791
12965
  }];
12792
- // ----- astro/jsx-a11y/lang -----
12793
- type AstroJsxA11YLang = [] | [{
12794
- [k: string]: unknown | undefined;
12795
- }];
12796
12966
  // ----- astro/jsx-a11y/media-has-caption -----
12797
12967
  type AstroJsxA11YMediaHasCaption = [] | [{
12798
12968
  audio?: string[];
@@ -12806,14 +12976,6 @@ type AstroJsxA11YMouseEventsHaveKeyEvents = [] | [{
12806
12976
  hoverOutHandlers?: string[];
12807
12977
  [k: string]: unknown | undefined;
12808
12978
  }];
12809
- // ----- astro/jsx-a11y/no-access-key -----
12810
- type AstroJsxA11YNoAccessKey = [] | [{
12811
- [k: string]: unknown | undefined;
12812
- }];
12813
- // ----- astro/jsx-a11y/no-aria-hidden-on-focusable -----
12814
- type AstroJsxA11YNoAriaHiddenOnFocusable = [] | [{
12815
- [k: string]: unknown | undefined;
12816
- }];
12817
12979
  // ----- astro/jsx-a11y/no-autofocus -----
12818
12980
  type AstroJsxA11YNoAutofocus = [] | [{
12819
12981
  ignoreNonDOM?: boolean;
@@ -12852,26 +13014,6 @@ type AstroJsxA11YNoStaticElementInteractions = [] | [{
12852
13014
  handlers?: string[];
12853
13015
  [k: string]: unknown | undefined;
12854
13016
  }];
12855
- // ----- astro/jsx-a11y/prefer-tag-over-role -----
12856
- type AstroJsxA11YPreferTagOverRole = [] | [{
12857
- [k: string]: unknown | undefined;
12858
- }];
12859
- // ----- astro/jsx-a11y/role-has-required-aria-props -----
12860
- type AstroJsxA11YRoleHasRequiredAriaProps = [] | [{
12861
- [k: string]: unknown | undefined;
12862
- }];
12863
- // ----- astro/jsx-a11y/role-supports-aria-props -----
12864
- type AstroJsxA11YRoleSupportsAriaProps = [] | [{
12865
- [k: string]: unknown | undefined;
12866
- }];
12867
- // ----- astro/jsx-a11y/scope -----
12868
- type AstroJsxA11YScope = [] | [{
12869
- [k: string]: unknown | undefined;
12870
- }];
12871
- // ----- astro/jsx-a11y/tabindex-no-positive -----
12872
- type AstroJsxA11YTabindexNoPositive = [] | [{
12873
- [k: string]: unknown | undefined;
12874
- }];
12875
13017
  // ----- astro/no-unsafe-inline-scripts -----
12876
13018
  type AstroNoUnsafeInlineScripts = [] | [{
12877
13019
  allowDefineVars?: boolean;
@@ -16958,12 +17100,8 @@ type IndentLegacy = [] | [("tab" | number)] | [("tab" | number), {
16958
17100
  type InitDeclarations = ([] | ["always"] | [] | ["never"] | ["never", {
16959
17101
  ignoreForLoopInit?: boolean;
16960
17102
  }]);
16961
- // ----- jsx-a11y/accessible-emoji -----
16962
- type JsxA11YAccessibleEmoji = [] | [{
16963
- [k: string]: unknown | undefined;
16964
- }];
16965
- // ----- jsx-a11y/alt-text -----
16966
- type JsxA11YAltText = [] | [{
17103
+ // ----- jsx-a11y-x/alt-text -----
17104
+ type JsxA11YXAltText = [] | [{
16967
17105
  elements?: string[];
16968
17106
  img?: string[];
16969
17107
  object?: string[];
@@ -16971,56 +17109,36 @@ type JsxA11YAltText = [] | [{
16971
17109
  "input[type=\"image\"]"?: string[];
16972
17110
  [k: string]: unknown | undefined;
16973
17111
  }];
16974
- // ----- jsx-a11y/anchor-ambiguous-text -----
16975
- type JsxA11YAnchorAmbiguousText = [] | [{
17112
+ // ----- jsx-a11y-x/anchor-ambiguous-text -----
17113
+ type JsxA11YXAnchorAmbiguousText = [] | [{
16976
17114
  words?: string[];
16977
17115
  [k: string]: unknown | undefined;
16978
17116
  }];
16979
- // ----- jsx-a11y/anchor-has-content -----
16980
- type JsxA11YAnchorHasContent = [] | [{
17117
+ // ----- jsx-a11y-x/anchor-has-content -----
17118
+ type JsxA11YXAnchorHasContent = [] | [{
16981
17119
  components?: string[];
16982
17120
  [k: string]: unknown | undefined;
16983
17121
  }];
16984
- // ----- jsx-a11y/anchor-is-valid -----
16985
- type JsxA11YAnchorIsValid = [] | [{
17122
+ // ----- jsx-a11y-x/anchor-is-valid -----
17123
+ type JsxA11YXAnchorIsValid = [] | [{
16986
17124
  components?: string[];
16987
17125
  specialLink?: string[];
16988
17126
  aspects?: [("noHref" | "invalidHref" | "preferButton"), ...(("noHref" | "invalidHref" | "preferButton"))[]];
16989
17127
  [k: string]: unknown | undefined;
16990
17128
  }];
16991
- // ----- jsx-a11y/aria-activedescendant-has-tabindex -----
16992
- type JsxA11YAriaActivedescendantHasTabindex = [] | [{
16993
- [k: string]: unknown | undefined;
16994
- }];
16995
- // ----- jsx-a11y/aria-props -----
16996
- type JsxA11YAriaProps = [] | [{
16997
- [k: string]: unknown | undefined;
16998
- }];
16999
- // ----- jsx-a11y/aria-proptypes -----
17000
- type JsxA11YAriaProptypes = [] | [{
17001
- [k: string]: unknown | undefined;
17002
- }];
17003
- // ----- jsx-a11y/aria-role -----
17004
- type JsxA11YAriaRole = [] | [{
17129
+ // ----- jsx-a11y-x/aria-role -----
17130
+ type JsxA11YXAriaRole = [] | [{
17005
17131
  allowedInvalidRoles?: string[];
17006
17132
  ignoreNonDOM?: boolean;
17007
17133
  [k: string]: unknown | undefined;
17008
17134
  }];
17009
- // ----- jsx-a11y/aria-unsupported-elements -----
17010
- type JsxA11YAriaUnsupportedElements = [] | [{
17011
- [k: string]: unknown | undefined;
17012
- }];
17013
- // ----- jsx-a11y/autocomplete-valid -----
17014
- type JsxA11YAutocompleteValid = [] | [{
17135
+ // ----- jsx-a11y-x/autocomplete-valid -----
17136
+ type JsxA11YXAutocompleteValid = [] | [{
17015
17137
  inputComponents?: string[];
17016
17138
  [k: string]: unknown | undefined;
17017
17139
  }];
17018
- // ----- jsx-a11y/click-events-have-key-events -----
17019
- type JsxA11YClickEventsHaveKeyEvents = [] | [{
17020
- [k: string]: unknown | undefined;
17021
- }];
17022
- // ----- jsx-a11y/control-has-associated-label -----
17023
- type JsxA11YControlHasAssociatedLabel = [] | [{
17140
+ // ----- jsx-a11y-x/control-has-associated-label -----
17141
+ type JsxA11YXControlHasAssociatedLabel = [] | [{
17024
17142
  labelAttributes?: string[];
17025
17143
  controlComponents?: string[];
17026
17144
  ignoreElements?: string[];
@@ -17028,32 +17146,24 @@ type JsxA11YControlHasAssociatedLabel = [] | [{
17028
17146
  depth?: number;
17029
17147
  [k: string]: unknown | undefined;
17030
17148
  }];
17031
- // ----- jsx-a11y/heading-has-content -----
17032
- type JsxA11YHeadingHasContent = [] | [{
17149
+ // ----- jsx-a11y-x/heading-has-content -----
17150
+ type JsxA11YXHeadingHasContent = [] | [{
17033
17151
  components?: string[];
17034
17152
  [k: string]: unknown | undefined;
17035
17153
  }];
17036
- // ----- jsx-a11y/html-has-lang -----
17037
- type JsxA11YHtmlHasLang = [] | [{
17038
- [k: string]: unknown | undefined;
17039
- }];
17040
- // ----- jsx-a11y/iframe-has-title -----
17041
- type JsxA11YIframeHasTitle = [] | [{
17042
- [k: string]: unknown | undefined;
17043
- }];
17044
- // ----- jsx-a11y/img-redundant-alt -----
17045
- type JsxA11YImgRedundantAlt = [] | [{
17154
+ // ----- jsx-a11y-x/img-redundant-alt -----
17155
+ type JsxA11YXImgRedundantAlt = [] | [{
17046
17156
  components?: string[];
17047
17157
  words?: string[];
17048
17158
  [k: string]: unknown | undefined;
17049
17159
  }];
17050
- // ----- jsx-a11y/interactive-supports-focus -----
17051
- type JsxA11YInteractiveSupportsFocus = [] | [{
17160
+ // ----- jsx-a11y-x/interactive-supports-focus -----
17161
+ type JsxA11YXInteractiveSupportsFocus = [] | [{
17052
17162
  tabbable?: ("button" | "checkbox" | "columnheader" | "combobox" | "grid" | "gridcell" | "link" | "listbox" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "option" | "progressbar" | "radio" | "radiogroup" | "row" | "rowheader" | "scrollbar" | "searchbox" | "slider" | "spinbutton" | "switch" | "tab" | "tablist" | "textbox" | "tree" | "treegrid" | "treeitem" | "doc-backlink" | "doc-biblioref" | "doc-glossref" | "doc-noteref")[];
17053
17163
  [k: string]: unknown | undefined;
17054
17164
  }];
17055
- // ----- jsx-a11y/label-has-associated-control -----
17056
- type JsxA11YLabelHasAssociatedControl = [] | [{
17165
+ // ----- jsx-a11y-x/label-has-associated-control -----
17166
+ type JsxA11YXLabelHasAssociatedControl = [] | [{
17057
17167
  labelComponents?: string[];
17058
17168
  labelAttributes?: string[];
17059
17169
  controlComponents?: string[];
@@ -17061,106 +17171,57 @@ type JsxA11YLabelHasAssociatedControl = [] | [{
17061
17171
  depth?: number;
17062
17172
  [k: string]: unknown | undefined;
17063
17173
  }];
17064
- // ----- jsx-a11y/label-has-for -----
17065
- type JsxA11YLabelHasFor = [] | [{
17066
- components?: string[];
17067
- required?: (("nesting" | "id") | {
17068
- some: ("nesting" | "id")[];
17069
- [k: string]: unknown | undefined;
17070
- } | {
17071
- every: ("nesting" | "id")[];
17072
- [k: string]: unknown | undefined;
17073
- });
17074
- allowChildren?: boolean;
17075
- [k: string]: unknown | undefined;
17076
- }];
17077
- // ----- jsx-a11y/lang -----
17078
- type JsxA11YLang = [] | [{
17079
- [k: string]: unknown | undefined;
17080
- }];
17081
- // ----- jsx-a11y/media-has-caption -----
17082
- type JsxA11YMediaHasCaption = [] | [{
17174
+ // ----- jsx-a11y-x/media-has-caption -----
17175
+ type JsxA11YXMediaHasCaption = [] | [{
17083
17176
  audio?: string[];
17084
17177
  video?: string[];
17085
17178
  track?: string[];
17086
17179
  [k: string]: unknown | undefined;
17087
17180
  }];
17088
- // ----- jsx-a11y/mouse-events-have-key-events -----
17089
- type JsxA11YMouseEventsHaveKeyEvents = [] | [{
17181
+ // ----- jsx-a11y-x/mouse-events-have-key-events -----
17182
+ type JsxA11YXMouseEventsHaveKeyEvents = [] | [{
17090
17183
  hoverInHandlers?: string[];
17091
17184
  hoverOutHandlers?: string[];
17092
17185
  [k: string]: unknown | undefined;
17093
17186
  }];
17094
- // ----- jsx-a11y/no-access-key -----
17095
- type JsxA11YNoAccessKey = [] | [{
17096
- [k: string]: unknown | undefined;
17097
- }];
17098
- // ----- jsx-a11y/no-aria-hidden-on-focusable -----
17099
- type JsxA11YNoAriaHiddenOnFocusable = [] | [{
17100
- [k: string]: unknown | undefined;
17101
- }];
17102
- // ----- jsx-a11y/no-autofocus -----
17103
- type JsxA11YNoAutofocus = [] | [{
17187
+ // ----- jsx-a11y-x/no-autofocus -----
17188
+ type JsxA11YXNoAutofocus = [] | [{
17104
17189
  ignoreNonDOM?: boolean;
17105
17190
  [k: string]: unknown | undefined;
17106
17191
  }];
17107
- // ----- jsx-a11y/no-distracting-elements -----
17108
- type JsxA11YNoDistractingElements = [] | [{
17192
+ // ----- jsx-a11y-x/no-distracting-elements -----
17193
+ type JsxA11YXNoDistractingElements = [] | [{
17109
17194
  elements?: ("marquee" | "blink")[];
17110
17195
  [k: string]: unknown | undefined;
17111
17196
  }];
17112
- // ----- jsx-a11y/no-interactive-element-to-noninteractive-role -----
17113
- type JsxA11YNoInteractiveElementToNoninteractiveRole = [] | [{
17197
+ // ----- jsx-a11y-x/no-interactive-element-to-noninteractive-role -----
17198
+ type JsxA11YXNoInteractiveElementToNoninteractiveRole = [] | [{
17114
17199
  [k: string]: string[] | undefined;
17115
17200
  }];
17116
- // ----- jsx-a11y/no-noninteractive-element-interactions -----
17117
- type JsxA11YNoNoninteractiveElementInteractions = [] | [{
17201
+ // ----- jsx-a11y-x/no-noninteractive-element-interactions -----
17202
+ type JsxA11YXNoNoninteractiveElementInteractions = [] | [{
17118
17203
  handlers?: string[];
17119
17204
  [k: string]: unknown | undefined;
17120
17205
  }];
17121
- // ----- jsx-a11y/no-noninteractive-element-to-interactive-role -----
17122
- type JsxA11YNoNoninteractiveElementToInteractiveRole = [] | [{
17206
+ // ----- jsx-a11y-x/no-noninteractive-element-to-interactive-role -----
17207
+ type JsxA11YXNoNoninteractiveElementToInteractiveRole = [] | [{
17123
17208
  [k: string]: string[] | undefined;
17124
17209
  }];
17125
- // ----- jsx-a11y/no-noninteractive-tabindex -----
17126
- type JsxA11YNoNoninteractiveTabindex = [] | [{
17210
+ // ----- jsx-a11y-x/no-noninteractive-tabindex -----
17211
+ type JsxA11YXNoNoninteractiveTabindex = [] | [{
17127
17212
  roles?: string[];
17128
17213
  tags?: string[];
17129
17214
  [k: string]: unknown | undefined;
17130
17215
  }];
17131
- // ----- jsx-a11y/no-onchange -----
17132
- type JsxA11YNoOnchange = [] | [{
17133
- [k: string]: unknown | undefined;
17134
- }];
17135
- // ----- jsx-a11y/no-redundant-roles -----
17136
- type JsxA11YNoRedundantRoles = [] | [{
17216
+ // ----- jsx-a11y-x/no-redundant-roles -----
17217
+ type JsxA11YXNoRedundantRoles = [] | [{
17137
17218
  [k: string]: string[] | undefined;
17138
17219
  }];
17139
- // ----- jsx-a11y/no-static-element-interactions -----
17140
- type JsxA11YNoStaticElementInteractions = [] | [{
17220
+ // ----- jsx-a11y-x/no-static-element-interactions -----
17221
+ type JsxA11YXNoStaticElementInteractions = [] | [{
17141
17222
  handlers?: string[];
17142
17223
  [k: string]: unknown | undefined;
17143
17224
  }];
17144
- // ----- jsx-a11y/prefer-tag-over-role -----
17145
- type JsxA11YPreferTagOverRole = [] | [{
17146
- [k: string]: unknown | undefined;
17147
- }];
17148
- // ----- jsx-a11y/role-has-required-aria-props -----
17149
- type JsxA11YRoleHasRequiredAriaProps = [] | [{
17150
- [k: string]: unknown | undefined;
17151
- }];
17152
- // ----- jsx-a11y/role-supports-aria-props -----
17153
- type JsxA11YRoleSupportsAriaProps = [] | [{
17154
- [k: string]: unknown | undefined;
17155
- }];
17156
- // ----- jsx-a11y/scope -----
17157
- type JsxA11YScope = [] | [{
17158
- [k: string]: unknown | undefined;
17159
- }];
17160
- // ----- jsx-a11y/tabindex-no-positive -----
17161
- type JsxA11YTabindexNoPositive = [] | [{
17162
- [k: string]: unknown | undefined;
17163
- }];
17164
17225
  // ----- jsx-quotes -----
17165
17226
  type JsxQuotes = [] | [("prefer-single" | "prefer-double")];
17166
17227
  // ----- key-spacing -----
@@ -18701,6 +18762,11 @@ type PackageJsonRestrictDependencyRanges = [] | [({
18701
18762
  forVersions?: string;
18702
18763
  rangeType: (("^" | "~" | "<" | "<=" | ">" | ">=" | "caret" | "pin" | "tilde" | "lt" | "le" | "gt" | "ge") | ("^" | "~" | "<" | "<=" | ">" | ">=" | "caret" | "pin" | "tilde" | "lt" | "le" | "gt" | "ge")[]);
18703
18764
  }[])];
18765
+ // ----- package-json/restrict-dist-tags -----
18766
+ type PackageJsonRestrictDistTags = [] | [{
18767
+ allowed?: string[];
18768
+ allowedFor?: ("dependencies" | "devDependencies" | "optionalDependencies" | "peerDependencies")[];
18769
+ }];
18704
18770
  // ----- package-json/restrict-private-properties -----
18705
18771
  type PackageJsonRestrictPrivateProperties = [] | [{
18706
18772
  blockedProperties?: string[];
@@ -21515,10 +21581,20 @@ type PlaywrightMissingPlaywrightAwait = [] | [{
21515
21581
  customMatchers?: string[];
21516
21582
  includePageLocatorMethods?: boolean;
21517
21583
  }];
21584
+ // ----- playwright/no-action-timeout -----
21585
+ type PlaywrightNoActionTimeout = [] | [{
21586
+ allow?: string[];
21587
+ }];
21518
21588
  // ----- playwright/no-hooks -----
21519
21589
  type PlaywrightNoHooks = [] | [{
21520
21590
  allow?: unknown[];
21521
21591
  }];
21592
+ // ----- playwright/no-magic-timeouts -----
21593
+ type PlaywrightNoMagicTimeouts = [] | [{
21594
+ allow?: number[];
21595
+ minOccurrences?: number;
21596
+ properties?: string[];
21597
+ }];
21522
21598
  // ----- playwright/no-raw-locators -----
21523
21599
  type PlaywrightNoRawLocators = [] | [{
21524
21600
  allowed?: string[];
@@ -21539,13 +21615,25 @@ type PlaywrightNoRestrictedRoles = [] | [(string | {
21539
21615
  })[]];
21540
21616
  // ----- playwright/no-skipped-test -----
21541
21617
  type PlaywrightNoSkippedTest = [] | [{
21542
- allowConditional?: boolean;
21618
+ allowConditional?: (boolean | {
21619
+ fixme?: boolean;
21620
+ skip?: boolean;
21621
+ });
21543
21622
  disallowFixme?: boolean;
21544
21623
  }];
21545
21624
  // ----- playwright/no-slowed-test -----
21546
21625
  type PlaywrightNoSlowedTest = [] | [{
21547
21626
  allowConditional?: boolean;
21548
21627
  }];
21628
+ // ----- playwright/no-template-literal-title -----
21629
+ type PlaywrightNoTemplateLiteralTitle = [] | [{
21630
+ ignore?: ("test" | "test.describe" | "test.step")[];
21631
+ }];
21632
+ // ----- playwright/prefer-ending-with-an-expect -----
21633
+ type PlaywrightPreferEndingWithAnExpect = [] | [{
21634
+ assertFunctionNames?: string[];
21635
+ assertFunctionPatterns?: string[];
21636
+ }];
21549
21637
  // ----- playwright/prefer-lowercase-title -----
21550
21638
  type PlaywrightPreferLowercaseTitle = [] | [{
21551
21639
  allowedPrefixes?: string[];
@@ -21556,6 +21644,11 @@ type PlaywrightPreferLowercaseTitle = [] | [{
21556
21644
  type PlaywrightPreferNativeLocators = [] | [{
21557
21645
  testIdAttribute?: string;
21558
21646
  }];
21647
+ // ----- playwright/require-annotation-reason -----
21648
+ type PlaywrightRequireAnnotationReason = [] | [{
21649
+ annotations?: ("fail" | "fixme" | "skip" | "slow")[];
21650
+ pattern?: string;
21651
+ }];
21559
21652
  // ----- playwright/require-hook -----
21560
21653
  type PlaywrightRequireHook = [] | [{
21561
21654
  allowedFunctionCalls?: string[];
@@ -21928,6 +22021,9 @@ type UnicornFilenameCase = [] | [({
21928
22021
  })[];
21929
22022
  multipleFileExtensions?: boolean;
21930
22023
  checkDirectories?: boolean;
22024
+ directoryRoots?: (string | {
22025
+ [k: string]: unknown | undefined;
22026
+ })[];
21931
22027
  } | {
21932
22028
  cases?: {
21933
22029
  camelCase?: boolean;
@@ -21941,6 +22037,9 @@ type UnicornFilenameCase = [] | [({
21941
22037
  })[];
21942
22038
  multipleFileExtensions?: boolean;
21943
22039
  checkDirectories?: boolean;
22040
+ directoryRoots?: (string | {
22041
+ [k: string]: unknown | undefined;
22042
+ })[];
21944
22043
  })];
21945
22044
  // ----- unicorn/id-match -----
21946
22045
  type UnicornIdMatch = [] | [string] | [string, {
@@ -22027,10 +22126,22 @@ type UnicornNoArrayReverse = [] | [{
22027
22126
  type UnicornNoArraySort = [] | [{
22028
22127
  allowExpressionStatement?: boolean;
22029
22128
  }];
22129
+ // ----- unicorn/no-break-in-nested-loop -----
22130
+ type UnicornNoBreakInNestedLoop = [] | [{
22131
+ checkContinue?: boolean;
22132
+ }];
22133
+ // ----- unicorn/no-deprecated-css-features -----
22134
+ type UnicornNoDeprecatedCssFeatures = [] | [{
22135
+ allow?: string[];
22136
+ }];
22030
22137
  // ----- unicorn/no-empty-file -----
22031
22138
  type UnicornNoEmptyFile = [] | [{
22032
22139
  allowComments?: boolean;
22033
22140
  }];
22141
+ // ----- unicorn/no-immediate-mutation -----
22142
+ type UnicornNoImmediateMutation = [] | [{
22143
+ checkConditionals?: boolean;
22144
+ }];
22034
22145
  // ----- unicorn/no-instanceof-builtins -----
22035
22146
  type UnicornNoInstanceofBuiltins = [] | [{
22036
22147
  useErrorIsError?: boolean;
@@ -22071,6 +22182,10 @@ type UnicornNoNull = [] | [{
22071
22182
  type UnicornNoTypeofUndefined = [] | [{
22072
22183
  checkGlobalVariables?: boolean;
22073
22184
  }];
22185
+ // ----- unicorn/no-unknown-pseudo-selectors -----
22186
+ type UnicornNoUnknownPseudoSelectors = [] | [{
22187
+ allow?: string[];
22188
+ }];
22074
22189
  // ----- unicorn/no-unnecessary-polyfills -----
22075
22190
  type UnicornNoUnnecessaryPolyfills = [] | [{
22076
22191
  targets?: (string | string[] | {
@@ -22081,6 +22196,10 @@ type UnicornNoUnnecessaryPolyfills = [] | [{
22081
22196
  type UnicornNoUnreadableArrayDestructuring = [] | [{
22082
22197
  maximumIgnoredElements?: number;
22083
22198
  }];
22199
+ // ----- unicorn/no-unscoped-css-nesting-selector -----
22200
+ type UnicornNoUnscopedCssNestingSelector = [] | [{
22201
+ scopingRootAtRules?: string[];
22202
+ }];
22084
22203
  // ----- unicorn/no-useless-undefined -----
22085
22204
  type UnicornNoUselessUndefined = [] | [{
22086
22205
  checkArguments?: boolean;
@@ -22134,9 +22253,14 @@ type UnicornPreferAt = [] | [{
22134
22253
  getLastElementFunctions?: string[];
22135
22254
  checkAllIndexAccess?: boolean;
22136
22255
  }];
22256
+ // ----- unicorn/prefer-combined-guards -----
22257
+ type UnicornPreferCombinedGuards = [] | [{
22258
+ checkCompoundConditions?: boolean;
22259
+ }];
22137
22260
  // ----- unicorn/prefer-continue -----
22138
22261
  type UnicornPreferContinue = [] | [{
22139
22262
  maximumStatements?: number;
22263
+ checkShortBodies?: boolean;
22140
22264
  }];
22141
22265
  // ----- unicorn/prefer-dom-node-html-methods -----
22142
22266
  type UnicornPreferDomNodeHtmlMethods = [] | [{
@@ -22146,6 +22270,7 @@ type UnicornPreferDomNodeHtmlMethods = [] | [{
22146
22270
  // ----- unicorn/prefer-early-return -----
22147
22271
  type UnicornPreferEarlyReturn = [] | [{
22148
22272
  maximumStatements?: number;
22273
+ checkShortBodies?: boolean;
22149
22274
  }];
22150
22275
  // ----- unicorn/prefer-explicit-viewport-units -----
22151
22276
  type UnicornPreferExplicitViewportUnits = [] | [{