@shayanthenerd/eslint-config 0.14.0 → 0.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.
Files changed (53) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +209 -190
  3. package/dist/configs/astro.mjs +34 -0
  4. package/dist/configs/base.mjs +19 -10
  5. package/dist/configs/css.mjs +2 -2
  6. package/dist/configs/cypress.mjs +2 -2
  7. package/dist/configs/html.mjs +2 -3
  8. package/dist/configs/importX.mjs +8 -4
  9. package/dist/configs/oxlintOverrides.mjs +20 -14
  10. package/dist/configs/perfectionist.mjs +8 -4
  11. package/dist/configs/playwright.mjs +2 -2
  12. package/dist/configs/restrictedExports.mjs +1 -1
  13. package/dist/configs/storybook.mjs +2 -2
  14. package/dist/configs/stylistic.mjs +8 -4
  15. package/dist/configs/tailwind.mjs +14 -14
  16. package/dist/configs/typescript.mjs +8 -4
  17. package/dist/configs/vitest.mjs +2 -2
  18. package/dist/configs/vue.mjs +2 -2
  19. package/dist/configs/vueComponentNames.mjs +1 -1
  20. package/dist/configs/vueServerComponents.mjs +1 -1
  21. package/dist/configs/zod.mjs +8 -4
  22. package/dist/{utils → helpers}/globs.mjs +2 -1
  23. package/dist/{utils → helpers}/ignores/defaultIgnorePatterns.mjs +3 -1
  24. package/dist/{utils → helpers}/ignores/getIgnorePatterns.mjs +1 -1
  25. package/dist/{utils → helpers}/ignores/resolveGitignorePatterns.mjs +1 -1
  26. package/dist/{utils → helpers}/isPackageDetected.mjs +1 -1
  27. package/dist/{utils → helpers}/options/defaultOptions.mjs +15 -7
  28. package/dist/{utils → helpers}/options/enableDetectedConfigs.mjs +2 -3
  29. package/dist/{utils → helpers}/options/mergeWithDefaults.mjs +4 -5
  30. package/dist/{utils → helpers}/vue/getRestrictedVueElements.mjs +1 -1
  31. package/dist/{utils → helpers}/vue/getRestrictedVueInputs.mjs +1 -1
  32. package/dist/index.mjs +6 -4
  33. package/dist/oxlint.config.jsonc +120 -206
  34. package/dist/prettier.config.mjs +1 -1
  35. package/dist/rules/astro.mjs +61 -0
  36. package/dist/rules/css.mjs +1 -1
  37. package/dist/rules/html.mjs +3 -3
  38. package/dist/rules/importX.mjs +1 -1
  39. package/dist/rules/javascript.mjs +1 -2
  40. package/dist/rules/perfectionist.mjs +2 -2
  41. package/dist/rules/stylistic.mjs +10 -7
  42. package/dist/rules/tailwind.mjs +4 -4
  43. package/dist/rules/typescript.mjs +2 -2
  44. package/dist/rules/vue.mjs +6 -6
  45. package/dist/rules/vueAccessibility.mjs +1 -1
  46. package/dist/types/configOptions/base.d.mts +8 -8
  47. package/dist/types/configOptions/nuxt.d.mts +3 -3
  48. package/dist/types/configOptions/stylistic.d.mts +0 -15
  49. package/dist/types/configOptions/test.d.mts +4 -4
  50. package/dist/types/configOptions/vue.d.mts +1 -1
  51. package/dist/types/eslint-schema.d.mts +1031 -237
  52. package/dist/types/index.d.mts +46 -20
  53. package/package.json +142 -124
@@ -7,36 +7,6 @@ declare module 'eslint' {
7
7
  interface RulesRecord extends ESLintSchema {}
8
8
  }
9
9
  }
