@shayanthenerd/eslint-config 0.32.0 → 0.34.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.
Files changed (37) hide show
  1. package/README.md +65 -40
  2. package/dist/configs/astro.mjs +5 -1
  3. package/dist/configs/css.mjs +3 -3
  4. package/dist/configs/packageJson.mjs +1 -1
  5. package/dist/configs/react.mjs +2 -2
  6. package/dist/configs/tailwind.mjs +7 -1
  7. package/dist/configs/typescript.mjs +4 -6
  8. package/dist/helpers/ignores/defaultIgnorePatterns.mjs +1 -6
  9. package/dist/helpers/options/defaultOptions.mjs +13 -3
  10. package/dist/helpers/options/enableDetectedConfigs.mjs +20 -8
  11. package/dist/index.d.mts +1 -0
  12. package/dist/rules/astro.mjs +61 -54
  13. package/dist/rules/baseline.mjs +1 -1
  14. package/dist/rules/css.mjs +30 -10
  15. package/dist/rules/html.mjs +11 -3
  16. package/dist/rules/importX.mjs +2 -2
  17. package/dist/rules/javascript.mjs +6 -5
  18. package/dist/rules/markdown.mjs +7 -1
  19. package/dist/rules/next.mjs +2 -0
  20. package/dist/rules/node.mjs +1 -1
  21. package/dist/rules/packageJson.mjs +166 -153
  22. package/dist/rules/perfectionist.mjs +41 -11
  23. package/dist/rules/playwright.mjs +10 -0
  24. package/dist/rules/react.mjs +56 -54
  25. package/dist/rules/stylistic.mjs +1 -1
  26. package/dist/rules/tanstack.mjs +1 -1
  27. package/dist/rules/typescript.mjs +3 -2
  28. package/dist/rules/unicorn.mjs +38 -7
  29. package/dist/rules/vue.mjs +38 -41
  30. package/dist/rules/zod.mjs +2 -0
  31. package/dist/types/eslint-schema.d.mts +1086 -669
  32. package/dist/types/index.d.mts +44 -9
  33. package/dist/types/options/baseline.d.mts +24 -3
  34. package/dist/types/options/react.d.mts +9 -9
  35. package/dist/types/options/typescript.d.mts +3 -3
  36. package/dist/types/options/vue.d.mts +1 -1
  37. package/package.json +39 -37
