@w5s/eslint-config 3.14.0 → 3.16.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.
package/dist/index.d.ts CHANGED
@@ -5,10 +5,10 @@ import { StylisticCustomizeOptions } from "@stylistic/eslint-plugin";
5
5
  //#region src/typegen/e18e.d.ts
6
6
  declare module 'eslint' {
7
7
  namespace Linter {
8
- interface RulesRecord extends RuleOptions$13 {}
8
+ interface RulesRecord extends RuleOptions$14 {}
9
9
  }
10
10
  }
11
- interface RuleOptions$13 {
11
+ interface RuleOptions$14 {
12
12
  /**
13
13
  * Disallow dependencies in favor of more performant or secure alternatives
14
14
  */
@@ -209,16 +209,16 @@ declare namespace e18e {
209
209
  */
210
210
  performanceImprovements?: boolean;
211
211
  }
212
- type Rules = RuleOptions$13;
212
+ type Rules = RuleOptions$14;
213
213
  }
214
214
  //#endregion
215
215
  //#region src/typegen/jsonc.d.ts
216
216
  declare module 'eslint' {
217
217
  namespace Linter {
218
- interface RulesRecord extends RuleOptions$12 {}
218
+ interface RulesRecord extends RuleOptions$13 {}
219
219
  }
220
220
  }
221
- interface RuleOptions$12 {
221
+ interface RuleOptions$13 {
222
222
  /**
223
223
  * enforce line breaks after opening and before closing array brackets
224
224
  * @see https://ota-meshi.github.io/eslint-plugin-jsonc/rules/array-bracket-newline.html
@@ -978,7 +978,7 @@ declare namespace es {
978
978
  }
979
979
  declare namespace es {
980
980
  interface Options extends PluginOptionsBase<Rules> {}
981
- type Rules = RuleOptions$12;
981
+ type Rules = RuleOptions$13;
982
982
  }
983
983
  //#endregion
984
984
  //#region src/config/ignores.d.ts
@@ -990,10 +990,10 @@ declare namespace ignores {
990
990
  //#region src/typegen/import.d.ts
991
991
  declare module 'eslint' {
992
992
  namespace Linter {
993
- interface RulesRecord extends RuleOptions$11 {}
993
+ interface RulesRecord extends RuleOptions$12 {}
994
994
  }
995
995
  }
996
- interface RuleOptions$11 {
996
+ interface RuleOptions$12 {
997
997
  /**
998
998
  * Enforce or ban the use of inline type-only markers for named imports.
999
999
  * @see https://github.com/import-js/eslint-plugin-import/blob/v2.32.0/docs/rules/consistent-type-specifier-style.md
@@ -1453,16 +1453,16 @@ declare namespace imports {
1453
1453
  }
1454
1454
  declare namespace imports {
1455
1455
  interface Options extends PluginOptionsBase<Rules> {}
1456
- type Rules = RuleOptions$11;
1456
+ type Rules = RuleOptions$12;
1457
1457
  }
1458
1458
  //#endregion
1459
1459
  //#region src/typegen/jsdoc.d.ts
1460
1460
  declare module 'eslint' {
1461
1461
  namespace Linter {
1462
- interface RulesRecord extends RuleOptions$10 {}
1462
+ interface RulesRecord extends RuleOptions$11 {}
1463
1463
  }
1464
1464
  }
1465
- interface RuleOptions$10 {
1465
+ interface RuleOptions$11 {
1466
1466
  /**
1467
1467
  * Checks that `@access` tags have a valid value.
1468
1468
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-access.md#repos-sticky-header
@@ -2340,14 +2340,399 @@ type JsdocValidTypes = [] | [{
2340
2340
  declare function jsdoc(options?: jsdoc.Options): Promise<ReadonlyArray<Config>>;
2341
2341
  declare namespace jsdoc {
2342
2342
  interface Options extends PluginOptionsBase<Rules> {}
2343
- type Rules = RuleOptions$10;
2343
+ type Rules = RuleOptions$11;
2344
2344
  }
2345
2345
  //#endregion
2346
2346
  //#region src/config/jsonc.d.ts
2347
2347
  declare function jsonc(options?: jsonc.Options): Promise<ReadonlyArray<Config>>;
2348
2348
  declare namespace jsonc {
2349
2349
  interface Options extends PluginOptionsBase<Rules> {}
2350
- type Rules = RuleOptions$12;
2350
+ type Rules = RuleOptions$13;
2351
+ }
2352
+ //#endregion
2353
+ //#region src/typegen/jsx-a11y.d.ts
2354
+ declare module 'eslint' {
2355
+ namespace Linter {
2356
+ interface RulesRecord extends RuleOptions$10 {}
2357
+ }
2358
+ }
2359
+ interface RuleOptions$10 {
2360
+ /**
2361
+ * Enforce emojis are wrapped in `<span>` and provide screen reader access.
2362
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/accessible-emoji.md
2363
+ * @deprecated
2364
+ */
2365
+ 'jsx-a11y/accessible-emoji'?: Linter.RuleEntry<JsxA11YAccessibleEmoji>;
2366
+ /**
2367
+ * Enforce all elements that require alternative text have meaningful information to relay back to end user.
2368
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/alt-text.md
2369
+ */
2370
+ 'jsx-a11y/alt-text'?: Linter.RuleEntry<JsxA11YAltText>;
2371
+ /**
2372
+ * Enforce `<a>` text to not exactly match "click here", "here", "link", or "a link".
2373
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/anchor-ambiguous-text.md
2374
+ */
2375
+ 'jsx-a11y/anchor-ambiguous-text'?: Linter.RuleEntry<JsxA11YAnchorAmbiguousText>;
2376
+ /**
2377
+ * Enforce all anchors to contain accessible content.
2378
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/anchor-has-content.md
2379
+ */
2380
+ 'jsx-a11y/anchor-has-content'?: Linter.RuleEntry<JsxA11YAnchorHasContent>;
2381
+ /**
2382
+ * Enforce all anchors are valid, navigable elements.
2383
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/anchor-is-valid.md
2384
+ */
2385
+ 'jsx-a11y/anchor-is-valid'?: Linter.RuleEntry<JsxA11YAnchorIsValid>;
2386
+ /**
2387
+ * Enforce elements with aria-activedescendant are tabbable.
2388
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-activedescendant-has-tabindex.md
2389
+ */
2390
+ 'jsx-a11y/aria-activedescendant-has-tabindex'?: Linter.RuleEntry<JsxA11YAriaActivedescendantHasTabindex>;
2391
+ /**
2392
+ * Enforce all `aria-*` props are valid.
2393
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-props.md
2394
+ */
2395
+ 'jsx-a11y/aria-props'?: Linter.RuleEntry<JsxA11YAriaProps>;
2396
+ /**
2397
+ * Enforce ARIA state and property values are valid.
2398
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-proptypes.md
2399
+ */
2400
+ 'jsx-a11y/aria-proptypes'?: Linter.RuleEntry<JsxA11YAriaProptypes>;
2401
+ /**
2402
+ * Enforce that elements with ARIA roles must use a valid, non-abstract ARIA role.
2403
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-role.md
2404
+ */
2405
+ 'jsx-a11y/aria-role'?: Linter.RuleEntry<JsxA11YAriaRole>;
2406
+ /**
2407
+ * Enforce that elements that do not support ARIA roles, states, and properties do not have those attributes.
2408
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-unsupported-elements.md
2409
+ */
2410
+ 'jsx-a11y/aria-unsupported-elements'?: Linter.RuleEntry<JsxA11YAriaUnsupportedElements>;
2411
+ /**
2412
+ * Enforce that autocomplete attributes are used correctly.
2413
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/autocomplete-valid.md
2414
+ */
2415
+ 'jsx-a11y/autocomplete-valid'?: Linter.RuleEntry<JsxA11YAutocompleteValid>;
2416
+ /**
2417
+ * Enforce a clickable non-interactive element has at least one keyboard event listener.
2418
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/click-events-have-key-events.md
2419
+ */
2420
+ 'jsx-a11y/click-events-have-key-events'?: Linter.RuleEntry<JsxA11YClickEventsHaveKeyEvents>;
2421
+ /**
2422
+ * Enforce that a control (an interactive element) has a text label.
2423
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/control-has-associated-label.md
2424
+ */
2425
+ 'jsx-a11y/control-has-associated-label'?: Linter.RuleEntry<JsxA11YControlHasAssociatedLabel>;
2426
+ /**
2427
+ * Enforce heading (`h1`, `h2`, etc) elements contain accessible content.
2428
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/heading-has-content.md
2429
+ */
2430
+ 'jsx-a11y/heading-has-content'?: Linter.RuleEntry<JsxA11YHeadingHasContent>;
2431
+ /**
2432
+ * Enforce `<html>` element has `lang` prop.
2433
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/html-has-lang.md
2434
+ */
2435
+ 'jsx-a11y/html-has-lang'?: Linter.RuleEntry<JsxA11YHtmlHasLang>;
2436
+ /**
2437
+ * Enforce iframe elements have a title attribute.
2438
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/iframe-has-title.md
2439
+ */
2440
+ 'jsx-a11y/iframe-has-title'?: Linter.RuleEntry<JsxA11YIframeHasTitle>;
2441
+ /**
2442
+ * Enforce `<img>` alt prop does not contain the word "image", "picture", or "photo".
2443
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/img-redundant-alt.md
2444
+ */
2445
+ 'jsx-a11y/img-redundant-alt'?: Linter.RuleEntry<JsxA11YImgRedundantAlt>;
2446
+ /**
2447
+ * Enforce that elements with interactive handlers like `onClick` must be focusable.
2448
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/interactive-supports-focus.md
2449
+ */
2450
+ 'jsx-a11y/interactive-supports-focus'?: Linter.RuleEntry<JsxA11YInteractiveSupportsFocus>;
2451
+ /**
2452
+ * Enforce that a `label` tag has a text label and an associated control.
2453
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/label-has-associated-control.md
2454
+ */
2455
+ 'jsx-a11y/label-has-associated-control'?: Linter.RuleEntry<JsxA11YLabelHasAssociatedControl>;
2456
+ /**
2457
+ * Enforce that `<label>` elements have the `htmlFor` prop.
2458
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/label-has-for.md
2459
+ * @deprecated
2460
+ */
2461
+ 'jsx-a11y/label-has-for'?: Linter.RuleEntry<JsxA11YLabelHasFor>;
2462
+ /**
2463
+ * Enforce lang attribute has a valid value.
2464
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/lang.md
2465
+ */
2466
+ 'jsx-a11y/lang'?: Linter.RuleEntry<JsxA11YLang>;
2467
+ /**
2468
+ * Enforces that `<audio>` and `<video>` elements must have a `<track>` for captions.
2469
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/media-has-caption.md
2470
+ */
2471
+ 'jsx-a11y/media-has-caption'?: Linter.RuleEntry<JsxA11YMediaHasCaption>;
2472
+ /**
2473
+ * Enforce that `onMouseOver`/`onMouseOut` are accompanied by `onFocus`/`onBlur` for keyboard-only users.
2474
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/mouse-events-have-key-events.md
2475
+ */
2476
+ 'jsx-a11y/mouse-events-have-key-events'?: Linter.RuleEntry<JsxA11YMouseEventsHaveKeyEvents>;
2477
+ /**
2478
+ * Enforce that the `accessKey` prop is not used on any element to avoid complications with keyboard commands used by a screen reader.
2479
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-access-key.md
2480
+ */
2481
+ 'jsx-a11y/no-access-key'?: Linter.RuleEntry<JsxA11YNoAccessKey>;
2482
+ /**
2483
+ * Disallow `aria-hidden="true"` from being set on focusable elements.
2484
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-aria-hidden-on-focusable.md
2485
+ */
2486
+ 'jsx-a11y/no-aria-hidden-on-focusable'?: Linter.RuleEntry<JsxA11YNoAriaHiddenOnFocusable>;
2487
+ /**
2488
+ * Enforce autoFocus prop is not used.
2489
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-autofocus.md
2490
+ */
2491
+ 'jsx-a11y/no-autofocus'?: Linter.RuleEntry<JsxA11YNoAutofocus>;
2492
+ /**
2493
+ * Enforce distracting elements are not used.
2494
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-distracting-elements.md
2495
+ */
2496
+ 'jsx-a11y/no-distracting-elements'?: Linter.RuleEntry<JsxA11YNoDistractingElements>;
2497
+ /**
2498
+ * Interactive elements should not be assigned non-interactive roles.
2499
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-interactive-element-to-noninteractive-role.md
2500
+ */
2501
+ 'jsx-a11y/no-interactive-element-to-noninteractive-role'?: Linter.RuleEntry<JsxA11YNoInteractiveElementToNoninteractiveRole>;
2502
+ /**
2503
+ * Non-interactive elements should not be assigned mouse or keyboard event listeners.
2504
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-noninteractive-element-interactions.md
2505
+ */
2506
+ 'jsx-a11y/no-noninteractive-element-interactions'?: Linter.RuleEntry<JsxA11YNoNoninteractiveElementInteractions>;
2507
+ /**
2508
+ * Non-interactive elements should not be assigned interactive roles.
2509
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-noninteractive-element-to-interactive-role.md
2510
+ */
2511
+ 'jsx-a11y/no-noninteractive-element-to-interactive-role'?: Linter.RuleEntry<JsxA11YNoNoninteractiveElementToInteractiveRole>;
2512
+ /**
2513
+ * `tabIndex` should only be declared on interactive elements.
2514
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-noninteractive-tabindex.md
2515
+ */
2516
+ 'jsx-a11y/no-noninteractive-tabindex'?: Linter.RuleEntry<JsxA11YNoNoninteractiveTabindex>;
2517
+ /**
2518
+ * Enforce usage of `onBlur` over `onChange` on select menus for accessibility.
2519
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-onchange.md
2520
+ * @deprecated
2521
+ */
2522
+ 'jsx-a11y/no-onchange'?: Linter.RuleEntry<JsxA11YNoOnchange>;
2523
+ /**
2524
+ * Enforce explicit role property is not the same as implicit/default role property on element.
2525
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-redundant-roles.md
2526
+ */
2527
+ 'jsx-a11y/no-redundant-roles'?: Linter.RuleEntry<JsxA11YNoRedundantRoles>;
2528
+ /**
2529
+ * Enforce that non-interactive, visible elements (such as `<div>`) that have click handlers use the role attribute.
2530
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/no-static-element-interactions.md
2531
+ */
2532
+ 'jsx-a11y/no-static-element-interactions'?: Linter.RuleEntry<JsxA11YNoStaticElementInteractions>;
2533
+ /**
2534
+ * Enforces using semantic DOM elements over the ARIA `role` property.
2535
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/prefer-tag-over-role.md
2536
+ */
2537
+ 'jsx-a11y/prefer-tag-over-role'?: Linter.RuleEntry<JsxA11YPreferTagOverRole>;
2538
+ /**
2539
+ * Enforce that elements with ARIA roles must have all required attributes for that role.
2540
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/role-has-required-aria-props.md
2541
+ */
2542
+ 'jsx-a11y/role-has-required-aria-props'?: Linter.RuleEntry<JsxA11YRoleHasRequiredAriaProps>;
2543
+ /**
2544
+ * Enforce that elements with explicit or implicit roles defined contain only `aria-*` properties supported by that `role`.
2545
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/role-supports-aria-props.md
2546
+ */
2547
+ 'jsx-a11y/role-supports-aria-props'?: Linter.RuleEntry<JsxA11YRoleSupportsAriaProps>;
2548
+ /**
2549
+ * Enforce `scope` prop is only used on `<th>` elements.
2550
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/scope.md
2551
+ */
2552
+ 'jsx-a11y/scope'?: Linter.RuleEntry<JsxA11YScope>;
2553
+ /**
2554
+ * Enforce `tabIndex` value is not greater than zero.
2555
+ * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/tabindex-no-positive.md
2556
+ */
2557
+ 'jsx-a11y/tabindex-no-positive'?: Linter.RuleEntry<JsxA11YTabindexNoPositive>;
2558
+ }
2559
+ /* ======= Declarations ======= */
2560
+ // ----- jsx-a11y/accessible-emoji -----
2561
+ type JsxA11YAccessibleEmoji = [] | [{
2562
+ [k: string]: unknown | undefined;
2563
+ }]; // ----- jsx-a11y/alt-text -----
2564
+ type JsxA11YAltText = [] | [{
2565
+ elements?: string[];
2566
+ img?: string[];
2567
+ object?: string[];
2568
+ area?: string[];
2569
+ "input[type=\"image\"]"?: string[];
2570
+ [k: string]: unknown | undefined;
2571
+ }]; // ----- jsx-a11y/anchor-ambiguous-text -----
2572
+ type JsxA11YAnchorAmbiguousText = [] | [{
2573
+ words?: string[];
2574
+ [k: string]: unknown | undefined;
2575
+ }]; // ----- jsx-a11y/anchor-has-content -----
2576
+ type JsxA11YAnchorHasContent = [] | [{
2577
+ components?: string[];
2578
+ [k: string]: unknown | undefined;
2579
+ }]; // ----- jsx-a11y/anchor-is-valid -----
2580
+ type JsxA11YAnchorIsValid = [] | [{
2581
+ components?: string[];
2582
+ specialLink?: string[];
2583
+ aspects?: [("noHref" | "invalidHref" | "preferButton"), ...(("noHref" | "invalidHref" | "preferButton"))[]];
2584
+ [k: string]: unknown | undefined;
2585
+ }]; // ----- jsx-a11y/aria-activedescendant-has-tabindex -----
2586
+ type JsxA11YAriaActivedescendantHasTabindex = [] | [{
2587
+ [k: string]: unknown | undefined;
2588
+ }]; // ----- jsx-a11y/aria-props -----
2589
+ type JsxA11YAriaProps = [] | [{
2590
+ [k: string]: unknown | undefined;
2591
+ }]; // ----- jsx-a11y/aria-proptypes -----
2592
+ type JsxA11YAriaProptypes = [] | [{
2593
+ [k: string]: unknown | undefined;
2594
+ }]; // ----- jsx-a11y/aria-role -----
2595
+ type JsxA11YAriaRole = [] | [{
2596
+ allowedInvalidRoles?: string[];
2597
+ ignoreNonDOM?: boolean;
2598
+ [k: string]: unknown | undefined;
2599
+ }]; // ----- jsx-a11y/aria-unsupported-elements -----
2600
+ type JsxA11YAriaUnsupportedElements = [] | [{
2601
+ [k: string]: unknown | undefined;
2602
+ }]; // ----- jsx-a11y/autocomplete-valid -----
2603
+ type JsxA11YAutocompleteValid = [] | [{
2604
+ inputComponents?: string[];
2605
+ [k: string]: unknown | undefined;
2606
+ }]; // ----- jsx-a11y/click-events-have-key-events -----
2607
+ type JsxA11YClickEventsHaveKeyEvents = [] | [{
2608
+ [k: string]: unknown | undefined;
2609
+ }]; // ----- jsx-a11y/control-has-associated-label -----
2610
+ type JsxA11YControlHasAssociatedLabel = [] | [{
2611
+ labelAttributes?: string[];
2612
+ controlComponents?: string[];
2613
+ ignoreElements?: string[];
2614
+ ignoreRoles?: string[];
2615
+ depth?: number;
2616
+ [k: string]: unknown | undefined;
2617
+ }]; // ----- jsx-a11y/heading-has-content -----
2618
+ type JsxA11YHeadingHasContent = [] | [{
2619
+ components?: string[];
2620
+ [k: string]: unknown | undefined;
2621
+ }]; // ----- jsx-a11y/html-has-lang -----
2622
+ type JsxA11YHtmlHasLang = [] | [{
2623
+ [k: string]: unknown | undefined;
2624
+ }]; // ----- jsx-a11y/iframe-has-title -----
2625
+ type JsxA11YIframeHasTitle = [] | [{
2626
+ [k: string]: unknown | undefined;
2627
+ }]; // ----- jsx-a11y/img-redundant-alt -----
2628
+ type JsxA11YImgRedundantAlt = [] | [{
2629
+ components?: string[];
2630
+ words?: string[];
2631
+ [k: string]: unknown | undefined;
2632
+ }]; // ----- jsx-a11y/interactive-supports-focus -----
2633
+ type JsxA11YInteractiveSupportsFocus = [] | [{
2634
+ 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")[];
2635
+ [k: string]: unknown | undefined;
2636
+ }]; // ----- jsx-a11y/label-has-associated-control -----
2637
+ type JsxA11YLabelHasAssociatedControl = [] | [{
2638
+ labelComponents?: string[];
2639
+ labelAttributes?: string[];
2640
+ controlComponents?: string[];
2641
+ assert?: ("htmlFor" | "nesting" | "both" | "either");
2642
+ depth?: number;
2643
+ [k: string]: unknown | undefined;
2644
+ }]; // ----- jsx-a11y/label-has-for -----
2645
+ type JsxA11YLabelHasFor = [] | [{
2646
+ components?: string[];
2647
+ required?: (("nesting" | "id") | {
2648
+ some: ("nesting" | "id")[];
2649
+ [k: string]: unknown | undefined;
2650
+ } | {
2651
+ every: ("nesting" | "id")[];
2652
+ [k: string]: unknown | undefined;
2653
+ });
2654
+ allowChildren?: boolean;
2655
+ [k: string]: unknown | undefined;
2656
+ }]; // ----- jsx-a11y/lang -----
2657
+ type JsxA11YLang = [] | [{
2658
+ [k: string]: unknown | undefined;
2659
+ }]; // ----- jsx-a11y/media-has-caption -----
2660
+ type JsxA11YMediaHasCaption = [] | [{
2661
+ audio?: string[];
2662
+ video?: string[];
2663
+ track?: string[];
2664
+ [k: string]: unknown | undefined;
2665
+ }]; // ----- jsx-a11y/mouse-events-have-key-events -----
2666
+ type JsxA11YMouseEventsHaveKeyEvents = [] | [{
2667
+ hoverInHandlers?: string[];
2668
+ hoverOutHandlers?: string[];
2669
+ [k: string]: unknown | undefined;
2670
+ }]; // ----- jsx-a11y/no-access-key -----
2671
+ type JsxA11YNoAccessKey = [] | [{
2672
+ [k: string]: unknown | undefined;
2673
+ }]; // ----- jsx-a11y/no-aria-hidden-on-focusable -----
2674
+ type JsxA11YNoAriaHiddenOnFocusable = [] | [{
2675
+ [k: string]: unknown | undefined;
2676
+ }]; // ----- jsx-a11y/no-autofocus -----
2677
+ type JsxA11YNoAutofocus = [] | [{
2678
+ ignoreNonDOM?: boolean;
2679
+ [k: string]: unknown | undefined;
2680
+ }]; // ----- jsx-a11y/no-distracting-elements -----
2681
+ type JsxA11YNoDistractingElements = [] | [{
2682
+ elements?: ("marquee" | "blink")[];
2683
+ [k: string]: unknown | undefined;
2684
+ }]; // ----- jsx-a11y/no-interactive-element-to-noninteractive-role -----
2685
+ type JsxA11YNoInteractiveElementToNoninteractiveRole = [] | [{
2686
+ [k: string]: string[] | undefined;
2687
+ }]; // ----- jsx-a11y/no-noninteractive-element-interactions -----
2688
+ type JsxA11YNoNoninteractiveElementInteractions = [] | [{
2689
+ handlers?: string[];
2690
+ [k: string]: unknown | undefined;
2691
+ }]; // ----- jsx-a11y/no-noninteractive-element-to-interactive-role -----
2692
+ type JsxA11YNoNoninteractiveElementToInteractiveRole = [] | [{
2693
+ [k: string]: string[] | undefined;
2694
+ }]; // ----- jsx-a11y/no-noninteractive-tabindex -----
2695
+ type JsxA11YNoNoninteractiveTabindex = [] | [{
2696
+ roles?: string[];
2697
+ tags?: string[];
2698
+ [k: string]: unknown | undefined;
2699
+ }]; // ----- jsx-a11y/no-onchange -----
2700
+ type JsxA11YNoOnchange = [] | [{
2701
+ [k: string]: unknown | undefined;
2702
+ }]; // ----- jsx-a11y/no-redundant-roles -----
2703
+ type JsxA11YNoRedundantRoles = [] | [{
2704
+ [k: string]: string[] | undefined;
2705
+ }]; // ----- jsx-a11y/no-static-element-interactions -----
2706
+ type JsxA11YNoStaticElementInteractions = [] | [{
2707
+ handlers?: string[];
2708
+ [k: string]: unknown | undefined;
2709
+ }]; // ----- jsx-a11y/prefer-tag-over-role -----
2710
+ type JsxA11YPreferTagOverRole = [] | [{
2711
+ [k: string]: unknown | undefined;
2712
+ }]; // ----- jsx-a11y/role-has-required-aria-props -----
2713
+ type JsxA11YRoleHasRequiredAriaProps = [] | [{
2714
+ [k: string]: unknown | undefined;
2715
+ }]; // ----- jsx-a11y/role-supports-aria-props -----
2716
+ type JsxA11YRoleSupportsAriaProps = [] | [{
2717
+ [k: string]: unknown | undefined;
2718
+ }]; // ----- jsx-a11y/scope -----
2719
+ type JsxA11YScope = [] | [{
2720
+ [k: string]: unknown | undefined;
2721
+ }]; // ----- jsx-a11y/tabindex-no-positive -----
2722
+ type JsxA11YTabindexNoPositive = [] | [{
2723
+ [k: string]: unknown | undefined;
2724
+ }];
2725
+ //#endregion
2726
+ //#region src/config/jsx.d.ts
2727
+ declare function jsx(options?: jsx.Options): Promise<[Config, Config]>;
2728
+ declare namespace jsx {
2729
+ interface Options extends Omit<PluginOptionsBase<Rules>, 'stylistic'> {
2730
+ /**
2731
+ * Enable jsx-a11y plugin. Defaults to false.
2732
+ */
2733
+ jsxA11y?: boolean;
2734
+ }
2735
+ type Rules = RuleOptions$10;
2351
2736
  }
2352
2737
  //#endregion
2353
2738
  //#region src/typegen/markdown.d.ts
@@ -12754,6 +13139,7 @@ interface DefineConfigOptions extends ignores.Options {
12754
13139
  import?: boolean | imports.Options;
12755
13140
  jsdoc?: boolean | jsdoc.Options;
12756
13141
  jsonc?: boolean | jsonc.Options;
13142
+ jsx?: boolean | jsx.Options;
12757
13143
  markdown?: boolean | markdown.Options;
12758
13144
  next?: boolean | next.Options;
12759
13145
  node?: boolean | node.Options;
@@ -12779,5 +13165,5 @@ declare const meta: Readonly<{
12779
13165
  version: string;
12780
13166
  }>;
12781
13167
  //#endregion
12782
- export { Config, DefineConfigOptions, PluginOptionsBase, StylisticConfig, StylisticParameters, defineConfig as default, defineConfig, e18e, es, ignores, imports, jsdoc, jsonc, markdown, meta, next, node, perfectionist, react, stylistic, test, ts, unicorn, yml };
13168
+ export { Config, DefineConfigOptions, PluginOptionsBase, StylisticConfig, StylisticParameters, defineConfig as default, defineConfig, e18e, es, ignores, imports, jsdoc, jsonc, jsx, markdown, meta, next, node, perfectionist, react, stylistic, test, ts, unicorn, yml };
12783
13169
  //# sourceMappingURL=index.d.ts.map