10
-
11
- // @ts-ignore - In case the package is not installed
12
- declare module 'eslint-flat-config-utils' {
13
- interface DefaultConfigNamesMap {
14
- 'shayanthenerd/ignores'?: true;
15
- 'shayanthenerd/global'?: true;
16
- 'shayanthenerd/base'?: true;
17
- 'shayanthenerd/typescript'?: true;
18
- 'shayanthenerd/html'?: true;
19
- 'shayanthenerd/css'?: true;
20
- 'shayanthenerd/imports'?: true;
21
- 'shayanthenerd/restricted-exports'?: true;
22
- 'shayanthenerd/stylistic'?: true;
23
- 'shayanthenerd/perfectionist'?: true;
24
- 'shayanthenerd/zod'?: true;
25
- 'shayanthenerd/tailwind'?: true;
26
- 'shayanthenerd/vue > setup'?: true;
27
- 'shayanthenerd/vue'?: true;
28
- 'shayanthenerd/vue/multi-word-component-names'?: true;
29
- 'shayanthenerd/vue/server-components'?: true;
30
- 'shayanthenerd/storybook'?: true;
31
- 'shayanthenerd/vitest'?: true;
32
- 'shayanthenerd/cypress'?: true;
33
- 'shayanthenerd/playwright'?: true;
34
- 'oxlint/oxlint-config-ignore-patterns'?: true;
35
- 'oxlint/from-oxlint-config'?: true;
36
- 'oxlint/from-oxlint-config-override-0'?: true;
37
- 'shayanthenerd/oxlint/overrides'?: true;
38
- }
39
- }
40
10
  interface ESLintSchema {
41
11
  /**
42
12
  * Enforce newline between attributes
@@ -1525,6 +1495,276 @@ interface ESLintSchema {
1525
1495
  * @deprecated
1526
1496
  */
1527
1497
  'arrow-spacing'?: Linter.RuleEntry<ArrowSpacing>;
1498
+ /**
1499
+ * apply `jsx-a11y/alt-text` rule to Astro components
1500
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/alt-text/
1501
+ */
1502
+ 'astro/jsx-a11y/alt-text'?: Linter.RuleEntry<AstroJsxA11YAltText>;
1503
+ /**
1504
+ * apply `jsx-a11y/anchor-ambiguous-text` rule to Astro components
1505
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/anchor-ambiguous-text/
1506
+ */
1507
+ 'astro/jsx-a11y/anchor-ambiguous-text'?: Linter.RuleEntry<AstroJsxA11YAnchorAmbiguousText>;
1508
+ /**
1509
+ * apply `jsx-a11y/anchor-has-content` rule to Astro components
1510
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/anchor-has-content/
1511
+ */
1512
+ 'astro/jsx-a11y/anchor-has-content'?: Linter.RuleEntry<AstroJsxA11YAnchorHasContent>;
1513
+ /**
1514
+ * apply `jsx-a11y/anchor-is-valid` rule to Astro components
1515
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/anchor-is-valid/
1516
+ */
1517
+ 'astro/jsx-a11y/anchor-is-valid'?: Linter.RuleEntry<AstroJsxA11YAnchorIsValid>;
1518
+ /**
1519
+ * apply `jsx-a11y/aria-activedescendant-has-tabindex` rule to Astro components
1520
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/aria-activedescendant-has-tabindex/
1521
+ */
1522
+ 'astro/jsx-a11y/aria-activedescendant-has-tabindex'?: Linter.RuleEntry<AstroJsxA11YAriaActivedescendantHasTabindex>;
1523
+ /**
1524
+ * apply `jsx-a11y/aria-props` rule to Astro components
1525
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/aria-props/
1526
+ */
1527
+ 'astro/jsx-a11y/aria-props'?: Linter.RuleEntry<AstroJsxA11YAriaProps>;
1528
+ /**
1529
+ * apply `jsx-a11y/aria-proptypes` rule to Astro components
1530
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/aria-proptypes/
1531
+ */
1532
+ 'astro/jsx-a11y/aria-proptypes'?: Linter.RuleEntry<AstroJsxA11YAriaProptypes>;
1533
+ /**
1534
+ * apply `jsx-a11y/aria-role` rule to Astro components
1535
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/aria-role/
1536
+ */
1537
+ 'astro/jsx-a11y/aria-role'?: Linter.RuleEntry<AstroJsxA11YAriaRole>;
1538
+ /**
1539
+ * apply `jsx-a11y/aria-unsupported-elements` rule to Astro components
1540
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/aria-unsupported-elements/
1541
+ */
1542
+ 'astro/jsx-a11y/aria-unsupported-elements'?: Linter.RuleEntry<AstroJsxA11YAriaUnsupportedElements>;
1543
+ /**
1544
+ * apply `jsx-a11y/autocomplete-valid` rule to Astro components
1545
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/autocomplete-valid/
1546
+ */
1547
+ 'astro/jsx-a11y/autocomplete-valid'?: Linter.RuleEntry<AstroJsxA11YAutocompleteValid>;
1548
+ /**
1549
+ * apply `jsx-a11y/click-events-have-key-events` rule to Astro components
1550
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/click-events-have-key-events/
1551
+ */
1552
+ 'astro/jsx-a11y/click-events-have-key-events'?: Linter.RuleEntry<AstroJsxA11YClickEventsHaveKeyEvents>;
1553
+ /**
1554
+ * apply `jsx-a11y/control-has-associated-label` rule to Astro components
1555
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/control-has-associated-label/
1556
+ */
1557
+ 'astro/jsx-a11y/control-has-associated-label'?: Linter.RuleEntry<AstroJsxA11YControlHasAssociatedLabel>;
1558
+ /**
1559
+ * apply `jsx-a11y/heading-has-content` rule to Astro components
1560
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/heading-has-content/
1561
+ */
1562
+ 'astro/jsx-a11y/heading-has-content'?: Linter.RuleEntry<AstroJsxA11YHeadingHasContent>;
1563
+ /**
1564
+ * apply `jsx-a11y/html-has-lang` rule to Astro components
1565
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/html-has-lang/
1566
+ */
1567
+ 'astro/jsx-a11y/html-has-lang'?: Linter.RuleEntry<AstroJsxA11YHtmlHasLang>;
1568
+ /**
1569
+ * apply `jsx-a11y/iframe-has-title` rule to Astro components
1570
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/iframe-has-title/
1571
+ */
1572
+ 'astro/jsx-a11y/iframe-has-title'?: Linter.RuleEntry<AstroJsxA11YIframeHasTitle>;
1573
+ /**
1574
+ * apply `jsx-a11y/img-redundant-alt` rule to Astro components
1575
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/img-redundant-alt/
1576
+ */
1577
+ 'astro/jsx-a11y/img-redundant-alt'?: Linter.RuleEntry<AstroJsxA11YImgRedundantAlt>;
1578
+ /**
1579
+ * apply `jsx-a11y/interactive-supports-focus` rule to Astro components
1580
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/interactive-supports-focus/
1581
+ */
1582
+ 'astro/jsx-a11y/interactive-supports-focus'?: Linter.RuleEntry<AstroJsxA11YInteractiveSupportsFocus>;
1583
+ /**
1584
+ * apply `jsx-a11y/label-has-associated-control` rule to Astro components
1585
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/label-has-associated-control/
1586
+ */
1587
+ 'astro/jsx-a11y/label-has-associated-control'?: Linter.RuleEntry<AstroJsxA11YLabelHasAssociatedControl>;
1588
+ /**
1589
+ * apply `jsx-a11y/lang` rule to Astro components
1590
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/lang/
1591
+ */
1592
+ 'astro/jsx-a11y/lang'?: Linter.RuleEntry<AstroJsxA11YLang>;
1593
+ /**
1594
+ * apply `jsx-a11y/media-has-caption` rule to Astro components
1595
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/media-has-caption/
1596
+ */
1597
+ 'astro/jsx-a11y/media-has-caption'?: Linter.RuleEntry<AstroJsxA11YMediaHasCaption>;
1598
+ /**
1599
+ * apply `jsx-a11y/mouse-events-have-key-events` rule to Astro components
1600
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/mouse-events-have-key-events/
1601
+ */
1602
+ 'astro/jsx-a11y/mouse-events-have-key-events'?: Linter.RuleEntry<AstroJsxA11YMouseEventsHaveKeyEvents>;
1603
+ /**
1604
+ * apply `jsx-a11y/no-access-key` rule to Astro components
1605
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/no-access-key/
1606
+ */
1607
+ 'astro/jsx-a11y/no-access-key'?: Linter.RuleEntry<AstroJsxA11YNoAccessKey>;
1608
+ /**
1609
+ * apply `jsx-a11y/no-aria-hidden-on-focusable` rule to Astro components
1610
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/no-aria-hidden-on-focusable/
1611
+ */
1612
+ 'astro/jsx-a11y/no-aria-hidden-on-focusable'?: Linter.RuleEntry<AstroJsxA11YNoAriaHiddenOnFocusable>;
1613
+ /**
1614
+ * apply `jsx-a11y/no-autofocus` rule to Astro components
1615
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/no-autofocus/
1616
+ */
1617
+ 'astro/jsx-a11y/no-autofocus'?: Linter.RuleEntry<AstroJsxA11YNoAutofocus>;
1618
+ /**
1619
+ * apply `jsx-a11y/no-distracting-elements` rule to Astro components
1620
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/no-distracting-elements/
1621
+ */
1622
+ 'astro/jsx-a11y/no-distracting-elements'?: Linter.RuleEntry<AstroJsxA11YNoDistractingElements>;
1623
+ /**
1624
+ * apply `jsx-a11y/no-interactive-element-to-noninteractive-role` rule to Astro components
1625
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/no-interactive-element-to-noninteractive-role/
1626
+ */
1627
+ 'astro/jsx-a11y/no-interactive-element-to-noninteractive-role'?: Linter.RuleEntry<AstroJsxA11YNoInteractiveElementToNoninteractiveRole>;
1628
+ /**
1629
+ * apply `jsx-a11y/no-noninteractive-element-interactions` rule to Astro components
1630
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/no-noninteractive-element-interactions/
1631
+ */
1632
+ 'astro/jsx-a11y/no-noninteractive-element-interactions'?: Linter.RuleEntry<AstroJsxA11YNoNoninteractiveElementInteractions>;
1633
+ /**
1634
+ * apply `jsx-a11y/no-noninteractive-element-to-interactive-role` rule to Astro components
1635
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/no-noninteractive-element-to-interactive-role/
1636
+ */
1637
+ 'astro/jsx-a11y/no-noninteractive-element-to-interactive-role'?: Linter.RuleEntry<AstroJsxA11YNoNoninteractiveElementToInteractiveRole>;
1638
+ /**
1639
+ * apply `jsx-a11y/no-noninteractive-tabindex` rule to Astro components
1640
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/no-noninteractive-tabindex/
1641
+ */
1642
+ 'astro/jsx-a11y/no-noninteractive-tabindex'?: Linter.RuleEntry<AstroJsxA11YNoNoninteractiveTabindex>;
1643
+ /**
1644
+ * apply `jsx-a11y/no-redundant-roles` rule to Astro components
1645
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/no-redundant-roles/
1646
+ */
1647
+ 'astro/jsx-a11y/no-redundant-roles'?: Linter.RuleEntry<AstroJsxA11YNoRedundantRoles>;
1648
+ /**
1649
+ * apply `jsx-a11y/no-static-element-interactions` rule to Astro components
1650
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/no-static-element-interactions/
1651
+ */
1652
+ 'astro/jsx-a11y/no-static-element-interactions'?: Linter.RuleEntry<AstroJsxA11YNoStaticElementInteractions>;
1653
+ /**
1654
+ * apply `jsx-a11y/prefer-tag-over-role` rule to Astro components
1655
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/prefer-tag-over-role/
1656
+ */
1657
+ 'astro/jsx-a11y/prefer-tag-over-role'?: Linter.RuleEntry<AstroJsxA11YPreferTagOverRole>;
1658
+ /**
1659
+ * apply `jsx-a11y/role-has-required-aria-props` rule to Astro components
1660
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/role-has-required-aria-props/
1661
+ */
1662
+ 'astro/jsx-a11y/role-has-required-aria-props'?: Linter.RuleEntry<AstroJsxA11YRoleHasRequiredAriaProps>;
1663
+ /**
1664
+ * apply `jsx-a11y/role-supports-aria-props` rule to Astro components
1665
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/role-supports-aria-props/
1666
+ */
1667
+ 'astro/jsx-a11y/role-supports-aria-props'?: Linter.RuleEntry<AstroJsxA11YRoleSupportsAriaProps>;
1668
+ /**
1669
+ * apply `jsx-a11y/scope` rule to Astro components
1670
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/scope/
1671
+ */
1672
+ 'astro/jsx-a11y/scope'?: Linter.RuleEntry<AstroJsxA11YScope>;
1673
+ /**
1674
+ * apply `jsx-a11y/tabindex-no-positive` rule to Astro components
1675
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/tabindex-no-positive/
1676
+ */
1677
+ 'astro/jsx-a11y/tabindex-no-positive'?: Linter.RuleEntry<AstroJsxA11YTabindexNoPositive>;
1678
+ /**
1679
+ * the client:only directive is missing the correct component's framework value
1680
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/missing-client-only-directive-value/
1681
+ */
1682
+ 'astro/missing-client-only-directive-value'?: Linter.RuleEntry<[]>;
1683
+ /**
1684
+ * disallow conflicting set directives and child contents
1685
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/no-conflict-set-directives/
1686
+ */
1687
+ 'astro/no-conflict-set-directives'?: Linter.RuleEntry<[]>;
1688
+ /**
1689
+ * disallow using deprecated `Astro.canonicalURL`
1690
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/no-deprecated-astro-canonicalurl/
1691
+ */
1692
+ 'astro/no-deprecated-astro-canonicalurl'?: Linter.RuleEntry<[]>;
1693
+ /**
1694
+ * disallow using deprecated `Astro.fetchContent()`
1695
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/no-deprecated-astro-fetchcontent/
1696
+ */
1697
+ 'astro/no-deprecated-astro-fetchcontent'?: Linter.RuleEntry<[]>;
1698
+ /**
1699
+ * disallow using deprecated `Astro.resolve()`
1700
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/no-deprecated-astro-resolve/
1701
+ */
1702
+ 'astro/no-deprecated-astro-resolve'?: Linter.RuleEntry<[]>;
1703
+ /**
1704
+ * disallow using deprecated `getEntryBySlug()`
1705
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/no-deprecated-getentrybyslug/
1706
+ */
1707
+ 'astro/no-deprecated-getentrybyslug'?: Linter.RuleEntry<[]>;
1708
+ /**
1709
+ * disallow value export
1710
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/no-exports-from-components/
1711
+ */
1712
+ 'astro/no-exports-from-components'?: Linter.RuleEntry<[]>;
1713
+ /**
1714
+ * disallow use of `set:html` to prevent XSS attack
1715
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/no-set-html-directive/
1716
+ */
1717
+ 'astro/no-set-html-directive'?: Linter.RuleEntry<[]>;
1718
+ /**
1719
+ * disallow use of `set:text`
1720
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/no-set-text-directive/
1721
+ */
1722
+ 'astro/no-set-text-directive'?: Linter.RuleEntry<[]>;
1723
+ /**
1724
+ * disallow inline `<script>` without `src` to encourage CSP-safe patterns
1725
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/no-unsafe-inline-scripts/
1726
+ */
1727
+ 'astro/no-unsafe-inline-scripts'?: Linter.RuleEntry<AstroNoUnsafeInlineScripts>;
1728
+ /**
1729
+ * disallow selectors defined in `style` tag that don't use in HTML
1730
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/no-unused-css-selector/
1731
+ */
1732
+ 'astro/no-unused-css-selector'?: Linter.RuleEntry<[]>;
1733
+ /**
1734
+ * disallow unused `define:vars={...}` in `style` tag
1735
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/no-unused-define-vars-in-style/
1736
+ */
1737
+ 'astro/no-unused-define-vars-in-style'?: Linter.RuleEntry<[]>;
1738
+ /**
1739
+ * require `class:list` directives instead of `class` with expressions
1740
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/prefer-class-list-directive/
1741
+ */
1742
+ 'astro/prefer-class-list-directive'?: Linter.RuleEntry<[]>;
1743
+ /**
1744
+ * require use object instead of ternary expression in `class:list`
1745
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/prefer-object-class-list/
1746
+ */
1747
+ 'astro/prefer-object-class-list'?: Linter.RuleEntry<[]>;
1748
+ /**
1749
+ * require use split array elements in `class:list`
1750
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/prefer-split-class-list/
1751
+ */
1752
+ 'astro/prefer-split-class-list'?: Linter.RuleEntry<AstroPreferSplitClassList>;
1753
+ /**
1754
+ * Require or disallow semicolons instead of ASI
1755
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/semi/
1756
+ */
1757
+ 'astro/semi'?: Linter.RuleEntry<AstroSemi>;
1758
+ /**
1759
+ * enforce sorting of attributes
1760
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/sort-attributes/
1761
+ */
1762
+ 'astro/sort-attributes'?: Linter.RuleEntry<AstroSortAttributes>;
1763
+ /**
1764
+ * disallow warnings when compiling.
1765
+ * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/valid-compile/
1766
+ */
1767
+ 'astro/valid-compile'?: Linter.RuleEntry<[]>;
1528
1768
  /**
1529
1769
  * Enforce a consistent order for tailwind classes.
1530
1770
  * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/enforce-consistent-class-order.md
@@ -3961,7 +4201,7 @@ interface ESLintSchema {
3961
4201
  * disallow conditional expects
3962
4202
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-conditional-expect.md
3963
4203
  */
3964
- 'vitest/no-conditional-expect'?: Linter.RuleEntry<[]>;
4204
+ 'vitest/no-conditional-expect'?: Linter.RuleEntry<VitestNoConditionalExpect>;
3965
4205
  /**
3966
4206
  * disallow conditional tests
3967
4207
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-conditional-in-test.md
@@ -8088,6 +8328,212 @@ type ArrowSpacing = [] | [{
8088
8328
  before?: boolean;
8089
8329
  after?: boolean;
8090
8330
  }];
8331
+ // ----- astro/jsx-a11y/alt-text -----
8332
+ type AstroJsxA11YAltText = [] | [{
8333
+ elements?: string[];
8334
+ img?: string[];
8335
+ object?: string[];
8336
+ area?: string[];
8337
+ "input[type=\"image\"]"?: string[];
8338
+ [k: string]: unknown | undefined;
8339
+ }];
8340
+ // ----- astro/jsx-a11y/anchor-ambiguous-text -----
8341
+ type AstroJsxA11YAnchorAmbiguousText = [] | [{
8342
+ words?: string[];
8343
+ [k: string]: unknown | undefined;
8344
+ }];
8345
+ // ----- astro/jsx-a11y/anchor-has-content -----
8346
+ type AstroJsxA11YAnchorHasContent = [] | [{
8347
+ components?: string[];
8348
+ [k: string]: unknown | undefined;
8349
+ }];
8350
+ // ----- astro/jsx-a11y/anchor-is-valid -----
8351
+ type AstroJsxA11YAnchorIsValid = [] | [{
8352
+ components?: string[];
8353
+ specialLink?: string[];
8354
+ aspects?: [("noHref" | "invalidHref" | "preferButton"), ...(("noHref" | "invalidHref" | "preferButton"))[]];
8355
+ [k: string]: unknown | undefined;
8356
+ }];
8357
+ // ----- astro/jsx-a11y/aria-activedescendant-has-tabindex -----
8358
+ type AstroJsxA11YAriaActivedescendantHasTabindex = [] | [{
8359
+ [k: string]: unknown | undefined;
8360
+ }];
8361
+ // ----- astro/jsx-a11y/aria-props -----
8362
+ type AstroJsxA11YAriaProps = [] | [{
8363
+ [k: string]: unknown | undefined;
8364
+ }];
8365
+ // ----- astro/jsx-a11y/aria-proptypes -----
8366
+ type AstroJsxA11YAriaProptypes = [] | [{
8367
+ [k: string]: unknown | undefined;
8368
+ }];
8369
+ // ----- astro/jsx-a11y/aria-role -----
8370
+ type AstroJsxA11YAriaRole = [] | [{
8371
+ allowedInvalidRoles?: string[];
8372
+ ignoreNonDOM?: boolean;
8373
+ [k: string]: unknown | undefined;
8374
+ }];
8375
+ // ----- astro/jsx-a11y/aria-unsupported-elements -----
8376
+ type AstroJsxA11YAriaUnsupportedElements = [] | [{
8377
+ [k: string]: unknown | undefined;
8378
+ }];
8379
+ // ----- astro/jsx-a11y/autocomplete-valid -----
8380
+ type AstroJsxA11YAutocompleteValid = [] | [{
8381
+ inputComponents?: string[];
8382
+ [k: string]: unknown | undefined;
8383
+ }];
8384
+ // ----- astro/jsx-a11y/click-events-have-key-events -----
8385
+ type AstroJsxA11YClickEventsHaveKeyEvents = [] | [{
8386
+ [k: string]: unknown | undefined;
8387
+ }];
8388
+ // ----- astro/jsx-a11y/control-has-associated-label -----
8389
+ type AstroJsxA11YControlHasAssociatedLabel = [] | [{
8390
+ labelAttributes?: string[];
8391
+ controlComponents?: string[];
8392
+ ignoreElements?: string[];
8393
+ ignoreRoles?: string[];
8394
+ depth?: number;
8395
+ [k: string]: unknown | undefined;
8396
+ }];
8397
+ // ----- astro/jsx-a11y/heading-has-content -----
8398
+ type AstroJsxA11YHeadingHasContent = [] | [{
8399
+ components?: string[];
8400
+ [k: string]: unknown | undefined;
8401
+ }];
8402
+ // ----- astro/jsx-a11y/html-has-lang -----
8403
+ type AstroJsxA11YHtmlHasLang = [] | [{
8404
+ [k: string]: unknown | undefined;
8405
+ }];
8406
+ // ----- astro/jsx-a11y/iframe-has-title -----
8407
+ type AstroJsxA11YIframeHasTitle = [] | [{
8408
+ [k: string]: unknown | undefined;
8409
+ }];
8410
+ // ----- astro/jsx-a11y/img-redundant-alt -----
8411
+ type AstroJsxA11YImgRedundantAlt = [] | [{
8412
+ components?: string[];
8413
+ words?: string[];
8414
+ [k: string]: unknown | undefined;
8415
+ }];
8416
+ // ----- astro/jsx-a11y/interactive-supports-focus -----
8417
+ type AstroJsxA11YInteractiveSupportsFocus = [] | [{
8418
+ 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")[];
8419
+ [k: string]: unknown | undefined;
8420
+ }];
8421
+ // ----- astro/jsx-a11y/label-has-associated-control -----
8422
+ type AstroJsxA11YLabelHasAssociatedControl = [] | [{
8423
+ labelComponents?: string[];
8424
+ labelAttributes?: string[];
8425
+ controlComponents?: string[];
8426
+ assert?: ("htmlFor" | "nesting" | "both" | "either");
8427
+ depth?: number;
8428
+ [k: string]: unknown | undefined;
8429
+ }];
8430
+ // ----- astro/jsx-a11y/lang -----
8431
+ type AstroJsxA11YLang = [] | [{
8432
+ [k: string]: unknown | undefined;
8433
+ }];
8434
+ // ----- astro/jsx-a11y/media-has-caption -----
8435
+ type AstroJsxA11YMediaHasCaption = [] | [{
8436
+ audio?: string[];
8437
+ video?: string[];
8438
+ track?: string[];
8439
+ [k: string]: unknown | undefined;
8440
+ }];
8441
+ // ----- astro/jsx-a11y/mouse-events-have-key-events -----
8442
+ type AstroJsxA11YMouseEventsHaveKeyEvents = [] | [{
8443
+ hoverInHandlers?: string[];
8444
+ hoverOutHandlers?: string[];
8445
+ [k: string]: unknown | undefined;
8446
+ }];
8447
+ // ----- astro/jsx-a11y/no-access-key -----
8448
+ type AstroJsxA11YNoAccessKey = [] | [{
8449
+ [k: string]: unknown | undefined;
8450
+ }];
8451
+ // ----- astro/jsx-a11y/no-aria-hidden-on-focusable -----
8452
+ type AstroJsxA11YNoAriaHiddenOnFocusable = [] | [{
8453
+ [k: string]: unknown | undefined;
8454
+ }];
8455
+ // ----- astro/jsx-a11y/no-autofocus -----
8456
+ type AstroJsxA11YNoAutofocus = [] | [{
8457
+ ignoreNonDOM?: boolean;
8458
+ [k: string]: unknown | undefined;
8459
+ }];
8460
+ // ----- astro/jsx-a11y/no-distracting-elements -----
8461
+ type AstroJsxA11YNoDistractingElements = [] | [{
8462
+ elements?: ("marquee" | "blink")[];
8463
+ [k: string]: unknown | undefined;
8464
+ }];
8465
+ // ----- astro/jsx-a11y/no-interactive-element-to-noninteractive-role -----
8466
+ type AstroJsxA11YNoInteractiveElementToNoninteractiveRole = [] | [{
8467
+ [k: string]: string[] | undefined;
8468
+ }];
8469
+ // ----- astro/jsx-a11y/no-noninteractive-element-interactions -----
8470
+ type AstroJsxA11YNoNoninteractiveElementInteractions = [] | [{
8471
+ handlers?: string[];
8472
+ [k: string]: unknown | undefined;
8473
+ }];
8474
+ // ----- astro/jsx-a11y/no-noninteractive-element-to-interactive-role -----
8475
+ type AstroJsxA11YNoNoninteractiveElementToInteractiveRole = [] | [{
8476
+ [k: string]: string[] | undefined;
8477
+ }];
8478
+ // ----- astro/jsx-a11y/no-noninteractive-tabindex -----
8479
+ type AstroJsxA11YNoNoninteractiveTabindex = [] | [{
8480
+ roles?: string[];
8481
+ tags?: string[];
8482
+ [k: string]: unknown | undefined;
8483
+ }];
8484
+ // ----- astro/jsx-a11y/no-redundant-roles -----
8485
+ type AstroJsxA11YNoRedundantRoles = [] | [{
8486
+ [k: string]: string[] | undefined;
8487
+ }];
8488
+ // ----- astro/jsx-a11y/no-static-element-interactions -----
8489
+ type AstroJsxA11YNoStaticElementInteractions = [] | [{
8490
+ handlers?: string[];
8491
+ [k: string]: unknown | undefined;
8492
+ }];
8493
+ // ----- astro/jsx-a11y/prefer-tag-over-role -----
8494
+ type AstroJsxA11YPreferTagOverRole = [] | [{
8495
+ [k: string]: unknown | undefined;
8496
+ }];
8497
+ // ----- astro/jsx-a11y/role-has-required-aria-props -----
8498
+ type AstroJsxA11YRoleHasRequiredAriaProps = [] | [{
8499
+ [k: string]: unknown | undefined;
8500
+ }];
8501
+ // ----- astro/jsx-a11y/role-supports-aria-props -----
8502
+ type AstroJsxA11YRoleSupportsAriaProps = [] | [{
8503
+ [k: string]: unknown | undefined;
8504
+ }];
8505
+ // ----- astro/jsx-a11y/scope -----
8506
+ type AstroJsxA11YScope = [] | [{
8507
+ [k: string]: unknown | undefined;
8508
+ }];
8509
+ // ----- astro/jsx-a11y/tabindex-no-positive -----
8510
+ type AstroJsxA11YTabindexNoPositive = [] | [{
8511
+ [k: string]: unknown | undefined;
8512
+ }];
8513
+ // ----- astro/no-unsafe-inline-scripts -----
8514
+ type AstroNoUnsafeInlineScripts = [] | [{
8515
+ allowDefineVars?: boolean;
8516
+ allowModuleScripts?: boolean;
8517
+ allowNonExecutingTypes?: string[];
8518
+ allowNonce?: boolean;
8519
+ }];
8520
+ // ----- astro/prefer-split-class-list -----
8521
+ type AstroPreferSplitClassList = [] | [{
8522
+ splitLiteral?: boolean;
8523
+ }];
8524
+ // ----- astro/semi -----
8525
+ type AstroSemi = ([] | ["never"] | ["never", {
8526
+ beforeStatementContinuationChars?: ("always" | "any" | "never");
8527
+ }] | [] | ["always"] | ["always", {
8528
+ omitLastInOneLineBlock?: boolean;
8529
+ omitLastInOneLineClassBody?: boolean;
8530
+ }]);
8531
+ // ----- astro/sort-attributes -----
8532
+ type AstroSortAttributes = [] | [{
8533
+ type?: ("alphabetical" | "line-length");
8534
+ ignoreCase?: boolean;
8535
+ order?: ("asc" | "desc");
8536
+ }];
8091
8537
  // ----- better-tailwindcss/enforce-consistent-class-order -----
8092
8538
  type BetterTailwindcssEnforceConsistentClassOrder = [] | [{
8093
8539
  callees?: ([] | [string] | [string, string] | [] | [string] | [string, ({
@@ -9073,7 +9519,6 @@ type Curly = ([] | ["all"] | [] | [("multi" | "multi-line" | "multi-or-nest")] |
9073
9519
  type CypressUnsafeToChainCommand = [] | [_CypressUnsafeToChainCommandRules];
9074
9520
  interface _CypressUnsafeToChainCommandRules {
9075
9521
  methods?: unknown[];
9076
- [k: string]: unknown | undefined;
9077
9522
  }
9078
9523
  // ----- default-case -----
9079
9524
  type DefaultCase = [] | [{
@@ -10491,10 +10936,10 @@ type PaddingLineBetweenStatements = {
10491
10936
  // ----- perfectionist/sort-array-includes -----
10492
10937
  type PerfectionistSortArrayIncludes = {
10493
10938
  fallbackSort?: {
10494
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10939
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10495
10940
  order?: ("asc" | "desc");
10496
10941
  };
10497
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10942
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10498
10943
  specialCharacters?: ("remove" | "trim" | "keep");
10499
10944
  ignoreCase?: boolean;
10500
10945
  alphabet?: string;
@@ -10502,14 +10947,23 @@ type PerfectionistSortArrayIncludes = {
10502
10947
  order?: ("asc" | "desc");
10503
10948
  customGroups?: ({
10504
10949
  fallbackSort?: {
10505
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10950
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10506
10951
  order?: ("asc" | "desc");
10507
10952
  };
10508
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10953
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10509
10954
  groupName: string;
10510
10955
  newlinesInside?: ("ignore" | number);
10511
10956
  order?: ("asc" | "desc");
10512
- anyOf: {
10957
+ anyOf: [{
10958
+ elementNamePattern?: (({
10959
+ pattern: string;
10960
+ flags?: string;
10961
+ } | string)[] | ({
10962
+ pattern: string;
10963
+ flags?: string;
10964
+ } | string));
10965
+ selector?: ("literal" | "spread");
10966
+ }, ...({
10513
10967
  elementNamePattern?: (({
10514
10968
  pattern: string;
10515
10969
  flags?: string;
@@ -10518,13 +10972,13 @@ type PerfectionistSortArrayIncludes = {
10518
10972
  flags?: string;
10519
10973
  } | string));
10520
10974
  selector?: ("literal" | "spread");
10521
- }[];
10975
+ })[]];
10522
10976
  } | {
10523
10977
  fallbackSort?: {
10524
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10978
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10525
10979
  order?: ("asc" | "desc");
10526
10980
  };
10527
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10981
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10528
10982
  groupName: string;
10529
10983
  newlinesInside?: ("ignore" | number);
10530
10984
  order?: ("asc" | "desc");
@@ -10542,8 +10996,12 @@ type PerfectionistSortArrayIncludes = {
10542
10996
  newlinesBetween: ("ignore" | number);
10543
10997
  } | {
10544
10998
  group: (string | [string, ...(string)[]]);
10999
+ fallbackSort?: {
11000
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11001
+ order?: ("asc" | "desc");
11002
+ };
10545
11003
  commentAbove?: string;
10546
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11004
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10547
11005
  newlinesInside?: ("ignore" | number);
10548
11006
  order?: ("asc" | "desc");
10549
11007
  })[];
@@ -10584,10 +11042,10 @@ type PerfectionistSortArrayIncludes = {
10584
11042
  // ----- perfectionist/sort-classes -----
10585
11043
  type PerfectionistSortClasses = [] | [{
10586
11044
  fallbackSort?: {
10587
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11045
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10588
11046
  order?: ("asc" | "desc");
10589
11047
  };
10590
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11048
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10591
11049
  specialCharacters?: ("remove" | "trim" | "keep");
10592
11050
  ignoreCase?: boolean;
10593
11051
  alphabet?: string;
@@ -10595,14 +11053,14 @@ type PerfectionistSortClasses = [] | [{
10595
11053
  order?: ("asc" | "desc");
10596
11054
  customGroups?: ({
10597
11055
  fallbackSort?: {
10598
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11056
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10599
11057
  order?: ("asc" | "desc");
10600
11058
  };
10601
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11059
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10602
11060
  groupName: string;
10603
11061
  newlinesInside?: ("ignore" | number);
10604
11062
  order?: ("asc" | "desc");
10605
- anyOf: {
11063
+ anyOf: [{
10606
11064
  elementNamePattern?: (({
10607
11065
  pattern: string;
10608
11066
  flags?: string;
@@ -10626,13 +11084,37 @@ type PerfectionistSortClasses = [] | [{
10626
11084
  pattern: string;
10627
11085
  flags?: string;
10628
11086
  } | string));
10629
- }[];
11087
+ }, ...({
11088
+ elementNamePattern?: (({
11089
+ pattern: string;
11090
+ flags?: string;
11091
+ } | string)[] | ({
11092
+ pattern: string;
11093
+ flags?: string;
11094
+ } | string));
11095
+ modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
11096
+ selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
11097
+ decoratorNamePattern?: (({
11098
+ pattern: string;
11099
+ flags?: string;
11100
+ } | string)[] | ({
11101
+ pattern: string;
11102
+ flags?: string;
11103
+ } | string));
11104
+ elementValuePattern?: (({
11105
+ pattern: string;
11106
+ flags?: string;
11107
+ } | string)[] | ({
11108
+ pattern: string;
11109
+ flags?: string;
11110
+ } | string));
11111
+ })[]];
10630
11112
  } | {
10631
11113
  fallbackSort?: {
10632
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11114
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10633
11115
  order?: ("asc" | "desc");
10634
11116
  };
10635
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11117
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10636
11118
  groupName: string;
10637
11119
  newlinesInside?: ("ignore" | number);
10638
11120
  order?: ("asc" | "desc");
@@ -10665,8 +11147,12 @@ type PerfectionistSortClasses = [] | [{
10665
11147
  newlinesBetween: ("ignore" | number);
10666
11148
  } | {
10667
11149
  group: (string | [string, ...(string)[]]);
11150
+ fallbackSort?: {
11151
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11152
+ order?: ("asc" | "desc");
11153
+ };
10668
11154
  commentAbove?: string;
10669
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11155
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10670
11156
  newlinesInside?: ("ignore" | number);
10671
11157
  order?: ("asc" | "desc");
10672
11158
  })[];
@@ -10705,10 +11191,10 @@ type PerfectionistSortClasses = [] | [{
10705
11191
  // ----- perfectionist/sort-decorators -----
10706
11192
  type PerfectionistSortDecorators = {
10707
11193
  fallbackSort?: {
10708
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11194
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10709
11195
  order?: ("asc" | "desc");
10710
11196
  };
10711
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11197
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10712
11198
  specialCharacters?: ("remove" | "trim" | "keep");
10713
11199
  ignoreCase?: boolean;
10714
11200
  alphabet?: string;
@@ -10716,14 +11202,14 @@ type PerfectionistSortDecorators = {
10716
11202
  order?: ("asc" | "desc");
10717
11203
  customGroups?: ({
10718
11204
  fallbackSort?: {
10719
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11205
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10720
11206
  order?: ("asc" | "desc");
10721
11207
  };
10722
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11208
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10723
11209
  groupName: string;
10724
11210
  newlinesInside?: ("ignore" | number);
10725
11211
  order?: ("asc" | "desc");
10726
- anyOf: {
11212
+ anyOf: [{
10727
11213
  elementNamePattern?: (({
10728
11214
  pattern: string;
10729
11215
  flags?: string;
@@ -10731,15 +11217,23 @@ type PerfectionistSortDecorators = {
10731
11217
  pattern: string;
10732
11218
  flags?: string;
10733
11219
  } | string));
10734
- }[];
10735
- } | {
10736
- fallbackSort?: {
10737
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10738
- order?: ("asc" | "desc");
10739
- };
10740
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10741
- groupName: string;
10742
- newlinesInside?: ("ignore" | number);
11220
+ }, ...({
11221
+ elementNamePattern?: (({
11222
+ pattern: string;
11223
+ flags?: string;
11224
+ } | string)[] | ({
11225
+ pattern: string;
11226
+ flags?: string;
11227
+ } | string));
11228
+ })[]];
11229
+ } | {
11230
+ fallbackSort?: {
11231
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11232
+ order?: ("asc" | "desc");
11233
+ };
11234
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11235
+ groupName: string;
11236
+ newlinesInside?: ("ignore" | number);
10743
11237
  order?: ("asc" | "desc");
10744
11238
  elementNamePattern?: (({
10745
11239
  pattern: string;
@@ -10754,8 +11248,12 @@ type PerfectionistSortDecorators = {
10754
11248
  newlinesBetween: ("ignore" | number);
10755
11249
  } | {
10756
11250
  group: (string | [string, ...(string)[]]);
11251
+ fallbackSort?: {
11252
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11253
+ order?: ("asc" | "desc");
11254
+ };
10757
11255
  commentAbove?: string;
10758
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11256
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10759
11257
  newlinesInside?: ("ignore" | number);
10760
11258
  order?: ("asc" | "desc");
10761
11259
  })[];
@@ -10792,10 +11290,10 @@ type PerfectionistSortDecorators = {
10792
11290
  // ----- perfectionist/sort-enums -----
10793
11291
  type PerfectionistSortEnums = [] | [{
10794
11292
  fallbackSort?: {
10795
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11293
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10796
11294
  order?: ("asc" | "desc");
10797
11295
  };
10798
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11296
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10799
11297
  specialCharacters?: ("remove" | "trim" | "keep");
10800
11298
  ignoreCase?: boolean;
10801
11299
  alphabet?: string;
@@ -10803,14 +11301,14 @@ type PerfectionistSortEnums = [] | [{
10803
11301
  order?: ("asc" | "desc");
10804
11302
  customGroups?: ({
10805
11303
  fallbackSort?: {
10806
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11304
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10807
11305
  order?: ("asc" | "desc");
10808
11306
  };
10809
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11307
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10810
11308
  groupName: string;
10811
11309
  newlinesInside?: ("ignore" | number);
10812
11310
  order?: ("asc" | "desc");
10813
- anyOf: {
11311
+ anyOf: [{
10814
11312
  elementNamePattern?: (({
10815
11313
  pattern: string;
10816
11314
  flags?: string;
@@ -10825,13 +11323,28 @@ type PerfectionistSortEnums = [] | [{
10825
11323
  pattern: string;
10826
11324
  flags?: string;
10827
11325
  } | string));
10828
- }[];
11326
+ }, ...({
11327
+ elementNamePattern?: (({
11328
+ pattern: string;
11329
+ flags?: string;
11330
+ } | string)[] | ({
11331
+ pattern: string;
11332
+ flags?: string;
11333
+ } | string));
11334
+ elementValuePattern?: (({
11335
+ pattern: string;
11336
+ flags?: string;
11337
+ } | string)[] | ({
11338
+ pattern: string;
11339
+ flags?: string;
11340
+ } | string));
11341
+ })[]];
10829
11342
  } | {
10830
11343
  fallbackSort?: {
10831
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11344
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10832
11345
  order?: ("asc" | "desc");
10833
11346
  };
10834
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11347
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10835
11348
  groupName: string;
10836
11349
  newlinesInside?: ("ignore" | number);
10837
11350
  order?: ("asc" | "desc");
@@ -10855,8 +11368,12 @@ type PerfectionistSortEnums = [] | [{
10855
11368
  newlinesBetween: ("ignore" | number);
10856
11369
  } | {
10857
11370
  group: (string | [string, ...(string)[]]);
11371
+ fallbackSort?: {
11372
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11373
+ order?: ("asc" | "desc");
11374
+ };
10858
11375
  commentAbove?: string;
10859
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11376
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10860
11377
  newlinesInside?: ("ignore" | number);
10861
11378
  order?: ("asc" | "desc");
10862
11379
  })[];
@@ -10889,10 +11406,10 @@ type PerfectionistSortEnums = [] | [{
10889
11406
  // ----- perfectionist/sort-export-attributes -----
10890
11407
  type PerfectionistSortExportAttributes = {
10891
11408
  fallbackSort?: {
10892
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11409
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10893
11410
  order?: ("asc" | "desc");
10894
11411
  };
10895
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11412
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10896
11413
  specialCharacters?: ("remove" | "trim" | "keep");
10897
11414
  ignoreCase?: boolean;
10898
11415
  alphabet?: string;
@@ -10900,14 +11417,22 @@ type PerfectionistSortExportAttributes = {
10900
11417
  order?: ("asc" | "desc");
10901
11418
  customGroups?: ({
10902
11419
  fallbackSort?: {
10903
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11420
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10904
11421
  order?: ("asc" | "desc");
10905
11422
  };
10906
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11423
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10907
11424
  groupName: string;
10908
11425
  newlinesInside?: ("ignore" | number);
10909
11426
  order?: ("asc" | "desc");
10910
- anyOf: {
11427
+ anyOf: [{
11428
+ elementNamePattern?: (({
11429
+ pattern: string;
11430
+ flags?: string;
11431
+ } | string)[] | ({
11432
+ pattern: string;
11433
+ flags?: string;
11434
+ } | string));
11435
+ }, ...({
10911
11436
  elementNamePattern?: (({
10912
11437
  pattern: string;
10913
11438
  flags?: string;
@@ -10915,13 +11440,13 @@ type PerfectionistSortExportAttributes = {
10915
11440
  pattern: string;
10916
11441
  flags?: string;
10917
11442
  } | string));
10918
- }[];
11443
+ })[]];
10919
11444
  } | {
10920
11445
  fallbackSort?: {
10921
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11446
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10922
11447
  order?: ("asc" | "desc");
10923
11448
  };
10924
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11449
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10925
11450
  groupName: string;
10926
11451
  newlinesInside?: ("ignore" | number);
10927
11452
  order?: ("asc" | "desc");
@@ -10938,8 +11463,12 @@ type PerfectionistSortExportAttributes = {
10938
11463
  newlinesBetween: ("ignore" | number);
10939
11464
  } | {
10940
11465
  group: (string | [string, ...(string)[]]);
11466
+ fallbackSort?: {
11467
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11468
+ order?: ("asc" | "desc");
11469
+ };
10941
11470
  commentAbove?: string;
10942
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11471
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10943
11472
  newlinesInside?: ("ignore" | number);
10944
11473
  order?: ("asc" | "desc");
10945
11474
  })[];
@@ -10971,10 +11500,10 @@ type PerfectionistSortExportAttributes = {
10971
11500
  // ----- perfectionist/sort-exports -----
10972
11501
  type PerfectionistSortExports = {
10973
11502
  fallbackSort?: {
10974
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11503
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10975
11504
  order?: ("asc" | "desc");
10976
11505
  };
10977
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11506
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10978
11507
  specialCharacters?: ("remove" | "trim" | "keep");
10979
11508
  ignoreCase?: boolean;
10980
11509
  alphabet?: string;
@@ -10982,14 +11511,24 @@ type PerfectionistSortExports = {
10982
11511
  order?: ("asc" | "desc");
10983
11512
  customGroups?: ({
10984
11513
  fallbackSort?: {
10985
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11514
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10986
11515
  order?: ("asc" | "desc");
10987
11516
  };
10988
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11517
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10989
11518
  groupName: string;
10990
11519
  newlinesInside?: ("ignore" | number);
10991
11520
  order?: ("asc" | "desc");
10992
- anyOf: {
11521
+ anyOf: [{
11522
+ elementNamePattern?: (({
11523
+ pattern: string;
11524
+ flags?: string;
11525
+ } | string)[] | ({
11526
+ pattern: string;
11527
+ flags?: string;
11528
+ } | string));
11529
+ modifiers?: ("value" | "type" | "named" | "wildcard" | "multiline" | "singleline")[];
11530
+ selector?: "export";
11531
+ }, ...({
10993
11532
  elementNamePattern?: (({
10994
11533
  pattern: string;
10995
11534
  flags?: string;
@@ -10999,13 +11538,13 @@ type PerfectionistSortExports = {
10999
11538
  } | string));
11000
11539
  modifiers?: ("value" | "type" | "named" | "wildcard" | "multiline" | "singleline")[];
11001
11540
  selector?: "export";
11002
- }[];
11541
+ })[]];
11003
11542
  } | {
11004
11543
  fallbackSort?: {
11005
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11544
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11006
11545
  order?: ("asc" | "desc");
11007
11546
  };
11008
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11547
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11009
11548
  groupName: string;
11010
11549
  newlinesInside?: ("ignore" | number);
11011
11550
  order?: ("asc" | "desc");
@@ -11024,8 +11563,12 @@ type PerfectionistSortExports = {
11024
11563
  newlinesBetween: ("ignore" | number);
11025
11564
  } | {
11026
11565
  group: (string | [string, ...(string)[]]);
11566
+ fallbackSort?: {
11567
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11568
+ order?: ("asc" | "desc");
11569
+ };
11027
11570
  commentAbove?: string;
11028
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11571
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11029
11572
  newlinesInside?: ("ignore" | number);
11030
11573
  order?: ("asc" | "desc");
11031
11574
  })[];
@@ -11057,10 +11600,10 @@ type PerfectionistSortExports = {
11057
11600
  // ----- perfectionist/sort-heritage-clauses -----
11058
11601
  type PerfectionistSortHeritageClauses = {
11059
11602
  fallbackSort?: {
11060
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11603
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11061
11604
  order?: ("asc" | "desc");
11062
11605
  };
11063
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11606
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11064
11607
  specialCharacters?: ("remove" | "trim" | "keep");
11065
11608
  ignoreCase?: boolean;
11066
11609
  alphabet?: string;
@@ -11068,14 +11611,22 @@ type PerfectionistSortHeritageClauses = {
11068
11611
  order?: ("asc" | "desc");
11069
11612
  customGroups?: ({
11070
11613
  fallbackSort?: {
11071
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11614
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11072
11615
  order?: ("asc" | "desc");
11073
11616
  };
11074
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11617
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11075
11618
  groupName: string;
11076
11619
  newlinesInside?: ("ignore" | number);
11077
11620
  order?: ("asc" | "desc");
11078
- anyOf: {
11621
+ anyOf: [{
11622
+ elementNamePattern?: (({
11623
+ pattern: string;
11624
+ flags?: string;
11625
+ } | string)[] | ({
11626
+ pattern: string;
11627
+ flags?: string;
11628
+ } | string));
11629
+ }, ...({
11079
11630
  elementNamePattern?: (({
11080
11631
  pattern: string;
11081
11632
  flags?: string;
@@ -11083,13 +11634,13 @@ type PerfectionistSortHeritageClauses = {
11083
11634
  pattern: string;
11084
11635
  flags?: string;
11085
11636
  } | string));
11086
- }[];
11637
+ })[]];
11087
11638
  } | {
11088
11639
  fallbackSort?: {
11089
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11640
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11090
11641
  order?: ("asc" | "desc");
11091
11642
  };
11092
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11643
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11093
11644
  groupName: string;
11094
11645
  newlinesInside?: ("ignore" | number);
11095
11646
  order?: ("asc" | "desc");
@@ -11106,8 +11657,12 @@ type PerfectionistSortHeritageClauses = {
11106
11657
  newlinesBetween: ("ignore" | number);
11107
11658
  } | {
11108
11659
  group: (string | [string, ...(string)[]]);
11660
+ fallbackSort?: {
11661
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11662
+ order?: ("asc" | "desc");
11663
+ };
11109
11664
  commentAbove?: string;
11110
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11665
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11111
11666
  newlinesInside?: ("ignore" | number);
11112
11667
  order?: ("asc" | "desc");
11113
11668
  })[];
@@ -11139,10 +11694,10 @@ type PerfectionistSortHeritageClauses = {
11139
11694
  // ----- perfectionist/sort-import-attributes -----
11140
11695
  type PerfectionistSortImportAttributes = {
11141
11696
  fallbackSort?: {
11142
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11697
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11143
11698
  order?: ("asc" | "desc");
11144
11699
  };
11145
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11700
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11146
11701
  specialCharacters?: ("remove" | "trim" | "keep");
11147
11702
  ignoreCase?: boolean;
11148
11703
  alphabet?: string;
@@ -11150,14 +11705,14 @@ type PerfectionistSortImportAttributes = {
11150
11705
  order?: ("asc" | "desc");
11151
11706
  customGroups?: ({
11152
11707
  fallbackSort?: {
11153
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11708
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11154
11709
  order?: ("asc" | "desc");
11155
11710
  };
11156
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11711
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11157
11712
  groupName: string;
11158
11713
  newlinesInside?: ("ignore" | number);
11159
11714
  order?: ("asc" | "desc");
11160
- anyOf: {
11715
+ anyOf: [{
11161
11716
  elementNamePattern?: (({
11162
11717
  pattern: string;
11163
11718
  flags?: string;
@@ -11165,13 +11720,21 @@ type PerfectionistSortImportAttributes = {
11165
11720
  pattern: string;
11166
11721
  flags?: string;
11167
11722
  } | string));
11168
- }[];
11723
+ }, ...({
11724
+ elementNamePattern?: (({
11725
+ pattern: string;
11726
+ flags?: string;
11727
+ } | string)[] | ({
11728
+ pattern: string;
11729
+ flags?: string;
11730
+ } | string));
11731
+ })[]];
11169
11732
  } | {
11170
11733
  fallbackSort?: {
11171
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11734
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11172
11735
  order?: ("asc" | "desc");
11173
11736
  };
11174
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11737
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11175
11738
  groupName: string;
11176
11739
  newlinesInside?: ("ignore" | number);
11177
11740
  order?: ("asc" | "desc");
@@ -11188,8 +11751,12 @@ type PerfectionistSortImportAttributes = {
11188
11751
  newlinesBetween: ("ignore" | number);
11189
11752
  } | {
11190
11753
  group: (string | [string, ...(string)[]]);
11754
+ fallbackSort?: {
11755
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11756
+ order?: ("asc" | "desc");
11757
+ };
11191
11758
  commentAbove?: string;
11192
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11759
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11193
11760
  newlinesInside?: ("ignore" | number);
11194
11761
  order?: ("asc" | "desc");
11195
11762
  })[];
@@ -11221,25 +11788,39 @@ type PerfectionistSortImportAttributes = {
11221
11788
  // ----- perfectionist/sort-imports -----
11222
11789
  type PerfectionistSortImports = {
11223
11790
  fallbackSort?: {
11224
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
11791
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first");
11225
11792
  order?: ("asc" | "desc");
11793
+ sortBy?: ("specifier" | "path");
11226
11794
  };
11227
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
11795
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first");
11228
11796
  specialCharacters?: ("remove" | "trim" | "keep");
11229
11797
  ignoreCase?: boolean;
11230
11798
  alphabet?: string;
11231
11799
  locales?: (string | string[]);
11232
11800
  order?: ("asc" | "desc");
11801
+ sortBy?: ("specifier" | "path");
11233
11802
  customGroups?: ({
11234
11803
  fallbackSort?: {
11235
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
11804
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first");
11236
11805
  order?: ("asc" | "desc");
11806
+ sortBy?: ("specifier" | "path");
11237
11807
  };
11238
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
11808
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first");
11239
11809
  groupName: string;
11240
11810
  newlinesInside?: ("ignore" | number);
11241
11811
  order?: ("asc" | "desc");
11242
- anyOf: {
11812
+ sortBy?: ("specifier" | "path");
11813
+ anyOf: [{
11814
+ elementNamePattern?: (({
11815
+ pattern: string;
11816
+ flags?: string;
11817
+ } | string)[] | ({
11818
+ pattern: string;
11819
+ flags?: string;
11820
+ } | string));
11821
+ modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[];
11822
+ selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
11823
+ }, ...({
11243
11824
  elementNamePattern?: (({
11244
11825
  pattern: string;
11245
11826
  flags?: string;
@@ -11249,16 +11830,18 @@ type PerfectionistSortImports = {
11249
11830
  } | string));
11250
11831
  modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[];
11251
11832
  selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
11252
- }[];
11833
+ })[]];
11253
11834
  } | {
11254
11835
  fallbackSort?: {
11255
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
11836
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first");
11256
11837
  order?: ("asc" | "desc");
11838
+ sortBy?: ("specifier" | "path");
11257
11839
  };
11258
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
11840
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first");
11259
11841
  groupName: string;
11260
11842
  newlinesInside?: ("ignore" | number);
11261
11843
  order?: ("asc" | "desc");
11844
+ sortBy?: ("specifier" | "path");
11262
11845
  elementNamePattern?: (({
11263
11846
  pattern: string;
11264
11847
  flags?: string;
@@ -11274,10 +11857,16 @@ type PerfectionistSortImports = {
11274
11857
  newlinesBetween: ("ignore" | number);
11275
11858
  } | {
11276
11859
  group: (string | [string, ...(string)[]]);
11860
+ fallbackSort?: {
11861
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first");
11862
+ order?: ("asc" | "desc");
11863
+ sortBy?: ("specifier" | "path");
11864
+ };
11277
11865
  commentAbove?: string;
11278
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "type-import-first");
11866
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first");
11279
11867
  newlinesInside?: ("ignore" | number);
11280
11868
  order?: ("asc" | "desc");
11869
+ sortBy?: ("specifier" | "path");
11281
11870
  })[];
11282
11871
  newlinesBetween?: ("ignore" | number);
11283
11872
  tsconfig?: {
@@ -11321,27 +11910,29 @@ type PerfectionistSortImports = {
11321
11910
  // ----- perfectionist/sort-interfaces -----
11322
11911
  type PerfectionistSortInterfaces = {
11323
11912
  fallbackSort?: {
11324
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11913
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11325
11914
  order?: ("asc" | "desc");
11326
11915
  sortBy?: ("name" | "value");
11327
11916
  };
11328
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11917
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11329
11918
  specialCharacters?: ("remove" | "trim" | "keep");
11330
11919
  ignoreCase?: boolean;
11331
11920
  alphabet?: string;
11332
11921
  locales?: (string | string[]);
11333
11922
  order?: ("asc" | "desc");
11923
+ sortBy?: ("name" | "value");
11334
11924
  customGroups?: ({
11335
11925
  fallbackSort?: {
11336
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11926
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11337
11927
  order?: ("asc" | "desc");
11338
11928
  sortBy?: ("name" | "value");
11339
11929
  };
11340
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11930
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11341
11931
  groupName: string;
11342
11932
  newlinesInside?: ("ignore" | number);
11343
11933
  order?: ("asc" | "desc");
11344
- anyOf: {
11934
+ sortBy?: ("name" | "value");
11935
+ anyOf: [{
11345
11936
  elementNamePattern?: (({
11346
11937
  pattern: string;
11347
11938
  flags?: string;
@@ -11358,18 +11949,35 @@ type PerfectionistSortInterfaces = {
11358
11949
  pattern: string;
11359
11950
  flags?: string;
11360
11951
  } | string));
11361
- sortBy?: ("name" | "value");
11362
- }[];
11952
+ }, ...({
11953
+ elementNamePattern?: (({
11954
+ pattern: string;
11955
+ flags?: string;
11956
+ } | string)[] | ({
11957
+ pattern: string;
11958
+ flags?: string;
11959
+ } | string));
11960
+ modifiers?: ("optional" | "required" | "multiline")[];
11961
+ selector?: ("index-signature" | "member" | "method" | "property");
11962
+ elementValuePattern?: (({
11963
+ pattern: string;
11964
+ flags?: string;
11965
+ } | string)[] | ({
11966
+ pattern: string;
11967
+ flags?: string;
11968
+ } | string));
11969
+ })[]];
11363
11970
  } | {
11364
11971
  fallbackSort?: {
11365
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11972
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11366
11973
  order?: ("asc" | "desc");
11367
11974
  sortBy?: ("name" | "value");
11368
11975
  };
11369
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11976
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11370
11977
  groupName: string;
11371
11978
  newlinesInside?: ("ignore" | number);
11372
11979
  order?: ("asc" | "desc");
11980
+ sortBy?: ("name" | "value");
11373
11981
  elementNamePattern?: (({
11374
11982
  pattern: string;
11375
11983
  flags?: string;
@@ -11386,17 +11994,22 @@ type PerfectionistSortInterfaces = {
11386
11994
  pattern: string;
11387
11995
  flags?: string;
11388
11996
  } | string));
11389
- sortBy?: ("name" | "value");
11390
11997
  })[];
11391
11998
  newlinesInside?: (("ignore" | number) | "newlinesBetween");
11392
11999
  groups?: (string | [string, ...(string)[]] | {
11393
12000
  newlinesBetween: ("ignore" | number);
11394
12001
  } | {
11395
12002
  group: (string | [string, ...(string)[]]);
12003
+ fallbackSort?: {
12004
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12005
+ order?: ("asc" | "desc");
12006
+ sortBy?: ("name" | "value");
12007
+ };
11396
12008
  commentAbove?: string;
11397
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12009
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11398
12010
  newlinesInside?: ("ignore" | number);
11399
12011
  order?: ("asc" | "desc");
12012
+ sortBy?: ("name" | "value");
11400
12013
  })[];
11401
12014
  newlinesBetween?: ("ignore" | number);
11402
12015
  useConfigurationIf?: {
@@ -11450,15 +12063,14 @@ type PerfectionistSortInterfaces = {
11450
12063
  } | string)));
11451
12064
  });
11452
12065
  partitionByNewLine?: boolean;
11453
- sortBy?: ("name" | "value");
11454
12066
  }[];
11455
12067
  // ----- perfectionist/sort-intersection-types -----
11456
12068
  type PerfectionistSortIntersectionTypes = {
11457
12069
  fallbackSort?: {
11458
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12070
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11459
12071
  order?: ("asc" | "desc");
11460
12072
  };
11461
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12073
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11462
12074
  specialCharacters?: ("remove" | "trim" | "keep");
11463
12075
  ignoreCase?: boolean;
11464
12076
  alphabet?: string;
@@ -11466,14 +12078,23 @@ type PerfectionistSortIntersectionTypes = {
11466
12078
  order?: ("asc" | "desc");
11467
12079
  customGroups?: ({
11468
12080
  fallbackSort?: {
11469
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12081
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11470
12082
  order?: ("asc" | "desc");
11471
12083
  };
11472
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12084
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11473
12085
  groupName: string;
11474
12086
  newlinesInside?: ("ignore" | number);
11475
12087
  order?: ("asc" | "desc");
11476
- anyOf: {
12088
+ anyOf: [{
12089
+ elementNamePattern?: (({
12090
+ pattern: string;
12091
+ flags?: string;
12092
+ } | string)[] | ({
12093
+ pattern: string;
12094
+ flags?: string;
12095
+ } | string));
12096
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
12097
+ }, ...({
11477
12098
  elementNamePattern?: (({
11478
12099
  pattern: string;
11479
12100
  flags?: string;
@@ -11482,13 +12103,13 @@ type PerfectionistSortIntersectionTypes = {
11482
12103
  flags?: string;
11483
12104
  } | string));
11484
12105
  selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
11485
- }[];
12106
+ })[]];
11486
12107
  } | {
11487
12108
  fallbackSort?: {
11488
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12109
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11489
12110
  order?: ("asc" | "desc");
11490
12111
  };
11491
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12112
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11492
12113
  groupName: string;
11493
12114
  newlinesInside?: ("ignore" | number);
11494
12115
  order?: ("asc" | "desc");
@@ -11506,8 +12127,12 @@ type PerfectionistSortIntersectionTypes = {
11506
12127
  newlinesBetween: ("ignore" | number);
11507
12128
  } | {
11508
12129
  group: (string | [string, ...(string)[]]);
12130
+ fallbackSort?: {
12131
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12132
+ order?: ("asc" | "desc");
12133
+ };
11509
12134
  commentAbove?: string;
11510
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12135
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11511
12136
  newlinesInside?: ("ignore" | number);
11512
12137
  order?: ("asc" | "desc");
11513
12138
  })[];
@@ -11539,10 +12164,10 @@ type PerfectionistSortIntersectionTypes = {
11539
12164
  // ----- perfectionist/sort-jsx-props -----
11540
12165
  type PerfectionistSortJsxProps = {
11541
12166
  fallbackSort?: {
11542
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12167
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11543
12168
  order?: ("asc" | "desc");
11544
12169
  };
11545
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12170
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11546
12171
  specialCharacters?: ("remove" | "trim" | "keep");
11547
12172
  ignoreCase?: boolean;
11548
12173
  alphabet?: string;
@@ -11550,14 +12175,31 @@ type PerfectionistSortJsxProps = {
11550
12175
  order?: ("asc" | "desc");
11551
12176
  customGroups?: ({
11552
12177
  fallbackSort?: {
11553
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12178
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11554
12179
  order?: ("asc" | "desc");
11555
12180
  };
11556
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12181
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11557
12182
  groupName: string;
11558
12183
  newlinesInside?: ("ignore" | number);
11559
12184
  order?: ("asc" | "desc");
11560
- anyOf: {
12185
+ anyOf: [{
12186
+ elementNamePattern?: (({
12187
+ pattern: string;
12188
+ flags?: string;
12189
+ } | string)[] | ({
12190
+ pattern: string;
12191
+ flags?: string;
12192
+ } | string));
12193
+ modifiers?: ("shorthand" | "multiline")[];
12194
+ selector?: "prop";
12195
+ elementValuePattern?: (({
12196
+ pattern: string;
12197
+ flags?: string;
12198
+ } | string)[] | ({
12199
+ pattern: string;
12200
+ flags?: string;
12201
+ } | string));
12202
+ }, ...({
11561
12203
  elementNamePattern?: (({
11562
12204
  pattern: string;
11563
12205
  flags?: string;
@@ -11574,13 +12216,13 @@ type PerfectionistSortJsxProps = {
11574
12216
  pattern: string;
11575
12217
  flags?: string;
11576
12218
  } | string));
11577
- }[];
12219
+ })[]];
11578
12220
  } | {
11579
12221
  fallbackSort?: {
11580
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12222
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11581
12223
  order?: ("asc" | "desc");
11582
12224
  };
11583
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12225
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11584
12226
  groupName: string;
11585
12227
  newlinesInside?: ("ignore" | number);
11586
12228
  order?: ("asc" | "desc");
@@ -11606,8 +12248,12 @@ type PerfectionistSortJsxProps = {
11606
12248
  newlinesBetween: ("ignore" | number);
11607
12249
  } | {
11608
12250
  group: (string | [string, ...(string)[]]);
12251
+ fallbackSort?: {
12252
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12253
+ order?: ("asc" | "desc");
12254
+ };
11609
12255
  commentAbove?: string;
11610
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12256
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11611
12257
  newlinesInside?: ("ignore" | number);
11612
12258
  order?: ("asc" | "desc");
11613
12259
  })[];
@@ -11633,10 +12279,10 @@ type PerfectionistSortJsxProps = {
11633
12279
  // ----- perfectionist/sort-maps -----
11634
12280
  type PerfectionistSortMaps = {
11635
12281
  fallbackSort?: {
11636
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12282
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11637
12283
  order?: ("asc" | "desc");
11638
12284
  };
11639
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12285
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11640
12286
  specialCharacters?: ("remove" | "trim" | "keep");
11641
12287
  ignoreCase?: boolean;
11642
12288
  alphabet?: string;
@@ -11644,14 +12290,22 @@ type PerfectionistSortMaps = {
11644
12290
  order?: ("asc" | "desc");
11645
12291
  customGroups?: ({
11646
12292
  fallbackSort?: {
11647
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12293
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11648
12294
  order?: ("asc" | "desc");
11649
12295
  };
11650
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12296
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11651
12297
  groupName: string;
11652
12298
  newlinesInside?: ("ignore" | number);
11653
12299
  order?: ("asc" | "desc");
11654
- anyOf: {
12300
+ anyOf: [{
12301
+ elementNamePattern?: (({
12302
+ pattern: string;
12303
+ flags?: string;
12304
+ } | string)[] | ({
12305
+ pattern: string;
12306
+ flags?: string;
12307
+ } | string));
12308
+ }, ...({
11655
12309
  elementNamePattern?: (({
11656
12310
  pattern: string;
11657
12311
  flags?: string;
@@ -11659,13 +12313,13 @@ type PerfectionistSortMaps = {
11659
12313
  pattern: string;
11660
12314
  flags?: string;
11661
12315
  } | string));
11662
- }[];
12316
+ })[]];
11663
12317
  } | {
11664
12318
  fallbackSort?: {
11665
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12319
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11666
12320
  order?: ("asc" | "desc");
11667
12321
  };
11668
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12322
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11669
12323
  groupName: string;
11670
12324
  newlinesInside?: ("ignore" | number);
11671
12325
  order?: ("asc" | "desc");
@@ -11682,8 +12336,12 @@ type PerfectionistSortMaps = {
11682
12336
  newlinesBetween: ("ignore" | number);
11683
12337
  } | {
11684
12338
  group: (string | [string, ...(string)[]]);
12339
+ fallbackSort?: {
12340
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12341
+ order?: ("asc" | "desc");
12342
+ };
11685
12343
  commentAbove?: string;
11686
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12344
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11687
12345
  newlinesInside?: ("ignore" | number);
11688
12346
  order?: ("asc" | "desc");
11689
12347
  })[];
@@ -11724,10 +12382,10 @@ type PerfectionistSortMaps = {
11724
12382
  // ----- perfectionist/sort-modules -----
11725
12383
  type PerfectionistSortModules = [] | [{
11726
12384
  fallbackSort?: {
11727
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12385
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage");
11728
12386
  order?: ("asc" | "desc");
11729
12387
  };
11730
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12388
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage");
11731
12389
  specialCharacters?: ("remove" | "trim" | "keep");
11732
12390
  ignoreCase?: boolean;
11733
12391
  alphabet?: string;
@@ -11735,14 +12393,14 @@ type PerfectionistSortModules = [] | [{
11735
12393
  order?: ("asc" | "desc");
11736
12394
  customGroups?: ({
11737
12395
  fallbackSort?: {
11738
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12396
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage");
11739
12397
  order?: ("asc" | "desc");
11740
12398
  };
11741
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12399
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage");
11742
12400
  groupName: string;
11743
12401
  newlinesInside?: ("ignore" | number);
11744
12402
  order?: ("asc" | "desc");
11745
- anyOf: {
12403
+ anyOf: [{
11746
12404
  elementNamePattern?: (({
11747
12405
  pattern: string;
11748
12406
  flags?: string;
@@ -11759,13 +12417,30 @@ type PerfectionistSortModules = [] | [{
11759
12417
  pattern: string;
11760
12418
  flags?: string;
11761
12419
  } | string));
11762
- }[];
12420
+ }, ...({
12421
+ elementNamePattern?: (({
12422
+ pattern: string;
12423
+ flags?: string;
12424
+ } | string)[] | ({
12425
+ pattern: string;
12426
+ flags?: string;
12427
+ } | string));
12428
+ modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
12429
+ selector?: ("enum" | "function" | "interface" | "type" | "class");
12430
+ decoratorNamePattern?: (({
12431
+ pattern: string;
12432
+ flags?: string;
12433
+ } | string)[] | ({
12434
+ pattern: string;
12435
+ flags?: string;
12436
+ } | string));
12437
+ })[]];
11763
12438
  } | {
11764
12439
  fallbackSort?: {
11765
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12440
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage");
11766
12441
  order?: ("asc" | "desc");
11767
12442
  };
11768
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12443
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage");
11769
12444
  groupName: string;
11770
12445
  newlinesInside?: ("ignore" | number);
11771
12446
  order?: ("asc" | "desc");
@@ -11791,8 +12466,12 @@ type PerfectionistSortModules = [] | [{
11791
12466
  newlinesBetween: ("ignore" | number);
11792
12467
  } | {
11793
12468
  group: (string | [string, ...(string)[]]);
12469
+ fallbackSort?: {
12470
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage");
12471
+ order?: ("asc" | "desc");
12472
+ };
11794
12473
  commentAbove?: string;
11795
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12474
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage");
11796
12475
  newlinesInside?: ("ignore" | number);
11797
12476
  order?: ("asc" | "desc");
11798
12477
  })[];
@@ -11824,10 +12503,10 @@ type PerfectionistSortModules = [] | [{
11824
12503
  // ----- perfectionist/sort-named-exports -----
11825
12504
  type PerfectionistSortNamedExports = {
11826
12505
  fallbackSort?: {
11827
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12506
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11828
12507
  order?: ("asc" | "desc");
11829
12508
  };
11830
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12509
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11831
12510
  specialCharacters?: ("remove" | "trim" | "keep");
11832
12511
  ignoreCase?: boolean;
11833
12512
  alphabet?: string;
@@ -11835,14 +12514,24 @@ type PerfectionistSortNamedExports = {
11835
12514
  order?: ("asc" | "desc");
11836
12515
  customGroups?: ({
11837
12516
  fallbackSort?: {
11838
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12517
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11839
12518
  order?: ("asc" | "desc");
11840
12519
  };
11841
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12520
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11842
12521
  groupName: string;
11843
12522
  newlinesInside?: ("ignore" | number);
11844
12523
  order?: ("asc" | "desc");
11845
- anyOf: {
12524
+ anyOf: [{
12525
+ elementNamePattern?: (({
12526
+ pattern: string;
12527
+ flags?: string;
12528
+ } | string)[] | ({
12529
+ pattern: string;
12530
+ flags?: string;
12531
+ } | string));
12532
+ modifiers?: ("value" | "type")[];
12533
+ selector?: "export";
12534
+ }, ...({
11846
12535
  elementNamePattern?: (({
11847
12536
  pattern: string;
11848
12537
  flags?: string;
@@ -11852,13 +12541,13 @@ type PerfectionistSortNamedExports = {
11852
12541
  } | string));
11853
12542
  modifiers?: ("value" | "type")[];
11854
12543
  selector?: "export";
11855
- }[];
12544
+ })[]];
11856
12545
  } | {
11857
12546
  fallbackSort?: {
11858
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12547
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11859
12548
  order?: ("asc" | "desc");
11860
12549
  };
11861
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12550
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11862
12551
  groupName: string;
11863
12552
  newlinesInside?: ("ignore" | number);
11864
12553
  order?: ("asc" | "desc");
@@ -11877,8 +12566,12 @@ type PerfectionistSortNamedExports = {
11877
12566
  newlinesBetween: ("ignore" | number);
11878
12567
  } | {
11879
12568
  group: (string | [string, ...(string)[]]);
12569
+ fallbackSort?: {
12570
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12571
+ order?: ("asc" | "desc");
12572
+ };
11880
12573
  commentAbove?: string;
11881
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12574
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11882
12575
  newlinesInside?: ("ignore" | number);
11883
12576
  order?: ("asc" | "desc");
11884
12577
  })[];
@@ -11911,10 +12604,10 @@ type PerfectionistSortNamedExports = {
11911
12604
  // ----- perfectionist/sort-named-imports -----
11912
12605
  type PerfectionistSortNamedImports = {
11913
12606
  fallbackSort?: {
11914
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12607
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11915
12608
  order?: ("asc" | "desc");
11916
12609
  };
11917
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12610
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11918
12611
  specialCharacters?: ("remove" | "trim" | "keep");
11919
12612
  ignoreCase?: boolean;
11920
12613
  alphabet?: string;
@@ -11922,14 +12615,14 @@ type PerfectionistSortNamedImports = {
11922
12615
  order?: ("asc" | "desc");
11923
12616
  customGroups?: ({
11924
12617
  fallbackSort?: {
11925
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12618
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11926
12619
  order?: ("asc" | "desc");
11927
12620
  };
11928
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12621
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11929
12622
  groupName: string;
11930
12623
  newlinesInside?: ("ignore" | number);
11931
12624
  order?: ("asc" | "desc");
11932
- anyOf: {
12625
+ anyOf: [{
11933
12626
  elementNamePattern?: (({
11934
12627
  pattern: string;
11935
12628
  flags?: string;
@@ -11939,13 +12632,23 @@ type PerfectionistSortNamedImports = {
11939
12632
  } | string));
11940
12633
  modifiers?: ("value" | "type")[];
11941
12634
  selector?: "import";
11942
- }[];
12635
+ }, ...({
12636
+ elementNamePattern?: (({
12637
+ pattern: string;
12638
+ flags?: string;
12639
+ } | string)[] | ({
12640
+ pattern: string;
12641
+ flags?: string;
12642
+ } | string));
12643
+ modifiers?: ("value" | "type")[];
12644
+ selector?: "import";
12645
+ })[]];
11943
12646
  } | {
11944
12647
  fallbackSort?: {
11945
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12648
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11946
12649
  order?: ("asc" | "desc");
11947
12650
  };
11948
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12651
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11949
12652
  groupName: string;
11950
12653
  newlinesInside?: ("ignore" | number);
11951
12654
  order?: ("asc" | "desc");
@@ -11964,8 +12667,12 @@ type PerfectionistSortNamedImports = {
11964
12667
  newlinesBetween: ("ignore" | number);
11965
12668
  } | {
11966
12669
  group: (string | [string, ...(string)[]]);
12670
+ fallbackSort?: {
12671
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12672
+ order?: ("asc" | "desc");
12673
+ };
11967
12674
  commentAbove?: string;
11968
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12675
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11969
12676
  newlinesInside?: ("ignore" | number);
11970
12677
  order?: ("asc" | "desc");
11971
12678
  })[];
@@ -11998,27 +12705,29 @@ type PerfectionistSortNamedImports = {
11998
12705
  // ----- perfectionist/sort-object-types -----
11999
12706
  type PerfectionistSortObjectTypes = {
12000
12707
  fallbackSort?: {
12001
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12708
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12002
12709
  order?: ("asc" | "desc");
12003
12710
  sortBy?: ("name" | "value");
12004
12711
  };
12005
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12712
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12006
12713
  specialCharacters?: ("remove" | "trim" | "keep");
12007
12714
  ignoreCase?: boolean;
12008
12715
  alphabet?: string;
12009
12716
  locales?: (string | string[]);
12010
12717
  order?: ("asc" | "desc");
12718
+ sortBy?: ("name" | "value");
12011
12719
  customGroups?: ({
12012
12720
  fallbackSort?: {
12013
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12721
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12014
12722
  order?: ("asc" | "desc");
12015
12723
  sortBy?: ("name" | "value");
12016
12724
  };
12017
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12725
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12018
12726
  groupName: string;
12019
12727
  newlinesInside?: ("ignore" | number);
12020
12728
  order?: ("asc" | "desc");
12021
- anyOf: {
12729
+ sortBy?: ("name" | "value");
12730
+ anyOf: [{
12022
12731
  elementNamePattern?: (({
12023
12732
  pattern: string;
12024
12733
  flags?: string;
@@ -12035,18 +12744,35 @@ type PerfectionistSortObjectTypes = {
12035
12744
  pattern: string;
12036
12745
  flags?: string;
12037
12746
  } | string));
12038
- sortBy?: ("name" | "value");
12039
- }[];
12747
+ }, ...({
12748
+ elementNamePattern?: (({
12749
+ pattern: string;
12750
+ flags?: string;
12751
+ } | string)[] | ({
12752
+ pattern: string;
12753
+ flags?: string;
12754
+ } | string));
12755
+ modifiers?: ("optional" | "required" | "multiline")[];
12756
+ selector?: ("index-signature" | "member" | "method" | "property");
12757
+ elementValuePattern?: (({
12758
+ pattern: string;
12759
+ flags?: string;
12760
+ } | string)[] | ({
12761
+ pattern: string;
12762
+ flags?: string;
12763
+ } | string));
12764
+ })[]];
12040
12765
  } | {
12041
12766
  fallbackSort?: {
12042
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12767
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12043
12768
  order?: ("asc" | "desc");
12044
12769
  sortBy?: ("name" | "value");
12045
12770
  };
12046
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12771
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12047
12772
  groupName: string;
12048
12773
  newlinesInside?: ("ignore" | number);
12049
12774
  order?: ("asc" | "desc");
12775
+ sortBy?: ("name" | "value");
12050
12776
  elementNamePattern?: (({
12051
12777
  pattern: string;
12052
12778
  flags?: string;
@@ -12063,17 +12789,22 @@ type PerfectionistSortObjectTypes = {
12063
12789
  pattern: string;
12064
12790
  flags?: string;
12065
12791
  } | string));
12066
- sortBy?: ("name" | "value");
12067
12792
  })[];
12068
12793
  newlinesInside?: (("ignore" | number) | "newlinesBetween");
12069
12794
  groups?: (string | [string, ...(string)[]] | {
12070
12795
  newlinesBetween: ("ignore" | number);
12071
12796
  } | {
12072
12797
  group: (string | [string, ...(string)[]]);
12798
+ fallbackSort?: {
12799
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12800
+ order?: ("asc" | "desc");
12801
+ sortBy?: ("name" | "value");
12802
+ };
12073
12803
  commentAbove?: string;
12074
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12804
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12075
12805
  newlinesInside?: ("ignore" | number);
12076
12806
  order?: ("asc" | "desc");
12807
+ sortBy?: ("name" | "value");
12077
12808
  })[];
12078
12809
  newlinesBetween?: ("ignore" | number);
12079
12810
  useConfigurationIf?: {
@@ -12127,15 +12858,14 @@ type PerfectionistSortObjectTypes = {
12127
12858
  } | string)));
12128
12859
  });
12129
12860
  partitionByNewLine?: boolean;
12130
- sortBy?: ("name" | "value");
12131
12861
  }[];
12132
12862
  // ----- perfectionist/sort-objects -----
12133
12863
  type PerfectionistSortObjects = {
12134
12864
  fallbackSort?: {
12135
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12865
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12136
12866
  order?: ("asc" | "desc");
12137
12867
  };
12138
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12868
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12139
12869
  specialCharacters?: ("remove" | "trim" | "keep");
12140
12870
  ignoreCase?: boolean;
12141
12871
  alphabet?: string;
@@ -12143,14 +12873,14 @@ type PerfectionistSortObjects = {
12143
12873
  order?: ("asc" | "desc");
12144
12874
  customGroups?: ({
12145
12875
  fallbackSort?: {
12146
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12876
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12147
12877
  order?: ("asc" | "desc");
12148
12878
  };
12149
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12879
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12150
12880
  groupName: string;
12151
12881
  newlinesInside?: ("ignore" | number);
12152
12882
  order?: ("asc" | "desc");
12153
- anyOf: {
12883
+ anyOf: [{
12154
12884
  elementNamePattern?: (({
12155
12885
  pattern: string;
12156
12886
  flags?: string;
@@ -12158,7 +12888,7 @@ type PerfectionistSortObjects = {
12158
12888
  pattern: string;
12159
12889
  flags?: string;
12160
12890
  } | string));
12161
- modifiers?: ("optional" | "required" | "multiline")[];
12891
+ modifiers?: ("multiline")[];
12162
12892
  selector?: ("member" | "method" | "property");
12163
12893
  elementValuePattern?: (({
12164
12894
  pattern: string;
@@ -12167,13 +12897,30 @@ type PerfectionistSortObjects = {
12167
12897
  pattern: string;
12168
12898
  flags?: string;
12169
12899
  } | string));
12170
- }[];
12900
+ }, ...({
12901
+ elementNamePattern?: (({
12902
+ pattern: string;
12903
+ flags?: string;
12904
+ } | string)[] | ({
12905
+ pattern: string;
12906
+ flags?: string;
12907
+ } | string));
12908
+ modifiers?: ("multiline")[];
12909
+ selector?: ("member" | "method" | "property");
12910
+ elementValuePattern?: (({
12911
+ pattern: string;
12912
+ flags?: string;
12913
+ } | string)[] | ({
12914
+ pattern: string;
12915
+ flags?: string;
12916
+ } | string));
12917
+ })[]];
12171
12918
  } | {
12172
12919
  fallbackSort?: {
12173
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12920
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12174
12921
  order?: ("asc" | "desc");
12175
12922
  };
12176
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12923
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12177
12924
  groupName: string;
12178
12925
  newlinesInside?: ("ignore" | number);
12179
12926
  order?: ("asc" | "desc");
@@ -12184,7 +12931,7 @@ type PerfectionistSortObjects = {
12184
12931
  pattern: string;
12185
12932
  flags?: string;
12186
12933
  } | string));
12187
- modifiers?: ("optional" | "required" | "multiline")[];
12934
+ modifiers?: ("multiline")[];
12188
12935
  selector?: ("member" | "method" | "property");
12189
12936
  elementValuePattern?: (({
12190
12937
  pattern: string;
@@ -12199,8 +12946,12 @@ type PerfectionistSortObjects = {
12199
12946
  newlinesBetween: ("ignore" | number);
12200
12947
  } | {
12201
12948
  group: (string | [string, ...(string)[]]);
12949
+ fallbackSort?: {
12950
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12951
+ order?: ("asc" | "desc");
12952
+ };
12202
12953
  commentAbove?: string;
12203
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12954
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12204
12955
  newlinesInside?: ("ignore" | number);
12205
12956
  order?: ("asc" | "desc");
12206
12957
  })[];
@@ -12271,10 +13022,10 @@ type PerfectionistSortObjects = {
12271
13022
  // ----- perfectionist/sort-sets -----
12272
13023
  type PerfectionistSortSets = {
12273
13024
  fallbackSort?: {
12274
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13025
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12275
13026
  order?: ("asc" | "desc");
12276
13027
  };
12277
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13028
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12278
13029
  specialCharacters?: ("remove" | "trim" | "keep");
12279
13030
  ignoreCase?: boolean;
12280
13031
  alphabet?: string;
@@ -12282,14 +13033,14 @@ type PerfectionistSortSets = {
12282
13033
  order?: ("asc" | "desc");
12283
13034
  customGroups?: ({
12284
13035
  fallbackSort?: {
12285
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13036
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12286
13037
  order?: ("asc" | "desc");
12287
13038
  };
12288
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13039
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12289
13040
  groupName: string;
12290
13041
  newlinesInside?: ("ignore" | number);
12291
13042
  order?: ("asc" | "desc");
12292
- anyOf: {
13043
+ anyOf: [{
12293
13044
  elementNamePattern?: (({
12294
13045
  pattern: string;
12295
13046
  flags?: string;
@@ -12298,13 +13049,22 @@ type PerfectionistSortSets = {
12298
13049
  flags?: string;
12299
13050
  } | string));
12300
13051
  selector?: ("literal" | "spread");
12301
- }[];
13052
+ }, ...({
13053
+ elementNamePattern?: (({
13054
+ pattern: string;
13055
+ flags?: string;
13056
+ } | string)[] | ({
13057
+ pattern: string;
13058
+ flags?: string;
13059
+ } | string));
13060
+ selector?: ("literal" | "spread");
13061
+ })[]];
12302
13062
  } | {
12303
13063
  fallbackSort?: {
12304
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13064
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12305
13065
  order?: ("asc" | "desc");
12306
13066
  };
12307
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13067
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12308
13068
  groupName: string;
12309
13069
  newlinesInside?: ("ignore" | number);
12310
13070
  order?: ("asc" | "desc");
@@ -12322,8 +13082,12 @@ type PerfectionistSortSets = {
12322
13082
  newlinesBetween: ("ignore" | number);
12323
13083
  } | {
12324
13084
  group: (string | [string, ...(string)[]]);
13085
+ fallbackSort?: {
13086
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13087
+ order?: ("asc" | "desc");
13088
+ };
12325
13089
  commentAbove?: string;
12326
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13090
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12327
13091
  newlinesInside?: ("ignore" | number);
12328
13092
  order?: ("asc" | "desc");
12329
13093
  })[];
@@ -12364,10 +13128,10 @@ type PerfectionistSortSets = {
12364
13128
  // ----- perfectionist/sort-switch-case -----
12365
13129
  type PerfectionistSortSwitchCase = [] | [{
12366
13130
  fallbackSort?: {
12367
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13131
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12368
13132
  order?: ("asc" | "desc");
12369
13133
  };
12370
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13134
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12371
13135
  specialCharacters?: ("remove" | "trim" | "keep");
12372
13136
  ignoreCase?: boolean;
12373
13137
  alphabet?: string;
@@ -12377,10 +13141,10 @@ type PerfectionistSortSwitchCase = [] | [{
12377
13141
  // ----- perfectionist/sort-union-types -----
12378
13142
  type PerfectionistSortUnionTypes = {
12379
13143
  fallbackSort?: {
12380
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13144
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12381
13145
  order?: ("asc" | "desc");
12382
13146
  };
12383
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13147
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12384
13148
  specialCharacters?: ("remove" | "trim" | "keep");
12385
13149
  ignoreCase?: boolean;
12386
13150
  alphabet?: string;
@@ -12388,14 +13152,23 @@ type PerfectionistSortUnionTypes = {
12388
13152
  order?: ("asc" | "desc");
12389
13153
  customGroups?: ({
12390
13154
  fallbackSort?: {
12391
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13155
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12392
13156
  order?: ("asc" | "desc");
12393
13157
  };
12394
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13158
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12395
13159
  groupName: string;
12396
13160
  newlinesInside?: ("ignore" | number);
12397
13161
  order?: ("asc" | "desc");
12398
- anyOf: {
13162
+ anyOf: [{
13163
+ elementNamePattern?: (({
13164
+ pattern: string;
13165
+ flags?: string;
13166
+ } | string)[] | ({
13167
+ pattern: string;
13168
+ flags?: string;
13169
+ } | string));
13170
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
13171
+ }, ...({
12399
13172
  elementNamePattern?: (({
12400
13173
  pattern: string;
12401
13174
  flags?: string;
@@ -12404,13 +13177,13 @@ type PerfectionistSortUnionTypes = {
12404
13177
  flags?: string;
12405
13178
  } | string));
12406
13179
  selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
12407
- }[];
13180
+ })[]];
12408
13181
  } | {
12409
13182
  fallbackSort?: {
12410
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13183
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12411
13184
  order?: ("asc" | "desc");
12412
13185
  };
12413
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13186
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12414
13187
  groupName: string;
12415
13188
  newlinesInside?: ("ignore" | number);
12416
13189
  order?: ("asc" | "desc");
@@ -12428,8 +13201,12 @@ type PerfectionistSortUnionTypes = {
12428
13201
  newlinesBetween: ("ignore" | number);
12429
13202
  } | {
12430
13203
  group: (string | [string, ...(string)[]]);
13204
+ fallbackSort?: {
13205
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13206
+ order?: ("asc" | "desc");
13207
+ };
12431
13208
  commentAbove?: string;
12432
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13209
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12433
13210
  newlinesInside?: ("ignore" | number);
12434
13211
  order?: ("asc" | "desc");
12435
13212
  })[];
@@ -12461,10 +13238,10 @@ type PerfectionistSortUnionTypes = {
12461
13238
  // ----- perfectionist/sort-variable-declarations -----
12462
13239
  type PerfectionistSortVariableDeclarations = [] | [{
12463
13240
  fallbackSort?: {
12464
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13241
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12465
13242
  order?: ("asc" | "desc");
12466
13243
  };
12467
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13244
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12468
13245
  specialCharacters?: ("remove" | "trim" | "keep");
12469
13246
  ignoreCase?: boolean;
12470
13247
  alphabet?: string;
@@ -12472,14 +13249,14 @@ type PerfectionistSortVariableDeclarations = [] | [{
12472
13249
  order?: ("asc" | "desc");
12473
13250
  customGroups?: ({
12474
13251
  fallbackSort?: {
12475
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13252
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12476
13253
  order?: ("asc" | "desc");
12477
13254
  };
12478
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13255
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12479
13256
  groupName: string;
12480
13257
  newlinesInside?: ("ignore" | number);
12481
13258
  order?: ("asc" | "desc");
12482
- anyOf: {
13259
+ anyOf: [{
12483
13260
  elementNamePattern?: (({
12484
13261
  pattern: string;
12485
13262
  flags?: string;
@@ -12488,13 +13265,22 @@ type PerfectionistSortVariableDeclarations = [] | [{
12488
13265
  flags?: string;
12489
13266
  } | string));
12490
13267
  selector?: ("initialized" | "uninitialized");
12491
- }[];
13268
+ }, ...({
13269
+ elementNamePattern?: (({
13270
+ pattern: string;
13271
+ flags?: string;
13272
+ } | string)[] | ({
13273
+ pattern: string;
13274
+ flags?: string;
13275
+ } | string));
13276
+ selector?: ("initialized" | "uninitialized");
13277
+ })[]];
12492
13278
  } | {
12493
13279
  fallbackSort?: {
12494
- type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13280
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12495
13281
  order?: ("asc" | "desc");
12496
13282
  };
12497
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13283
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12498
13284
  groupName: string;
12499
13285
  newlinesInside?: ("ignore" | number);
12500
13286
  order?: ("asc" | "desc");
@@ -12512,8 +13298,12 @@ type PerfectionistSortVariableDeclarations = [] | [{
12512
13298
  newlinesBetween: ("ignore" | number);
12513
13299
  } | {
12514
13300
  group: (string | [string, ...(string)[]]);
13301
+ fallbackSort?: {
13302
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13303
+ order?: ("asc" | "desc");
13304
+ };
12515
13305
  commentAbove?: string;
12516
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13306
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12517
13307
  newlinesInside?: ("ignore" | number);
12518
13308
  order?: ("asc" | "desc");
12519
13309
  })[];
@@ -12869,6 +13659,10 @@ type VitestMaxExpects = [] | [{
12869
13659
  type VitestMaxNestedDescribe = [] | [{
12870
13660
  max?: number;
12871
13661
  }];
13662
+ // ----- vitest/no-conditional-expect -----
13663
+ type VitestNoConditionalExpect = [] | [{
13664
+ expectAssertions?: boolean;
13665
+ }];
12872
13666
  // ----- vitest/no-focused-tests -----
12873
13667
  type VitestNoFocusedTests = [] | [{
12874
13668
  fixable?: boolean;