@@ -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
@@ -2032,6 +2047,11 @@ export interface ESLintSchema {
2032
2047
  * @see https://typescript-eslint.io/rules/no-unsafe-declaration-merging
2033
2048
  */
2034
2049
  '@typescript-eslint/no-unsafe-declaration-merging'?: Linter.RuleEntry<[]>;
2050
+ /**
2051
+ * Disallow assigning non-enum values to enum typed locations
2052
+ * @see https://typescript-eslint.io/rules/no-unsafe-enum-assignment
2053
+ */
2054
+ '@typescript-eslint/no-unsafe-enum-assignment'?: Linter.RuleEntry<[]>;
2035
2055
  /**
2036
2056
  * Disallow comparing an enum value with a non-enum value
2037
2057
  * @see https://typescript-eslint.io/rules/no-unsafe-enum-comparison
@@ -2370,17 +2390,17 @@ export interface ESLintSchema {
2370
2390
  * apply `jsx-a11y/aria-activedescendant-has-tabindex` rule to Astro components
2371
2391
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/aria-activedescendant-has-tabindex/
2372
2392
  */
2373
- 'astro/jsx-a11y/aria-activedescendant-has-tabindex'?: Linter.RuleEntry<AstroJsxA11YAriaActivedescendantHasTabindex>;
2393
+ 'astro/jsx-a11y/aria-activedescendant-has-tabindex'?: Linter.RuleEntry<[]>;
2374
2394
  /**
2375
2395
  * apply `jsx-a11y/aria-props` rule to Astro components
2376
2396
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/aria-props/
2377
2397
  */
2378
- 'astro/jsx-a11y/aria-props'?: Linter.RuleEntry<AstroJsxA11YAriaProps>;
2398
+ 'astro/jsx-a11y/aria-props'?: Linter.RuleEntry<[]>;
2379
2399
  /**
2380
2400
  * apply `jsx-a11y/aria-proptypes` rule to Astro components
2381
2401
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/aria-proptypes/
2382
2402
  */
2383
- 'astro/jsx-a11y/aria-proptypes'?: Linter.RuleEntry<AstroJsxA11YAriaProptypes>;
2403
+ 'astro/jsx-a11y/aria-proptypes'?: Linter.RuleEntry<[]>;
2384
2404
  /**
2385
2405
  * apply `jsx-a11y/aria-role` rule to Astro components
2386
2406
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/aria-role/
@@ -2390,7 +2410,7 @@ export interface ESLintSchema {
2390
2410
  * apply `jsx-a11y/aria-unsupported-elements` rule to Astro components
2391
2411
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/aria-unsupported-elements/
2392
2412
  */
2393
- 'astro/jsx-a11y/aria-unsupported-elements'?: Linter.RuleEntry<AstroJsxA11YAriaUnsupportedElements>;
2413
+ 'astro/jsx-a11y/aria-unsupported-elements'?: Linter.RuleEntry<[]>;
2394
2414
  /**
2395
2415
  * apply `jsx-a11y/autocomplete-valid` rule to Astro components
2396
2416
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/autocomplete-valid/
@@ -2400,7 +2420,7 @@ export interface ESLintSchema {
2400
2420
  * apply `jsx-a11y/click-events-have-key-events` rule to Astro components
2401
2421
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/click-events-have-key-events/
2402
2422
  */
2403
- 'astro/jsx-a11y/click-events-have-key-events'?: Linter.RuleEntry<AstroJsxA11YClickEventsHaveKeyEvents>;
2423
+ 'astro/jsx-a11y/click-events-have-key-events'?: Linter.RuleEntry<[]>;
2404
2424
  /**
2405
2425
  * apply `jsx-a11y/control-has-associated-label` rule to Astro components
2406
2426
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/control-has-associated-label/
@@ -2415,12 +2435,12 @@ export interface ESLintSchema {
2415
2435
  * apply `jsx-a11y/html-has-lang` rule to Astro components
2416
2436
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/html-has-lang/
2417
2437
  */
2418
- 'astro/jsx-a11y/html-has-lang'?: Linter.RuleEntry<AstroJsxA11YHtmlHasLang>;
2438
+ 'astro/jsx-a11y/html-has-lang'?: Linter.RuleEntry<[]>;
2419
2439
  /**
2420
2440
  * apply `jsx-a11y/iframe-has-title` rule to Astro components
2421
2441
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/iframe-has-title/
2422
2442
  */
2423
- 'astro/jsx-a11y/iframe-has-title'?: Linter.RuleEntry<AstroJsxA11YIframeHasTitle>;
2443
+ 'astro/jsx-a11y/iframe-has-title'?: Linter.RuleEntry<[]>;
2424
2444
  /**
2425
2445
  * apply `jsx-a11y/img-redundant-alt` rule to Astro components
2426
2446
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/img-redundant-alt/
@@ -2440,7 +2460,7 @@ export interface ESLintSchema {
2440
2460
  * apply `jsx-a11y/lang` rule to Astro components
2441
2461
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/lang/
2442
2462
  */
2443
- 'astro/jsx-a11y/lang'?: Linter.RuleEntry<AstroJsxA11YLang>;
2463
+ 'astro/jsx-a11y/lang'?: Linter.RuleEntry<[]>;
2444
2464
  /**
2445
2465
  * apply `jsx-a11y/media-has-caption` rule to Astro components
2446
2466
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/media-has-caption/
@@ -2455,12 +2475,12 @@ export interface ESLintSchema {
2455
2475
  * apply `jsx-a11y/no-access-key` rule to Astro components
2456
2476
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/no-access-key/
2457
2477
  */
2458
- 'astro/jsx-a11y/no-access-key'?: Linter.RuleEntry<AstroJsxA11YNoAccessKey>;
2478
+ 'astro/jsx-a11y/no-access-key'?: Linter.RuleEntry<[]>;
2459
2479
  /**
2460
2480
  * apply `jsx-a11y/no-aria-hidden-on-focusable` rule to Astro components
2461
2481
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/no-aria-hidden-on-focusable/
2462
2482
  */
2463
- 'astro/jsx-a11y/no-aria-hidden-on-focusable'?: Linter.RuleEntry<AstroJsxA11YNoAriaHiddenOnFocusable>;
2483
+ 'astro/jsx-a11y/no-aria-hidden-on-focusable'?: Linter.RuleEntry<[]>;
2464
2484
  /**
2465
2485
  * apply `jsx-a11y/no-autofocus` rule to Astro components
2466
2486
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/no-autofocus/
@@ -2505,27 +2525,27 @@ export interface ESLintSchema {
2505
2525
  * apply `jsx-a11y/prefer-tag-over-role` rule to Astro components
2506
2526
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/prefer-tag-over-role/
2507
2527
  */
2508
- 'astro/jsx-a11y/prefer-tag-over-role'?: Linter.RuleEntry<AstroJsxA11YPreferTagOverRole>;
2528
+ 'astro/jsx-a11y/prefer-tag-over-role'?: Linter.RuleEntry<[]>;
2509
2529
  /**
2510
2530
  * apply `jsx-a11y/role-has-required-aria-props` rule to Astro components
2511
2531
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/role-has-required-aria-props/
2512
2532
  */
2513
- 'astro/jsx-a11y/role-has-required-aria-props'?: Linter.RuleEntry<AstroJsxA11YRoleHasRequiredAriaProps>;
2533
+ 'astro/jsx-a11y/role-has-required-aria-props'?: Linter.RuleEntry<[]>;
2514
2534
  /**
2515
2535
  * apply `jsx-a11y/role-supports-aria-props` rule to Astro components
2516
2536
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/role-supports-aria-props/
2517
2537
  */
2518
- 'astro/jsx-a11y/role-supports-aria-props'?: Linter.RuleEntry<AstroJsxA11YRoleSupportsAriaProps>;
2538
+ 'astro/jsx-a11y/role-supports-aria-props'?: Linter.RuleEntry<[]>;
2519
2539
  /**
2520
2540
  * apply `jsx-a11y/scope` rule to Astro components
2521
2541
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/scope/
2522
2542
  */
2523
- 'astro/jsx-a11y/scope'?: Linter.RuleEntry<AstroJsxA11YScope>;
2543
+ 'astro/jsx-a11y/scope'?: Linter.RuleEntry<[]>;
2524
2544
  /**
2525
2545
  * apply `jsx-a11y/tabindex-no-positive` rule to Astro components
2526
2546
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/tabindex-no-positive/
2527
2547
  */
2528
- 'astro/jsx-a11y/tabindex-no-positive'?: Linter.RuleEntry<AstroJsxA11YTabindexNoPositive>;
2548
+ 'astro/jsx-a11y/tabindex-no-positive'?: Linter.RuleEntry<[]>;
2529
2549
  /**
2530
2550
  * the client:only directive is missing the correct component's framework value
2531
2551
  * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/missing-client-only-directive-value/
@@ -2884,6 +2904,121 @@ export interface ESLintSchema {
2884
2904
  * @see https://github.com/eslint/css/blob/main/docs/rules/use-layers.md
2885
2905
  */
2886
2906
  'css/use-layers'?: Linter.RuleEntry<CssUseLayers>;
2907
+ /**
2908
+ * Enforce lowercase CSS syntax.
2909
+ * @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.1.0/docs/rules/lowercase.md
2910
+ */
2911
+ 'cssicorn/lowercase'?: Linter.RuleEntry<[]>;
2912
+ /**
2913
+ * Disallow declarations after nested rules.
2914
+ * @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.1.0/docs/rules/no-declarations-after-nested-rules.md
2915
+ */
2916
+ 'cssicorn/no-declarations-after-nested-rules'?: Linter.RuleEntry<[]>;
2917
+ /**
2918
+ * Disallow deprecated CSS features.
2919
+ * @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.1.0/docs/rules/no-deprecated-features.md
2920
+ */
2921
+ 'cssicorn/no-deprecated-features'?: Linter.RuleEntry<CssicornNoDeprecatedFeatures>;
2922
+ /**
2923
+ * Disallow lower-specificity selectors from following higher-specificity selectors that set the same property.
2924
+ * @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.1.0/docs/rules/no-descending-specificity.md
2925
+ */
2926
+ 'cssicorn/no-descending-specificity'?: Linter.RuleEntry<[]>;
2927
+ /**
2928
+ * Disallow duplicate font family names.
2929
+ * @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.1.0/docs/rules/no-duplicate-font-family-names.md
2930
+ */
2931
+ 'cssicorn/no-duplicate-font-family-names'?: Linter.RuleEntry<[]>;
2932
+ /**
2933
+ * Disallow duplicate properties within CSS declaration blocks.
2934
+ * @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.1.0/docs/rules/no-duplicate-properties.md
2935
+ */
2936
+ 'cssicorn/no-duplicate-properties'?: Linter.RuleEntry<[]>;
2937
+ /**
2938
+ * Disallow duplicate CSS selectors.
2939
+ * @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.1.0/docs/rules/no-duplicate-selectors.md
2940
+ */
2941
+ 'cssicorn/no-duplicate-selectors'?: Linter.RuleEntry<[]>;
2942
+ /**
2943
+ * Disallow unknown media features and invalid values for known media features.
2944
+ * @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.1.0/docs/rules/no-invalid-media-features.md
2945
+ */
2946
+ 'cssicorn/no-invalid-media-features'?: Linter.RuleEntry<[]>;
2947
+ /**
2948
+ * Disallow nesting under selector lists with mixed specificity.
2949
+ * @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.1.0/docs/rules/no-nesting-with-mixed-specificity.md
2950
+ */
2951
+ 'cssicorn/no-nesting-with-mixed-specificity'?: Linter.RuleEntry<[]>;
2952
+ /**
2953
+ * Disallow longhand properties that can be combined into a shorthand.
2954
+ * @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.1.0/docs/rules/no-redundant-longhand-properties.md
2955
+ */
2956
+ 'cssicorn/no-redundant-longhand-properties'?: Linter.RuleEntry<CssicornNoRedundantLonghandProperties>;
2957
+ /**
2958
+ * Disallow nested style rules that do not modify the parent selector.
2959
+ * @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.1.0/docs/rules/no-redundant-nested-style-rules.md
2960
+ */
2961
+ 'cssicorn/no-redundant-nested-style-rules'?: Linter.RuleEntry<[]>;
2962
+ /**
2963
+ * Disallow redundant values in CSS shorthand properties.
2964
+ * @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.1.0/docs/rules/no-redundant-shorthand-values.md
2965
+ */
2966
+ 'cssicorn/no-redundant-shorthand-values'?: Linter.RuleEntry<[]>;
2967
+ /**
2968
+ * Disallow self-references in CSS custom properties.
2969
+ * @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.1.0/docs/rules/no-self-referencing-custom-properties.md
2970
+ */
2971
+ 'cssicorn/no-self-referencing-custom-properties'?: Linter.RuleEntry<[]>;
2972
+ /**
2973
+ * Disallow unknown animations.
2974
+ * @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.1.0/docs/rules/no-unknown-animations.md
2975
+ */
2976
+ 'cssicorn/no-unknown-animations'?: Linter.RuleEntry<[]>;
2977
+ /**
2978
+ * Disallow unknown and noncanonical CSS annotations.
2979
+ * @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.1.0/docs/rules/no-unknown-annotations.md
2980
+ */
2981
+ 'cssicorn/no-unknown-annotations'?: Linter.RuleEntry<[]>;
2982
+ /**
2983
+ * Disallow unknown pseudo-class and pseudo-element selectors.
2984
+ * @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.1.0/docs/rules/no-unknown-pseudo-selectors.md
2985
+ */
2986
+ 'cssicorn/no-unknown-pseudo-selectors'?: Linter.RuleEntry<CssicornNoUnknownPseudoSelectors>;
2987
+ /**
2988
+ * Disallow unscoped CSS nesting selectors.
2989
+ * @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.1.0/docs/rules/no-unscoped-nesting-selector.md
2990
+ */
2991
+ 'cssicorn/no-unscoped-nesting-selector'?: Linter.RuleEntry<CssicornNoUnscopedNestingSelector>;
2992
+ /**
2993
+ * Disallow units on zero CSS lengths.
2994
+ * @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.1.0/docs/rules/no-zero-length-unit.md
2995
+ */
2996
+ 'cssicorn/no-zero-length-unit'?: Linter.RuleEntry<[]>;
2997
+ /**
2998
+ * Prefer explicit viewport units.
2999
+ * @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.1.0/docs/rules/prefer-explicit-viewport-units.md
3000
+ */
3001
+ 'cssicorn/prefer-explicit-viewport-units'?: Linter.RuleEntry<CssicornPreferExplicitViewportUnits>;
3002
+ /**
3003
+ * Prefer modern media feature range syntax.
3004
+ * @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.1.0/docs/rules/prefer-media-feature-range-syntax.md
3005
+ */
3006
+ 'cssicorn/prefer-media-feature-range-syntax'?: Linter.RuleEntry<[]>;
3007
+ /**
3008
+ * Prefer modern CSS color and pseudo-element syntax.
3009
+ * @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.1.0/docs/rules/prefer-modern-syntax.md
3010
+ */
3011
+ 'cssicorn/prefer-modern-syntax'?: Linter.RuleEntry<[]>;
3012
+ /**
3013
+ * Prefer short hexadecimal color notation.
3014
+ * @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.1.0/docs/rules/prefer-short-hex-color.md
3015
+ */
3016
+ 'cssicorn/prefer-short-hex-color'?: Linter.RuleEntry<[]>;
3017
+ /**
3018
+ * Require descriptors in CSS `@property` rules.
3019
+ * @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.1.0/docs/rules/require-property-descriptors.md
3020
+ */
3021
+ 'cssicorn/require-property-descriptors'?: Linter.RuleEntry<[]>;
2887
3022
  /**
2888
3023
  * Enforce consistent brace style for all control statements
2889
3024
  * @see https://eslint.org/docs/latest/rules/curly
@@ -3343,204 +3478,186 @@ export interface ESLintSchema {
3343
3478
  * @see https://eslint.org/docs/latest/rules/init-declarations
3344
3479
  */
3345
3480
  '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
3481
  /**
3353
3482
  * 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
3483
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/alt-text.md
3355
3484
  */
3356
- 'jsx-a11y/alt-text'?: Linter.RuleEntry<JsxA11YAltText>;
3485
+ 'jsx-a11y-x/alt-text'?: Linter.RuleEntry<JsxA11YXAltText>;
3357
3486
  /**
3358
3487
  * 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
3488
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/anchor-ambiguous-text.md
3360
3489
  */
3361
- 'jsx-a11y/anchor-ambiguous-text'?: Linter.RuleEntry<JsxA11YAnchorAmbiguousText>;
3490
+ 'jsx-a11y-x/anchor-ambiguous-text'?: Linter.RuleEntry<JsxA11YXAnchorAmbiguousText>;
3362
3491
  /**
3363
3492
  * 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
3493
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/anchor-has-content.md
3365
3494
  */
3366
- 'jsx-a11y/anchor-has-content'?: Linter.RuleEntry<JsxA11YAnchorHasContent>;
3495
+ 'jsx-a11y-x/anchor-has-content'?: Linter.RuleEntry<JsxA11YXAnchorHasContent>;
3367
3496
  /**
3368
3497
  * 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
3498
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/anchor-is-valid.md
3370
3499
  */
3371
- 'jsx-a11y/anchor-is-valid'?: Linter.RuleEntry<JsxA11YAnchorIsValid>;
3500
+ 'jsx-a11y-x/anchor-is-valid'?: Linter.RuleEntry<JsxA11YXAnchorIsValid>;
3372
3501
  /**
3373
3502
  * 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
3503
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/aria-activedescendant-has-tabindex.md
3375
3504
  */
3376
- 'jsx-a11y/aria-activedescendant-has-tabindex'?: Linter.RuleEntry<JsxA11YAriaActivedescendantHasTabindex>;
3505
+ 'jsx-a11y-x/aria-activedescendant-has-tabindex'?: Linter.RuleEntry<[]>;
3377
3506
  /**
3378
3507
  * Enforce all `aria-*` props are valid.
3379
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-props.md
3508
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/aria-props.md
3380
3509
  */
3381
- 'jsx-a11y/aria-props'?: Linter.RuleEntry<JsxA11YAriaProps>;
3510
+ 'jsx-a11y-x/aria-props'?: Linter.RuleEntry<[]>;
3382
3511
  /**
3383
3512
  * 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
3513
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/aria-proptypes.md
3385
3514
  */
3386
- 'jsx-a11y/aria-proptypes'?: Linter.RuleEntry<JsxA11YAriaProptypes>;
3515
+ 'jsx-a11y-x/aria-proptypes'?: Linter.RuleEntry<[]>;
3387
3516
  /**
3388
3517
  * 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
3518
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/aria-role.md
3390
3519
  */
3391
- 'jsx-a11y/aria-role'?: Linter.RuleEntry<JsxA11YAriaRole>;
3520
+ 'jsx-a11y-x/aria-role'?: Linter.RuleEntry<JsxA11YXAriaRole>;
3392
3521
  /**
3393
3522
  * 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
3523
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/aria-unsupported-elements.md
3395
3524
  */
3396
- 'jsx-a11y/aria-unsupported-elements'?: Linter.RuleEntry<JsxA11YAriaUnsupportedElements>;
3525
+ 'jsx-a11y-x/aria-unsupported-elements'?: Linter.RuleEntry<[]>;
3397
3526
  /**
3398
3527
  * 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
3528
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/autocomplete-valid.md
3400
3529
  */
3401
- 'jsx-a11y/autocomplete-valid'?: Linter.RuleEntry<JsxA11YAutocompleteValid>;
3530
+ 'jsx-a11y-x/autocomplete-valid'?: Linter.RuleEntry<JsxA11YXAutocompleteValid>;
3402
3531
  /**
3403
3532
  * 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
3533
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/click-events-have-key-events.md
3405
3534
  */
3406
- 'jsx-a11y/click-events-have-key-events'?: Linter.RuleEntry<JsxA11YClickEventsHaveKeyEvents>;
3535
+ 'jsx-a11y-x/click-events-have-key-events'?: Linter.RuleEntry<[]>;
3407
3536
  /**
3408
3537
  * 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
3538
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/control-has-associated-label.md
3410
3539
  */
3411
- 'jsx-a11y/control-has-associated-label'?: Linter.RuleEntry<JsxA11YControlHasAssociatedLabel>;
3540
+ 'jsx-a11y-x/control-has-associated-label'?: Linter.RuleEntry<JsxA11YXControlHasAssociatedLabel>;
3412
3541
  /**
3413
3542
  * 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
3543
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/heading-has-content.md
3415
3544
  */
3416
- 'jsx-a11y/heading-has-content'?: Linter.RuleEntry<JsxA11YHeadingHasContent>;
3545
+ 'jsx-a11y-x/heading-has-content'?: Linter.RuleEntry<JsxA11YXHeadingHasContent>;
3417
3546
  /**
3418
3547
  * 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
3548
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/html-has-lang.md
3420
3549
  */
3421
- 'jsx-a11y/html-has-lang'?: Linter.RuleEntry<JsxA11YHtmlHasLang>;
3550
+ 'jsx-a11y-x/html-has-lang'?: Linter.RuleEntry<[]>;
3422
3551
  /**
3423
3552
  * 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
3553
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/iframe-has-title.md
3425
3554
  */
3426
- 'jsx-a11y/iframe-has-title'?: Linter.RuleEntry<JsxA11YIframeHasTitle>;
3555
+ 'jsx-a11y-x/iframe-has-title'?: Linter.RuleEntry<[]>;
3427
3556
  /**
3428
3557
  * 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
3558
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/img-redundant-alt.md
3430
3559
  */
3431
- 'jsx-a11y/img-redundant-alt'?: Linter.RuleEntry<JsxA11YImgRedundantAlt>;
3560
+ 'jsx-a11y-x/img-redundant-alt'?: Linter.RuleEntry<JsxA11YXImgRedundantAlt>;
3432
3561
  /**
3433
3562
  * 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
3563
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/interactive-supports-focus.md
3435
3564
  */
3436
- 'jsx-a11y/interactive-supports-focus'?: Linter.RuleEntry<JsxA11YInteractiveSupportsFocus>;
3565
+ 'jsx-a11y-x/interactive-supports-focus'?: Linter.RuleEntry<JsxA11YXInteractiveSupportsFocus>;
3437
3566
  /**
3438
3567
  * 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
3568
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/label-has-associated-control.md
3446
3569
  */
3447
- 'jsx-a11y/label-has-for'?: Linter.RuleEntry<JsxA11YLabelHasFor>;
3570
+ 'jsx-a11y-x/label-has-associated-control'?: Linter.RuleEntry<JsxA11YXLabelHasAssociatedControl>;
3448
3571
  /**
3449
3572
  * Enforce lang attribute has a valid value.
3450
- * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/lang.md
3573
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/lang.md
3451
3574
  */
3452
- 'jsx-a11y/lang'?: Linter.RuleEntry<JsxA11YLang>;
3575
+ 'jsx-a11y-x/lang'?: Linter.RuleEntry<[]>;
3453
3576
  /**
3454
3577
  * 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
3578
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/media-has-caption.md
3456
3579
  */
3457
- 'jsx-a11y/media-has-caption'?: Linter.RuleEntry<JsxA11YMediaHasCaption>;
3580
+ 'jsx-a11y-x/media-has-caption'?: Linter.RuleEntry<JsxA11YXMediaHasCaption>;
3458
3581
  /**
3459
3582
  * 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
3583
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/mouse-events-have-key-events.md
3461
3584
  */
3462
- 'jsx-a11y/mouse-events-have-key-events'?: Linter.RuleEntry<JsxA11YMouseEventsHaveKeyEvents>;
3585
+ 'jsx-a11y-x/mouse-events-have-key-events'?: Linter.RuleEntry<JsxA11YXMouseEventsHaveKeyEvents>;
3463
3586
  /**
3464
3587
  * 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
3588
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/no-access-key.md
3466
3589
  */
3467
- 'jsx-a11y/no-access-key'?: Linter.RuleEntry<JsxA11YNoAccessKey>;
3590
+ 'jsx-a11y-x/no-access-key'?: Linter.RuleEntry<[]>;
3468
3591
  /**
3469
3592
  * 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
3593
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/no-aria-hidden-on-focusable.md
3471
3594
  */
3472
- 'jsx-a11y/no-aria-hidden-on-focusable'?: Linter.RuleEntry<JsxA11YNoAriaHiddenOnFocusable>;
3595
+ 'jsx-a11y-x/no-aria-hidden-on-focusable'?: Linter.RuleEntry<[]>;
3473
3596
  /**
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
3597
+ * Enforce autoFocus prop is not enabled.
3598
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/no-autofocus.md
3476
3599
  */
3477
- 'jsx-a11y/no-autofocus'?: Linter.RuleEntry<JsxA11YNoAutofocus>;
3600
+ 'jsx-a11y-x/no-autofocus'?: Linter.RuleEntry<JsxA11YXNoAutofocus>;
3478
3601
  /**
3479
3602
  * 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
3603
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/no-distracting-elements.md
3481
3604
  */
3482
- 'jsx-a11y/no-distracting-elements'?: Linter.RuleEntry<JsxA11YNoDistractingElements>;
3605
+ 'jsx-a11y-x/no-distracting-elements'?: Linter.RuleEntry<JsxA11YXNoDistractingElements>;
3483
3606
  /**
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
3607
+ * Disallow interactive elements being assigned non-interactive roles.
3608
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/no-interactive-element-to-noninteractive-role.md
3486
3609
  */
3487
- 'jsx-a11y/no-interactive-element-to-noninteractive-role'?: Linter.RuleEntry<JsxA11YNoInteractiveElementToNoninteractiveRole>;
3610
+ 'jsx-a11y-x/no-interactive-element-to-noninteractive-role'?: Linter.RuleEntry<JsxA11YXNoInteractiveElementToNoninteractiveRole>;
3488
3611
  /**
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
3612
+ * Disallow non-interactive elements being assigned mouse or keyboard event listeners.
3613
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/no-noninteractive-element-interactions.md
3491
3614
  */
3492
- 'jsx-a11y/no-noninteractive-element-interactions'?: Linter.RuleEntry<JsxA11YNoNoninteractiveElementInteractions>;
3615
+ 'jsx-a11y-x/no-noninteractive-element-interactions'?: Linter.RuleEntry<JsxA11YXNoNoninteractiveElementInteractions>;
3493
3616
  /**
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
3617
+ * Disallow non-interactive elements being assigned interactive roles.
3618
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/no-noninteractive-element-to-interactive-role.md
3496
3619
  */
3497
- 'jsx-a11y/no-noninteractive-element-to-interactive-role'?: Linter.RuleEntry<JsxA11YNoNoninteractiveElementToInteractiveRole>;
3620
+ 'jsx-a11y-x/no-noninteractive-element-to-interactive-role'?: Linter.RuleEntry<JsxA11YXNoNoninteractiveElementToInteractiveRole>;
3498
3621
  /**
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
3622
+ * Enforce `tabIndex` only be declared on interactive elements.
3623
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/no-noninteractive-tabindex.md
3501
3624
  */
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>;
3625
+ 'jsx-a11y-x/no-noninteractive-tabindex'?: Linter.RuleEntry<JsxA11YXNoNoninteractiveTabindex>;
3509
3626
  /**
3510
3627
  * 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
3628
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/no-redundant-roles.md
3512
3629
  */
3513
- 'jsx-a11y/no-redundant-roles'?: Linter.RuleEntry<JsxA11YNoRedundantRoles>;
3630
+ 'jsx-a11y-x/no-redundant-roles'?: Linter.RuleEntry<JsxA11YXNoRedundantRoles>;
3514
3631
  /**
3515
3632
  * 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
3633
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/no-static-element-interactions.md
3517
3634
  */
3518
- 'jsx-a11y/no-static-element-interactions'?: Linter.RuleEntry<JsxA11YNoStaticElementInteractions>;
3635
+ 'jsx-a11y-x/no-static-element-interactions'?: Linter.RuleEntry<JsxA11YXNoStaticElementInteractions>;
3519
3636
  /**
3520
3637
  * 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
3638
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/prefer-tag-over-role.md
3522
3639
  */
3523
- 'jsx-a11y/prefer-tag-over-role'?: Linter.RuleEntry<JsxA11YPreferTagOverRole>;
3640
+ 'jsx-a11y-x/prefer-tag-over-role'?: Linter.RuleEntry<[]>;
3524
3641
  /**
3525
3642
  * 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
3643
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/role-has-required-aria-props.md
3527
3644
  */
3528
- 'jsx-a11y/role-has-required-aria-props'?: Linter.RuleEntry<JsxA11YRoleHasRequiredAriaProps>;
3645
+ 'jsx-a11y-x/role-has-required-aria-props'?: Linter.RuleEntry<[]>;
3529
3646
  /**
3530
3647
  * 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
3648
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/role-supports-aria-props.md
3532
3649
  */
3533
- 'jsx-a11y/role-supports-aria-props'?: Linter.RuleEntry<JsxA11YRoleSupportsAriaProps>;
3650
+ 'jsx-a11y-x/role-supports-aria-props'?: Linter.RuleEntry<[]>;
3534
3651
  /**
3535
3652
  * 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
3653
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/scope.md
3537
3654
  */
3538
- 'jsx-a11y/scope'?: Linter.RuleEntry<JsxA11YScope>;
3655
+ 'jsx-a11y-x/scope'?: Linter.RuleEntry<[]>;
3539
3656
  /**
3540
3657
  * 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
3658
+ * @see https://github.com/es-tooling/eslint-plugin-jsx-a11y-x/tree/HEAD/docs/rules/tabindex-no-positive.md
3542
3659
  */
3543
- 'jsx-a11y/tabindex-no-positive'?: Linter.RuleEntry<JsxA11YTabindexNoPositive>;
3660
+ 'jsx-a11y-x/tabindex-no-positive'?: Linter.RuleEntry<[]>;
3544
3661
  /**
3545
3662
  * Enforce the consistent use of either double or single quotes in JSX attributes
3546
3663
  * @see https://eslint.org/docs/latest/rules/jsx-quotes
@@ -5198,6 +5315,11 @@ export interface ESLintSchema {
5198
5315
  * @see https://eslint-plugin-package-json.dev/rules/require-properties/require-os
5199
5316
  */
5200
5317
  'package-json/require-os'?: Linter.RuleEntry<PackageJsonRequireOs>;
5318
+ /**
5319
+ * Ensures that if a package specifies `exports` (or `publishConfig.exports`), an explicit `package.json` export is included.
5320
+ * @see https://eslint-plugin-package-json.dev/rules/require-package-json-export
5321
+ */
5322
+ 'package-json/require-package-json-export'?: Linter.RuleEntry<[]>;
5201
5323
  /**
5202
5324
  * Requires the `packageManager` property to be present.
5203
5325
  * @see https://eslint-plugin-package-json.dev/rules/require-properties/require-packageManager
@@ -5258,6 +5380,11 @@ export interface ESLintSchema {
5258
5380
  * @see https://eslint-plugin-package-json.dev/rules/restrict-dependency-ranges
5259
5381
  */
5260
5382
  'package-json/restrict-dependency-ranges'?: Linter.RuleEntry<PackageJsonRestrictDependencyRanges>;
5383
+ /**
5384
+ * Restricts dependency dist-tags to an allowed list and selected dependency types.
5385
+ * @see https://eslint-plugin-package-json.dev/rules/restrict-dist-tags
5386
+ */
5387
+ 'package-json/restrict-dist-tags'?: Linter.RuleEntry<PackageJsonRestrictDistTags>;
5261
5388
  /**
5262
5389
  * Disallows unnecessary properties in private packages.
5263
5390
  * @see https://eslint-plugin-package-json.dev/rules/restrict-private-properties
@@ -5645,6 +5772,11 @@ export interface ESLintSchema {
5645
5772
  * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/missing-playwright-await.md
5646
5773
  */
5647
5774
  'playwright/missing-playwright-await'?: Linter.RuleEntry<PlaywrightMissingPlaywrightAwait>;
5775
+ /**
5776
+ * Disallow the `timeout` option on actions
5777
+ * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/no-action-timeout.md
5778
+ */
5779
+ 'playwright/no-action-timeout'?: Linter.RuleEntry<PlaywrightNoActionTimeout>;
5648
5780
  /**
5649
5781
  * Disallow commented out tests
5650
5782
  * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/no-commented-out-tests.md
@@ -5680,6 +5812,11 @@ export interface ESLintSchema {
5680
5812
  * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/no-eval.md
5681
5813
  */
5682
5814
  'playwright/no-eval'?: Linter.RuleEntry<[]>;
5815
+ /**
5816
+ * Disallow using `export` in files containing tests
5817
+ * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/no-export.md
5818
+ */
5819
+ 'playwright/no-export'?: Linter.RuleEntry<[]>;
5683
5820
  /**
5684
5821
  * Prevent usage of `.only()` focus test annotation
5685
5822
  * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/no-focused-test.md
@@ -5700,6 +5837,16 @@ export interface ESLintSchema {
5700
5837
  * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/no-hooks.md
5701
5838
  */
5702
5839
  'playwright/no-hooks'?: Linter.RuleEntry<PlaywrightNoHooks>;
5840
+ /**
5841
+ * Disallow identical titles
5842
+ * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/no-identical-title.md
5843
+ */
5844
+ 'playwright/no-identical-title'?: Linter.RuleEntry<[]>;
5845
+ /**
5846
+ * Disallow magic numbers as Playwright timeout values
5847
+ * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/no-magic-timeouts.md
5848
+ */
5849
+ 'playwright/no-magic-timeouts'?: Linter.RuleEntry<PlaywrightNoMagicTimeouts>;
5703
5850
  /**
5704
5851
  * Disallow nested `test.step()` methods
5705
5852
  * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/no-nested-step.md
@@ -5755,6 +5902,16 @@ export interface ESLintSchema {
5755
5902
  * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/no-standalone-expect.md
5756
5903
  */
5757
5904
  'playwright/no-standalone-expect'?: Linter.RuleEntry<[]>;
5905
+ /**
5906
+ * Disallow template literals in test, describe, and step titles
5907
+ * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/no-template-literal-title.md
5908
+ */
5909
+ 'playwright/no-template-literal-title'?: Linter.RuleEntry<PlaywrightNoTemplateLiteralTitle>;
5910
+ /**
5911
+ * Disallow explicitly returning from tests
5912
+ * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/no-test-return-statement.md
5913
+ */
5914
+ 'playwright/no-test-return-statement'?: Linter.RuleEntry<[]>;
5758
5915
  /**
5759
5916
  * Disallow assertions on a Locator that can never fail
5760
5917
  * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/no-unnecessary-assertions.md
@@ -5800,6 +5957,11 @@ export interface ESLintSchema {
5800
5957
  * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/prefer-comparison-matcher.md
5801
5958
  */
5802
5959
  'playwright/prefer-comparison-matcher'?: Linter.RuleEntry<[]>;
5960
+ /**
5961
+ * Prefer having the last statement in a test be an assertion
5962
+ * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/prefer-ending-with-an-expect.md
5963
+ */
5964
+ 'playwright/prefer-ending-with-an-expect'?: Linter.RuleEntry<PlaywrightPreferEndingWithAnExpect>;
5803
5965
  /**
5804
5966
  * Suggest using the built-in equality matchers
5805
5967
  * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/prefer-equality-matcher.md
@@ -5860,6 +6022,11 @@ export interface ESLintSchema {
5860
6022
  * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/prefer-web-first-assertions.md
5861
6023
  */
5862
6024
  'playwright/prefer-web-first-assertions'?: Linter.RuleEntry<[]>;
6025
+ /**
6026
+ * Require a reason for `.skip()` and `.fixme()` annotations
6027
+ * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/require-annotation-reason.md
6028
+ */
6029
+ 'playwright/require-annotation-reason'?: Linter.RuleEntry<PlaywrightRequireAnnotationReason>;
5863
6030
  /**
5864
6031
  * Require setup and teardown code to be within a hook
5865
6032
  * @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/require-hook.md
@@ -6303,1740 +6470,1992 @@ export interface ESLintSchema {
6303
6470
  'unicode-bom'?: Linter.RuleEntry<UnicodeBom>;
6304
6471
  /**
6305
6472
  * Prefer better DOM traversal APIs.
6306
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/better-dom-traversing.md
6473
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/better-dom-traversing.md
6307
6474
  */
6308
6475
  'unicorn/better-dom-traversing'?: Linter.RuleEntry<[]>;
6309
6476
  /**
6310
6477
  * 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
6478
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#better-regex
6312
6479
  * @deprecated
6313
6480
  */
6314
6481
  'unicorn/better-regex'?: Linter.RuleEntry<[]>;
6315
6482
  /**
6316
6483
  * 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
6484
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/catch-error-name.md
6318
6485
  */
6319
6486
  'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>;
6320
6487
  /**
6321
6488
  * 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
6489
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/class-reference-in-static-methods.md
6323
6490
  */
6324
6491
  'unicorn/class-reference-in-static-methods'?: Linter.RuleEntry<UnicornClassReferenceInStaticMethods>;
6492
+ /**
6493
+ * Enforce consistent spacing before and after commas in JSON.
6494
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/comma-spacing.md
6495
+ */
6496
+ 'unicorn/comma-spacing'?: Linter.RuleEntry<[]>;
6325
6497
  /**
6326
6498
  * Enforce better comment content.
6327
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/comment-content.md
6499
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/comment-content.md
6328
6500
  */
6329
6501
  'unicorn/comment-content'?: Linter.RuleEntry<UnicornCommentContent>;
6330
6502
  /**
6331
6503
  * 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
6504
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/consistent-arrow-return-style.md
6333
6505
  */
6334
6506
  'unicorn/consistent-arrow-return-style'?: Linter.RuleEntry<[]>;
6335
6507
  /**
6336
6508
  * 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
6509
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/consistent-assert.md
6338
6510
  */
6339
6511
  'unicorn/consistent-assert'?: Linter.RuleEntry<[]>;
6340
6512
  /**
6341
6513
  * 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
6514
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/consistent-boolean-name.md
6343
6515
  */
6344
6516
  'unicorn/consistent-boolean-name'?: Linter.RuleEntry<UnicornConsistentBooleanName>;
6345
6517
  /**
6346
6518
  * 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
6519
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/consistent-class-member-order.md
6348
6520
  */
6349
6521
  'unicorn/consistent-class-member-order'?: Linter.RuleEntry<UnicornConsistentClassMemberOrder>;
6350
6522
  /**
6351
6523
  * 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
6524
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/consistent-compound-words.md
6353
6525
  */
6354
6526
  'unicorn/consistent-compound-words'?: Linter.RuleEntry<UnicornConsistentCompoundWords>;
6355
6527
  /**
6356
6528
  * 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
6529
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/consistent-conditional-object-spread.md
6358
6530
  */
6359
6531
  'unicorn/consistent-conditional-object-spread'?: Linter.RuleEntry<UnicornConsistentConditionalObjectSpread>;
6360
6532
  /**
6361
6533
  * 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
6534
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/consistent-date-clone.md
6363
6535
  */
6364
6536
  'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>;
6365
6537
  /**
6366
6538
  * Use destructured variables over properties.
6367
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/consistent-destructuring.md
6539
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/consistent-destructuring.md
6368
6540
  */
6369
6541
  'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>;
6370
6542
  /**
6371
6543
  * 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
6544
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/consistent-empty-array-spread.md
6373
6545
  */
6374
6546
  'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>;
6375
6547
  /**
6376
6548
  * 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
6549
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/consistent-existence-index-check.md
6378
6550
  */
6379
6551
  'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>;
6380
6552
  /**
6381
6553
  * 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
6554
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/consistent-export-decorator-position.md
6383
6555
  */
6384
6556
  'unicorn/consistent-export-decorator-position'?: Linter.RuleEntry<UnicornConsistentExportDecoratorPosition>;
6385
6557
  /**
6386
6558
  * 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
6559
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/consistent-function-scoping.md
6388
6560
  */
6389
6561
  'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
6390
6562
  /**
6391
6563
  * Enforce function syntax by role.
6392
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/consistent-function-style.md
6564
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/consistent-function-style.md
6393
6565
  */
6394
6566
  'unicorn/consistent-function-style'?: Linter.RuleEntry<UnicornConsistentFunctionStyle>;
6395
6567
  /**
6396
6568
  * 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
6569
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/consistent-json-file-read.md
6398
6570
  */
6399
6571
  'unicorn/consistent-json-file-read'?: Linter.RuleEntry<UnicornConsistentJsonFileRead>;
6400
6572
  /**
6401
6573
  * 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
6574
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/consistent-optional-chaining.md
6403
6575
  */
6404
6576
  'unicorn/consistent-optional-chaining'?: Linter.RuleEntry<[]>;
6405
6577
  /**
6406
6578
  * 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
6579
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/consistent-template-literal-escape.md
6408
6580
  */
6409
6581
  'unicorn/consistent-template-literal-escape'?: Linter.RuleEntry<[]>;
6410
6582
  /**
6411
6583
  * 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
6584
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/consistent-tuple-labels.md
6413
6585
  */
6414
6586
  'unicorn/consistent-tuple-labels'?: Linter.RuleEntry<[]>;
6415
6587
  /**
6416
6588
  * Enforce correct `Error` subclassing.
6417
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/custom-error-definition.md
6589
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/custom-error-definition.md
6418
6590
  */
6419
6591
  'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>;
6420
6592
  /**
6421
6593
  * Enforce consistent default export declarations.
6422
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/default-export-style.md
6594
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/default-export-style.md
6423
6595
  */
6424
6596
  'unicorn/default-export-style'?: Linter.RuleEntry<UnicornDefaultExportStyle>;
6425
6597
  /**
6426
6598
  * 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
6599
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/dom-node-dataset.md
6428
6600
  */
6429
6601
  'unicorn/dom-node-dataset'?: Linter.RuleEntry<UnicornDomNodeDataset>;
6430
6602
  /**
6431
6603
  * Enforce no spaces between braces.
6432
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/empty-brace-spaces.md
6604
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/empty-brace-spaces.md
6433
6605
  */
6434
6606
  'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>;
6435
6607
  /**
6436
6608
  * 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
6609
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/error-message.md
6438
6610
  */
6439
6611
  'unicorn/error-message'?: Linter.RuleEntry<[]>;
6440
6612
  /**
6441
6613
  * 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
6614
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/escape-case.md
6443
6615
  */
6444
6616
  'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>;
6445
6617
  /**
6446
6618
  * 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
6619
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/expiring-todo-comments.md
6448
6620
  */
6449
6621
  'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>;
6450
6622
  /**
6451
6623
  * 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
6624
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/explicit-length-check.md
6453
6625
  */
6454
6626
  'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
6455
6627
  /**
6456
6628
  * 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
6629
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/explicit-timer-delay.md
6458
6630
  */
6459
6631
  'unicorn/explicit-timer-delay'?: Linter.RuleEntry<UnicornExplicitTimerDelay>;
6460
6632
  /**
6461
6633
  * 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
6634
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/filename-case.md
6463
6635
  */
6464
6636
  'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>;
6465
6637
  /**
6466
6638
  * 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
6639
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/id-match.md
6468
6640
  */
6469
6641
  'unicorn/id-match'?: Linter.RuleEntry<UnicornIdMatch>;
6470
6642
  /**
6471
6643
  * Enforce specific import styles per module.
6472
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/import-style.md
6644
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/import-style.md
6473
6645
  */
6474
6646
  'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>;
6647
+ /**
6648
+ * Enforce consistent indentation in JSON and CSS.
6649
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/indent.md
6650
+ */
6651
+ 'unicorn/indent'?: Linter.RuleEntry<UnicornIndent>;
6475
6652
  /**
6476
6653
  * 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
6654
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/isolated-functions.md
6478
6655
  */
6479
6656
  'unicorn/isolated-functions'?: Linter.RuleEntry<UnicornIsolatedFunctions>;
6480
6657
  /**
6481
6658
  * 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
6659
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/iteration-fallback-style.md
6483
6660
  */
6484
6661
  'unicorn/iteration-fallback-style'?: Linter.RuleEntry<UnicornIterationFallbackStyle>;
6662
+ /**
6663
+ * Enforce a case style for data keys.
6664
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/key-name-casing.md
6665
+ */
6666
+ 'unicorn/key-name-casing'?: Linter.RuleEntry<UnicornKeyNameCasing>;
6485
6667
  /**
6486
6668
  * 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
6669
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/logical-assignment-operators.md
6488
6670
  */
6489
6671
  'unicorn/logical-assignment-operators'?: Linter.RuleEntry<UnicornLogicalAssignmentOperators>;
6490
6672
  /**
6491
6673
  * 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
6674
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/max-nested-calls.md
6493
6675
  */
6494
6676
  'unicorn/max-nested-calls'?: Linter.RuleEntry<UnicornMaxNestedCalls>;
6495
6677
  /**
6496
6678
  * 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
6679
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/name-replacements.md
6498
6680
  */
6499
6681
  'unicorn/name-replacements'?: Linter.RuleEntry<UnicornNameReplacements>;
6500
6682
  /**
6501
6683
  * 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
6684
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/new-for-builtins.md
6503
6685
  */
6504
6686
  'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>;
6505
6687
  /**
6506
6688
  * 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
6689
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-abusive-eslint-disable.md
6508
6690
  */
6509
6691
  'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>;
6510
6692
  /**
6511
6693
  * 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
6694
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-accessor-recursion.md
6513
6695
  */
6514
6696
  'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>;
6515
6697
  /**
6516
6698
  * 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
6699
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-accidental-bitwise-operator.md
6518
6700
  */
6519
6701
  'unicorn/no-accidental-bitwise-operator'?: Linter.RuleEntry<[]>;
6520
6702
  /**
6521
6703
  * 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
6704
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-anonymous-default-export.md
6523
6705
  */
6524
6706
  'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>;
6525
6707
  /**
6526
6708
  * 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
6709
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-array-callback-reference.md
6528
6710
  */
6529
6711
  'unicorn/no-array-callback-reference'?: Linter.RuleEntry<UnicornNoArrayCallbackReference>;
6530
6712
  /**
6531
6713
  * 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
6714
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-array-concat-in-loop.md
6533
6715
  */
6534
6716
  'unicorn/no-array-concat-in-loop'?: Linter.RuleEntry<[]>;
6535
6717
  /**
6536
6718
  * 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
6719
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-array-fill-with-reference-type.md
6538
6720
  */
6539
6721
  'unicorn/no-array-fill-with-reference-type'?: Linter.RuleEntry<[]>;
6540
6722
  /**
6541
6723
  * 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
6724
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-array-from-fill.md
6543
6725
  */
6544
6726
  'unicorn/no-array-from-fill'?: Linter.RuleEntry<[]>;
6545
6727
  /**
6546
6728
  * 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
6729
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-array-front-mutation.md
6548
6730
  */
6549
6731
  'unicorn/no-array-front-mutation'?: Linter.RuleEntry<[]>;
6550
6732
  /**
6551
6733
  * 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
6734
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-array-method-this-argument.md
6553
6735
  */
6554
6736
  'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>;
6555
6737
  /**
6556
6738
  * 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
6739
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
6558
6740
  * @deprecated
6559
6741
  */
6560
6742
  'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>;
6561
6743
  /**
6562
6744
  * 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
6745
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-array-reduce.md
6564
6746
  */
6565
6747
  'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>;
6566
6748
  /**
6567
6749
  * 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
6750
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-array-reverse.md
6569
6751
  */
6570
6752
  'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>;
6571
6753
  /**
6572
6754
  * 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
6755
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-array-sort.md
6574
6756
  */
6575
6757
  'unicorn/no-array-sort'?: Linter.RuleEntry<UnicornNoArraySort>;
6576
6758
  /**
6577
6759
  * 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
6760
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-array-sort-for-min-max.md
6579
6761
  */
6580
6762
  'unicorn/no-array-sort-for-min-max'?: Linter.RuleEntry<[]>;
6581
6763
  /**
6582
6764
  * 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
6765
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-array-splice.md
6584
6766
  */
6585
6767
  'unicorn/no-array-splice'?: Linter.RuleEntry<[]>;
6586
6768
  /**
6587
- * 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
6769
+ * Disallow asterisk prefixes in multiline comments.
6770
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-asterisk-prefix-in-documentation-comments.md
6589
6771
  */
6590
6772
  'unicorn/no-asterisk-prefix-in-documentation-comments'?: Linter.RuleEntry<[]>;
6773
+ /**
6774
+ * Disallow asynchronous callbacks in synchronous iterator helpers.
6775
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-async-iterator-callback.md
6776
+ */
6777
+ 'unicorn/no-async-iterator-callback'?: Linter.RuleEntry<[]>;
6591
6778
  /**
6592
6779
  * 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
6780
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-async-promise-finally.md
6594
6781
  */
6595
6782
  'unicorn/no-async-promise-finally'?: Linter.RuleEntry<[]>;
6596
6783
  /**
6597
6784
  * 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
6785
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-await-expression-member.md
6599
6786
  */
6600
6787
  'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>;
6601
6788
  /**
6602
6789
  * 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
6790
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-await-in-promise-methods.md
6604
6791
  */
6605
6792
  'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>;
6606
6793
  /**
6607
6794
  * Disallow barrel files.
6608
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-barrel-files.md
6795
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-barrel-files.md
6609
6796
  */
6610
6797
  'unicorn/no-barrel-files'?: Linter.RuleEntry<[]>;
6611
6798
  /**
6612
6799
  * 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
6800
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-blob-to-file.md
6614
6801
  */
6615
6802
  'unicorn/no-blob-to-file'?: Linter.RuleEntry<[]>;
6616
6803
  /**
6617
6804
  * 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
6805
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-boolean-sort-comparator.md
6619
6806
  */
6620
6807
  'unicorn/no-boolean-sort-comparator'?: Linter.RuleEntry<[]>;
6621
6808
  /**
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
6809
+ * Disallow `break` and optionally `continue` in nested loops and switches inside loops.
6810
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-break-in-nested-loop.md
6624
6811
  */
6625
- 'unicorn/no-break-in-nested-loop'?: Linter.RuleEntry<[]>;
6812
+ 'unicorn/no-break-in-nested-loop'?: Linter.RuleEntry<UnicornNoBreakInNestedLoop>;
6626
6813
  /**
6627
6814
  * 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
6815
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-canvas-to-image.md
6629
6816
  */
6630
6817
  'unicorn/no-canvas-to-image'?: Linter.RuleEntry<[]>;
6631
6818
  /**
6632
6819
  * 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
6820
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-chained-comparison.md
6634
6821
  */
6635
6822
  'unicorn/no-chained-comparison'?: Linter.RuleEntry<[]>;
6636
6823
  /**
6637
6824
  * 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
6825
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-collection-bracket-access.md
6639
6826
  */
6640
6827
  'unicorn/no-collection-bracket-access'?: Linter.RuleEntry<[]>;
6641
6828
  /**
6642
6829
  * 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
6830
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-computed-property-existence-check.md
6644
6831
  */
6645
6832
  'unicorn/no-computed-property-existence-check'?: Linter.RuleEntry<[]>;
6833
+ /**
6834
+ * Disallow conflicting CSS query and HTML form constraints.
6835
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-conflicting-constraints.md
6836
+ */
6837
+ 'unicorn/no-conflicting-constraints'?: Linter.RuleEntry<[]>;
6646
6838
  /**
6647
6839
  * 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
6840
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-confusing-array-splice.md
6649
6841
  */
6650
6842
  'unicorn/no-confusing-array-splice'?: Linter.RuleEntry<[]>;
6651
6843
  /**
6652
6844
  * 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
6845
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-confusing-array-with.md
6654
6846
  */
6655
6847
  'unicorn/no-confusing-array-with'?: Linter.RuleEntry<[]>;
6656
6848
  /**
6657
6849
  * 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
6850
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-console-spaces.md
6659
6851
  */
6660
6852
  'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>;
6661
6853
  /**
6662
6854
  * 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
6855
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-constant-zero-expression.md
6664
6856
  */
6665
6857
  'unicorn/no-constant-zero-expression'?: Linter.RuleEntry<[]>;
6666
6858
  /**
6667
6859
  * 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
6860
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-declarations-before-early-exit.md
6669
6861
  */
6670
6862
  'unicorn/no-declarations-before-early-exit'?: Linter.RuleEntry<[]>;
6863
+ /**
6864
+ * Moved to `eslint-cssicorn` as `cssicorn/no-deprecated-features`.
6865
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#no-deprecated-css-features
6866
+ * @deprecated
6867
+ */
6868
+ 'unicorn/no-deprecated-css-features'?: Linter.RuleEntry<[]>;
6671
6869
  /**
6672
6870
  * 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
6871
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-document-cookie.md
6674
6872
  */
6675
6873
  'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>;
6676
6874
  /**
6677
6875
  * 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
6876
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-double-comparison.md
6679
6877
  */
6680
6878
  'unicorn/no-double-comparison'?: Linter.RuleEntry<[]>;
6879
+ /**
6880
+ * Moved to `eslint-cssicorn` as `cssicorn/no-duplicate-selectors`.
6881
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#no-duplicate-css-selectors
6882
+ * @deprecated
6883
+ */
6884
+ 'unicorn/no-duplicate-css-selectors'?: Linter.RuleEntry<[]>;
6885
+ /**
6886
+ * Moved to `eslint-cssicorn` as `cssicorn/no-duplicate-font-family-names`.
6887
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#no-duplicate-font-family-names
6888
+ * @deprecated
6889
+ */
6890
+ 'unicorn/no-duplicate-font-family-names'?: Linter.RuleEntry<[]>;
6681
6891
  /**
6682
6892
  * 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
6893
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-duplicate-if-branches.md
6684
6894
  */
6685
6895
  'unicorn/no-duplicate-if-branches'?: Linter.RuleEntry<[]>;
6686
6896
  /**
6687
6897
  * 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
6898
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-duplicate-logical-operands.md
6689
6899
  */
6690
6900
  'unicorn/no-duplicate-logical-operands'?: Linter.RuleEntry<[]>;
6691
6901
  /**
6692
6902
  * 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
6903
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-duplicate-loops.md
6694
6904
  */
6695
6905
  'unicorn/no-duplicate-loops'?: Linter.RuleEntry<[]>;
6696
6906
  /**
6697
6907
  * 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
6908
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-duplicate-set-values.md
6699
6909
  */
6700
6910
  'unicorn/no-duplicate-set-values'?: Linter.RuleEntry<[]>;
6701
6911
  /**
6702
6912
  * Disallow empty files.
6703
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-empty-file.md
6913
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-empty-file.md
6704
6914
  */
6705
6915
  'unicorn/no-empty-file'?: Linter.RuleEntry<UnicornNoEmptyFile>;
6916
+ /**
6917
+ * Disallow empty link text in Markdown.
6918
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-empty-link-text.md
6919
+ */
6920
+ 'unicorn/no-empty-link-text'?: Linter.RuleEntry<[]>;
6706
6921
  /**
6707
6922
  * 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
6923
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-error-property-assignment.md
6709
6924
  */
6710
6925
  'unicorn/no-error-property-assignment'?: Linter.RuleEntry<[]>;
6711
6926
  /**
6712
6927
  * Disallow exports in scripts.
6713
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-exports-in-scripts.md
6928
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-exports-in-scripts.md
6714
6929
  */
6715
6930
  'unicorn/no-exports-in-scripts'?: Linter.RuleEntry<[]>;
6716
6931
  /**
6717
6932
  * 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
6933
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-for-each.md
6719
6934
  */
6720
6935
  'unicorn/no-for-each'?: Linter.RuleEntry<[]>;
6721
6936
  /**
6722
6937
  * 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
6938
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-for-loop.md
6724
6939
  */
6725
6940
  'unicorn/no-for-loop'?: Linter.RuleEntry<[]>;
6726
6941
  /**
6727
6942
  * 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
6943
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-global-object-property-assignment.md
6729
6944
  */
6730
6945
  'unicorn/no-global-object-property-assignment'?: Linter.RuleEntry<[]>;
6731
6946
  /**
6732
- * 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
6947
+ * Replaced by `unicorn/prefer-literal-ascii` and `unicorn/prefer-unicode-code-point-escapes`, which cover more cases.
6948
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#no-hex-escape
6734
6949
  * @deprecated
6735
6950
  */
6736
6951
  'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>;
6737
6952
  /**
6738
6953
  * 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
6954
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-immediate-mutation.md
6740
6955
  */
6741
- 'unicorn/no-immediate-mutation'?: Linter.RuleEntry<[]>;
6956
+ 'unicorn/no-immediate-mutation'?: Linter.RuleEntry<UnicornNoImmediateMutation>;
6742
6957
  /**
6743
6958
  * 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
6959
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-impossible-length-comparison.md
6745
6960
  */
6746
6961
  'unicorn/no-impossible-length-comparison'?: Linter.RuleEntry<[]>;
6962
+ /**
6963
+ * Disallow class accessors that hide an inherited getter or setter.
6964
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-incomplete-accessor-override.md
6965
+ */
6966
+ 'unicorn/no-incomplete-accessor-override'?: Linter.RuleEntry<[]>;
6747
6967
  /**
6748
6968
  * 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
6969
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-incorrect-query-selector.md
6750
6970
  */
6751
6971
  'unicorn/no-incorrect-query-selector'?: Linter.RuleEntry<[]>;
6752
6972
  /**
6753
6973
  * 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
6974
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-incorrect-template-string-interpolation.md
6755
6975
  */
6756
6976
  'unicorn/no-incorrect-template-string-interpolation'?: Linter.RuleEntry<[]>;
6977
+ /**
6978
+ * Disallow ineffective CSP directives in `<meta>` elements.
6979
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-ineffective-csp-directives.md
6980
+ */
6981
+ 'unicorn/no-ineffective-csp-directives'?: Linter.RuleEntry<[]>;
6757
6982
  /**
6758
6983
  * 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
6984
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
6760
6985
  * @deprecated
6761
6986
  */
6762
6987
  'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>;
6763
6988
  /**
6764
6989
  * 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
6990
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-instanceof-builtins.md
6766
6991
  */
6767
6992
  'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
6768
6993
  /**
6769
6994
  * 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
6995
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-invalid-argument-count.md
6771
6996
  */
6772
6997
  'unicorn/no-invalid-argument-count'?: Linter.RuleEntry<UnicornNoInvalidArgumentCount>;
6998
+ /**
6999
+ * Disallow invalid values for HTML boolean attributes.
7000
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-invalid-boolean-attribute-value.md
7001
+ */
7002
+ 'unicorn/no-invalid-boolean-attribute-value'?: Linter.RuleEntry<[]>;
6773
7003
  /**
6774
7004
  * 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
7005
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-invalid-character-comparison.md
6776
7006
  */
6777
7007
  'unicorn/no-invalid-character-comparison'?: Linter.RuleEntry<[]>;
7008
+ /**
7009
+ * Disallow invalid DOM tokens.
7010
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-invalid-dom-token.md
7011
+ */
7012
+ 'unicorn/no-invalid-dom-token'?: Linter.RuleEntry<[]>;
6778
7013
  /**
6779
7014
  * 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
7015
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-invalid-fetch-options.md
6781
7016
  */
6782
7017
  'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>;
6783
7018
  /**
6784
7019
  * 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
7020
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-invalid-file-input-accept.md
6786
7021
  */
6787
7022
  'unicorn/no-invalid-file-input-accept'?: Linter.RuleEntry<[]>;
7023
+ /**
7024
+ * Disallow invalid subresource integrity metadata.
7025
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-invalid-integrity.md
7026
+ */
7027
+ 'unicorn/no-invalid-integrity'?: Linter.RuleEntry<[]>;
7028
+ /**
7029
+ * Disallow invalid or ignored Intl options.
7030
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-invalid-intl-options.md
7031
+ */
7032
+ 'unicorn/no-invalid-intl-options'?: Linter.RuleEntry<[]>;
7033
+ /**
7034
+ * Moved to `eslint-cssicorn` as `cssicorn/no-invalid-media-features`.
7035
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#no-invalid-media-features
7036
+ * @deprecated
7037
+ */
7038
+ 'unicorn/no-invalid-media-features'?: Linter.RuleEntry<[]>;
7039
+ /**
7040
+ * Disallow invalid property descriptors.
7041
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-invalid-property-descriptor.md
7042
+ */
7043
+ 'unicorn/no-invalid-property-descriptor'?: Linter.RuleEntry<[]>;
6788
7044
  /**
6789
7045
  * 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
7046
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-invalid-remove-event-listener.md
6791
7047
  */
6792
7048
  'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>;
7049
+ /**
7050
+ * Disallow invalid options in `new Response()`, `Response.json()`, and `Response.redirect()`.
7051
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-invalid-response-options.md
7052
+ */
7053
+ 'unicorn/no-invalid-response-options'?: Linter.RuleEntry<[]>;
7054
+ /**
7055
+ * Disallow invalid arguments to `CSSStyleDeclaration#setProperty()`.
7056
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-invalid-style-set-property.md
7057
+ */
7058
+ 'unicorn/no-invalid-style-set-property'?: Linter.RuleEntry<[]>;
7059
+ /**
7060
+ * Disallow statically known invalid Temporal arithmetic.
7061
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-invalid-temporal-arithmetic.md
7062
+ */
7063
+ 'unicorn/no-invalid-temporal-arithmetic'?: Linter.RuleEntry<[]>;
7064
+ /**
7065
+ * Disallow invalid protocol strings in comparisons with `URL#protocol`.
7066
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-invalid-url-protocol-comparison.md
7067
+ */
7068
+ 'unicorn/no-invalid-url-protocol-comparison'?: Linter.RuleEntry<[]>;
6793
7069
  /**
6794
7070
  * 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
7071
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-invalid-well-known-symbol-methods.md
6796
7072
  */
6797
7073
  'unicorn/no-invalid-well-known-symbol-methods'?: Linter.RuleEntry<[]>;
7074
+ /**
7075
+ * Disallow `javascript:` URLs in Markdown.
7076
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-javascript-url.md
7077
+ */
7078
+ 'unicorn/no-javascript-url'?: Linter.RuleEntry<[]>;
6798
7079
  /**
6799
7080
  * 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
7081
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-keyword-prefix.md
6801
7082
  */
6802
7083
  'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
6803
7084
  /**
6804
7085
  * 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
7086
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-late-current-target-access.md
6806
7087
  */
6807
7088
  'unicorn/no-late-current-target-access'?: Linter.RuleEntry<[]>;
6808
7089
  /**
6809
7090
  * 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
7091
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-late-event-control.md
6811
7092
  */
6812
7093
  'unicorn/no-late-event-control'?: Linter.RuleEntry<[]>;
7094
+ /**
7095
+ * Disallow empty lines at the beginning of a file.
7096
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-leading-empty-lines.md
7097
+ */
7098
+ 'unicorn/no-leading-empty-lines'?: Linter.RuleEntry<[]>;
6813
7099
  /**
6814
7100
  * 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
7101
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
6816
7102
  * @deprecated
6817
7103
  */
6818
7104
  'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>;
6819
7105
  /**
6820
7106
  * 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
7107
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-lonely-if.md
6822
7108
  */
6823
7109
  'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>;
6824
7110
  /**
6825
7111
  * 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
7112
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-loop-iterable-mutation.md
6827
7113
  */
6828
7114
  'unicorn/no-loop-iterable-mutation'?: Linter.RuleEntry<[]>;
7115
+ /**
7116
+ * Disallow numeric literals that lose precision when represented as IEEE 754 binary64 values.
7117
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-loss-of-precision.md
7118
+ */
7119
+ 'unicorn/no-loss-of-precision'?: Linter.RuleEntry<[]>;
6829
7120
  /**
6830
7121
  * 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
7122
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-magic-array-flat-depth.md
6832
7123
  */
6833
7124
  'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>;
6834
7125
  /**
6835
7126
  * Disallow manually wrapped comments.
6836
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-manually-wrapped-comments.md
7127
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-manually-wrapped-comments.md
6837
7128
  */
6838
7129
  'unicorn/no-manually-wrapped-comments'?: Linter.RuleEntry<[]>;
6839
7130
  /**
6840
7131
  * 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
7132
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-mismatched-map-key.md
6842
7133
  */
6843
7134
  'unicorn/no-mismatched-map-key'?: Linter.RuleEntry<[]>;
6844
7135
  /**
6845
7136
  * 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
7137
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-misrefactored-assignment.md
6847
7138
  */
6848
7139
  'unicorn/no-misrefactored-assignment'?: Linter.RuleEntry<[]>;
6849
7140
  /**
6850
7141
  * 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
7142
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-missing-local-resource.md
6852
7143
  */
6853
7144
  'unicorn/no-missing-local-resource'?: Linter.RuleEntry<[]>;
6854
7145
  /**
6855
7146
  * 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
7147
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-multiple-promise-resolver-calls.md
6857
7148
  */
6858
7149
  'unicorn/no-multiple-promise-resolver-calls'?: Linter.RuleEntry<[]>;
6859
7150
  /**
6860
7151
  * 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
7152
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-named-default.md
6862
7153
  */
6863
7154
  'unicorn/no-named-default'?: Linter.RuleEntry<[]>;
6864
7155
  /**
6865
7156
  * 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
7157
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-negated-array-predicate.md
6867
7158
  */
6868
7159
  'unicorn/no-negated-array-predicate'?: Linter.RuleEntry<[]>;
6869
7160
  /**
6870
7161
  * Disallow negated comparisons.
6871
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-negated-comparison.md
7162
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-negated-comparison.md
6872
7163
  */
6873
7164
  'unicorn/no-negated-comparison'?: Linter.RuleEntry<UnicornNoNegatedComparison>;
6874
7165
  /**
6875
7166
  * Disallow negated conditions.
6876
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-negated-condition.md
7167
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-negated-condition.md
6877
7168
  */
6878
7169
  'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>;
6879
7170
  /**
6880
7171
  * 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
7172
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-negation-in-equality-check.md
6882
7173
  */
6883
7174
  'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>;
6884
7175
  /**
6885
7176
  * Disallow nested ternary expressions.
6886
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-nested-ternary.md
7177
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-nested-ternary.md
6887
7178
  */
6888
7179
  'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>;
7180
+ /**
7181
+ * Moved to `eslint-cssicorn` as `cssicorn/no-nesting-with-mixed-specificity`.
7182
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#no-nesting-with-mixed-specificity
7183
+ * @deprecated
7184
+ */
7185
+ 'unicorn/no-nesting-with-mixed-specificity'?: Linter.RuleEntry<[]>;
6889
7186
  /**
6890
7187
  * Disallow `new Array()`.
6891
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-new-array.md
7188
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-new-array.md
6892
7189
  */
6893
7190
  'unicorn/no-new-array'?: Linter.RuleEntry<[]>;
6894
7191
  /**
6895
7192
  * 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
7193
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-new-buffer.md
6897
7194
  */
6898
7195
  'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>;
6899
7196
  /**
6900
7197
  * 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
7198
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-non-function-verb-prefix.md
6902
7199
  */
6903
7200
  'unicorn/no-non-function-verb-prefix'?: Linter.RuleEntry<UnicornNoNonFunctionVerbPrefix>;
6904
7201
  /**
6905
7202
  * 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
7203
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-nonstandard-builtin-properties.md
6907
7204
  */
6908
7205
  'unicorn/no-nonstandard-builtin-properties'?: Linter.RuleEntry<[]>;
6909
7206
  /**
6910
7207
  * 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
7208
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-null.md
6912
7209
  */
6913
7210
  'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>;
6914
7211
  /**
6915
7212
  * 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
7213
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-object-as-default-parameter.md
6917
7214
  */
6918
7215
  'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>;
6919
7216
  /**
6920
7217
  * 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
7218
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-object-methods-with-collections.md
6922
7219
  */
6923
7220
  'unicorn/no-object-methods-with-collections'?: Linter.RuleEntry<[]>;
6924
7221
  /**
6925
7222
  * 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
7223
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-optional-chaining-on-undeclared-variable.md
6927
7224
  */
6928
7225
  'unicorn/no-optional-chaining-on-undeclared-variable'?: Linter.RuleEntry<[]>;
7226
+ /**
7227
+ * Disallow ineffective `preventDefault()` calls in passive event listeners.
7228
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-prevent-default-in-passive-listener.md
7229
+ */
7230
+ 'unicorn/no-prevent-default-in-passive-listener'?: Linter.RuleEntry<[]>;
6929
7231
  /**
6930
7232
  * Disallow `process.exit()`.
6931
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-process-exit.md
7233
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-process-exit.md
6932
7234
  */
6933
7235
  'unicorn/no-process-exit'?: Linter.RuleEntry<[]>;
6934
7236
  /**
6935
7237
  * 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
7238
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-redundant-comparison.md
6937
7239
  */
6938
7240
  'unicorn/no-redundant-comparison'?: Linter.RuleEntry<[]>;
7241
+ /**
7242
+ * Moved to `eslint-cssicorn` as `cssicorn/no-redundant-nested-style-rules`.
7243
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#no-redundant-nested-style-rules
7244
+ * @deprecated
7245
+ */
7246
+ 'unicorn/no-redundant-nested-style-rules'?: Linter.RuleEntry<[]>;
6939
7247
  /**
6940
7248
  * 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
7249
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-return-array-push.md
6942
7250
  */
6943
7251
  'unicorn/no-return-array-push'?: Linter.RuleEntry<[]>;
6944
7252
  /**
6945
7253
  * 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
7254
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-selector-as-dom-name.md
6947
7255
  */
6948
7256
  'unicorn/no-selector-as-dom-name'?: Linter.RuleEntry<[]>;
6949
7257
  /**
6950
7258
  * 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
7259
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-shorthand-property-overrides.md
6952
7260
  */
6953
7261
  'unicorn/no-shorthand-property-overrides'?: Linter.RuleEntry<[]>;
6954
7262
  /**
6955
7263
  * 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
7264
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-single-promise-in-promise-methods.md
6957
7265
  */
6958
7266
  'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>;
6959
7267
  /**
6960
7268
  * 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
7269
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-static-only-class.md
6962
7270
  */
6963
7271
  'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>;
6964
7272
  /**
6965
7273
  * 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
7274
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-subtraction-comparison.md
6967
7275
  */
6968
7276
  'unicorn/no-subtraction-comparison'?: Linter.RuleEntry<[]>;
6969
7277
  /**
6970
7278
  * Disallow `then` property.
6971
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-thenable.md
7279
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-thenable.md
6972
7280
  */
6973
7281
  'unicorn/no-thenable'?: Linter.RuleEntry<[]>;
6974
7282
  /**
6975
7283
  * 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
7284
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-this-assignment.md
6977
7285
  */
6978
7286
  'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>;
6979
7287
  /**
6980
7288
  * 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
7289
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-this-outside-of-class.md
6982
7290
  */
6983
7291
  'unicorn/no-this-outside-of-class'?: Linter.RuleEntry<[]>;
6984
7292
  /**
6985
7293
  * 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
7294
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-top-level-assignment-in-function.md
6987
7295
  */
6988
7296
  'unicorn/no-top-level-assignment-in-function'?: Linter.RuleEntry<[]>;
6989
7297
  /**
6990
7298
  * 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
7299
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-top-level-side-effects.md
6992
7300
  */
6993
7301
  'unicorn/no-top-level-side-effects'?: Linter.RuleEntry<[]>;
6994
7302
  /**
6995
7303
  * 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
7304
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-transition-all.md
6997
7305
  */
6998
7306
  'unicorn/no-transition-all'?: Linter.RuleEntry<[]>;
6999
7307
  /**
7000
7308
  * Disallow comparing `undefined` using `typeof`.
7001
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-typeof-undefined.md
7309
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-typeof-undefined.md
7002
7310
  */
7003
7311
  'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
7004
7312
  /**
7005
7313
  * 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
7314
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-uncalled-method.md
7007
7315
  */
7008
7316
  'unicorn/no-uncalled-method'?: Linter.RuleEntry<[]>;
7009
7317
  /**
7010
7318
  * 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
7319
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-undeclared-class-members.md
7012
7320
  */
7013
7321
  'unicorn/no-undeclared-class-members'?: Linter.RuleEntry<[]>;
7322
+ /**
7323
+ * Moved to `eslint-cssicorn` as `cssicorn/no-unknown-annotations`.
7324
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#no-unknown-css-annotations
7325
+ * @deprecated
7326
+ */
7327
+ 'unicorn/no-unknown-css-annotations'?: Linter.RuleEntry<[]>;
7328
+ /**
7329
+ * Moved to `eslint-cssicorn` as `cssicorn/no-unknown-pseudo-selectors`.
7330
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#no-unknown-pseudo-selectors
7331
+ * @deprecated
7332
+ */
7333
+ 'unicorn/no-unknown-pseudo-selectors'?: Linter.RuleEntry<[]>;
7014
7334
  /**
7015
7335
  * 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
7336
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unnecessary-array-flat-depth.md
7017
7337
  */
7018
7338
  'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>;
7019
7339
  /**
7020
- * 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
7340
+ * Disallow unnecessary use of `Array#flatMap()`.
7341
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unnecessary-array-flat-map.md
7022
7342
  */
7023
7343
  'unicorn/no-unnecessary-array-flat-map'?: Linter.RuleEntry<[]>;
7024
7344
  /**
7025
7345
  * 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
7346
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unnecessary-array-splice-count.md
7027
7347
  */
7028
7348
  'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>;
7029
7349
  /**
7030
7350
  * Disallow awaiting non-promise values.
7031
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unnecessary-await.md
7351
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unnecessary-await.md
7032
7352
  */
7033
7353
  'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>;
7034
7354
  /**
7035
7355
  * 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
7356
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unnecessary-boolean-comparison.md
7037
7357
  */
7038
7358
  'unicorn/no-unnecessary-boolean-comparison'?: Linter.RuleEntry<[]>;
7039
7359
  /**
7040
7360
  * 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
7361
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unnecessary-fetch-options.md
7042
7362
  */
7043
7363
  'unicorn/no-unnecessary-fetch-options'?: Linter.RuleEntry<[]>;
7044
7364
  /**
7045
7365
  * Disallow unnecessary `globalThis` references.
7046
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unnecessary-global-this.md
7366
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unnecessary-global-this.md
7047
7367
  */
7048
7368
  'unicorn/no-unnecessary-global-this'?: Linter.RuleEntry<[]>;
7049
7369
  /**
7050
7370
  * 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
7371
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unnecessary-nested-ternary.md
7052
7372
  */
7053
7373
  'unicorn/no-unnecessary-nested-ternary'?: Linter.RuleEntry<[]>;
7374
+ /**
7375
+ * Disallow parameters that receive the same value at every call.
7376
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unnecessary-parameters.md
7377
+ */
7378
+ 'unicorn/no-unnecessary-parameters'?: Linter.RuleEntry<UnicornNoUnnecessaryParameters>;
7054
7379
  /**
7055
7380
  * 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
7381
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unnecessary-polyfills.md
7057
7382
  */
7058
7383
  'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
7059
7384
  /**
7060
7385
  * 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
7386
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unnecessary-slice-end.md
7062
7387
  */
7063
7388
  'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>;
7064
7389
  /**
7065
7390
  * 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
7391
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unnecessary-splice.md
7067
7392
  */
7068
7393
  'unicorn/no-unnecessary-splice'?: Linter.RuleEntry<[]>;
7069
7394
  /**
7070
7395
  * 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
7396
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unnecessary-string-trim.md
7072
7397
  */
7073
7398
  'unicorn/no-unnecessary-string-trim'?: Linter.RuleEntry<[]>;
7074
7399
  /**
7075
7400
  * Disallow unreadable array destructuring.
7076
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unreadable-array-destructuring.md
7401
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unreadable-array-destructuring.md
7077
7402
  */
7078
7403
  'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<UnicornNoUnreadableArrayDestructuring>;
7079
7404
  /**
7080
7405
  * 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
7406
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unreadable-for-of-expression.md
7082
7407
  */
7083
7408
  'unicorn/no-unreadable-for-of-expression'?: Linter.RuleEntry<[]>;
7084
7409
  /**
7085
7410
  * Disallow unreadable IIFEs.
7086
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unreadable-iife.md
7411
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unreadable-iife.md
7087
7412
  */
7088
7413
  'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>;
7089
7414
  /**
7090
7415
  * Disallow unreadable `new` expressions.
7091
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unreadable-new-expression.md
7416
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unreadable-new-expression.md
7092
7417
  */
7093
7418
  'unicorn/no-unreadable-new-expression'?: Linter.RuleEntry<[]>;
7094
7419
  /**
7095
7420
  * Disallow unreadable object destructuring.
7096
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unreadable-object-destructuring.md
7421
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unreadable-object-destructuring.md
7097
7422
  */
7098
7423
  'unicorn/no-unreadable-object-destructuring'?: Linter.RuleEntry<[]>;
7099
7424
  /**
7100
7425
  * 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
7426
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unsafe-buffer-conversion.md
7102
7427
  */
7103
7428
  'unicorn/no-unsafe-buffer-conversion'?: Linter.RuleEntry<[]>;
7104
7429
  /**
7105
7430
  * 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
7431
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unsafe-dom-html.md
7107
7432
  */
7108
7433
  'unicorn/no-unsafe-dom-html'?: Linter.RuleEntry<[]>;
7434
+ /**
7435
+ * Disallow known values that JSON serialization cannot represent faithfully.
7436
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unsafe-json-serialization.md
7437
+ */
7438
+ 'unicorn/no-unsafe-json-serialization'?: Linter.RuleEntry<[]>;
7109
7439
  /**
7110
7440
  * 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
7441
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unsafe-promise-all-settled-values.md
7112
7442
  */
7113
7443
  'unicorn/no-unsafe-promise-all-settled-values'?: Linter.RuleEntry<[]>;
7114
7444
  /**
7115
7445
  * 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
7446
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unsafe-property-key.md
7117
7447
  */
7118
7448
  'unicorn/no-unsafe-property-key'?: Linter.RuleEntry<[]>;
7119
7449
  /**
7120
7450
  * 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
7451
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unsafe-sqlite-interpolation.md
7122
7452
  */
7123
7453
  'unicorn/no-unsafe-sqlite-interpolation'?: Linter.RuleEntry<[]>;
7124
7454
  /**
7125
7455
  * 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
7456
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unsafe-string-replacement.md
7127
7457
  */
7128
7458
  'unicorn/no-unsafe-string-replacement'?: Linter.RuleEntry<[]>;
7129
7459
  /**
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
7460
+ * Moved to `eslint-cssicorn` as `cssicorn/no-unscoped-nesting-selector`.
7461
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#no-unscoped-css-nesting-selector
7462
+ * @deprecated
7463
+ */
7464
+ 'unicorn/no-unscoped-css-nesting-selector'?: Linter.RuleEntry<[]>;
7465
+ /**
7466
+ * Replaced by `unicorn/no-unused-builtin-method-return` which covers more cases.
7467
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#no-unused-array-method-return
7468
+ * @deprecated
7132
7469
  */
7133
7470
  'unicorn/no-unused-array-method-return'?: Linter.RuleEntry<[]>;
7471
+ /**
7472
+ * Disallow ignoring the return value of selected built-in methods.
7473
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unused-builtin-method-return.md
7474
+ */
7475
+ 'unicorn/no-unused-builtin-method-return'?: Linter.RuleEntry<[]>;
7476
+ /**
7477
+ * Disallow discarding lazy iterator helpers.
7478
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unused-iterator-helper.md
7479
+ */
7480
+ 'unicorn/no-unused-iterator-helper'?: Linter.RuleEntry<[]>;
7134
7481
  /**
7135
7482
  * Disallow unused object properties.
7136
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-unused-properties.md
7483
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unused-properties.md
7137
7484
  */
7138
7485
  'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>;
7486
+ /**
7487
+ * Disallow passing full URLs to `URLSearchParams`.
7488
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-url-in-search-params.md
7489
+ */
7490
+ 'unicorn/no-url-in-search-params'?: Linter.RuleEntry<[]>;
7139
7491
  /**
7140
7492
  * 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
7493
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-boolean-cast.md
7142
7494
  */
7143
7495
  'unicorn/no-useless-boolean-cast'?: Linter.RuleEntry<[]>;
7144
7496
  /**
7145
7497
  * 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
7498
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-coercion.md
7147
7499
  */
7148
7500
  'unicorn/no-useless-coercion'?: Linter.RuleEntry<[]>;
7149
7501
  /**
7150
7502
  * 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
7503
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-collection-argument.md
7152
7504
  */
7153
7505
  'unicorn/no-useless-collection-argument'?: Linter.RuleEntry<[]>;
7154
7506
  /**
7155
7507
  * 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
7508
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-compound-assignment.md
7157
7509
  */
7158
7510
  'unicorn/no-useless-compound-assignment'?: Linter.RuleEntry<[]>;
7159
7511
  /**
7160
7512
  * Disallow useless concatenation of literals.
7161
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-concat.md
7513
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-concat.md
7162
7514
  */
7163
7515
  'unicorn/no-useless-concat'?: Linter.RuleEntry<[]>;
7164
7516
  /**
7165
7517
  * Disallow useless `continue` statements.
7166
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-continue.md
7518
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-continue.md
7167
7519
  */
7168
7520
  'unicorn/no-useless-continue'?: Linter.RuleEntry<[]>;
7169
7521
  /**
7170
7522
  * 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
7523
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-delete-check.md
7172
7524
  */
7173
7525
  'unicorn/no-useless-delete-check'?: Linter.RuleEntry<[]>;
7174
7526
  /**
7175
7527
  * 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
7528
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-else.md
7177
7529
  */
7178
7530
  'unicorn/no-useless-else'?: Linter.RuleEntry<[]>;
7179
7531
  /**
7180
7532
  * 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
7533
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-error-capture-stack-trace.md
7182
7534
  */
7183
7535
  'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>;
7184
7536
  /**
7185
7537
  * 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
7538
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-fallback-in-spread.md
7187
7539
  */
7188
7540
  'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>;
7189
7541
  /**
7190
7542
  * 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
7543
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-iterator-to-array.md
7192
7544
  */
7193
7545
  'unicorn/no-useless-iterator-to-array'?: Linter.RuleEntry<[]>;
7194
7546
  /**
7195
7547
  * 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
7548
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-length-check.md
7197
7549
  */
7198
7550
  'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>;
7199
7551
  /**
7200
7552
  * 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
7553
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-logical-operand.md
7202
7554
  */
7203
7555
  'unicorn/no-useless-logical-operand'?: Linter.RuleEntry<[]>;
7204
7556
  /**
7205
7557
  * 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
7558
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-override.md
7207
7559
  */
7208
7560
  'unicorn/no-useless-override'?: Linter.RuleEntry<[]>;
7209
7561
  /**
7210
7562
  * 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
7563
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-promise-resolve-reject.md
7212
7564
  */
7213
7565
  'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>;
7214
7566
  /**
7215
7567
  * Disallow redundant re-exports.
7216
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-re-export.md
7568
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-re-export.md
7217
7569
  */
7218
7570
  'unicorn/no-useless-re-export'?: Linter.RuleEntry<[]>;
7219
7571
  /**
7220
7572
  * 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
7573
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-recursion.md
7222
7574
  */
7223
7575
  'unicorn/no-useless-recursion'?: Linter.RuleEntry<[]>;
7576
+ /**
7577
+ * Disallow unnecessary `Set` construction around `Set` methods.
7578
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-set-construction.md
7579
+ */
7580
+ 'unicorn/no-useless-set-construction'?: Linter.RuleEntry<[]>;
7224
7581
  /**
7225
7582
  * Disallow unnecessary spread.
7226
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-spread.md
7583
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-spread.md
7227
7584
  */
7228
7585
  'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>;
7229
7586
  /**
7230
7587
  * 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
7588
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-switch-case.md
7232
7589
  */
7233
7590
  'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>;
7234
7591
  /**
7235
7592
  * 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
7593
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-template-literals.md
7237
7594
  */
7238
7595
  'unicorn/no-useless-template-literals'?: Linter.RuleEntry<[]>;
7239
7596
  /**
7240
7597
  * Disallow useless `undefined`.
7241
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/no-useless-undefined.md
7598
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-undefined.md
7242
7599
  */
7243
7600
  'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>;
7601
+ /**
7602
+ * Disallow returning or exporting resources declared with `using`, including through capturing functions.
7603
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-using-resource-escape.md
7604
+ */
7605
+ 'unicorn/no-using-resource-escape'?: Linter.RuleEntry<[]>;
7244
7606
  /**
7245
7607
  * 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
7608
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-xor-as-exponentiation.md
7247
7609
  */
7248
7610
  'unicorn/no-xor-as-exponentiation'?: Linter.RuleEntry<[]>;
7249
7611
  /**
7250
- * 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
7612
+ * Require consistent decimal numbers without redundant zeros.
7613
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-zero-fractions.md
7252
7614
  */
7253
7615
  'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>;
7254
7616
  /**
7255
7617
  * 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
7618
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/number-literal-case.md
7257
7619
  */
7258
7620
  'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>;
7259
7621
  /**
7260
7622
  * 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
7623
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/numeric-separators-style.md
7262
7624
  */
7263
7625
  'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
7264
7626
  /**
7265
7627
  * Require assignment operator shorthand where possible.
7266
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/operator-assignment.md
7628
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/operator-assignment.md
7267
7629
  */
7268
7630
  'unicorn/operator-assignment'?: Linter.RuleEntry<UnicornOperatorAssignment>;
7269
7631
  /**
7270
7632
  * 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
7633
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-abort-signal-any.md
7272
7634
  */
7273
7635
  'unicorn/prefer-abort-signal-any'?: Linter.RuleEntry<[]>;
7274
7636
  /**
7275
7637
  * 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
7638
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-abort-signal-timeout.md
7277
7639
  */
7278
7640
  'unicorn/prefer-abort-signal-timeout'?: Linter.RuleEntry<[]>;
7279
7641
  /**
7280
7642
  * 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
7643
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-add-event-listener.md
7282
7644
  */
7283
7645
  'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>;
7284
7646
  /**
7285
7647
  * 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
7648
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-add-event-listener-options.md
7287
7649
  */
7288
7650
  'unicorn/prefer-add-event-listener-options'?: Linter.RuleEntry<[]>;
7289
7651
  /**
7290
7652
  * 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
7653
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-aggregate-error.md
7292
7654
  */
7293
7655
  'unicorn/prefer-aggregate-error'?: Linter.RuleEntry<[]>;
7294
7656
  /**
7295
7657
  * 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
7658
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-array-find.md
7297
7659
  */
7298
7660
  'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>;
7299
7661
  /**
7300
7662
  * 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
7663
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-array-flat.md
7302
7664
  */
7303
7665
  'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>;
7304
7666
  /**
7305
7667
  * 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
7668
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-array-flat-map.md
7307
7669
  */
7308
7670
  'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>;
7309
7671
  /**
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
7672
+ * Prefer `Array.fromAsync()` over array accumulation loops.
7673
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-array-from-async.md
7312
7674
  */
7313
7675
  'unicorn/prefer-array-from-async'?: Linter.RuleEntry<[]>;
7314
7676
  /**
7315
7677
  * 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
7678
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-array-from-map.md
7317
7679
  */
7318
7680
  'unicorn/prefer-array-from-map'?: Linter.RuleEntry<[]>;
7319
7681
  /**
7320
7682
  * 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
7683
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-array-from-range.md
7322
7684
  */
7323
7685
  'unicorn/prefer-array-from-range'?: Linter.RuleEntry<[]>;
7324
7686
  /**
7325
7687
  * 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
7688
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-array-index-of.md
7327
7689
  */
7328
7690
  'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>;
7329
7691
  /**
7330
7692
  * 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
7693
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-array-iterable-methods.md
7332
7694
  */
7333
7695
  'unicorn/prefer-array-iterable-methods'?: Linter.RuleEntry<[]>;
7334
7696
  /**
7335
7697
  * 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
7698
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-array-last-methods.md
7337
7699
  */
7338
7700
  'unicorn/prefer-array-last-methods'?: Linter.RuleEntry<[]>;
7339
7701
  /**
7340
7702
  * 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
7703
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-array-slice.md
7342
7704
  */
7343
7705
  'unicorn/prefer-array-slice'?: Linter.RuleEntry<[]>;
7344
7706
  /**
7345
7707
  * 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
7708
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-array-some.md
7347
7709
  */
7348
7710
  'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>;
7349
7711
  /**
7350
7712
  * 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
7713
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-at.md
7352
7714
  */
7353
7715
  'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>;
7354
7716
  /**
7355
7717
  * Prefer `await` over promise chaining.
7356
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-await.md
7718
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-await.md
7357
7719
  */
7358
7720
  'unicorn/prefer-await'?: Linter.RuleEntry<[]>;
7359
7721
  /**
7360
7722
  * 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
7723
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-bigint-literals.md
7362
7724
  */
7363
7725
  'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>;
7364
7726
  /**
7365
7727
  * 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
7728
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-blob-reading-methods.md
7367
7729
  */
7368
7730
  'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>;
7369
7731
  /**
7370
7732
  * 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
7733
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-block-statement-over-iife.md
7372
7734
  */
7373
7735
  'unicorn/prefer-block-statement-over-iife'?: Linter.RuleEntry<[]>;
7374
7736
  /**
7375
7737
  * 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
7738
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-boolean-return.md
7377
7739
  */
7378
7740
  'unicorn/prefer-boolean-return'?: Linter.RuleEntry<[]>;
7379
7741
  /**
7380
7742
  * 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
7743
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-class-fields.md
7382
7744
  */
7383
7745
  'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>;
7384
7746
  /**
7385
7747
  * 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
7748
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-classlist-toggle.md
7387
7749
  */
7388
7750
  'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>;
7389
7751
  /**
7390
7752
  * 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
7753
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-code-point.md
7392
7754
  */
7393
7755
  'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>;
7394
7756
  /**
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
7757
+ * Prefer combining consecutive guards with identical exit statements.
7758
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-combined-guards.md
7759
+ */
7760
+ 'unicorn/prefer-combined-guards'?: Linter.RuleEntry<UnicornPreferCombinedGuards>;
7761
+ /**
7762
+ * Prefer early continues over conditionals wrapping the remainder of the loop body.
7763
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-continue.md
7397
7764
  */
7398
7765
  'unicorn/prefer-continue'?: Linter.RuleEntry<UnicornPreferContinue>;
7399
7766
  /**
7400
7767
  * 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
7768
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-date-now.md
7402
7769
  */
7403
7770
  'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>;
7404
7771
  /**
7405
- * Prefer default parameters over reassignment.
7406
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-default-parameters.md
7772
+ * Prefer default parameters and destructuring defaults over reassignment and fallback expressions.
7773
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-default-parameters.md
7407
7774
  */
7408
7775
  'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>;
7409
7776
  /**
7410
7777
  * 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
7778
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-direct-iteration.md
7412
7779
  */
7413
7780
  'unicorn/prefer-direct-iteration'?: Linter.RuleEntry<[]>;
7414
7781
  /**
7415
7782
  * 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
7783
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-dispose.md
7417
7784
  */
7418
7785
  'unicorn/prefer-dispose'?: Linter.RuleEntry<[]>;
7419
7786
  /**
7420
7787
  * 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
7788
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-dom-node-append.md
7422
7789
  */
7423
7790
  'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>;
7424
7791
  /**
7425
7792
  * 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
7793
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#prefer-dom-node-dataset
7427
7794
  * @deprecated
7428
7795
  */
7429
7796
  'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>;
7430
7797
  /**
7431
7798
  * 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
7799
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-dom-node-html-methods.md
7433
7800
  */
7434
7801
  'unicorn/prefer-dom-node-html-methods'?: Linter.RuleEntry<UnicornPreferDomNodeHtmlMethods>;
7435
7802
  /**
7436
7803
  * 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
7804
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-dom-node-remove.md
7438
7805
  */
7439
7806
  'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>;
7440
7807
  /**
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
7808
+ * Prefer `.replaceChildren()` when replacing DOM children.
7809
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-dom-node-replace-children.md
7443
7810
  */
7444
7811
  'unicorn/prefer-dom-node-replace-children'?: Linter.RuleEntry<[]>;
7445
7812
  /**
7446
7813
  * 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
7814
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-dom-node-text-content.md
7448
7815
  */
7449
7816
  'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>;
7450
7817
  /**
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
7818
+ * Prefer early returns over conditionals wrapping the remainder of the function body.
7819
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-early-return.md
7453
7820
  */
7454
7821
  'unicorn/prefer-early-return'?: Linter.RuleEntry<UnicornPreferEarlyReturn>;
7455
7822
  /**
7456
7823
  * 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
7824
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-else-if.md
7458
7825
  */
7459
7826
  'unicorn/prefer-else-if'?: Linter.RuleEntry<[]>;
7460
7827
  /**
7461
7828
  * 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
7829
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-error-is-error.md
7463
7830
  */
7464
7831
  'unicorn/prefer-error-is-error'?: Linter.RuleEntry<[]>;
7832
+ /**
7833
+ * Prefer escape sequences for irregular whitespace characters.
7834
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-escaped-irregular-whitespace.md
7835
+ */
7836
+ 'unicorn/prefer-escaped-irregular-whitespace'?: Linter.RuleEntry<[]>;
7465
7837
  /**
7466
7838
  * Prefer `EventTarget` over `EventEmitter`.
7467
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-event-target.md
7839
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-event-target.md
7468
7840
  */
7469
7841
  'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>;
7470
7842
  /**
7471
- * Prefer explicit viewport units.
7472
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-explicit-viewport-units.md
7843
+ * Moved to `eslint-cssicorn` as `cssicorn/prefer-explicit-viewport-units`.
7844
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#prefer-explicit-viewport-units
7845
+ * @deprecated
7473
7846
  */
7474
- 'unicorn/prefer-explicit-viewport-units'?: Linter.RuleEntry<UnicornPreferExplicitViewportUnits>;
7847
+ 'unicorn/prefer-explicit-viewport-units'?: Linter.RuleEntry<[]>;
7475
7848
  /**
7476
7849
  * 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
7850
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-export-from.md
7478
7851
  */
7479
7852
  'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>;
7480
7853
  /**
7481
7854
  * 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
7855
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-flat-math-min-max.md
7483
7856
  */
7484
7857
  'unicorn/prefer-flat-math-min-max'?: Linter.RuleEntry<[]>;
7485
7858
  /**
7486
7859
  * 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
7860
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-get-or-insert-computed.md
7488
7861
  */
7489
7862
  'unicorn/prefer-get-or-insert-computed'?: Linter.RuleEntry<[]>;
7490
7863
  /**
7491
7864
  * 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
7865
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-global-number-constants.md
7493
7866
  */
7494
7867
  'unicorn/prefer-global-number-constants'?: Linter.RuleEntry<[]>;
7495
7868
  /**
7496
7869
  * 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
7870
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-global-this.md
7498
7871
  */
7499
7872
  'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>;
7500
7873
  /**
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
7874
+ * Prefer `Object.groupBy()` or `Map.groupBy()` over manual grouping.
7875
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-group-by.md
7503
7876
  */
7504
7877
  'unicorn/prefer-group-by'?: Linter.RuleEntry<[]>;
7505
7878
  /**
7506
7879
  * Prefer `.has()` when checking existence.
7507
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-has-check.md
7880
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-has-check.md
7508
7881
  */
7509
7882
  'unicorn/prefer-has-check'?: Linter.RuleEntry<[]>;
7510
7883
  /**
7511
7884
  * 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
7885
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-hoisting-branch-code.md
7513
7886
  */
7514
7887
  'unicorn/prefer-hoisting-branch-code'?: Linter.RuleEntry<[]>;
7515
7888
  /**
7516
7889
  * Prefer HTTPS over HTTP.
7517
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-https.md
7890
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-https.md
7518
7891
  */
7519
7892
  'unicorn/prefer-https'?: Linter.RuleEntry<UnicornPreferHttps>;
7520
7893
  /**
7521
7894
  * 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
7895
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-identifier-import-export-specifiers.md
7523
7896
  */
7524
7897
  'unicorn/prefer-identifier-import-export-specifiers'?: Linter.RuleEntry<[]>;
7525
7898
  /**
7526
7899
  * 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
7900
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-import-meta-properties.md
7528
7901
  */
7529
7902
  'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>;
7530
7903
  /**
7531
7904
  * 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
7905
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-includes.md
7533
7906
  */
7534
7907
  'unicorn/prefer-includes'?: Linter.RuleEntry<[]>;
7535
7908
  /**
7536
7909
  * 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
7910
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-includes-over-repeated-comparisons.md
7538
7911
  */
7539
7912
  'unicorn/prefer-includes-over-repeated-comparisons'?: Linter.RuleEntry<UnicornPreferIncludesOverRepeatedComparisons>;
7540
7913
  /**
7541
7914
  * 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
7915
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-iterable-in-constructor.md
7543
7916
  */
7544
7917
  'unicorn/prefer-iterable-in-constructor'?: Linter.RuleEntry<[]>;
7545
7918
  /**
7546
7919
  * 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
7920
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-iterator-concat.md
7548
7921
  */
7549
7922
  'unicorn/prefer-iterator-concat'?: Linter.RuleEntry<[]>;
7550
7923
  /**
7551
7924
  * 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
7925
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-iterator-helpers.md
7553
7926
  */
7554
7927
  'unicorn/prefer-iterator-helpers'?: Linter.RuleEntry<[]>;
7555
7928
  /**
7556
7929
  * 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
7930
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-iterator-to-array.md
7558
7931
  */
7559
7932
  'unicorn/prefer-iterator-to-array'?: Linter.RuleEntry<[]>;
7560
7933
  /**
7561
7934
  * 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
7935
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-iterator-to-array-at-end.md
7563
7936
  */
7564
7937
  'unicorn/prefer-iterator-to-array-at-end'?: Linter.RuleEntry<[]>;
7938
+ /**
7939
+ * Prefer `Iterator.zip()` over parallel-array indexing.
7940
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-iterator-zip.md
7941
+ */
7942
+ 'unicorn/prefer-iterator-zip'?: Linter.RuleEntry<[]>;
7943
+ /**
7944
+ * Prefer JSON imports over reading and parsing JSON files.
7945
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-json-import.md
7946
+ */
7947
+ 'unicorn/prefer-json-import'?: Linter.RuleEntry<[]>;
7565
7948
  /**
7566
7949
  * 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
7950
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#prefer-json-parse-buffer
7568
7951
  * @deprecated
7569
7952
  */
7570
7953
  'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>;
7571
7954
  /**
7572
7955
  * 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
7956
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-keyboard-event-key.md
7574
7957
  */
7575
7958
  'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>;
7959
+ /**
7960
+ * Prefer literal printable ASCII characters over escape sequences.
7961
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-literal-ascii.md
7962
+ */
7963
+ 'unicorn/prefer-literal-ascii'?: Linter.RuleEntry<[]>;
7576
7964
  /**
7577
7965
  * 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
7966
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-location-assign.md
7579
7967
  */
7580
7968
  'unicorn/prefer-location-assign'?: Linter.RuleEntry<[]>;
7581
7969
  /**
7582
7970
  * 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
7971
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-logical-operator-over-ternary.md
7584
7972
  */
7585
7973
  'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>;
7586
7974
  /**
7587
7975
  * 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
7976
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-map-from-entries.md
7589
7977
  */
7590
7978
  'unicorn/prefer-map-from-entries'?: Linter.RuleEntry<[]>;
7591
7979
  /**
7592
7980
  * 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
7981
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-math-abs.md
7594
7982
  */
7595
7983
  'unicorn/prefer-math-abs'?: Linter.RuleEntry<[]>;
7596
7984
  /**
7597
7985
  * 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
7986
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-math-constants.md
7599
7987
  */
7600
7988
  'unicorn/prefer-math-constants'?: Linter.RuleEntry<[]>;
7601
7989
  /**
7602
7990
  * 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
7991
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-math-min-max.md
7604
7992
  */
7605
7993
  'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>;
7606
7994
  /**
7607
7995
  * 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
7996
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-math-trunc.md
7609
7997
  */
7610
7998
  'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>;
7999
+ /**
8000
+ * Moved to `eslint-cssicorn` as `cssicorn/prefer-media-feature-range-syntax`.
8001
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#prefer-media-feature-range-syntax
8002
+ * @deprecated
8003
+ */
8004
+ 'unicorn/prefer-media-feature-range-syntax'?: Linter.RuleEntry<[]>;
7611
8005
  /**
7612
8006
  * 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
8007
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-minimal-ternary.md
7614
8008
  */
7615
8009
  'unicorn/prefer-minimal-ternary'?: Linter.RuleEntry<UnicornPreferMinimalTernary>;
7616
8010
  /**
7617
8011
  * Prefer modern DOM APIs.
7618
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-modern-dom-apis.md
8012
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-modern-dom-apis.md
7619
8013
  */
7620
8014
  'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>;
7621
8015
  /**
7622
8016
  * 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
8017
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-modern-math-apis.md
7624
8018
  */
7625
8019
  'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>;
7626
8020
  /**
7627
8021
  * Prefer JavaScript modules (ESM) over CommonJS.
7628
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-module.md
8022
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-module.md
7629
8023
  */
7630
8024
  'unicorn/prefer-module'?: Linter.RuleEntry<[]>;
7631
8025
  /**
7632
8026
  * 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
8027
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-native-coercion-functions.md
7634
8028
  */
7635
8029
  'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>;
7636
8030
  /**
7637
8031
  * 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
8032
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-negative-index.md
7639
8033
  */
7640
8034
  'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>;
7641
8035
  /**
7642
8036
  * 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
8037
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-node-protocol.md
7644
8038
  */
7645
8039
  'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>;
7646
8040
  /**
7647
8041
  * 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
8042
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-number-coercion.md
7649
8043
  */
7650
8044
  'unicorn/prefer-number-coercion'?: Linter.RuleEntry<[]>;
7651
8045
  /**
7652
8046
  * 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
8047
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-number-is-safe-integer.md
7654
8048
  */
7655
8049
  'unicorn/prefer-number-is-safe-integer'?: Linter.RuleEntry<[]>;
7656
8050
  /**
7657
8051
  * 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
8052
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-number-properties.md
7659
8053
  */
7660
8054
  'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>;
7661
8055
  /**
7662
8056
  * 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
8057
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-object-define-properties.md
7664
8058
  */
7665
8059
  'unicorn/prefer-object-define-properties'?: Linter.RuleEntry<[]>;
7666
8060
  /**
7667
8061
  * 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
8062
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-object-destructuring-defaults.md
7669
8063
  */
7670
8064
  'unicorn/prefer-object-destructuring-defaults'?: Linter.RuleEntry<[]>;
7671
8065
  /**
7672
8066
  * 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
8067
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-object-from-entries.md
7674
8068
  */
7675
8069
  'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
7676
8070
  /**
7677
8071
  * 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
8072
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-object-iterable-methods.md
7679
8073
  */
7680
8074
  'unicorn/prefer-object-iterable-methods'?: Linter.RuleEntry<[]>;
7681
8075
  /**
7682
8076
  * 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
8077
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-observer-apis.md
7684
8078
  */
7685
8079
  'unicorn/prefer-observer-apis'?: Linter.RuleEntry<[]>;
7686
8080
  /**
7687
8081
  * 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
8082
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-optional-catch-binding.md
7689
8083
  */
7690
8084
  'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>;
7691
8085
  /**
7692
8086
  * 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
8087
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-path2d.md
7694
8088
  */
7695
8089
  'unicorn/prefer-path2d'?: Linter.RuleEntry<[]>;
7696
8090
  /**
7697
8091
  * 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
8092
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-private-class-fields.md
7699
8093
  */
7700
8094
  'unicorn/prefer-private-class-fields'?: Linter.RuleEntry<[]>;
8095
+ /**
8096
+ * Prefer `Promise.resolve()` and `Promise.reject()` over trivial `new Promise()` calls.
8097
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-promise-static-methods.md
8098
+ */
8099
+ 'unicorn/prefer-promise-static-methods'?: Linter.RuleEntry<[]>;
7701
8100
  /**
7702
8101
  * 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
8102
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-promise-try.md
7704
8103
  */
7705
8104
  'unicorn/prefer-promise-try'?: Linter.RuleEntry<[]>;
7706
8105
  /**
7707
8106
  * 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
8107
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-promise-with-resolvers.md
7709
8108
  */
7710
8109
  'unicorn/prefer-promise-with-resolvers'?: Linter.RuleEntry<[]>;
7711
8110
  /**
7712
8111
  * 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
8112
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-prototype-methods.md
7714
8113
  */
7715
8114
  'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>;
7716
8115
  /**
7717
8116
  * 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
8117
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-query-selector.md
7719
8118
  */
7720
8119
  'unicorn/prefer-query-selector'?: Linter.RuleEntry<UnicornPreferQuerySelector>;
7721
8120
  /**
7722
8121
  * 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
8122
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-queue-microtask.md
7724
8123
  */
7725
8124
  'unicorn/prefer-queue-microtask'?: Linter.RuleEntry<UnicornPreferQueueMicrotask>;
7726
8125
  /**
7727
8126
  * 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
8127
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-reflect-apply.md
7729
8128
  */
7730
8129
  'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>;
7731
8130
  /**
7732
8131
  * 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
8132
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-regexp-escape.md
7734
8133
  */
7735
8134
  'unicorn/prefer-regexp-escape'?: Linter.RuleEntry<[]>;
7736
8135
  /**
7737
8136
  * 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
8137
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-regexp-test.md
7739
8138
  */
7740
8139
  'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>;
7741
8140
  /**
7742
8141
  * 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
8142
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-response-static-json.md
7744
8143
  */
7745
8144
  'unicorn/prefer-response-static-json'?: Linter.RuleEntry<[]>;
7746
8145
  /**
7747
8146
  * 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
8147
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-scoped-selector.md
7749
8148
  */
7750
8149
  'unicorn/prefer-scoped-selector'?: Linter.RuleEntry<[]>;
7751
8150
  /**
7752
8151
  * 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
8152
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-set-has.md
7754
8153
  */
7755
8154
  'unicorn/prefer-set-has'?: Linter.RuleEntry<UnicornPreferSetHas>;
7756
8155
  /**
7757
8156
  * 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
8157
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-set-methods.md
7759
8158
  */
7760
8159
  'unicorn/prefer-set-methods'?: Linter.RuleEntry<[]>;
7761
8160
  /**
7762
8161
  * 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
8162
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-set-size.md
7764
8163
  */
7765
8164
  'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>;
7766
8165
  /**
7767
8166
  * 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
8167
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-short-arrow-method.md
7769
8168
  */
7770
8169
  'unicorn/prefer-short-arrow-method'?: Linter.RuleEntry<UnicornPreferShortArrowMethod>;
8170
+ /**
8171
+ * Prefer shorter alternatives to Unicode escape sequences.
8172
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-short-escape-sequences.md
8173
+ */
8174
+ 'unicorn/prefer-short-escape-sequences'?: Linter.RuleEntry<[]>;
7771
8175
  /**
7772
8176
  * 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
8177
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-simple-condition-first.md
7774
8178
  */
7775
8179
  'unicorn/prefer-simple-condition-first'?: Linter.RuleEntry<[]>;
7776
8180
  /**
7777
8181
  * 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
8182
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-simple-sort-comparator.md
7779
8183
  */
7780
8184
  'unicorn/prefer-simple-sort-comparator'?: Linter.RuleEntry<[]>;
7781
8185
  /**
7782
8186
  * Prefer simplified conditions.
7783
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-simplified-conditions.md
8187
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-simplified-conditions.md
7784
8188
  */
7785
- 'unicorn/prefer-simplified-conditions'?: Linter.RuleEntry<[]>;
8189
+ 'unicorn/prefer-simplified-conditions'?: Linter.RuleEntry<UnicornPreferSimplifiedConditions>;
7786
8190
  /**
7787
8191
  * 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
8192
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-single-array-predicate.md
7789
8193
  */
7790
8194
  'unicorn/prefer-single-array-predicate'?: Linter.RuleEntry<[]>;
7791
8195
  /**
7792
8196
  * 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
8197
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-single-call.md
7794
8198
  */
7795
8199
  'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>;
7796
8200
  /**
7797
8201
  * 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
8202
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-single-object-destructuring.md
7799
8203
  */
7800
8204
  'unicorn/prefer-single-object-destructuring'?: Linter.RuleEntry<[]>;
7801
8205
  /**
7802
8206
  * 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
8207
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-single-replace.md
7804
8208
  */
7805
8209
  'unicorn/prefer-single-replace'?: Linter.RuleEntry<[]>;
7806
8210
  /**
7807
8211
  * 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
8212
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-smaller-scope.md
7809
8213
  */
7810
8214
  'unicorn/prefer-smaller-scope'?: Linter.RuleEntry<[]>;
7811
8215
  /**
7812
8216
  * 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
8217
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-split-limit.md
7814
8218
  */
7815
8219
  'unicorn/prefer-split-limit'?: Linter.RuleEntry<[]>;
7816
8220
  /**
7817
8221
  * 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
8222
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-spread.md
7819
8223
  */
7820
8224
  'unicorn/prefer-spread'?: Linter.RuleEntry<[]>;
7821
8225
  /**
7822
8226
  * 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
8227
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-string-match-all.md
7824
8228
  */
7825
8229
  'unicorn/prefer-string-match-all'?: Linter.RuleEntry<[]>;
7826
8230
  /**
7827
8231
  * 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
8232
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-string-pad-start-end.md
7829
8233
  */
7830
8234
  'unicorn/prefer-string-pad-start-end'?: Linter.RuleEntry<[]>;
7831
8235
  /**
7832
8236
  * 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
8237
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-string-raw.md
7834
8238
  */
7835
8239
  'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>;
7836
8240
  /**
7837
8241
  * 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
8242
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-string-repeat.md
7839
8243
  */
7840
8244
  'unicorn/prefer-string-repeat'?: Linter.RuleEntry<UnicornPreferStringRepeat>;
7841
8245
  /**
7842
8246
  * 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
8247
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-string-replace-all.md
7844
8248
  */
7845
8249
  'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>;
7846
8250
  /**
7847
8251
  * 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
8252
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-string-slice.md
7849
8253
  */
7850
8254
  'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>;
7851
8255
  /**
7852
8256
  * 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
8257
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-string-starts-ends-with.md
7854
8258
  */
7855
8259
  'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>;
7856
8260
  /**
7857
8261
  * 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
8262
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-string-trim-start-end.md
7859
8263
  */
7860
8264
  'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>;
7861
8265
  /**
7862
8266
  * 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
8267
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-structured-clone.md
7864
8268
  */
7865
8269
  'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>;
7866
8270
  /**
7867
8271
  * Prefer `switch` over multiple `else-if`.
7868
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-switch.md
8272
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-switch.md
7869
8273
  */
7870
8274
  'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>;
7871
8275
  /**
7872
8276
  * Prefer `Temporal` over `Date`.
7873
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/prefer-temporal.md
8277
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-temporal.md
7874
8278
  */
7875
8279
  'unicorn/prefer-temporal'?: Linter.RuleEntry<UnicornPreferTemporal>;
8280
+ /**
8281
+ * Prefer direct Temporal conversion methods.
8282
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-temporal-conversion.md
8283
+ */
8284
+ 'unicorn/prefer-temporal-conversion'?: Linter.RuleEntry<[]>;
7876
8285
  /**
7877
8286
  * 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
8287
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-ternary.md
7879
8288
  */
7880
8289
  'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>;
7881
8290
  /**
7882
8291
  * 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
8292
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-then-catch.md
7884
8293
  */
7885
8294
  'unicorn/prefer-then-catch'?: Linter.RuleEntry<[]>;
7886
8295
  /**
7887
8296
  * 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
8297
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-toggle-attribute.md
7889
8298
  */
7890
8299
  'unicorn/prefer-toggle-attribute'?: Linter.RuleEntry<[]>;
7891
8300
  /**
7892
8301
  * 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
8302
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-top-level-await.md
7894
8303
  */
7895
8304
  'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>;
7896
8305
  /**
7897
8306
  * 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
8307
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-type-error.md
7899
8308
  */
7900
8309
  'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>;
7901
8310
  /**
7902
8311
  * 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
8312
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-type-literal-last.md
7904
8313
  */
7905
8314
  'unicorn/prefer-type-literal-last'?: Linter.RuleEntry<[]>;
7906
8315
  /**
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
8316
+ * Prefer `Uint8Array#toBase64()` and `Uint8Array.fromBase64()` over legacy base64 conversions and manual postprocessing.
8317
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-uint8array-base64.md
7909
8318
  */
7910
8319
  'unicorn/prefer-uint8array-base64'?: Linter.RuleEntry<[]>;
8320
+ /**
8321
+ * Prefer `Uint8Array#toHex()` and `Uint8Array.fromHex()` over manual and Buffer hex conversions.
8322
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-uint8array-hex.md
8323
+ */
8324
+ 'unicorn/prefer-uint8array-hex'?: Linter.RuleEntry<[]>;
7911
8325
  /**
7912
8326
  * 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
8327
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-unary-minus.md
7914
8328
  */
7915
8329
  'unicorn/prefer-unary-minus'?: Linter.RuleEntry<[]>;
7916
8330
  /**
7917
8331
  * 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
8332
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-unicode-code-point-escapes.md
7919
8333
  */
7920
8334
  'unicorn/prefer-unicode-code-point-escapes'?: Linter.RuleEntry<[]>;
7921
8335
  /**
7922
8336
  * 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
8337
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-url-can-parse.md
7924
8338
  */
7925
8339
  'unicorn/prefer-url-can-parse'?: Linter.RuleEntry<[]>;
7926
8340
  /**
7927
8341
  * 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
8342
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-url-href.md
7929
8343
  */
7930
8344
  'unicorn/prefer-url-href'?: Linter.RuleEntry<[]>;
7931
8345
  /**
7932
8346
  * 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
8347
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-url-search-parameters.md
7934
8348
  */
7935
8349
  'unicorn/prefer-url-search-parameters'?: Linter.RuleEntry<[]>;
7936
8350
  /**
7937
8351
  * 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
8352
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-while-loop-condition.md
7939
8353
  */
7940
8354
  'unicorn/prefer-while-loop-condition'?: Linter.RuleEntry<[]>;
7941
8355
  /**
7942
8356
  * 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
8357
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#prevent-abbreviations
7944
8358
  * @deprecated
7945
8359
  */
7946
8360
  'unicorn/prevent-abbreviations'?: Linter.RuleEntry<[]>;
7947
8361
  /**
7948
8362
  * Enforce consistent relative URL style.
7949
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/relative-url-style.md
8363
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/relative-url-style.md
7950
8364
  */
7951
8365
  'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
7952
8366
  /**
7953
8367
  * 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
8368
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/require-array-join-separator.md
7955
8369
  */
7956
8370
  'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>;
7957
8371
  /**
7958
8372
  * 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
8373
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/require-array-sort-compare.md
7960
8374
  */
7961
8375
  'unicorn/require-array-sort-compare'?: Linter.RuleEntry<[]>;
7962
8376
  /**
7963
8377
  * 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
8378
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/require-css-escape.md
7965
8379
  */
7966
8380
  'unicorn/require-css-escape'?: Linter.RuleEntry<UnicornRequireCssEscape>;
7967
8381
  /**
7968
8382
  * Require configured YAML frontmatter fields.
7969
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/require-frontmatter-fields.md
8383
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/require-frontmatter-fields.md
7970
8384
  */
7971
8385
  'unicorn/require-frontmatter-fields'?: Linter.RuleEntry<UnicornRequireFrontmatterFields>;
7972
8386
  /**
7973
8387
  * 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
8388
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/require-module-attributes.md
7975
8389
  */
7976
8390
  'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>;
7977
8391
  /**
7978
8392
  * 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
8393
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/require-module-specifiers.md
7980
8394
  */
7981
8395
  'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>;
7982
8396
  /**
7983
8397
  * 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
8398
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/require-number-to-fixed-digits-argument.md
7985
8399
  */
7986
8400
  'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>;
7987
8401
  /**
7988
8402
  * 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
8403
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/require-passive-events.md
7990
8404
  */
7991
8405
  'unicorn/require-passive-events'?: Linter.RuleEntry<[]>;
7992
8406
  /**
7993
8407
  * 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
8408
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/require-post-message-target-origin.md
7995
8409
  */
7996
8410
  'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>;
7997
8411
  /**
7998
8412
  * 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
8413
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/require-proxy-trap-boolean-return.md
8000
8414
  */
8001
8415
  'unicorn/require-proxy-trap-boolean-return'?: Linter.RuleEntry<[]>;
8416
+ /**
8417
+ * Require streaming decoding of fetch-body chunks with `TextDecoder`.
8418
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/require-text-decoder-streaming.md
8419
+ */
8420
+ 'unicorn/require-text-decoder-streaming'?: Linter.RuleEntry<[]>;
8002
8421
  /**
8003
8422
  * 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
8423
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/single-line-block-comment-style.md
8005
8424
  */
8006
8425
  'unicorn/single-line-block-comment-style'?: Linter.RuleEntry<UnicornSingleLineBlockCommentStyle>;
8007
8426
  /**
8008
8427
  * Enforce better string content.
8009
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/string-content.md
8428
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/string-content.md
8010
8429
  */
8011
8430
  'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>;
8012
8431
  /**
8013
8432
  * 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
8433
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/switch-case-braces.md
8015
8434
  */
8016
8435
  'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
8017
8436
  /**
8018
8437
  * 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
8438
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/switch-case-break-position.md
8020
8439
  */
8021
8440
  'unicorn/switch-case-break-position'?: Linter.RuleEntry<[]>;
8022
8441
  /**
8023
8442
  * Fix whitespace-insensitive template indentation.
8024
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/template-indent.md
8443
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/template-indent.md
8025
8444
  */
8026
8445
  'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>;
8027
8446
  /**
8028
8447
  * 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
8448
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/text-encoding-identifier-case.md
8030
8449
  */
8031
8450
  'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<UnicornTextEncodingIdentifierCase>;
8032
8451
  /**
8033
8452
  * 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
8453
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/throw-new-error.md
8035
8454
  */
8036
8455
  'unicorn/throw-new-error'?: Linter.RuleEntry<[]>;
8037
8456
  /**
8038
8457
  * Limit the complexity of `try` blocks.
8039
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v74.0.0/docs/rules/try-complexity.md
8458
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/try-complexity.md
8040
8459
  */
8041
8460
  'unicorn/try-complexity'?: Linter.RuleEntry<UnicornTryComplexity>;
8042
8461
  /**
@@ -9895,11 +10314,21 @@ export interface ESLintSchema {
9895
10314
  * @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod-mini/docs/rules/no-duplicate-schema-methods.md
9896
10315
  */
9897
10316
  'zod-mini/no-duplicate-schema-methods'?: Linter.RuleEntry<[]>;
10317
+ /**
10318
+ * Disallow non-static values passed as arguments in a Zod Mini schema expression
10319
+ * @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod-mini/docs/rules/no-dynamic-schema-value.md
10320
+ */
10321
+ 'zod-mini/no-dynamic-schema-value'?: Linter.RuleEntry<[]>;
9898
10322
  /**
9899
10323
  * Disallow usage of `z.custom()` without arguments
9900
10324
  * @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod-mini/docs/rules/no-empty-custom-schema.md
9901
10325
  */
9902
10326
  'zod-mini/no-empty-custom-schema'?: Linter.RuleEntry<[]>;
10327
+ /**
10328
+ * Disallow constructing a Zod Mini schema inside a function body
10329
+ * @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod-mini/docs/rules/no-function-scoped-schema.md
10330
+ */
10331
+ 'zod-mini/no-function-scoped-schema'?: Linter.RuleEntry<[]>;
9903
10332
  /**
9904
10333
  * Disallow deprecated `z.nativeEnum()` in favor of `z.enum()`.
9905
10334
  * @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod-mini/docs/rules/no-native-enum.md
@@ -9960,6 +10389,11 @@ export interface ESLintSchema {
9960
10389
  * @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod-mini/docs/rules/prefer-tuple-over-array-length.md
9961
10390
  */
9962
10391
  'zod-mini/prefer-tuple-over-array-length'?: Linter.RuleEntry<[]>;
10392
+ /**
10393
+ * Prefer boolean validation when only the success of parsing is used
10394
+ * @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod-mini/docs/rules/prefer-validate.md
10395
+ */
10396
+ 'zod-mini/prefer-validate'?: Linter.RuleEntry<[]>;
9963
10397
  /**
9964
10398
  * Require type parameter on `.brand()` functions
9965
10399
  * @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod-mini/docs/rules/require-brand-type-parameter.md
@@ -10025,11 +10459,21 @@ export interface ESLintSchema {
10025
10459
  * @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod/docs/rules/no-duplicate-schema-methods.md
10026
10460
  */
10027
10461
  'zod/no-duplicate-schema-methods'?: Linter.RuleEntry<[]>;
10462
+ /**
10463
+ * Disallow non-static values passed as arguments in a Zod schema expression
10464
+ * @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod/docs/rules/no-dynamic-schema-value.md
10465
+ */
10466
+ 'zod/no-dynamic-schema-value'?: Linter.RuleEntry<[]>;
10028
10467
  /**
10029
10468
  * Disallow usage of `z.custom()` without arguments
10030
10469
  * @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod/docs/rules/no-empty-custom-schema.md
10031
10470
  */
10032
10471
  'zod/no-empty-custom-schema'?: Linter.RuleEntry<[]>;
10472
+ /**
10473
+ * Disallow constructing a Zod schema inside a function body
10474
+ * @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod/docs/rules/no-function-scoped-schema.md
10475
+ */
10476
+ 'zod/no-function-scoped-schema'?: Linter.RuleEntry<[]>;
10033
10477
  /**
10034
10478
  * Disallow deprecated `z.nativeEnum()` in favor of `z.enum()`.
10035
10479
  * @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod/docs/rules/no-native-enum.md
@@ -10085,12 +10529,6 @@ export interface ESLintSchema {
10085
10529
  * @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod/docs/rules/no-schema-with-is-optional.md
10086
10530
  */
10087
10531
  'zod/no-schema-with-is-optional'?: Linter.RuleEntry<[]>;
10088
- /**
10089
- * Disallow usage of `z.string().uuid()` in favor of the dedicated `z.uuid()` schema
10090
- * @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod/docs/rules/no-string-schema-with-uuid.md
10091
- * @deprecated
10092
- */
10093
- 'zod/no-string-schema-with-uuid'?: Linter.RuleEntry<[]>;
10094
10532
  /**
10095
10533
  * Disallow throwing errors directly inside Zod refine callbacks
10096
10534
  * @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod/docs/rules/no-throw-in-refine.md
@@ -10171,6 +10609,11 @@ export interface ESLintSchema {
10171
10609
  * @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod/docs/rules/prefer-tuple-over-array-length.md
10172
10610
  */
10173
10611
  'zod/prefer-tuple-over-array-length'?: Linter.RuleEntry<[]>;
10612
+ /**
10613
+ * Prefer boolean validation when only the success of parsing is used
10614
+ * @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod/docs/rules/prefer-validate.md
10615
+ */
10616
+ 'zod/prefer-validate'?: Linter.RuleEntry<[]>;
10174
10617
  /**
10175
10618
  * Require type parameter on `.brand()` functions
10176
10619
  * @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod/docs/rules/require-brand-type-parameter.md
@@ -10354,6 +10797,30 @@ type HtmlEslintReactNoInvalidAttrValue = [] | [{
10354
10797
  valuePattern?: string;
10355
10798
  }[];
10356
10799
  }];
10800
+ // ----- @html-eslint/react/no-restricted-attr-values -----
10801
+ type HtmlEslintReactNoRestrictedAttrValues = {
10802
+ attrPatterns: string[];
10803
+ attrValuePatterns: string[];
10804
+ message?: string;
10805
+ }[];
10806
+ // ----- @html-eslint/react/no-restricted-attrs -----
10807
+ type HtmlEslintReactNoRestrictedAttrs = {
10808
+ tagPatterns: string[];
10809
+ attrPatterns: string[];
10810
+ message?: string;
10811
+ }[];
10812
+ // ----- @html-eslint/react/require-attrs -----
10813
+ type HtmlEslintReactRequireAttrs = {
10814
+ tag: string;
10815
+ attr: string;
10816
+ value?: (string | boolean);
10817
+ message?: string;
10818
+ conditions?: {
10819
+ attr: string;
10820
+ value?: string;
10821
+ kind: ("present" | "absent" | "equal" | "not-equal");
10822
+ }[];
10823
+ }[];
10357
10824
  // ----- @html-eslint/react/use-baseline -----
10358
10825
  type HtmlEslintReactUseBaseline = [] | [{
10359
10826
  available?: (("widely" | "newly") | number);
@@ -12716,37 +13183,17 @@ type AstroJsxA11YAnchorIsValid = [] | [{
12716
13183
  aspects?: [("noHref" | "invalidHref" | "preferButton"), ...(("noHref" | "invalidHref" | "preferButton"))[]];
12717
13184
  [k: string]: unknown | undefined;
12718
13185
  }];
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
13186
  // ----- astro/jsx-a11y/aria-role -----
12732
13187
  type AstroJsxA11YAriaRole = [] | [{
12733
13188
  allowedInvalidRoles?: string[];
12734
13189
  ignoreNonDOM?: boolean;
12735
13190
  [k: string]: unknown | undefined;
12736
13191
  }];
12737
- // ----- astro/jsx-a11y/aria-unsupported-elements -----
12738
- type AstroJsxA11YAriaUnsupportedElements = [] | [{
12739
- [k: string]: unknown | undefined;
12740
- }];
12741
13192
  // ----- astro/jsx-a11y/autocomplete-valid -----
12742
13193
  type AstroJsxA11YAutocompleteValid = [] | [{
12743
13194
  inputComponents?: string[];
12744
13195
  [k: string]: unknown | undefined;
12745
13196
  }];
12746
- // ----- astro/jsx-a11y/click-events-have-key-events -----
12747
- type AstroJsxA11YClickEventsHaveKeyEvents = [] | [{
12748
- [k: string]: unknown | undefined;
12749
- }];
12750
13197
  // ----- astro/jsx-a11y/control-has-associated-label -----
12751
13198
  type AstroJsxA11YControlHasAssociatedLabel = [] | [{
12752
13199
  labelAttributes?: string[];
@@ -12761,14 +13208,6 @@ type AstroJsxA11YHeadingHasContent = [] | [{
12761
13208
  components?: string[];
12762
13209
  [k: string]: unknown | undefined;
12763
13210
  }];
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
13211
  // ----- astro/jsx-a11y/img-redundant-alt -----
12773
13212
  type AstroJsxA11YImgRedundantAlt = [] | [{
12774
13213
  components?: string[];
@@ -12789,10 +13228,6 @@ type AstroJsxA11YLabelHasAssociatedControl = [] | [{
12789
13228
  depth?: number;
12790
13229
  [k: string]: unknown | undefined;
12791
13230
  }];
12792
- // ----- astro/jsx-a11y/lang -----
12793
- type AstroJsxA11YLang = [] | [{
12794
- [k: string]: unknown | undefined;
12795
- }];
12796
13231
  // ----- astro/jsx-a11y/media-has-caption -----
12797
13232
  type AstroJsxA11YMediaHasCaption = [] | [{
12798
13233
  audio?: string[];
@@ -12806,14 +13241,6 @@ type AstroJsxA11YMouseEventsHaveKeyEvents = [] | [{
12806
13241
  hoverOutHandlers?: string[];
12807
13242
  [k: string]: unknown | undefined;
12808
13243
  }];
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
13244
  // ----- astro/jsx-a11y/no-autofocus -----
12818
13245
  type AstroJsxA11YNoAutofocus = [] | [{
12819
13246
  ignoreNonDOM?: boolean;
@@ -12852,26 +13279,6 @@ type AstroJsxA11YNoStaticElementInteractions = [] | [{
12852
13279
  handlers?: string[];
12853
13280
  [k: string]: unknown | undefined;
12854
13281
  }];
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
13282
  // ----- astro/no-unsafe-inline-scripts -----
12876
13283
  type AstroNoUnsafeInlineScripts = [] | [{
12877
13284
  allowDefineVars?: boolean;
@@ -16546,6 +16953,26 @@ type CssUseLayers = [] | [{
16546
16953
  requireImportLayers?: boolean;
16547
16954
  layerNamePattern?: string;
16548
16955
  }];
16956
+ // ----- cssicorn/no-deprecated-features -----
16957
+ type CssicornNoDeprecatedFeatures = [] | [{
16958
+ allow?: string[];
16959
+ }];
16960
+ // ----- cssicorn/no-redundant-longhand-properties -----
16961
+ type CssicornNoRedundantLonghandProperties = [] | [{
16962
+ ignoreShorthands?: ("animation" | "animation-range" | "background" | "border" | "border-block" | "border-block-color" | "border-block-end" | "border-block-start" | "border-block-style" | "border-block-width" | "border-bottom" | "border-color" | "border-image" | "border-inline" | "border-inline-color" | "border-inline-end" | "border-inline-start" | "border-inline-style" | "border-inline-width" | "border-left" | "border-radius" | "border-right" | "border-style" | "border-top" | "border-width" | "column-rule" | "columns" | "flex" | "flex-flow" | "font" | "font-synthesis" | "font-variant" | "gap" | "grid" | "grid-area" | "grid-column" | "grid-gap" | "grid-row" | "grid-template" | "inset" | "inset-block" | "inset-inline" | "list-style" | "margin" | "margin-block" | "margin-inline" | "mask" | "mask-border" | "outline" | "overflow" | "overscroll-behavior" | "padding" | "padding-block" | "padding-inline" | "place-content" | "place-items" | "place-self" | "scroll-margin" | "scroll-margin-block" | "scroll-margin-inline" | "scroll-padding" | "scroll-padding-block" | "scroll-padding-inline" | "text-decoration" | "text-emphasis" | "transition")[];
16963
+ }];
16964
+ // ----- cssicorn/no-unknown-pseudo-selectors -----
16965
+ type CssicornNoUnknownPseudoSelectors = [] | [{
16966
+ allow?: string[];
16967
+ }];
16968
+ // ----- cssicorn/no-unscoped-nesting-selector -----
16969
+ type CssicornNoUnscopedNestingSelector = [] | [{
16970
+ scopingRootAtRules?: string[];
16971
+ }];
16972
+ // ----- cssicorn/prefer-explicit-viewport-units -----
16973
+ type CssicornPreferExplicitViewportUnits = [] | [{
16974
+ unit?: ("dvh" | "svh" | "lvh");
16975
+ }];
16549
16976
  // ----- curly -----
16550
16977
  type Curly = ([] | ["all"] | [] | [("multi" | "multi-line" | "multi-or-nest")] | [("multi" | "multi-line" | "multi-or-nest"), "consistent"]);
16551
16978
  // ----- cypress/unsafe-to-chain-command -----
@@ -16958,12 +17385,8 @@ type IndentLegacy = [] | [("tab" | number)] | [("tab" | number), {
16958
17385
  type InitDeclarations = ([] | ["always"] | [] | ["never"] | ["never", {
16959
17386
  ignoreForLoopInit?: boolean;
16960
17387
  }]);
16961
- // ----- jsx-a11y/accessible-emoji -----
16962
- type JsxA11YAccessibleEmoji = [] | [{
16963
- [k: string]: unknown | undefined;
16964
- }];
16965
- // ----- jsx-a11y/alt-text -----
16966
- type JsxA11YAltText = [] | [{
17388
+ // ----- jsx-a11y-x/alt-text -----
17389
+ type JsxA11YXAltText = [] | [{
16967
17390
  elements?: string[];
16968
17391
  img?: string[];
16969
17392
  object?: string[];
@@ -16971,56 +17394,36 @@ type JsxA11YAltText = [] | [{
16971
17394
  "input[type=\"image\"]"?: string[];
16972
17395
  [k: string]: unknown | undefined;
16973
17396
  }];
16974
- // ----- jsx-a11y/anchor-ambiguous-text -----
16975
- type JsxA11YAnchorAmbiguousText = [] | [{
17397
+ // ----- jsx-a11y-x/anchor-ambiguous-text -----
17398
+ type JsxA11YXAnchorAmbiguousText = [] | [{
16976
17399
  words?: string[];
16977
17400
  [k: string]: unknown | undefined;
16978
17401
  }];
16979
- // ----- jsx-a11y/anchor-has-content -----
16980
- type JsxA11YAnchorHasContent = [] | [{
17402
+ // ----- jsx-a11y-x/anchor-has-content -----
17403
+ type JsxA11YXAnchorHasContent = [] | [{
16981
17404
  components?: string[];
16982
17405
  [k: string]: unknown | undefined;
16983
17406
  }];
16984
- // ----- jsx-a11y/anchor-is-valid -----
16985
- type JsxA11YAnchorIsValid = [] | [{
17407
+ // ----- jsx-a11y-x/anchor-is-valid -----
17408
+ type JsxA11YXAnchorIsValid = [] | [{
16986
17409
  components?: string[];
16987
17410
  specialLink?: string[];
16988
17411
  aspects?: [("noHref" | "invalidHref" | "preferButton"), ...(("noHref" | "invalidHref" | "preferButton"))[]];
16989
17412
  [k: string]: unknown | undefined;
16990
17413
  }];
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 = [] | [{
17414
+ // ----- jsx-a11y-x/aria-role -----
17415
+ type JsxA11YXAriaRole = [] | [{
17005
17416
  allowedInvalidRoles?: string[];
17006
17417
  ignoreNonDOM?: boolean;
17007
17418
  [k: string]: unknown | undefined;
17008
17419
  }];
17009
- // ----- jsx-a11y/aria-unsupported-elements -----
17010
- type JsxA11YAriaUnsupportedElements = [] | [{
17011
- [k: string]: unknown | undefined;
17012
- }];
17013
- // ----- jsx-a11y/autocomplete-valid -----
17014
- type JsxA11YAutocompleteValid = [] | [{
17420
+ // ----- jsx-a11y-x/autocomplete-valid -----
17421
+ type JsxA11YXAutocompleteValid = [] | [{
17015
17422
  inputComponents?: string[];
17016
17423
  [k: string]: unknown | undefined;
17017
17424
  }];
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 = [] | [{
17425
+ // ----- jsx-a11y-x/control-has-associated-label -----
17426
+ type JsxA11YXControlHasAssociatedLabel = [] | [{
17024
17427
  labelAttributes?: string[];
17025
17428
  controlComponents?: string[];
17026
17429
  ignoreElements?: string[];
@@ -17028,32 +17431,24 @@ type JsxA11YControlHasAssociatedLabel = [] | [{
17028
17431
  depth?: number;
17029
17432
  [k: string]: unknown | undefined;
17030
17433
  }];
17031
- // ----- jsx-a11y/heading-has-content -----
17032
- type JsxA11YHeadingHasContent = [] | [{
17434
+ // ----- jsx-a11y-x/heading-has-content -----
17435
+ type JsxA11YXHeadingHasContent = [] | [{
17033
17436
  components?: string[];
17034
17437
  [k: string]: unknown | undefined;
17035
17438
  }];
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 = [] | [{
17439
+ // ----- jsx-a11y-x/img-redundant-alt -----
17440
+ type JsxA11YXImgRedundantAlt = [] | [{
17046
17441
  components?: string[];
17047
17442
  words?: string[];
17048
17443
  [k: string]: unknown | undefined;
17049
17444
  }];
17050
- // ----- jsx-a11y/interactive-supports-focus -----
17051
- type JsxA11YInteractiveSupportsFocus = [] | [{
17445
+ // ----- jsx-a11y-x/interactive-supports-focus -----
17446
+ type JsxA11YXInteractiveSupportsFocus = [] | [{
17052
17447
  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
17448
  [k: string]: unknown | undefined;
17054
17449
  }];
17055
- // ----- jsx-a11y/label-has-associated-control -----
17056
- type JsxA11YLabelHasAssociatedControl = [] | [{
17450
+ // ----- jsx-a11y-x/label-has-associated-control -----
17451
+ type JsxA11YXLabelHasAssociatedControl = [] | [{
17057
17452
  labelComponents?: string[];
17058
17453
  labelAttributes?: string[];
17059
17454
  controlComponents?: string[];
@@ -17061,106 +17456,57 @@ type JsxA11YLabelHasAssociatedControl = [] | [{
17061
17456
  depth?: number;
17062
17457
  [k: string]: unknown | undefined;
17063
17458
  }];
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 = [] | [{
17459
+ // ----- jsx-a11y-x/media-has-caption -----
17460
+ type JsxA11YXMediaHasCaption = [] | [{
17083
17461
  audio?: string[];
17084
17462
  video?: string[];
17085
17463
  track?: string[];
17086
17464
  [k: string]: unknown | undefined;
17087
17465
  }];
17088
- // ----- jsx-a11y/mouse-events-have-key-events -----
17089
- type JsxA11YMouseEventsHaveKeyEvents = [] | [{
17466
+ // ----- jsx-a11y-x/mouse-events-have-key-events -----
17467
+ type JsxA11YXMouseEventsHaveKeyEvents = [] | [{
17090
17468
  hoverInHandlers?: string[];
17091
17469
  hoverOutHandlers?: string[];
17092
17470
  [k: string]: unknown | undefined;
17093
17471
  }];
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 = [] | [{
17472
+ // ----- jsx-a11y-x/no-autofocus -----
17473
+ type JsxA11YXNoAutofocus = [] | [{
17104
17474
  ignoreNonDOM?: boolean;
17105
17475
  [k: string]: unknown | undefined;
17106
17476
  }];
17107
- // ----- jsx-a11y/no-distracting-elements -----
17108
- type JsxA11YNoDistractingElements = [] | [{
17477
+ // ----- jsx-a11y-x/no-distracting-elements -----
17478
+ type JsxA11YXNoDistractingElements = [] | [{
17109
17479
  elements?: ("marquee" | "blink")[];
17110
17480
  [k: string]: unknown | undefined;
17111
17481
  }];
17112
- // ----- jsx-a11y/no-interactive-element-to-noninteractive-role -----
17113
- type JsxA11YNoInteractiveElementToNoninteractiveRole = [] | [{
17482
+ // ----- jsx-a11y-x/no-interactive-element-to-noninteractive-role -----
17483
+ type JsxA11YXNoInteractiveElementToNoninteractiveRole = [] | [{
17114
17484
  [k: string]: string[] | undefined;
17115
17485
  }];
17116
- // ----- jsx-a11y/no-noninteractive-element-interactions -----
17117
- type JsxA11YNoNoninteractiveElementInteractions = [] | [{
17486
+ // ----- jsx-a11y-x/no-noninteractive-element-interactions -----
17487
+ type JsxA11YXNoNoninteractiveElementInteractions = [] | [{
17118
17488
  handlers?: string[];
17119
17489
  [k: string]: unknown | undefined;
17120
17490
  }];
17121
- // ----- jsx-a11y/no-noninteractive-element-to-interactive-role -----
17122
- type JsxA11YNoNoninteractiveElementToInteractiveRole = [] | [{
17491
+ // ----- jsx-a11y-x/no-noninteractive-element-to-interactive-role -----
17492
+ type JsxA11YXNoNoninteractiveElementToInteractiveRole = [] | [{
17123
17493
  [k: string]: string[] | undefined;
17124
17494
  }];
17125
- // ----- jsx-a11y/no-noninteractive-tabindex -----
17126
- type JsxA11YNoNoninteractiveTabindex = [] | [{
17495
+ // ----- jsx-a11y-x/no-noninteractive-tabindex -----
17496
+ type JsxA11YXNoNoninteractiveTabindex = [] | [{
17127
17497
  roles?: string[];
17128
17498
  tags?: string[];
17129
17499
  [k: string]: unknown | undefined;
17130
17500
  }];
17131
- // ----- jsx-a11y/no-onchange -----
17132
- type JsxA11YNoOnchange = [] | [{
17133
- [k: string]: unknown | undefined;
17134
- }];
17135
- // ----- jsx-a11y/no-redundant-roles -----
17136
- type JsxA11YNoRedundantRoles = [] | [{
17501
+ // ----- jsx-a11y-x/no-redundant-roles -----
17502
+ type JsxA11YXNoRedundantRoles = [] | [{
17137
17503
  [k: string]: string[] | undefined;
17138
17504
  }];
17139
- // ----- jsx-a11y/no-static-element-interactions -----
17140
- type JsxA11YNoStaticElementInteractions = [] | [{
17505
+ // ----- jsx-a11y-x/no-static-element-interactions -----
17506
+ type JsxA11YXNoStaticElementInteractions = [] | [{
17141
17507
  handlers?: string[];
17142
17508
  [k: string]: unknown | undefined;
17143
17509
  }];
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
17510
  // ----- jsx-quotes -----
17165
17511
  type JsxQuotes = [] | [("prefer-single" | "prefer-double")];
17166
17512
  // ----- key-spacing -----
@@ -18701,6 +19047,11 @@ type PackageJsonRestrictDependencyRanges = [] | [({
18701
19047
  forVersions?: string;
18702
19048
  rangeType: (("^" | "~" | "<" | "<=" | ">" | ">=" | "caret" | "pin" | "tilde" | "lt" | "le" | "gt" | "ge") | ("^" | "~" | "<" | "<=" | ">" | ">=" | "caret" | "pin" | "tilde" | "lt" | "le" | "gt" | "ge")[]);
18703
19049
  }[])];
19050
+ // ----- package-json/restrict-dist-tags -----
19051
+ type PackageJsonRestrictDistTags = [] | [{
19052
+ allowed?: string[];
19053
+ allowedFor?: ("dependencies" | "devDependencies" | "optionalDependencies" | "peerDependencies")[];
19054
+ }];
18704
19055
  // ----- package-json/restrict-private-properties -----
18705
19056
  type PackageJsonRestrictPrivateProperties = [] | [{
18706
19057
  blockedProperties?: string[];
@@ -21515,10 +21866,20 @@ type PlaywrightMissingPlaywrightAwait = [] | [{
21515
21866
  customMatchers?: string[];
21516
21867
  includePageLocatorMethods?: boolean;
21517
21868
  }];
21869
+ // ----- playwright/no-action-timeout -----
21870
+ type PlaywrightNoActionTimeout = [] | [{
21871
+ allow?: string[];
21872
+ }];
21518
21873
  // ----- playwright/no-hooks -----
21519
21874
  type PlaywrightNoHooks = [] | [{
21520
21875
  allow?: unknown[];
21521
21876
  }];
21877
+ // ----- playwright/no-magic-timeouts -----
21878
+ type PlaywrightNoMagicTimeouts = [] | [{
21879
+ allow?: number[];
21880
+ minOccurrences?: number;
21881
+ properties?: string[];
21882
+ }];
21522
21883
  // ----- playwright/no-raw-locators -----
21523
21884
  type PlaywrightNoRawLocators = [] | [{
21524
21885
  allowed?: string[];
@@ -21539,13 +21900,25 @@ type PlaywrightNoRestrictedRoles = [] | [(string | {
21539
21900
  })[]];
21540
21901
  // ----- playwright/no-skipped-test -----
21541
21902
  type PlaywrightNoSkippedTest = [] | [{
21542
- allowConditional?: boolean;
21903
+ allowConditional?: (boolean | {
21904
+ fixme?: boolean;
21905
+ skip?: boolean;
21906
+ });
21543
21907
  disallowFixme?: boolean;
21544
21908
  }];
21545
21909
  // ----- playwright/no-slowed-test -----
21546
21910
  type PlaywrightNoSlowedTest = [] | [{
21547
21911
  allowConditional?: boolean;
21548
21912
  }];
21913
+ // ----- playwright/no-template-literal-title -----
21914
+ type PlaywrightNoTemplateLiteralTitle = [] | [{
21915
+ ignore?: ("test" | "test.describe" | "test.step")[];
21916
+ }];
21917
+ // ----- playwright/prefer-ending-with-an-expect -----
21918
+ type PlaywrightPreferEndingWithAnExpect = [] | [{
21919
+ assertFunctionNames?: string[];
21920
+ assertFunctionPatterns?: string[];
21921
+ }];
21549
21922
  // ----- playwright/prefer-lowercase-title -----
21550
21923
  type PlaywrightPreferLowercaseTitle = [] | [{
21551
21924
  allowedPrefixes?: string[];
@@ -21556,6 +21929,11 @@ type PlaywrightPreferLowercaseTitle = [] | [{
21556
21929
  type PlaywrightPreferNativeLocators = [] | [{
21557
21930
  testIdAttribute?: string;
21558
21931
  }];
21932
+ // ----- playwright/require-annotation-reason -----
21933
+ type PlaywrightRequireAnnotationReason = [] | [{
21934
+ annotations?: ("fail" | "fixme" | "skip" | "slow")[];
21935
+ pattern?: string;
21936
+ }];
21559
21937
  // ----- playwright/require-hook -----
21560
21938
  type PlaywrightRequireHook = [] | [{
21561
21939
  allowedFunctionCalls?: string[];
@@ -21928,6 +22306,9 @@ type UnicornFilenameCase = [] | [({
21928
22306
  })[];
21929
22307
  multipleFileExtensions?: boolean;
21930
22308
  checkDirectories?: boolean;
22309
+ directoryRoots?: (string | {
22310
+ [k: string]: unknown | undefined;
22311
+ })[];
21931
22312
  } | {
21932
22313
  cases?: {
21933
22314
  camelCase?: boolean;
@@ -21941,6 +22322,9 @@ type UnicornFilenameCase = [] | [({
21941
22322
  })[];
21942
22323
  multipleFileExtensions?: boolean;
21943
22324
  checkDirectories?: boolean;
22325
+ directoryRoots?: (string | {
22326
+ [k: string]: unknown | undefined;
22327
+ })[];
21944
22328
  })];
21945
22329
  // ----- unicorn/id-match -----
21946
22330
  type UnicornIdMatch = [] | [string] | [string, {
@@ -21966,6 +22350,11 @@ interface _UnicornImportStyle_ModuleStyles {
21966
22350
  interface _UnicornImportStyle_BooleanObject {
21967
22351
  [k: string]: boolean | undefined;
21968
22352
  }
22353
+ // ----- unicorn/indent -----
22354
+ type UnicornIndent = [] | [{
22355
+ indent?: ("tab" | number);
22356
+ tabWidth?: number;
22357
+ }];
21969
22358
  // ----- unicorn/isolated-functions -----
21970
22359
  type UnicornIsolatedFunctions = [] | [{
21971
22360
  overrideGlobals?: {
@@ -21977,6 +22366,15 @@ type UnicornIsolatedFunctions = [] | [{
21977
22366
  }];
21978
22367
  // ----- unicorn/iteration-fallback-style -----
21979
22368
  type UnicornIterationFallbackStyle = [] | [("guard" | "fallback")];
22369
+ // ----- unicorn/key-name-casing -----
22370
+ type UnicornKeyNameCasing = [] | [{
22371
+ camelCase?: boolean;
22372
+ PascalCase?: boolean;
22373
+ SCREAMING_SNAKE_CASE?: boolean;
22374
+ "kebab-case"?: boolean;
22375
+ snake_case?: boolean;
22376
+ ignore?: string[];
22377
+ }];
21980
22378
  // ----- unicorn/logical-assignment-operators -----
21981
22379
  type UnicornLogicalAssignmentOperators = (([] | ["always"] | ["always", {
21982
22380
  enforceForIfStatements?: boolean;
@@ -22027,10 +22425,18 @@ type UnicornNoArrayReverse = [] | [{
22027
22425
  type UnicornNoArraySort = [] | [{
22028
22426
  allowExpressionStatement?: boolean;
22029
22427
  }];
22428
+ // ----- unicorn/no-break-in-nested-loop -----
22429
+ type UnicornNoBreakInNestedLoop = [] | [{
22430
+ checkContinue?: boolean;
22431
+ }];
22030
22432
  // ----- unicorn/no-empty-file -----
22031
22433
  type UnicornNoEmptyFile = [] | [{
22032
22434
  allowComments?: boolean;
22033
22435
  }];
22436
+ // ----- unicorn/no-immediate-mutation -----
22437
+ type UnicornNoImmediateMutation = [] | [{
22438
+ checkConditionals?: boolean;
22439
+ }];
22034
22440
  // ----- unicorn/no-instanceof-builtins -----
22035
22441
  type UnicornNoInstanceofBuiltins = [] | [{
22036
22442
  useErrorIsError?: boolean;
@@ -22071,6 +22477,10 @@ type UnicornNoNull = [] | [{
22071
22477
  type UnicornNoTypeofUndefined = [] | [{
22072
22478
  checkGlobalVariables?: boolean;
22073
22479
  }];
22480
+ // ----- unicorn/no-unnecessary-parameters -----
22481
+ type UnicornNoUnnecessaryParameters = [] | [{
22482
+ minimumCallCount?: number;
22483
+ }];
22074
22484
  // ----- unicorn/no-unnecessary-polyfills -----
22075
22485
  type UnicornNoUnnecessaryPolyfills = [] | [{
22076
22486
  targets?: (string | string[] | {
@@ -22134,9 +22544,15 @@ type UnicornPreferAt = [] | [{
22134
22544
  getLastElementFunctions?: string[];
22135
22545
  checkAllIndexAccess?: boolean;
22136
22546
  }];
22547
+ // ----- unicorn/prefer-combined-guards -----
22548
+ type UnicornPreferCombinedGuards = [] | [{
22549
+ checkCompoundConditions?: boolean;
22550
+ checkMultiStatementBodies?: boolean;
22551
+ }];
22137
22552
  // ----- unicorn/prefer-continue -----
22138
22553
  type UnicornPreferContinue = [] | [{
22139
22554
  maximumStatements?: number;
22555
+ checkShortBodies?: boolean;
22140
22556
  }];
22141
22557
  // ----- unicorn/prefer-dom-node-html-methods -----
22142
22558
  type UnicornPreferDomNodeHtmlMethods = [] | [{
@@ -22146,10 +22562,7 @@ type UnicornPreferDomNodeHtmlMethods = [] | [{
22146
22562
  // ----- unicorn/prefer-early-return -----
22147
22563
  type UnicornPreferEarlyReturn = [] | [{
22148
22564
  maximumStatements?: number;
22149
- }];
22150
- // ----- unicorn/prefer-explicit-viewport-units -----
22151
- type UnicornPreferExplicitViewportUnits = [] | [{
22152
- unit?: ("dvh" | "svh" | "lvh");
22565
+ checkShortBodies?: boolean;
22153
22566
  }];
22154
22567
  // ----- unicorn/prefer-export-from -----
22155
22568
  type UnicornPreferExportFrom = [] | [{
@@ -22194,6 +22607,10 @@ type UnicornPreferSetHas = [] | [{
22194
22607
  }];
22195
22608
  // ----- unicorn/prefer-short-arrow-method -----
22196
22609
  type UnicornPreferShortArrowMethod = [] | [("always" | "consistent-as-needed")];
22610
+ // ----- unicorn/prefer-simplified-conditions -----
22611
+ type UnicornPreferSimplifiedConditions = [] | [{
22612
+ negatedConditions?: ("simplify" | "expand");
22613
+ }];
22197
22614
  // ----- unicorn/prefer-single-call -----
22198
22615
  type UnicornPreferSingleCall = [] | [{
22199
22616
  ignore?: string[];