@luxass/eslint-config 6.0.3 → 7.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -306,7 +306,38 @@ declare function node(): TypedFlatConfigItem[];
306
306
  declare function perfectionist(): Promise<TypedFlatConfigItem[]>;
307
307
  //#endregion
308
308
  //#region src/configs/pnpm.d.ts
309
- declare function pnpm(): Promise<TypedFlatConfigItem[]>;
309
+ interface PnpmOptions {
310
+ /**
311
+ * Requires catalogs usage
312
+ *
313
+ * Detects automatically based if `catalogs` is used in the pnpm-workspace.yaml file
314
+ */
315
+ catalogs?: boolean;
316
+ /**
317
+ * Enable linting for package.json, will install the jsonc parser
318
+ *
319
+ * @default true
320
+ */
321
+ json?: boolean;
322
+ /**
323
+ * Enable linting for pnpm-workspace.yaml, will install the yaml parser
324
+ *
325
+ * @default true
326
+ */
327
+ yaml?: boolean;
328
+ /**
329
+ * Sort entries in pnpm-workspace.yaml
330
+ *
331
+ * @default false
332
+ */
333
+ sort?: boolean;
334
+ /**
335
+ * Whether the config is for an editor.
336
+ * @default false
337
+ */
338
+ isInEditor?: boolean;
339
+ }
340
+ declare function pnpm(options: PnpmOptions): Promise<TypedFlatConfigItem[]>;
310
341
  //#endregion
311
342
  //#region src/configs/react.d.ts
312
343
  interface ReactOptions {
@@ -336,6 +367,10 @@ interface ReactOptions {
336
367
  * @default ['**\/*.md\/**', '**\/*.astro/*.ts']
337
368
  */
338
369
  ignoresTypeAware?: string[];
370
+ /**
371
+ * Enable rules that require React Compiler.
372
+ */
373
+ reactCompiler?: boolean;
339
374
  }
340
375
  declare function react(options?: ReactOptions): Promise<TypedFlatConfigItem[]>;
341
376
  //#endregion
@@ -1076,6 +1111,26 @@ interface RuleOptions {
1076
1111
  * @see https://eslint.org/docs/latest/rules/eqeqeq
1077
1112
  */
1078
1113
  'eqeqeq'?: Linter.RuleEntry<Eqeqeq>;
1114
+ /**
1115
+ * Avoid using TypeScript's enums.
1116
+ * @see https://github.com/JoshuaKGoldberg/eslint-plugin-erasable-syntax-only/blob/main/docs/rules/enums.md
1117
+ */
1118
+ 'erasable-syntax-only/enums'?: Linter.RuleEntry<[]>;
1119
+ /**
1120
+ * Avoid using TypeScript's import aliases.
1121
+ * @see https://github.com/JoshuaKGoldberg/eslint-plugin-erasable-syntax-only/blob/main/docs/rules/import-aliases.md
1122
+ */
1123
+ 'erasable-syntax-only/import-aliases'?: Linter.RuleEntry<[]>;
1124
+ /**
1125
+ * Avoid using TypeScript's namespaces.
1126
+ * @see https://github.com/JoshuaKGoldberg/eslint-plugin-erasable-syntax-only/blob/main/docs/rules/namespaces.md
1127
+ */
1128
+ 'erasable-syntax-only/namespaces'?: Linter.RuleEntry<[]>;
1129
+ /**
1130
+ * Avoid using TypeScript's class parameter properties.
1131
+ * @see https://github.com/JoshuaKGoldberg/eslint-plugin-erasable-syntax-only/blob/main/docs/rules/parameter-properties.md
1132
+ */
1133
+ 'erasable-syntax-only/parameter-properties'?: Linter.RuleEntry<[]>;
1079
1134
  /**
1080
1135
  * require a `eslint-enable` comment for every `eslint-disable` comment
1081
1136
  * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/disable-enable-pair.html
@@ -1232,6 +1287,11 @@ interface RuleOptions {
1232
1287
  * @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/consistent-type-specifier-style/README.md
1233
1288
  */
1234
1289
  'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>;
1290
+ /**
1291
+ * Ensure all exports appear after other statements.
1292
+ * @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/exports-last/README.md
1293
+ */
1294
+ 'import/exports-last'?: Linter.RuleEntry<[]>;
1235
1295
  /**
1236
1296
  * Ensure all imports appear before other statements.
1237
1297
  * @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/first/README.md
@@ -1262,6 +1322,11 @@ interface RuleOptions {
1262
1322
  * @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/no-named-default/README.md
1263
1323
  */
1264
1324
  'import/no-named-default'?: Linter.RuleEntry<[]>;
1325
+ /**
1326
+ * Prefer a default export if module exports a single name or multiple names.
1327
+ * @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/prefer-default-export/README.md
1328
+ */
1329
+ 'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>;
1265
1330
  /**
1266
1331
  * Enforce consistent indentation
1267
1332
  * @see https://eslint.org/docs/latest/rules/indent
@@ -1534,6 +1599,11 @@ interface RuleOptions {
1534
1599
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-property-type.md#repos-sticky-header
1535
1600
  */
1536
1601
  'jsdoc/require-property-type'?: Linter.RuleEntry<[]>;
1602
+ /**
1603
+ * Requires that Promise rejections are documented with `@rejects` tags.
1604
+ * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-rejects.md#repos-sticky-header
1605
+ */
1606
+ 'jsdoc/require-rejects'?: Linter.RuleEntry<JsdocRequireRejects>;
1537
1607
  /**
1538
1608
  * Requires that returns are documented with `@returns`.
1539
1609
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns.md#repos-sticky-header
@@ -3206,6 +3276,11 @@ interface RuleOptions {
3206
3276
  * @see https://perfectionist.dev/rules/sort-enums
3207
3277
  */
3208
3278
  'perfectionist/sort-enums'?: Linter.RuleEntry<PerfectionistSortEnums>;
3279
+ /**
3280
+ * Enforce sorted export attributes.
3281
+ * @see https://perfectionist.dev/rules/sort-export-attributes
3282
+ */
3283
+ 'perfectionist/sort-export-attributes'?: Linter.RuleEntry<PerfectionistSortExportAttributes>;
3209
3284
  /**
3210
3285
  * Enforce sorted exports.
3211
3286
  * @see https://perfectionist.dev/rules/sort-exports
@@ -3216,6 +3291,11 @@ interface RuleOptions {
3216
3291
  * @see https://perfectionist.dev/rules/sort-heritage-clauses
3217
3292
  */
3218
3293
  'perfectionist/sort-heritage-clauses'?: Linter.RuleEntry<PerfectionistSortHeritageClauses>;
3294
+ /**
3295
+ * Enforce sorted import attributes.
3296
+ * @see https://perfectionist.dev/rules/sort-import-attributes
3297
+ */
3298
+ 'perfectionist/sort-import-attributes'?: Linter.RuleEntry<PerfectionistSortImportAttributes>;
3219
3299
  /**
3220
3300
  * Enforce sorted imports.
3221
3301
  * @see https://perfectionist.dev/rules/sort-imports
@@ -3301,6 +3381,11 @@ interface RuleOptions {
3301
3381
  * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/json/json-valid-catalog.test.ts
3302
3382
  */
3303
3383
  'pnpm/json-valid-catalog'?: Linter.RuleEntry<PnpmJsonValidCatalog>;
3384
+ /**
3385
+ * Enforce settings in `pnpm-workspace.yaml`
3386
+ * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/yaml/yaml-enforce-settings.test.ts
3387
+ */
3388
+ 'pnpm/yaml-enforce-settings'?: Linter.RuleEntry<PnpmYamlEnforceSettings>;
3304
3389
  /**
3305
3390
  * Disallow duplicate catalog items in `pnpm-workspace.yaml`
3306
3391
  * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/yaml/yaml-no-duplicate-catalog-item.test.ts
@@ -3410,97 +3495,97 @@ interface RuleOptions {
3410
3495
  */
3411
3496
  'radix'?: Linter.RuleEntry<Radix>;
3412
3497
  /**
3413
- * Disallow `dangerouslySetInnerHTML`.
3498
+ * Disallows 'dangerouslySetInnerHTML'.
3414
3499
  * @see https://eslint-react.xyz/docs/rules/dom-no-dangerously-set-innerhtml
3415
3500
  */
3416
3501
  'react-dom/no-dangerously-set-innerhtml'?: Linter.RuleEntry<[]>;
3417
3502
  /**
3418
- * Disallow `dangerouslySetInnerHTML` and `children` at the same time.
3503
+ * Disallows 'dangerouslySetInnerHTML' and 'children' at the same time.
3419
3504
  * @see https://eslint-react.xyz/docs/rules/dom-no-dangerously-set-innerhtml-with-children
3420
3505
  */
3421
3506
  'react-dom/no-dangerously-set-innerhtml-with-children'?: Linter.RuleEntry<[]>;
3422
3507
  /**
3423
- * Disallow `findDOMNode`.
3508
+ * Disallows 'findDOMNode'.
3424
3509
  * @see https://eslint-react.xyz/docs/rules/dom-no-find-dom-node
3425
3510
  */
3426
3511
  'react-dom/no-find-dom-node'?: Linter.RuleEntry<[]>;
3427
3512
  /**
3428
- * Disallow `flushSync`.
3513
+ * Disallows 'flushSync'.
3429
3514
  * @see https://eslint-react.xyz/docs/rules/dom-no-flush-sync
3430
3515
  */
3431
3516
  'react-dom/no-flush-sync'?: Linter.RuleEntry<[]>;
3432
3517
  /**
3433
- * Replaces usages of `ReactDom.hydrate()` with `hydrateRoot()`.
3518
+ * Replaces usage of 'ReactDom.hydrate()' with 'hydrateRoot()'.
3434
3519
  * @see https://eslint-react.xyz/docs/rules/dom-no-hydrate
3435
3520
  */
3436
3521
  'react-dom/no-hydrate'?: Linter.RuleEntry<[]>;
3437
3522
  /**
3438
- * Enforces explicit `type` attribute for `button` elements.
3523
+ * Enforces explicit 'type' attribute for 'button' elements.
3439
3524
  * @see https://eslint-react.xyz/docs/rules/dom-no-missing-button-type
3440
3525
  */
3441
3526
  'react-dom/no-missing-button-type'?: Linter.RuleEntry<[]>;
3442
3527
  /**
3443
- * Enforces explicit `sandbox` prop for `iframe` elements.
3528
+ * Enforces explicit 'sandbox' attribute for 'iframe' elements.
3444
3529
  * @see https://eslint-react.xyz/docs/rules/dom-no-missing-iframe-sandbox
3445
3530
  */
3446
3531
  'react-dom/no-missing-iframe-sandbox'?: Linter.RuleEntry<[]>;
3447
3532
  /**
3448
- * Enforces the absence of a `namespace` in React elements.
3533
+ * Enforces the absence of a 'namespace' in React elements.
3449
3534
  * @see https://eslint-react.xyz/docs/rules/dom-no-namespace
3450
3535
  */
3451
3536
  'react-dom/no-namespace'?: Linter.RuleEntry<[]>;
3452
3537
  /**
3453
- * Replaces usages of `ReactDom.render()` with `createRoot(node).render()`.
3538
+ * Replaces usage of 'ReactDom.render()' with 'createRoot(node).render()'.
3454
3539
  * @see https://eslint-react.xyz/docs/rules/dom-no-render
3455
3540
  */
3456
3541
  'react-dom/no-render'?: Linter.RuleEntry<[]>;
3457
3542
  /**
3458
- * Disallow the return value of `ReactDOM.render`.
3543
+ * Disallows the return value of 'ReactDOM.render'.
3459
3544
  * @see https://eslint-react.xyz/docs/rules/dom-no-render-return-value
3460
3545
  */
3461
3546
  'react-dom/no-render-return-value'?: Linter.RuleEntry<[]>;
3462
3547
  /**
3463
- * Disallow `javascript:` URLs as attribute values.
3548
+ * Disallows 'javascript:' URLs as attribute values.
3464
3549
  * @see https://eslint-react.xyz/docs/rules/dom-no-script-url
3465
3550
  */
3466
3551
  'react-dom/no-script-url'?: Linter.RuleEntry<[]>;
3467
3552
  /**
3468
- * Disallows the use of string style prop.
3553
+ * Disallows the use of string style prop in JSX. Use an object instead.
3469
3554
  * @see https://eslint-react.xyz/docs/rules/dom-no-string-style-prop
3470
3555
  */
3471
3556
  'react-dom/no-string-style-prop'?: Linter.RuleEntry<[]>;
3472
3557
  /**
3473
- * Disallow unknown `DOM` property.
3558
+ * Disallows unknown 'DOM' property.
3474
3559
  * @see https://eslint-react.xyz/docs/rules/dom-no-unknown-property
3475
3560
  */
3476
3561
  'react-dom/no-unknown-property'?: Linter.RuleEntry<ReactDomNoUnknownProperty>;
3477
3562
  /**
3478
- * Enforces `sandbox` attribute for `iframe` elements is not set to unsafe combinations.
3563
+ * Enforces 'sandbox' attribute for 'iframe' elements is not set to unsafe combinations.
3479
3564
  * @see https://eslint-react.xyz/docs/rules/dom-no-unsafe-iframe-sandbox
3480
3565
  */
3481
3566
  'react-dom/no-unsafe-iframe-sandbox'?: Linter.RuleEntry<[]>;
3482
3567
  /**
3483
- * Disallow `target="_blank"` without `rel="noreferrer noopener"`.
3568
+ * Disallows 'target="_blank"' without 'rel="noreferrer noopener"'.
3484
3569
  * @see https://eslint-react.xyz/docs/rules/dom-no-unsafe-target-blank
3485
3570
  */
3486
3571
  'react-dom/no-unsafe-target-blank'?: Linter.RuleEntry<[]>;
3487
3572
  /**
3488
- * Replaces usages of `useFormState` with `useActionState`.
3573
+ * Replaces usage of 'useFormState' with 'useActionState'.
3489
3574
  * @see https://eslint-react.xyz/docs/rules/dom-no-use-form-state
3490
3575
  */
3491
3576
  'react-dom/no-use-form-state'?: Linter.RuleEntry<[]>;
3492
3577
  /**
3493
- * Disallow `children` in void DOM elements.
3578
+ * Disallows 'children' in void DOM elements.
3494
3579
  * @see https://eslint-react.xyz/docs/rules/dom-no-void-elements-with-children
3495
3580
  */
3496
3581
  'react-dom/no-void-elements-with-children'?: Linter.RuleEntry<[]>;
3497
3582
  /**
3498
- * Enforces React Dom is imported via a namespace import.
3583
+ * Enforces React DOM is imported via a namespace import.
3499
3584
  * @see https://eslint-react.xyz/docs/rules/dom-prefer-namespace-import
3500
3585
  */
3501
3586
  'react-dom/prefer-namespace-import'?: Linter.RuleEntry<[]>;
3502
3587
  /**
3503
- * Disallow direct calls to the `set` function of `useState` in `useEffect`.
3588
+ * Disallows **direct** calls to the 'set' function of 'useState' in 'useEffect'.
3504
3589
  * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-effect
3505
3590
  */
3506
3591
  'react-hooks-extra/no-direct-set-state-in-use-effect'?: Linter.RuleEntry<[]>;
@@ -3628,7 +3713,7 @@ interface RuleOptions {
3628
3713
  */
3629
3714
  'react-naming-convention/component-name'?: Linter.RuleEntry<ReactNamingConventionComponentName>;
3630
3715
  /**
3631
- * Enforces context name to be a valid component name with the suffix `Context`.
3716
+ * Enforces the context name to be a valid component name with the suffix 'Context'.
3632
3717
  * @see https://eslint-react.xyz/docs/rules/naming-convention-context-name
3633
3718
  */
3634
3719
  'react-naming-convention/context-name'?: Linter.RuleEntry<[]>;
@@ -3638,78 +3723,83 @@ interface RuleOptions {
3638
3723
  */
3639
3724
  'react-naming-convention/filename'?: Linter.RuleEntry<ReactNamingConventionFilename>;
3640
3725
  /**
3641
- * Enforces consistent file naming conventions.
3726
+ * Enforces consistent use of the JSX file extension.
3642
3727
  * @see https://eslint-react.xyz/docs/rules/naming-convention-filename-extension
3643
3728
  */
3644
3729
  'react-naming-convention/filename-extension'?: Linter.RuleEntry<ReactNamingConventionFilenameExtension>;
3645
3730
  /**
3646
- * Enforces destructuring and symmetric naming of `useState` hook value and setter.
3731
+ * Enforces variable names assigned from 'useRef' calls to be either 'ref' or end with 'Ref'.
3732
+ * @see https://eslint-react.xyz/docs/rules/naming-convention-ref-name
3733
+ */
3734
+ 'react-naming-convention/ref-name'?: Linter.RuleEntry<[]>;
3735
+ /**
3736
+ * Enforces destructuring and symmetric naming of the 'useState' hook value and setter.
3647
3737
  * @see https://eslint-react.xyz/docs/rules/naming-convention-use-state
3648
3738
  */
3649
- 'react-naming-convention/use-state'?: Linter.RuleEntry<[]>;
3739
+ 'react-naming-convention/use-state'?: Linter.RuleEntry<ReactNamingConventionUseState>;
3650
3740
  'react-refresh/only-export-components'?: Linter.RuleEntry<ReactRefreshOnlyExportComponents>;
3651
3741
  /**
3652
- * Prevents leaked `addEventListener` in a component or custom Hook.
3742
+ * Enforces that every 'addEventListener' in a component or custom hook has a corresponding 'removeEventListener'.
3653
3743
  * @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-event-listener
3654
3744
  */
3655
3745
  'react-web-api/no-leaked-event-listener'?: Linter.RuleEntry<[]>;
3656
3746
  /**
3657
- * Prevents leaked `setInterval` in a component or custom Hook.
3747
+ * Enforces that every 'setInterval' in a component or custom hook has a corresponding 'clearInterval'.
3658
3748
  * @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-interval
3659
3749
  */
3660
3750
  'react-web-api/no-leaked-interval'?: Linter.RuleEntry<[]>;
3661
3751
  /**
3662
- * Prevents leaked `ResizeObserver` in a component or custom Hook.
3752
+ * Enforces that every 'ResizeObserver' created in a component or custom hook has a corresponding 'ResizeObserver.disconnect()'.
3663
3753
  * @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-resize-observer
3664
3754
  */
3665
3755
  'react-web-api/no-leaked-resize-observer'?: Linter.RuleEntry<[]>;
3666
3756
  /**
3667
- * Prevents leaked `setTimeout` in a component or custom Hook.
3757
+ * Enforces that every 'setTimeout' in a component or custom hook has a corresponding 'clearTimeout'.
3668
3758
  * @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-timeout
3669
3759
  */
3670
3760
  'react-web-api/no-leaked-timeout'?: Linter.RuleEntry<[]>;
3671
3761
  /**
3672
- * Prevents dollar signs from being inserted as text nodes before expressions.
3762
+ * Prevents unnecessary dollar signs ('$') from being inserted before an expression in JSX.
3673
3763
  * @see https://eslint-react.xyz/docs/rules/jsx-dollar
3674
3764
  */
3675
3765
  'react/jsx-dollar'?: Linter.RuleEntry<[]>;
3676
3766
  /**
3677
- * Enforces that the 'key' prop is placed before the spread prop in JSX elements.
3767
+ * Enforces that the 'key' prop is placed before the spread prop in JSX elements when using the new JSX transform (automatic runtime).
3678
3768
  * @see https://eslint-react.xyz/docs/rules/jsx-key-before-spread
3679
3769
  */
3680
3770
  'react/jsx-key-before-spread'?: Linter.RuleEntry<[]>;
3681
3771
  /**
3682
- * Prevents comments from being inserted as text nodes.
3772
+ * Prevents comment strings (e.g., beginning with '//' or '/*') from being accidentally inserted into a JSX element's text nodes.
3683
3773
  * @see https://eslint-react.xyz/docs/rules/jsx-no-comment-textnodes
3684
3774
  */
3685
3775
  'react/jsx-no-comment-textnodes'?: Linter.RuleEntry<[]>;
3686
3776
  /**
3687
- * Disallow duplicate props in JSX elements.
3777
+ * Disallows duplicate props in JSX elements.
3688
3778
  * @see https://eslint-react.xyz/docs/rules/jsx-no-duplicate-props
3689
3779
  */
3690
3780
  'react/jsx-no-duplicate-props'?: Linter.RuleEntry<[]>;
3691
3781
  /**
3692
- * Disallows 'IIFE' in JSX elements.
3782
+ * Disallows 'IIFE' in JSX.
3693
3783
  * @see https://eslint-react.xyz/docs/rules/jsx-no-iife
3694
3784
  */
3695
3785
  'react/jsx-no-iife'?: Linter.RuleEntry<[]>;
3696
3786
  /**
3697
- * Disallow undefined variables in JSX.
3787
+ * Prevents using variables in JSX that are not defined in the scope.
3698
3788
  * @see https://eslint-react.xyz/docs/rules/jsx-no-undef
3699
3789
  */
3700
3790
  'react/jsx-no-undef'?: Linter.RuleEntry<[]>;
3701
3791
  /**
3702
- * Enforces shorthand syntax for boolean attributes.
3792
+ * Enforces the use of shorthand syntax for boolean attributes.
3703
3793
  * @see https://eslint-react.xyz/docs/rules/jsx-shorthand-boolean
3704
3794
  */
3705
3795
  'react/jsx-shorthand-boolean'?: Linter.RuleEntry<ReactJsxShorthandBoolean>;
3706
3796
  /**
3707
- * Enforces shorthand syntax for fragments.
3797
+ * Enforces the use of shorthand syntax for fragments.
3708
3798
  * @see https://eslint-react.xyz/docs/rules/jsx-shorthand-fragment
3709
3799
  */
3710
3800
  'react/jsx-shorthand-fragment'?: Linter.RuleEntry<ReactJsxShorthandFragment>;
3711
3801
  /**
3712
- * Marks React variables as used when JSX is used.
3802
+ * Marks React variables as used when JSX is present.
3713
3803
  * @see https://eslint-react.xyz/docs/rules/jsx-uses-react
3714
3804
  */
3715
3805
  'react/jsx-uses-react'?: Linter.RuleEntry<[]>;
@@ -3719,107 +3809,108 @@ interface RuleOptions {
3719
3809
  */
3720
3810
  'react/jsx-uses-vars'?: Linter.RuleEntry<[]>;
3721
3811
  /**
3722
- * Disallow accessing `this.state` inside `setState` calls.
3812
+ * Disallows accessing 'this.state' inside 'setState' calls.
3723
3813
  * @see https://eslint-react.xyz/docs/rules/no-access-state-in-setstate
3724
3814
  */
3725
3815
  'react/no-access-state-in-setstate'?: Linter.RuleEntry<[]>;
3726
3816
  /**
3727
- * Disallow an item's index in the array as its key.
3817
+ * Disallows using an item's index in the array as its key.
3728
3818
  * @see https://eslint-react.xyz/docs/rules/no-array-index-key
3729
3819
  */
3730
3820
  'react/no-array-index-key'?: Linter.RuleEntry<[]>;
3731
3821
  /**
3732
- * Disallow `Children.count`.
3822
+ * Disallows the use of 'Children.count' from the 'react' package.
3733
3823
  * @see https://eslint-react.xyz/docs/rules/no-children-count
3734
3824
  */
3735
3825
  'react/no-children-count'?: Linter.RuleEntry<[]>;
3736
3826
  /**
3737
- * Disallow 'Children.forEach'.
3827
+ * Disallows the use of 'Children.forEach' from the 'react' package.
3738
3828
  * @see https://eslint-react.xyz/docs/rules/no-children-for-each
3739
3829
  */
3740
3830
  'react/no-children-for-each'?: Linter.RuleEntry<[]>;
3741
3831
  /**
3742
- * Disallow `Children.map`.
3832
+ * Disallows the use of 'Children.map' from the 'react' package.
3743
3833
  * @see https://eslint-react.xyz/docs/rules/no-children-map
3744
3834
  */
3745
3835
  'react/no-children-map'?: Linter.RuleEntry<[]>;
3746
3836
  /**
3747
- * Disallow `Children.only`.
3837
+ * Disallows the use of 'Children.only' from the 'react' package.
3748
3838
  * @see https://eslint-react.xyz/docs/rules/no-children-only
3749
3839
  */
3750
3840
  'react/no-children-only'?: Linter.RuleEntry<[]>;
3751
3841
  /**
3752
- * Disallow passing `children` as a prop.
3842
+ * Disallows passing 'children' as a prop.
3753
3843
  * @see https://eslint-react.xyz/docs/rules/no-children-prop
3754
3844
  */
3755
3845
  'react/no-children-prop'?: Linter.RuleEntry<[]>;
3756
3846
  /**
3757
- * Disallow `Children.toArray`.
3847
+ * Disallows the use of 'Children.toArray' from the 'react' package.
3758
3848
  * @see https://eslint-react.xyz/docs/rules/no-children-to-array
3759
3849
  */
3760
3850
  'react/no-children-to-array'?: Linter.RuleEntry<[]>;
3761
3851
  /**
3762
- * Disallow class components except for error boundaries.
3852
+ * Disallows class components except for error boundaries.
3763
3853
  * @see https://eslint-react.xyz/docs/rules/no-class-component
3764
3854
  */
3765
3855
  'react/no-class-component'?: Linter.RuleEntry<[]>;
3766
3856
  /**
3767
- * Disallow `cloneElement`.
3857
+ * Disallows 'cloneElement'.
3768
3858
  * @see https://eslint-react.xyz/docs/rules/no-clone-element
3769
3859
  */
3770
3860
  'react/no-clone-element'?: Linter.RuleEntry<[]>;
3771
3861
  /**
3772
- * Replace usages of `componentWillMount` with `UNSAFE_componentWillMount`.
3862
+ * Replaces usage of 'componentWillMount' with 'UNSAFE_componentWillMount'.
3773
3863
  * @see https://eslint-react.xyz/docs/rules/no-component-will-mount
3774
3864
  */
3775
3865
  'react/no-component-will-mount'?: Linter.RuleEntry<[]>;
3776
3866
  /**
3777
- * Replace usages of `componentWillReceiveProps` with `UNSAFE_componentWillReceiveProps`.
3867
+ * Replaces usage of 'componentWillReceiveProps' with 'UNSAFE_componentWillReceiveProps'.
3778
3868
  * @see https://eslint-react.xyz/docs/rules/no-component-will-receive-props
3779
3869
  */
3780
3870
  'react/no-component-will-receive-props'?: Linter.RuleEntry<[]>;
3781
3871
  /**
3782
- * Replace usages of `componentWillUpdate` with `UNSAFE_componentWillUpdate`.
3872
+ * Replaces usage of 'componentWillUpdate' with 'UNSAFE_componentWillUpdate'.
3783
3873
  * @see https://eslint-react.xyz/docs/rules/no-component-will-update
3784
3874
  */
3785
3875
  'react/no-component-will-update'?: Linter.RuleEntry<[]>;
3786
3876
  /**
3787
- * Replace usages of `<Context.Provider>` with `<Context>`.
3877
+ * Replaces usage of '<Context.Provider>' with '<Context>'.
3788
3878
  * @see https://eslint-react.xyz/docs/rules/no-context-provider
3789
3879
  */
3790
3880
  'react/no-context-provider'?: Linter.RuleEntry<[]>;
3791
3881
  /**
3792
- * Disallow `createRef` in function components.
3882
+ * Disallows 'createRef' in function components.
3793
3883
  * @see https://eslint-react.xyz/docs/rules/no-create-ref
3794
3884
  */
3795
3885
  'react/no-create-ref'?: Linter.RuleEntry<[]>;
3796
3886
  /**
3797
- * Disallow `defaultProps` property in favor of ES6 default parameters.
3887
+ * Disallows the 'defaultProps' property in favor of ES6 default parameters.
3798
3888
  * @see https://eslint-react.xyz/docs/rules/no-default-props
3799
3889
  */
3800
3890
  'react/no-default-props'?: Linter.RuleEntry<[]>;
3801
3891
  /**
3802
- * Disallow direct mutation of `this.state`.
3892
+ * Disallows direct mutation of 'this.state'.
3803
3893
  * @see https://eslint-react.xyz/docs/rules/no-direct-mutation-state
3804
3894
  */
3805
3895
  'react/no-direct-mutation-state'?: Linter.RuleEntry<[]>;
3806
3896
  /**
3807
- * Disallow duplicate `key` on elements in the same array or a list of `children`.
3897
+ * Disallows duplicate 'key' on elements in the same array or a list of 'children'.
3808
3898
  * @see https://eslint-react.xyz/docs/rules/no-duplicate-key
3809
3899
  */
3810
3900
  'react/no-duplicate-key'?: Linter.RuleEntry<[]>;
3811
3901
  /**
3812
- * Disallow certain props on components.
3902
+ * Disallows certain props on components.
3813
3903
  * @see https://eslint-react.xyz/docs/rules/no-forbidden-props
3904
+ * @deprecated
3814
3905
  */
3815
3906
  'react/no-forbidden-props'?: Linter.RuleEntry<ReactNoForbiddenProps>;
3816
3907
  /**
3817
- * Replaces usages of `forwardRef` with passing `ref` as a prop.
3908
+ * Replaces usage of 'forwardRef' with passing 'ref' as a prop.
3818
3909
  * @see https://eslint-react.xyz/docs/rules/no-forward-ref
3819
3910
  */
3820
3911
  'react/no-forward-ref'?: Linter.RuleEntry<[]>;
3821
3912
  /**
3822
- * Prevents `key` from not being explicitly specified (e.g. spreading `key` from objects).
3913
+ * Prevents 'key' from not being explicitly specified (e.g., spreading 'key' from objects).
3823
3914
  * @see https://eslint-react.xyz/docs/rules/no-implicit-key
3824
3915
  */
3825
3916
  'react/no-implicit-key'?: Linter.RuleEntry<[]>;
@@ -3829,57 +3920,57 @@ interface RuleOptions {
3829
3920
  */
3830
3921
  'react/no-leaked-conditional-rendering'?: Linter.RuleEntry<[]>;
3831
3922
  /**
3832
- * Enforces that all components have a `displayName` which can be used in devtools.
3923
+ * Enforces that all components have a 'displayName' that can be used in devtools.
3833
3924
  * @see https://eslint-react.xyz/docs/rules/no-missing-component-display-name
3834
3925
  */
3835
3926
  'react/no-missing-component-display-name'?: Linter.RuleEntry<[]>;
3836
3927
  /**
3837
- * Enforces that all contexts have a `displayName` which can be used in devtools.
3928
+ * Enforces that all contexts have a 'displayName' that can be used in devtools.
3838
3929
  * @see https://eslint-react.xyz/docs/rules/no-missing-context-display-name
3839
3930
  */
3840
3931
  'react/no-missing-context-display-name'?: Linter.RuleEntry<[]>;
3841
3932
  /**
3842
- * Disallow missing `key` on items in list rendering.
3933
+ * Disallows missing 'key' on items in list rendering.
3843
3934
  * @see https://eslint-react.xyz/docs/rules/no-missing-key
3844
3935
  */
3845
3936
  'react/no-missing-key'?: Linter.RuleEntry<[]>;
3846
3937
  /**
3847
- * Prevents incorrect usage of `captureOwnerStack`.
3938
+ * Prevents incorrect usage of 'captureOwnerStack'.
3848
3939
  * @see https://eslint-react.xyz/docs/rules/no-misused-capture-owner-stack
3849
3940
  */
3850
3941
  'react/no-misused-capture-owner-stack'?: Linter.RuleEntry<[]>;
3851
3942
  /**
3852
- * Disallow nesting component definitions inside other components.
3943
+ * Disallows nesting component definitions inside other components.
3853
3944
  * @see https://eslint-react.xyz/docs/rules/no-nested-component-definitions
3854
3945
  */
3855
3946
  'react/no-nested-component-definitions'?: Linter.RuleEntry<[]>;
3856
3947
  /**
3857
- * Disallow nesting lazy component declarations inside other components.
3948
+ * Disallows nesting lazy component declarations inside other components.
3858
3949
  * @see https://eslint-react.xyz/docs/rules/no-nested-lazy-component-declarations
3859
3950
  */
3860
3951
  'react/no-nested-lazy-component-declarations'?: Linter.RuleEntry<[]>;
3861
3952
  /**
3862
- * Disallow `propTypes` in favor of TypeScript or another type-checking solution.
3953
+ * Disallows 'propTypes' in favor of TypeScript or another type-checking solution.
3863
3954
  * @see https://eslint-react.xyz/docs/rules/no-prop-types
3864
3955
  */
3865
3956
  'react/no-prop-types'?: Linter.RuleEntry<[]>;
3866
3957
  /**
3867
- * Disallow `shouldComponentUpdate` when extending `React.PureComponent`.
3958
+ * Disallows 'shouldComponentUpdate' when extending 'React.PureComponent'.
3868
3959
  * @see https://eslint-react.xyz/docs/rules/no-redundant-should-component-update
3869
3960
  */
3870
3961
  'react/no-redundant-should-component-update'?: Linter.RuleEntry<[]>;
3871
3962
  /**
3872
- * Disallow calling `this.setState` in `componentDidMount` outside of functions, such as callbacks.
3963
+ * Disallows calling 'this.setState' in 'componentDidMount' outside functions such as callbacks.
3873
3964
  * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-mount
3874
3965
  */
3875
3966
  'react/no-set-state-in-component-did-mount'?: Linter.RuleEntry<[]>;
3876
3967
  /**
3877
- * Disallow calling `this.setState` in `componentDidUpdate` outside of functions, such as callbacks.
3968
+ * Disallows calling 'this.setState' in 'componentDidUpdate' outside functions such as callbacks.
3878
3969
  * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-update
3879
3970
  */
3880
3971
  'react/no-set-state-in-component-did-update'?: Linter.RuleEntry<[]>;
3881
3972
  /**
3882
- * Disallow calling `this.setState` in `componentWillUpdate` outside of functions, such as callbacks.
3973
+ * Disallows calling 'this.setState' in 'componentWillUpdate' outside functions such as callbacks.
3883
3974
  * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-will-update
3884
3975
  */
3885
3976
  'react/no-set-state-in-component-will-update'?: Linter.RuleEntry<[]>;
@@ -3889,42 +3980,42 @@ interface RuleOptions {
3889
3980
  */
3890
3981
  'react/no-string-refs'?: Linter.RuleEntry<[]>;
3891
3982
  /**
3892
- * Prevents the use of unnecessary `key` props on JSX elements when rendering lists.
3983
+ * Prevents 'key' from being placed on non-top-level elements in list rendering.
3893
3984
  * @see https://eslint-react.xyz/docs/rules/no-unnecessary-key
3894
3985
  */
3895
3986
  'react/no-unnecessary-key'?: Linter.RuleEntry<[]>;
3896
3987
  /**
3897
- * Disallow unnecessary usage of `useCallback`.
3988
+ * Disallows unnecessary usage of 'useCallback'.
3898
3989
  * @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-callback
3899
3990
  */
3900
3991
  'react/no-unnecessary-use-callback'?: Linter.RuleEntry<[]>;
3901
3992
  /**
3902
- * Disallow unnecessary usage of `useMemo`.
3993
+ * Disallows unnecessary usage of 'useMemo'.
3903
3994
  * @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-memo
3904
3995
  */
3905
3996
  'react/no-unnecessary-use-memo'?: Linter.RuleEntry<[]>;
3906
3997
  /**
3907
- * Enforces that a function with the `use` prefix should use at least one Hook inside of it.
3998
+ * Enforces that a function with the 'use' prefix uses at least one Hook inside it.
3908
3999
  * @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-prefix
3909
4000
  */
3910
4001
  'react/no-unnecessary-use-prefix'?: Linter.RuleEntry<[]>;
3911
4002
  /**
3912
- * Warns the usage of `UNSAFE_componentWillMount` in class components.
4003
+ * Warns about the use of 'UNSAFE_componentWillMount' in class components.
3913
4004
  * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-mount
3914
4005
  */
3915
4006
  'react/no-unsafe-component-will-mount'?: Linter.RuleEntry<[]>;
3916
4007
  /**
3917
- * Warns the usage of `UNSAFE_componentWillReceiveProps` in class components.
4008
+ * Warns about the use of 'UNSAFE_componentWillReceiveProps' in class components.
3918
4009
  * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-receive-props
3919
4010
  */
3920
4011
  'react/no-unsafe-component-will-receive-props'?: Linter.RuleEntry<[]>;
3921
4012
  /**
3922
- * Warns the usage of `UNSAFE_componentWillUpdate` in class components.
4013
+ * Warns about the use of 'UNSAFE_componentWillUpdate' in class components.
3923
4014
  * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-update
3924
4015
  */
3925
4016
  'react/no-unsafe-component-will-update'?: Linter.RuleEntry<[]>;
3926
4017
  /**
3927
- * Prevents non-stable values (i.e. object literals) from being used as a value for `Context.Provider`.
4018
+ * Prevents non-stable values (i.e., object literals) from being used as a value for 'Context.Provider'.
3928
4019
  * @see https://eslint-react.xyz/docs/rules/no-unstable-context-value
3929
4020
  */
3930
4021
  'react/no-unstable-context-value'?: Linter.RuleEntry<[]>;
@@ -3932,34 +4023,34 @@ interface RuleOptions {
3932
4023
  * Prevents using referential-type values as default props in object destructuring.
3933
4024
  * @see https://eslint-react.xyz/docs/rules/no-unstable-default-props
3934
4025
  */
3935
- 'react/no-unstable-default-props'?: Linter.RuleEntry<[]>;
4026
+ 'react/no-unstable-default-props'?: Linter.RuleEntry<ReactNoUnstableDefaultProps>;
3936
4027
  /**
3937
- * Warns unused class component methods and properties.
4028
+ * Warns about unused class component methods and properties.
3938
4029
  * @see https://eslint-react.xyz/docs/rules/no-unused-class-component-members
3939
4030
  */
3940
4031
  'react/no-unused-class-component-members'?: Linter.RuleEntry<[]>;
3941
4032
  /**
3942
- * Warns component props that are defined but never used.
4033
+ * Warns about component props that are defined but never used.
3943
4034
  * @see https://eslint-react.xyz/docs/rules/no-unused-props
3944
4035
  */
3945
4036
  'react/no-unused-props'?: Linter.RuleEntry<[]>;
3946
4037
  /**
3947
- * Warns unused class component state.
4038
+ * Warns about unused class component state.
3948
4039
  * @see https://eslint-react.xyz/docs/rules/no-unused-state
3949
4040
  */
3950
4041
  'react/no-unused-state'?: Linter.RuleEntry<[]>;
3951
4042
  /**
3952
- * Replaces usages of `useContext` with `use`.
4043
+ * Replaces usage of 'useContext' with 'use'.
3953
4044
  * @see https://eslint-react.xyz/docs/rules/no-use-context
3954
4045
  */
3955
4046
  'react/no-use-context'?: Linter.RuleEntry<[]>;
3956
4047
  /**
3957
- * Disallow useless `forwardRef` calls on components that don't use `ref`s.
4048
+ * Disallows useless 'forwardRef' calls on components that don't use 'ref's.
3958
4049
  * @see https://eslint-react.xyz/docs/rules/no-useless-forward-ref
3959
4050
  */
3960
4051
  'react/no-useless-forward-ref'?: Linter.RuleEntry<[]>;
3961
4052
  /**
3962
- * Disallow useless fragment elements.
4053
+ * Disallows useless fragment elements.
3963
4054
  * @see https://eslint-react.xyz/docs/rules/no-useless-fragment
3964
4055
  */
3965
4056
  'react/no-useless-fragment'?: Linter.RuleEntry<ReactNoUselessFragment>;
@@ -3969,7 +4060,7 @@ interface RuleOptions {
3969
4060
  */
3970
4061
  'react/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>;
3971
4062
  /**
3972
- * Enforces React is imported via a namespace import.
4063
+ * Enforces importing React via a namespace import.
3973
4064
  * @see https://eslint-react.xyz/docs/rules/prefer-namespace-import
3974
4065
  */
3975
4066
  'react/prefer-namespace-import'?: Linter.RuleEntry<[]>;
@@ -3979,7 +4070,7 @@ interface RuleOptions {
3979
4070
  */
3980
4071
  'react/prefer-read-only-props'?: Linter.RuleEntry<[]>;
3981
4072
  /**
3982
- * Enforces function calls made inside `useState` to be wrapped in an `initializer function`.
4073
+ * Enforces wrapping function calls made inside 'useState' in an 'initializer function'.
3983
4074
  * @see https://eslint-react.xyz/docs/rules/prefer-use-state-lazy-initialization
3984
4075
  */
3985
4076
  'react/prefer-use-state-lazy-initialization'?: Linter.RuleEntry<[]>;
@@ -4698,6 +4789,7 @@ interface RuleOptions {
4698
4789
  /**
4699
4790
  * Enforce props alphabetical sorting
4700
4791
  * @see https://eslint.style/rules/jsx-sort-props
4792
+ * @deprecated
4701
4793
  */
4702
4794
  'style/jsx-sort-props'?: Linter.RuleEntry<StyleJsxSortProps>;
4703
4795
  /**
@@ -4986,46 +5078,6 @@ interface RuleOptions {
4986
5078
  * @see https://eslint.org/docs/latest/rules/symbol-description
4987
5079
  */
4988
5080
  'symbol-description'?: Linter.RuleEntry<[]>;
4989
- /**
4990
- * Enforce a consistent and logical order of the Tailwind CSS classnames
4991
- * @see https://github.com/francoismassart/eslint-plugin-tailwindcss/tree/master/docs/rules/classnames-order.md
4992
- */
4993
- 'tailwindcss/classnames-order'?: Linter.RuleEntry<TailwindcssClassnamesOrder>;
4994
- /**
4995
- * Warns about dash prefixed classnames using arbitrary values
4996
- * @see https://github.com/francoismassart/eslint-plugin-tailwindcss/tree/master/docs/rules/enforces-negative-arbitrary-values.md
4997
- */
4998
- 'tailwindcss/enforces-negative-arbitrary-values'?: Linter.RuleEntry<TailwindcssEnforcesNegativeArbitraryValues>;
4999
- /**
5000
- * Enforces the usage of shorthand Tailwind CSS classnames
5001
- * @see https://github.com/francoismassart/eslint-plugin-tailwindcss/tree/master/docs/rules/enforces-shorthand.md
5002
- */
5003
- 'tailwindcss/enforces-shorthand'?: Linter.RuleEntry<TailwindcssEnforcesShorthand>;
5004
- /**
5005
- * Detect obsolete classnames when upgrading to Tailwind CSS v3
5006
- * @see https://github.com/francoismassart/eslint-plugin-tailwindcss/tree/master/docs/rules/migration-from-tailwind-2.md
5007
- */
5008
- 'tailwindcss/migration-from-tailwind-2'?: Linter.RuleEntry<TailwindcssMigrationFromTailwind2>;
5009
- /**
5010
- * Forbid using arbitrary values in classnames
5011
- * @see https://github.com/francoismassart/eslint-plugin-tailwindcss/tree/master/docs/rules/no-arbitrary-value.md
5012
- */
5013
- 'tailwindcss/no-arbitrary-value'?: Linter.RuleEntry<TailwindcssNoArbitraryValue>;
5014
- /**
5015
- * Avoid contradicting Tailwind CSS classnames (e.g. "w-3 w-5")
5016
- * @see https://github.com/francoismassart/eslint-plugin-tailwindcss/tree/master/docs/rules/no-contradicting-classname.md
5017
- */
5018
- 'tailwindcss/no-contradicting-classname'?: Linter.RuleEntry<TailwindcssNoContradictingClassname>;
5019
- /**
5020
- * Detect classnames which do not belong to Tailwind CSS
5021
- * @see https://github.com/francoismassart/eslint-plugin-tailwindcss/tree/master/docs/rules/no-custom-classname.md
5022
- */
5023
- 'tailwindcss/no-custom-classname'?: Linter.RuleEntry<TailwindcssNoCustomClassname>;
5024
- /**
5025
- * Forbid using arbitrary values in classnames when an equivalent preset exists
5026
- * @see https://github.com/francoismassart/eslint-plugin-tailwindcss/tree/master/docs/rules/no-unnecessary-arbitrary-value.md
5027
- */
5028
- 'tailwindcss/no-unnecessary-arbitrary-value'?: Linter.RuleEntry<TailwindcssNoUnnecessaryArbitraryValue>;
5029
5081
  /**
5030
5082
  * Require or disallow spacing around embedded expressions of template strings
5031
5083
  * @see https://eslint.org/docs/latest/rules/template-curly-spacing
@@ -5038,6 +5090,11 @@ interface RuleOptions {
5038
5090
  * @deprecated
5039
5091
  */
5040
5092
  'template-tag-spacing'?: Linter.RuleEntry<TemplateTagSpacing>;
5093
+ /**
5094
+ * enforce using `.each` or `.for` consistently
5095
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-each-for.md
5096
+ */
5097
+ 'test/consistent-each-for'?: Linter.RuleEntry<TestConsistentEachFor>;
5041
5098
  /**
5042
5099
  * require test file pattern
5043
5100
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-filename.md
@@ -5087,7 +5144,7 @@ interface RuleOptions {
5087
5144
  * disallow conditional expects
5088
5145
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-conditional-expect.md
5089
5146
  */
5090
- 'test/no-conditional-expect'?: Linter.RuleEntry<[]>;
5147
+ 'test/no-conditional-expect'?: Linter.RuleEntry<TestNoConditionalExpect>;
5091
5148
  /**
5092
5149
  * disallow conditional tests
5093
5150
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-conditional-in-test.md
@@ -5179,6 +5236,11 @@ interface RuleOptions {
5179
5236
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-test-return-statement.md
5180
5237
  */
5181
5238
  'test/no-test-return-statement'?: Linter.RuleEntry<[]>;
5239
+ /**
5240
+ * Disallow unnecessary async function wrapper for expected promises
5241
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-unneeded-async-expect-function.md
5242
+ */
5243
+ 'test/no-unneeded-async-expect-function'?: Linter.RuleEntry<[]>;
5182
5244
  /**
5183
5245
  * Enforce padding around `afterAll` blocks
5184
5246
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-after-all-blocks.md
@@ -5255,7 +5317,7 @@ interface RuleOptions {
5255
5317
  */
5256
5318
  'test/prefer-each'?: Linter.RuleEntry<[]>;
5257
5319
  /**
5258
- * enforce using the built-in quality matchers
5320
+ * enforce using the built-in equality matchers
5259
5321
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-equality-matcher.md
5260
5322
  */
5261
5323
  'test/prefer-equality-matcher'?: Linter.RuleEntry<[]>;
@@ -5288,7 +5350,7 @@ interface RuleOptions {
5288
5350
  * prefer dynamic import in mock
5289
5351
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-import-in-mock.md
5290
5352
  */
5291
- 'test/prefer-import-in-mock'?: Linter.RuleEntry<[]>;
5353
+ 'test/prefer-import-in-mock'?: Linter.RuleEntry<TestPreferImportInMock>;
5292
5354
  /**
5293
5355
  * enforce importing Vitest globals
5294
5356
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-importing-vitest-globals.md
@@ -5304,6 +5366,11 @@ interface RuleOptions {
5304
5366
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-mock-promise-shorthand.md
5305
5367
  */
5306
5368
  'test/prefer-mock-promise-shorthand'?: Linter.RuleEntry<[]>;
5369
+ /**
5370
+ * Prefer mock return shorthands
5371
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-mock-return-shorthand.md
5372
+ */
5373
+ 'test/prefer-mock-return-shorthand'?: Linter.RuleEntry<[]>;
5307
5374
  /**
5308
5375
  * enforce including a hint with external snapshots
5309
5376
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-snapshot-hint.md
@@ -5349,6 +5416,11 @@ interface RuleOptions {
5349
5416
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-contain.md
5350
5417
  */
5351
5418
  'test/prefer-to-contain'?: Linter.RuleEntry<[]>;
5419
+ /**
5420
+ * Suggest using `toHaveBeenCalledTimes()`
5421
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-have-been-called-times.md
5422
+ */
5423
+ 'test/prefer-to-have-been-called-times'?: Linter.RuleEntry<[]>;
5352
5424
  /**
5353
5425
  * enforce using toHaveLength()
5354
5426
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-have-length.md
@@ -5364,6 +5436,11 @@ interface RuleOptions {
5364
5436
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-vi-mocked.md
5365
5437
  */
5366
5438
  'test/prefer-vi-mocked'?: Linter.RuleEntry<[]>;
5439
+ /**
5440
+ * ensure that every `expect.poll` call is awaited
5441
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-awaited-expect-poll.md
5442
+ */
5443
+ 'test/require-awaited-expect-poll'?: Linter.RuleEntry<[]>;
5367
5444
  /**
5368
5445
  * require setup and teardown to be within a hook
5369
5446
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-hook.md
@@ -5379,6 +5456,11 @@ interface RuleOptions {
5379
5456
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-mock-type-parameters.md
5380
5457
  */
5381
5458
  'test/require-mock-type-parameters'?: Linter.RuleEntry<TestRequireMockTypeParameters>;
5459
+ /**
5460
+ * require tests to declare a timeout
5461
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-test-timeout.md
5462
+ */
5463
+ 'test/require-test-timeout'?: Linter.RuleEntry<[]>;
5382
5464
  /**
5383
5465
  * require toThrow() to be called with an error message
5384
5466
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-to-throw-message.md
@@ -5968,6 +6050,11 @@ interface RuleOptions {
5968
6050
  * @see https://typescript-eslint.io/rules/no-unused-expressions
5969
6051
  */
5970
6052
  'ts/no-unused-expressions'?: Linter.RuleEntry<TsNoUnusedExpressions>;
6053
+ /**
6054
+ * Disallow unused private class members
6055
+ * @see https://typescript-eslint.io/rules/no-unused-private-class-members
6056
+ */
6057
+ 'ts/no-unused-private-class-members'?: Linter.RuleEntry<[]>;
5971
6058
  /**
5972
6059
  * Disallow unused variables
5973
6060
  * @see https://typescript-eslint.io/rules/no-unused-vars
@@ -5983,6 +6070,11 @@ interface RuleOptions {
5983
6070
  * @see https://typescript-eslint.io/rules/no-useless-constructor
5984
6071
  */
5985
6072
  'ts/no-useless-constructor'?: Linter.RuleEntry<[]>;
6073
+ /**
6074
+ * Disallow default values that will never be used
6075
+ * @see https://typescript-eslint.io/rules/no-useless-default-assignment
6076
+ */
6077
+ 'ts/no-useless-default-assignment'?: Linter.RuleEntry<[]>;
5986
6078
  /**
5987
6079
  * Disallow empty exports that don't change anything in a module file
5988
6080
  * @see https://typescript-eslint.io/rules/no-useless-empty-export
@@ -7415,6 +7507,11 @@ interface RuleOptions {
7415
7507
  * @see https://eslint.vuejs.org/rules/no-duplicate-attributes.html
7416
7508
  */
7417
7509
  'vue/no-duplicate-attributes'?: Linter.RuleEntry<VueNoDuplicateAttributes>;
7510
+ /**
7511
+ * disallow duplication of class names in class attributes
7512
+ * @see https://eslint.vuejs.org/rules/no-duplicate-class-names.html
7513
+ */
7514
+ 'vue/no-duplicate-class-names'?: Linter.RuleEntry<[]>;
7418
7515
  /**
7419
7516
  * disallow the `<template>` `<script>` `<style>` block to be empty
7420
7517
  * @see https://eslint.vuejs.org/rules/no-empty-component-block.html
@@ -8682,6 +8779,10 @@ type ImportNewlineAfterImport = [] | [{
8682
8779
  type ImportNoDuplicates = [] | [{
8683
8780
  "prefer-inline"?: boolean;
8684
8781
  }];
8782
+ // ----- import/prefer-default-export -----
8783
+ type ImportPreferDefaultExport = [] | [{
8784
+ target?: ("single" | "any");
8785
+ }];
8685
8786
  // ----- indent -----
8686
8787
  type Indent = [] | [("tab" | number)] | [("tab" | number), {
8687
8788
  SwitchCase?: number;
@@ -8774,6 +8875,7 @@ type JsdocCheckExamples = [] | [{
8774
8875
  }];
8775
8876
  // ----- jsdoc/check-indentation -----
8776
8877
  type JsdocCheckIndentation = [] | [{
8878
+ allowIndentedSections?: boolean;
8777
8879
  excludeTags?: string[];
8778
8880
  }];
8779
8881
  // ----- jsdoc/check-line-alignment -----
@@ -9042,6 +9144,7 @@ type JsdocRequireHyphenBeforeParamDescription = [] | [("always" | "never")] | [(
9042
9144
  }];
9043
9145
  // ----- jsdoc/require-jsdoc -----
9044
9146
  type JsdocRequireJsdoc = [] | [{
9147
+ checkAllFunctionExpressions?: boolean;
9045
9148
  checkConstructors?: boolean;
9046
9149
  checkGetters?: (boolean | "no-setter");
9047
9150
  checkSetters?: (boolean | "no-getter");
@@ -9120,6 +9223,14 @@ type JsdocRequireParamType = [] | [{
9120
9223
  defaultDestructuredRootType?: string;
9121
9224
  setDefaultDestructuredRootType?: boolean;
9122
9225
  }];
9226
+ // ----- jsdoc/require-rejects -----
9227
+ type JsdocRequireRejects = [] | [{
9228
+ contexts?: (string | {
9229
+ comment?: string;
9230
+ context?: string;
9231
+ })[];
9232
+ exemptedBy?: string[];
9233
+ }];
9123
9234
  // ----- jsdoc/require-returns -----
9124
9235
  type JsdocRequireReturns = [] | [{
9125
9236
  checkConstructors?: boolean;
@@ -9210,6 +9321,9 @@ type JsdocSortTags = [] | [{
9210
9321
  linesBetween?: number;
9211
9322
  reportIntraTagGroupSpacing?: boolean;
9212
9323
  reportTagGroupSpacing?: boolean;
9324
+ tagExceptions?: {
9325
+ [k: string]: number;
9326
+ };
9213
9327
  tagSequence?: {
9214
9328
  tags?: string[];
9215
9329
  }[];
@@ -10881,27 +10995,34 @@ type PaddingLineBetweenStatements = {
10881
10995
  // ----- perfectionist/sort-array-includes -----
10882
10996
  type PerfectionistSortArrayIncludes = {
10883
10997
  fallbackSort?: {
10998
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10884
10999
  order?: ("asc" | "desc");
10885
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10886
11000
  };
11001
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10887
11002
  specialCharacters?: ("remove" | "trim" | "keep");
10888
11003
  ignoreCase?: boolean;
10889
11004
  alphabet?: string;
10890
11005
  locales?: (string | string[]);
10891
11006
  order?: ("asc" | "desc");
10892
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10893
- groupKind?: ("mixed" | "literals-first" | "spreads-first");
10894
11007
  customGroups?: ({
10895
- newlinesInside?: (("always" | "never") | number);
10896
11008
  fallbackSort?: {
11009
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10897
11010
  order?: ("asc" | "desc");
10898
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10899
11011
  };
11012
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10900
11013
  groupName: string;
11014
+ newlinesInside?: ("ignore" | number);
10901
11015
  order?: ("asc" | "desc");
10902
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10903
- anyOf?: {
11016
+ anyOf: [{
11017
+ elementNamePattern?: (({
11018
+ pattern: string;
11019
+ flags?: string;
11020
+ } | string)[] | ({
11021
+ pattern: string;
11022
+ flags?: string;
11023
+ } | string));
10904
11024
  selector?: ("literal" | "spread");
11025
+ }, ...({
10905
11026
  elementNamePattern?: (({
10906
11027
  pattern: string;
10907
11028
  flags?: string;
@@ -10909,17 +11030,17 @@ type PerfectionistSortArrayIncludes = {
10909
11030
  pattern: string;
10910
11031
  flags?: string;
10911
11032
  } | string));
10912
- }[];
11033
+ selector?: ("literal" | "spread");
11034
+ })[]];
10913
11035
  } | {
10914
- newlinesInside?: (("always" | "never") | number);
10915
11036
  fallbackSort?: {
11037
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10916
11038
  order?: ("asc" | "desc");
10917
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10918
11039
  };
11040
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10919
11041
  groupName: string;
11042
+ newlinesInside?: ("ignore" | number);
10920
11043
  order?: ("asc" | "desc");
10921
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10922
- selector?: ("literal" | "spread");
10923
11044
  elementNamePattern?: (({
10924
11045
  pattern: string;
10925
11046
  flags?: string;
@@ -10927,7 +11048,23 @@ type PerfectionistSortArrayIncludes = {
10927
11048
  pattern: string;
10928
11049
  flags?: string;
10929
11050
  } | string));
11051
+ selector?: ("literal" | "spread");
11052
+ })[];
11053
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
11054
+ groups?: (string | [string, ...(string)[]] | {
11055
+ newlinesBetween: ("ignore" | number);
11056
+ } | {
11057
+ group: (string | [string, ...(string)[]]);
11058
+ fallbackSort?: {
11059
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11060
+ order?: ("asc" | "desc");
11061
+ };
11062
+ commentAbove?: string;
11063
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11064
+ newlinesInside?: ("ignore" | number);
11065
+ order?: ("asc" | "desc");
10930
11066
  })[];
11067
+ newlinesBetween?: ("ignore" | number);
10931
11068
  useConfigurationIf?: {
10932
11069
  allNamesMatchPattern?: (({
10933
11070
  pattern: string;
@@ -10960,34 +11097,36 @@ type PerfectionistSortArrayIncludes = {
10960
11097
  } | string)));
10961
11098
  });
10962
11099
  partitionByNewLine?: boolean;
10963
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10964
- groups?: (string | string[] | {
10965
- newlinesBetween?: (("ignore" | "always" | "never") | number);
10966
- commentAbove?: string;
10967
- })[];
10968
11100
  }[];
10969
11101
  // ----- perfectionist/sort-classes -----
10970
11102
  type PerfectionistSortClasses = [] | [{
10971
11103
  fallbackSort?: {
11104
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10972
11105
  order?: ("asc" | "desc");
10973
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10974
11106
  };
11107
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10975
11108
  specialCharacters?: ("remove" | "trim" | "keep");
10976
11109
  ignoreCase?: boolean;
10977
11110
  alphabet?: string;
10978
11111
  locales?: (string | string[]);
10979
11112
  order?: ("asc" | "desc");
10980
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10981
11113
  customGroups?: ({
10982
- newlinesInside?: (("always" | "never") | number);
10983
11114
  fallbackSort?: {
11115
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10984
11116
  order?: ("asc" | "desc");
10985
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10986
11117
  };
11118
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
10987
11119
  groupName: string;
11120
+ newlinesInside?: ("ignore" | number);
10988
11121
  order?: ("asc" | "desc");
10989
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
10990
- anyOf?: {
11122
+ anyOf: [{
11123
+ elementNamePattern?: (({
11124
+ pattern: string;
11125
+ flags?: string;
11126
+ } | string)[] | ({
11127
+ pattern: string;
11128
+ flags?: string;
11129
+ } | string));
10991
11130
  modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
10992
11131
  selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
10993
11132
  decoratorNamePattern?: (({
@@ -11004,6 +11143,7 @@ type PerfectionistSortClasses = [] | [{
11004
11143
  pattern: string;
11005
11144
  flags?: string;
11006
11145
  } | string));
11146
+ }, ...({
11007
11147
  elementNamePattern?: (({
11008
11148
  pattern: string;
11009
11149
  flags?: string;
@@ -11011,33 +11151,49 @@ type PerfectionistSortClasses = [] | [{
11011
11151
  pattern: string;
11012
11152
  flags?: string;
11013
11153
  } | string));
11014
- }[];
11154
+ modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
11155
+ selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
11156
+ decoratorNamePattern?: (({
11157
+ pattern: string;
11158
+ flags?: string;
11159
+ } | string)[] | ({
11160
+ pattern: string;
11161
+ flags?: string;
11162
+ } | string));
11163
+ elementValuePattern?: (({
11164
+ pattern: string;
11165
+ flags?: string;
11166
+ } | string)[] | ({
11167
+ pattern: string;
11168
+ flags?: string;
11169
+ } | string));
11170
+ })[]];
11015
11171
  } | {
11016
- newlinesInside?: (("always" | "never") | number);
11017
11172
  fallbackSort?: {
11173
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11018
11174
  order?: ("asc" | "desc");
11019
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11020
11175
  };
11176
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11021
11177
  groupName: string;
11178
+ newlinesInside?: ("ignore" | number);
11022
11179
  order?: ("asc" | "desc");
11023
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11024
- modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
11025
- selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
11026
- decoratorNamePattern?: (({
11180
+ elementNamePattern?: (({
11027
11181
  pattern: string;
11028
11182
  flags?: string;
11029
11183
  } | string)[] | ({
11030
11184
  pattern: string;
11031
11185
  flags?: string;
11032
11186
  } | string));
11033
- elementValuePattern?: (({
11187
+ modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
11188
+ selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
11189
+ decoratorNamePattern?: (({
11034
11190
  pattern: string;
11035
11191
  flags?: string;
11036
11192
  } | string)[] | ({
11037
11193
  pattern: string;
11038
11194
  flags?: string;
11039
11195
  } | string));
11040
- elementNamePattern?: (({
11196
+ elementValuePattern?: (({
11041
11197
  pattern: string;
11042
11198
  flags?: string;
11043
11199
  } | string)[] | ({
@@ -11045,6 +11201,21 @@ type PerfectionistSortClasses = [] | [{
11045
11201
  flags?: string;
11046
11202
  } | string));
11047
11203
  })[];
11204
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
11205
+ groups?: (string | [string, ...(string)[]] | {
11206
+ newlinesBetween: ("ignore" | number);
11207
+ } | {
11208
+ group: (string | [string, ...(string)[]]);
11209
+ fallbackSort?: {
11210
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11211
+ order?: ("asc" | "desc");
11212
+ };
11213
+ commentAbove?: string;
11214
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11215
+ newlinesInside?: ("ignore" | number);
11216
+ order?: ("asc" | "desc");
11217
+ })[];
11218
+ newlinesBetween?: ("ignore" | number);
11048
11219
  ignoreCallbackDependenciesPatterns?: (({
11049
11220
  pattern: string;
11050
11221
  flags?: string;
@@ -11075,24 +11246,77 @@ type PerfectionistSortClasses = [] | [{
11075
11246
  } | string)));
11076
11247
  });
11077
11248
  partitionByNewLine?: boolean;
11078
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11079
- groups?: (string | string[] | {
11080
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11081
- commentAbove?: string;
11082
- })[];
11083
11249
  }];
11084
11250
  // ----- perfectionist/sort-decorators -----
11085
- type PerfectionistSortDecorators = [] | [{
11251
+ type PerfectionistSortDecorators = {
11086
11252
  fallbackSort?: {
11253
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11087
11254
  order?: ("asc" | "desc");
11088
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11089
11255
  };
11256
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11090
11257
  specialCharacters?: ("remove" | "trim" | "keep");
11091
11258
  ignoreCase?: boolean;
11092
11259
  alphabet?: string;
11093
11260
  locales?: (string | string[]);
11094
11261
  order?: ("asc" | "desc");
11095
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11262
+ customGroups?: ({
11263
+ fallbackSort?: {
11264
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11265
+ order?: ("asc" | "desc");
11266
+ };
11267
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11268
+ groupName: string;
11269
+ newlinesInside?: ("ignore" | number);
11270
+ order?: ("asc" | "desc");
11271
+ anyOf: [{
11272
+ elementNamePattern?: (({
11273
+ pattern: string;
11274
+ flags?: string;
11275
+ } | string)[] | ({
11276
+ pattern: string;
11277
+ flags?: string;
11278
+ } | string));
11279
+ }, ...({
11280
+ elementNamePattern?: (({
11281
+ pattern: string;
11282
+ flags?: string;
11283
+ } | string)[] | ({
11284
+ pattern: string;
11285
+ flags?: string;
11286
+ } | string));
11287
+ })[]];
11288
+ } | {
11289
+ fallbackSort?: {
11290
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11291
+ order?: ("asc" | "desc");
11292
+ };
11293
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11294
+ groupName: string;
11295
+ newlinesInside?: ("ignore" | number);
11296
+ order?: ("asc" | "desc");
11297
+ elementNamePattern?: (({
11298
+ pattern: string;
11299
+ flags?: string;
11300
+ } | string)[] | ({
11301
+ pattern: string;
11302
+ flags?: string;
11303
+ } | string));
11304
+ })[];
11305
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
11306
+ groups?: (string | [string, ...(string)[]] | {
11307
+ newlinesBetween: ("ignore" | number);
11308
+ } | {
11309
+ group: (string | [string, ...(string)[]]);
11310
+ fallbackSort?: {
11311
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11312
+ order?: ("asc" | "desc");
11313
+ };
11314
+ commentAbove?: string;
11315
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11316
+ newlinesInside?: ("ignore" | number);
11317
+ order?: ("asc" | "desc");
11318
+ })[];
11319
+ newlinesBetween?: ("ignore" | number);
11096
11320
  sortOnParameters?: boolean;
11097
11321
  sortOnProperties?: boolean;
11098
11322
  sortOnAccessors?: boolean;
@@ -11120,38 +11344,37 @@ type PerfectionistSortDecorators = [] | [{
11120
11344
  flags?: string;
11121
11345
  } | string)));
11122
11346
  });
11123
- customGroups?: {
11124
- [k: string]: (string | string[]) | undefined;
11125
- };
11126
- groups?: (string | string[] | {
11127
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11128
- commentAbove?: string;
11129
- })[];
11130
- }];
11347
+ partitionByNewLine?: boolean;
11348
+ }[];
11131
11349
  // ----- perfectionist/sort-enums -----
11132
11350
  type PerfectionistSortEnums = [] | [{
11133
11351
  fallbackSort?: {
11352
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11134
11353
  order?: ("asc" | "desc");
11135
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11136
11354
  };
11355
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11137
11356
  specialCharacters?: ("remove" | "trim" | "keep");
11138
11357
  ignoreCase?: boolean;
11139
11358
  alphabet?: string;
11140
11359
  locales?: (string | string[]);
11141
11360
  order?: ("asc" | "desc");
11142
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11143
11361
  customGroups?: ({
11144
- [k: string]: (string | string[]) | undefined;
11145
- } | ({
11146
- newlinesInside?: (("always" | "never") | number);
11147
11362
  fallbackSort?: {
11363
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11148
11364
  order?: ("asc" | "desc");
11149
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11150
11365
  };
11366
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11151
11367
  groupName: string;
11368
+ newlinesInside?: ("ignore" | number);
11152
11369
  order?: ("asc" | "desc");
11153
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11154
- anyOf?: {
11370
+ anyOf: [{
11371
+ elementNamePattern?: (({
11372
+ pattern: string;
11373
+ flags?: string;
11374
+ } | string)[] | ({
11375
+ pattern: string;
11376
+ flags?: string;
11377
+ } | string));
11155
11378
  elementValuePattern?: (({
11156
11379
  pattern: string;
11157
11380
  flags?: string;
@@ -11159,6 +11382,7 @@ type PerfectionistSortEnums = [] | [{
11159
11382
  pattern: string;
11160
11383
  flags?: string;
11161
11384
  } | string));
11385
+ }, ...({
11162
11386
  elementNamePattern?: (({
11163
11387
  pattern: string;
11164
11388
  flags?: string;
@@ -11166,33 +11390,54 @@ type PerfectionistSortEnums = [] | [{
11166
11390
  pattern: string;
11167
11391
  flags?: string;
11168
11392
  } | string));
11169
- }[];
11393
+ elementValuePattern?: (({
11394
+ pattern: string;
11395
+ flags?: string;
11396
+ } | string)[] | ({
11397
+ pattern: string;
11398
+ flags?: string;
11399
+ } | string));
11400
+ })[]];
11170
11401
  } | {
11171
- newlinesInside?: (("always" | "never") | number);
11172
11402
  fallbackSort?: {
11403
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11173
11404
  order?: ("asc" | "desc");
11174
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11175
11405
  };
11406
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11176
11407
  groupName: string;
11408
+ newlinesInside?: ("ignore" | number);
11177
11409
  order?: ("asc" | "desc");
11178
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11179
- elementValuePattern?: (({
11410
+ elementNamePattern?: (({
11180
11411
  pattern: string;
11181
11412
  flags?: string;
11182
11413
  } | string)[] | ({
11183
11414
  pattern: string;
11184
11415
  flags?: string;
11185
11416
  } | string));
11186
- elementNamePattern?: (({
11417
+ elementValuePattern?: (({
11187
11418
  pattern: string;
11188
11419
  flags?: string;
11189
11420
  } | string)[] | ({
11190
11421
  pattern: string;
11191
11422
  flags?: string;
11192
11423
  } | string));
11193
- })[]);
11194
- forceNumericSort?: boolean;
11195
- sortByValue?: boolean;
11424
+ })[];
11425
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
11426
+ groups?: (string | [string, ...(string)[]] | {
11427
+ newlinesBetween: ("ignore" | number);
11428
+ } | {
11429
+ group: (string | [string, ...(string)[]]);
11430
+ fallbackSort?: {
11431
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11432
+ order?: ("asc" | "desc");
11433
+ };
11434
+ commentAbove?: string;
11435
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11436
+ newlinesInside?: ("ignore" | number);
11437
+ order?: ("asc" | "desc");
11438
+ })[];
11439
+ newlinesBetween?: ("ignore" | number);
11440
+ sortByValue?: ("always" | "ifNumericEnum" | "never");
11196
11441
  partitionByComment?: (boolean | (({
11197
11442
  pattern: string;
11198
11443
  flags?: string;
@@ -11216,37 +11461,29 @@ type PerfectionistSortEnums = [] | [{
11216
11461
  } | string)));
11217
11462
  });
11218
11463
  partitionByNewLine?: boolean;
11219
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11220
- groups?: (string | string[] | {
11221
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11222
- commentAbove?: string;
11223
- })[];
11224
11464
  }];
11225
- // ----- perfectionist/sort-exports -----
11226
- type PerfectionistSortExports = {
11465
+ // ----- perfectionist/sort-export-attributes -----
11466
+ type PerfectionistSortExportAttributes = {
11227
11467
  fallbackSort?: {
11468
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11228
11469
  order?: ("asc" | "desc");
11229
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11230
11470
  };
11471
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11231
11472
  specialCharacters?: ("remove" | "trim" | "keep");
11232
11473
  ignoreCase?: boolean;
11233
11474
  alphabet?: string;
11234
11475
  locales?: (string | string[]);
11235
11476
  order?: ("asc" | "desc");
11236
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11237
- groupKind?: ("mixed" | "values-first" | "types-first");
11238
11477
  customGroups?: ({
11239
- newlinesInside?: (("always" | "never") | number);
11240
11478
  fallbackSort?: {
11479
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11241
11480
  order?: ("asc" | "desc");
11242
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11243
11481
  };
11482
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11244
11483
  groupName: string;
11484
+ newlinesInside?: ("ignore" | number);
11245
11485
  order?: ("asc" | "desc");
11246
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11247
- anyOf?: {
11248
- modifiers?: ("value" | "type")[];
11249
- selector?: "export";
11486
+ anyOf: [{
11250
11487
  elementNamePattern?: (({
11251
11488
  pattern: string;
11252
11489
  flags?: string;
@@ -11254,18 +11491,24 @@ type PerfectionistSortExports = {
11254
11491
  pattern: string;
11255
11492
  flags?: string;
11256
11493
  } | string));
11257
- }[];
11494
+ }, ...({
11495
+ elementNamePattern?: (({
11496
+ pattern: string;
11497
+ flags?: string;
11498
+ } | string)[] | ({
11499
+ pattern: string;
11500
+ flags?: string;
11501
+ } | string));
11502
+ })[]];
11258
11503
  } | {
11259
- newlinesInside?: (("always" | "never") | number);
11260
11504
  fallbackSort?: {
11505
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11261
11506
  order?: ("asc" | "desc");
11262
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11263
11507
  };
11508
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11264
11509
  groupName: string;
11510
+ newlinesInside?: ("ignore" | number);
11265
11511
  order?: ("asc" | "desc");
11266
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11267
- modifiers?: ("value" | "type")[];
11268
- selector?: "export";
11269
11512
  elementNamePattern?: (({
11270
11513
  pattern: string;
11271
11514
  flags?: string;
@@ -11274,6 +11517,21 @@ type PerfectionistSortExports = {
11274
11517
  flags?: string;
11275
11518
  } | string));
11276
11519
  })[];
11520
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
11521
+ groups?: (string | [string, ...(string)[]] | {
11522
+ newlinesBetween: ("ignore" | number);
11523
+ } | {
11524
+ group: (string | [string, ...(string)[]]);
11525
+ fallbackSort?: {
11526
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11527
+ order?: ("asc" | "desc");
11528
+ };
11529
+ commentAbove?: string;
11530
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11531
+ newlinesInside?: ("ignore" | number);
11532
+ order?: ("asc" | "desc");
11533
+ })[];
11534
+ newlinesBetween?: ("ignore" | number);
11277
11535
  partitionByComment?: (boolean | (({
11278
11536
  pattern: string;
11279
11537
  flags?: string;
@@ -11297,70 +11555,231 @@ type PerfectionistSortExports = {
11297
11555
  } | string)));
11298
11556
  });
11299
11557
  partitionByNewLine?: boolean;
11300
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11301
- groups?: (string | string[] | {
11302
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11303
- commentAbove?: string;
11304
- })[];
11305
11558
  }[];
11306
- // ----- perfectionist/sort-heritage-clauses -----
11307
- type PerfectionistSortHeritageClauses = [] | [{
11559
+ // ----- perfectionist/sort-exports -----
11560
+ type PerfectionistSortExports = {
11308
11561
  fallbackSort?: {
11562
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11309
11563
  order?: ("asc" | "desc");
11310
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11311
11564
  };
11565
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11312
11566
  specialCharacters?: ("remove" | "trim" | "keep");
11313
11567
  ignoreCase?: boolean;
11314
11568
  alphabet?: string;
11315
11569
  locales?: (string | string[]);
11316
11570
  order?: ("asc" | "desc");
11317
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11318
- customGroups?: {
11319
- [k: string]: (string | string[]) | undefined;
11320
- };
11321
- groups?: (string | string[] | {
11322
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11323
- commentAbove?: string;
11324
- })[];
11325
- }];
11326
- // ----- perfectionist/sort-imports -----
11327
- type PerfectionistSortImports = {
11571
+ customGroups?: ({
11572
+ fallbackSort?: {
11573
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11574
+ order?: ("asc" | "desc");
11575
+ };
11576
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11577
+ groupName: string;
11578
+ newlinesInside?: ("ignore" | number);
11579
+ order?: ("asc" | "desc");
11580
+ anyOf: [{
11581
+ elementNamePattern?: (({
11582
+ pattern: string;
11583
+ flags?: string;
11584
+ } | string)[] | ({
11585
+ pattern: string;
11586
+ flags?: string;
11587
+ } | string));
11588
+ modifiers?: ("value" | "type" | "named" | "wildcard" | "multiline" | "singleline")[];
11589
+ selector?: "export";
11590
+ }, ...({
11591
+ elementNamePattern?: (({
11592
+ pattern: string;
11593
+ flags?: string;
11594
+ } | string)[] | ({
11595
+ pattern: string;
11596
+ flags?: string;
11597
+ } | string));
11598
+ modifiers?: ("value" | "type" | "named" | "wildcard" | "multiline" | "singleline")[];
11599
+ selector?: "export";
11600
+ })[]];
11601
+ } | {
11602
+ fallbackSort?: {
11603
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11604
+ order?: ("asc" | "desc");
11605
+ };
11606
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11607
+ groupName: string;
11608
+ newlinesInside?: ("ignore" | number);
11609
+ order?: ("asc" | "desc");
11610
+ elementNamePattern?: (({
11611
+ pattern: string;
11612
+ flags?: string;
11613
+ } | string)[] | ({
11614
+ pattern: string;
11615
+ flags?: string;
11616
+ } | string));
11617
+ modifiers?: ("value" | "type" | "named" | "wildcard" | "multiline" | "singleline")[];
11618
+ selector?: "export";
11619
+ })[];
11620
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
11621
+ groups?: (string | [string, ...(string)[]] | {
11622
+ newlinesBetween: ("ignore" | number);
11623
+ } | {
11624
+ group: (string | [string, ...(string)[]]);
11625
+ fallbackSort?: {
11626
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11627
+ order?: ("asc" | "desc");
11628
+ };
11629
+ commentAbove?: string;
11630
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11631
+ newlinesInside?: ("ignore" | number);
11632
+ order?: ("asc" | "desc");
11633
+ })[];
11634
+ newlinesBetween?: ("ignore" | number);
11635
+ partitionByComment?: (boolean | (({
11636
+ pattern: string;
11637
+ flags?: string;
11638
+ } | string)[] | ({
11639
+ pattern: string;
11640
+ flags?: string;
11641
+ } | string)) | {
11642
+ block?: (boolean | (({
11643
+ pattern: string;
11644
+ flags?: string;
11645
+ } | string)[] | ({
11646
+ pattern: string;
11647
+ flags?: string;
11648
+ } | string)));
11649
+ line?: (boolean | (({
11650
+ pattern: string;
11651
+ flags?: string;
11652
+ } | string)[] | ({
11653
+ pattern: string;
11654
+ flags?: string;
11655
+ } | string)));
11656
+ });
11657
+ partitionByNewLine?: boolean;
11658
+ }[];
11659
+ // ----- perfectionist/sort-heritage-clauses -----
11660
+ type PerfectionistSortHeritageClauses = {
11328
11661
  fallbackSort?: {
11662
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11329
11663
  order?: ("asc" | "desc");
11330
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11331
11664
  };
11665
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11332
11666
  specialCharacters?: ("remove" | "trim" | "keep");
11333
11667
  ignoreCase?: boolean;
11334
11668
  alphabet?: string;
11335
11669
  locales?: (string | string[]);
11336
11670
  order?: ("asc" | "desc");
11337
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11338
11671
  customGroups?: ({
11339
- value?: {
11340
- [k: string]: (string | string[]) | undefined;
11672
+ fallbackSort?: {
11673
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11674
+ order?: ("asc" | "desc");
11341
11675
  };
11342
- type?: {
11343
- [k: string]: (string | string[]) | undefined;
11676
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11677
+ groupName: string;
11678
+ newlinesInside?: ("ignore" | number);
11679
+ order?: ("asc" | "desc");
11680
+ anyOf: [{
11681
+ elementNamePattern?: (({
11682
+ pattern: string;
11683
+ flags?: string;
11684
+ } | string)[] | ({
11685
+ pattern: string;
11686
+ flags?: string;
11687
+ } | string));
11688
+ }, ...({
11689
+ elementNamePattern?: (({
11690
+ pattern: string;
11691
+ flags?: string;
11692
+ } | string)[] | ({
11693
+ pattern: string;
11694
+ flags?: string;
11695
+ } | string));
11696
+ })[]];
11697
+ } | {
11698
+ fallbackSort?: {
11699
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11700
+ order?: ("asc" | "desc");
11701
+ };
11702
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11703
+ groupName: string;
11704
+ newlinesInside?: ("ignore" | number);
11705
+ order?: ("asc" | "desc");
11706
+ elementNamePattern?: (({
11707
+ pattern: string;
11708
+ flags?: string;
11709
+ } | string)[] | ({
11710
+ pattern: string;
11711
+ flags?: string;
11712
+ } | string));
11713
+ })[];
11714
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
11715
+ groups?: (string | [string, ...(string)[]] | {
11716
+ newlinesBetween: ("ignore" | number);
11717
+ } | {
11718
+ group: (string | [string, ...(string)[]]);
11719
+ fallbackSort?: {
11720
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11721
+ order?: ("asc" | "desc");
11344
11722
  };
11345
- } | ({
11346
- newlinesInside?: (("always" | "never") | number);
11723
+ commentAbove?: string;
11724
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11725
+ newlinesInside?: ("ignore" | number);
11726
+ order?: ("asc" | "desc");
11727
+ })[];
11728
+ newlinesBetween?: ("ignore" | number);
11729
+ partitionByNewLine?: boolean;
11730
+ partitionByComment?: (boolean | (({
11731
+ pattern: string;
11732
+ flags?: string;
11733
+ } | string)[] | ({
11734
+ pattern: string;
11735
+ flags?: string;
11736
+ } | string)) | {
11737
+ block?: (boolean | (({
11738
+ pattern: string;
11739
+ flags?: string;
11740
+ } | string)[] | ({
11741
+ pattern: string;
11742
+ flags?: string;
11743
+ } | string)));
11744
+ line?: (boolean | (({
11745
+ pattern: string;
11746
+ flags?: string;
11747
+ } | string)[] | ({
11748
+ pattern: string;
11749
+ flags?: string;
11750
+ } | string)));
11751
+ });
11752
+ }[];
11753
+ // ----- perfectionist/sort-import-attributes -----
11754
+ type PerfectionistSortImportAttributes = {
11755
+ fallbackSort?: {
11756
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11757
+ order?: ("asc" | "desc");
11758
+ };
11759
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11760
+ specialCharacters?: ("remove" | "trim" | "keep");
11761
+ ignoreCase?: boolean;
11762
+ alphabet?: string;
11763
+ locales?: (string | string[]);
11764
+ order?: ("asc" | "desc");
11765
+ customGroups?: ({
11347
11766
  fallbackSort?: {
11767
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11348
11768
  order?: ("asc" | "desc");
11349
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11350
11769
  };
11770
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11351
11771
  groupName: string;
11772
+ newlinesInside?: ("ignore" | number);
11352
11773
  order?: ("asc" | "desc");
11353
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11354
- anyOf?: {
11355
- modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[];
11356
- selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
11357
- elementValuePattern?: (({
11774
+ anyOf: [{
11775
+ elementNamePattern?: (({
11358
11776
  pattern: string;
11359
11777
  flags?: string;
11360
11778
  } | string)[] | ({
11361
11779
  pattern: string;
11362
11780
  flags?: string;
11363
11781
  } | string));
11782
+ }, ...({
11364
11783
  elementNamePattern?: (({
11365
11784
  pattern: string;
11366
11785
  flags?: string;
@@ -11368,25 +11787,120 @@ type PerfectionistSortImports = {
11368
11787
  pattern: string;
11369
11788
  flags?: string;
11370
11789
  } | string));
11371
- }[];
11790
+ })[]];
11372
11791
  } | {
11373
- newlinesInside?: (("always" | "never") | number);
11374
11792
  fallbackSort?: {
11793
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11375
11794
  order?: ("asc" | "desc");
11376
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11377
11795
  };
11796
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11378
11797
  groupName: string;
11798
+ newlinesInside?: ("ignore" | number);
11379
11799
  order?: ("asc" | "desc");
11380
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11381
- modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[];
11382
- selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
11383
- elementValuePattern?: (({
11800
+ elementNamePattern?: (({
11384
11801
  pattern: string;
11385
11802
  flags?: string;
11386
11803
  } | string)[] | ({
11387
11804
  pattern: string;
11388
11805
  flags?: string;
11389
11806
  } | string));
11807
+ })[];
11808
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
11809
+ groups?: (string | [string, ...(string)[]] | {
11810
+ newlinesBetween: ("ignore" | number);
11811
+ } | {
11812
+ group: (string | [string, ...(string)[]]);
11813
+ fallbackSort?: {
11814
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11815
+ order?: ("asc" | "desc");
11816
+ };
11817
+ commentAbove?: string;
11818
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11819
+ newlinesInside?: ("ignore" | number);
11820
+ order?: ("asc" | "desc");
11821
+ })[];
11822
+ newlinesBetween?: ("ignore" | number);
11823
+ partitionByComment?: (boolean | (({
11824
+ pattern: string;
11825
+ flags?: string;
11826
+ } | string)[] | ({
11827
+ pattern: string;
11828
+ flags?: string;
11829
+ } | string)) | {
11830
+ block?: (boolean | (({
11831
+ pattern: string;
11832
+ flags?: string;
11833
+ } | string)[] | ({
11834
+ pattern: string;
11835
+ flags?: string;
11836
+ } | string)));
11837
+ line?: (boolean | (({
11838
+ pattern: string;
11839
+ flags?: string;
11840
+ } | string)[] | ({
11841
+ pattern: string;
11842
+ flags?: string;
11843
+ } | string)));
11844
+ });
11845
+ partitionByNewLine?: boolean;
11846
+ }[];
11847
+ // ----- perfectionist/sort-imports -----
11848
+ type PerfectionistSortImports = {
11849
+ fallbackSort?: {
11850
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first");
11851
+ order?: ("asc" | "desc");
11852
+ sortBy?: ("specifier" | "path");
11853
+ };
11854
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first");
11855
+ specialCharacters?: ("remove" | "trim" | "keep");
11856
+ ignoreCase?: boolean;
11857
+ alphabet?: string;
11858
+ locales?: (string | string[]);
11859
+ order?: ("asc" | "desc");
11860
+ sortBy?: ("specifier" | "path");
11861
+ customGroups?: ({
11862
+ fallbackSort?: {
11863
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first");
11864
+ order?: ("asc" | "desc");
11865
+ sortBy?: ("specifier" | "path");
11866
+ };
11867
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first");
11868
+ groupName: string;
11869
+ newlinesInside?: ("ignore" | number);
11870
+ order?: ("asc" | "desc");
11871
+ sortBy?: ("specifier" | "path");
11872
+ anyOf: [{
11873
+ elementNamePattern?: (({
11874
+ pattern: string;
11875
+ flags?: string;
11876
+ } | string)[] | ({
11877
+ pattern: string;
11878
+ flags?: string;
11879
+ } | string));
11880
+ modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[];
11881
+ selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
11882
+ }, ...({
11883
+ elementNamePattern?: (({
11884
+ pattern: string;
11885
+ flags?: string;
11886
+ } | string)[] | ({
11887
+ pattern: string;
11888
+ flags?: string;
11889
+ } | string));
11890
+ modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[];
11891
+ selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
11892
+ })[]];
11893
+ } | {
11894
+ fallbackSort?: {
11895
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first");
11896
+ order?: ("asc" | "desc");
11897
+ sortBy?: ("specifier" | "path");
11898
+ };
11899
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first");
11900
+ groupName: string;
11901
+ newlinesInside?: ("ignore" | number);
11902
+ order?: ("asc" | "desc");
11903
+ sortBy?: ("specifier" | "path");
11390
11904
  elementNamePattern?: (({
11391
11905
  pattern: string;
11392
11906
  flags?: string;
@@ -11394,7 +11908,26 @@ type PerfectionistSortImports = {
11394
11908
  pattern: string;
11395
11909
  flags?: string;
11396
11910
  } | string));
11397
- })[]);
11911
+ modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[];
11912
+ selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
11913
+ })[];
11914
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
11915
+ groups?: (string | [string, ...(string)[]] | {
11916
+ newlinesBetween: ("ignore" | number);
11917
+ } | {
11918
+ group: (string | [string, ...(string)[]]);
11919
+ fallbackSort?: {
11920
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first");
11921
+ order?: ("asc" | "desc");
11922
+ sortBy?: ("specifier" | "path");
11923
+ };
11924
+ commentAbove?: string;
11925
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first");
11926
+ newlinesInside?: ("ignore" | number);
11927
+ order?: ("asc" | "desc");
11928
+ sortBy?: ("specifier" | "path");
11929
+ })[];
11930
+ newlinesBetween?: ("ignore" | number);
11398
11931
  tsconfig?: {
11399
11932
  rootDir: string;
11400
11933
  filename?: string;
@@ -11402,7 +11935,6 @@ type PerfectionistSortImports = {
11402
11935
  maxLineLength?: number;
11403
11936
  sortSideEffects?: boolean;
11404
11937
  environment?: ("node" | "bun");
11405
- tsconfigRootDir?: string;
11406
11938
  partitionByComment?: (boolean | (({
11407
11939
  pattern: string;
11408
11940
  flags?: string;
@@ -11426,7 +11958,6 @@ type PerfectionistSortImports = {
11426
11958
  } | string)));
11427
11959
  });
11428
11960
  partitionByNewLine?: boolean;
11429
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11430
11961
  internalPattern?: (({
11431
11962
  pattern: string;
11432
11963
  flags?: string;
@@ -11434,39 +11965,42 @@ type PerfectionistSortImports = {
11434
11965
  pattern: string;
11435
11966
  flags?: string;
11436
11967
  } | string));
11437
- groups?: (string | string[] | {
11438
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11439
- commentAbove?: string;
11440
- })[];
11441
11968
  }[];
11442
11969
  // ----- perfectionist/sort-interfaces -----
11443
11970
  type PerfectionistSortInterfaces = {
11444
11971
  fallbackSort?: {
11972
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11445
11973
  order?: ("asc" | "desc");
11446
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11447
11974
  sortBy?: ("name" | "value");
11448
11975
  };
11976
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11449
11977
  specialCharacters?: ("remove" | "trim" | "keep");
11450
11978
  ignoreCase?: boolean;
11451
11979
  alphabet?: string;
11452
11980
  locales?: (string | string[]);
11453
11981
  order?: ("asc" | "desc");
11454
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11982
+ sortBy?: ("name" | "value");
11455
11983
  customGroups?: ({
11456
- [k: string]: (string | string[]) | undefined;
11457
- } | ({
11458
- newlinesInside?: (("always" | "never") | number);
11459
11984
  fallbackSort?: {
11985
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11460
11986
  order?: ("asc" | "desc");
11461
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11462
11987
  sortBy?: ("name" | "value");
11463
11988
  };
11989
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11464
11990
  groupName: string;
11991
+ newlinesInside?: ("ignore" | number);
11465
11992
  order?: ("asc" | "desc");
11466
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11467
- anyOf?: {
11993
+ sortBy?: ("name" | "value");
11994
+ anyOf: [{
11995
+ elementNamePattern?: (({
11996
+ pattern: string;
11997
+ flags?: string;
11998
+ } | string)[] | ({
11999
+ pattern: string;
12000
+ flags?: string;
12001
+ } | string));
11468
12002
  modifiers?: ("optional" | "required" | "multiline")[];
11469
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
12003
+ selector?: ("index-signature" | "member" | "method" | "property");
11470
12004
  elementValuePattern?: (({
11471
12005
  pattern: string;
11472
12006
  flags?: string;
@@ -11474,6 +12008,7 @@ type PerfectionistSortInterfaces = {
11474
12008
  pattern: string;
11475
12009
  flags?: string;
11476
12010
  } | string));
12011
+ }, ...({
11477
12012
  elementNamePattern?: (({
11478
12013
  pattern: string;
11479
12014
  flags?: string;
@@ -11481,37 +12016,61 @@ type PerfectionistSortInterfaces = {
11481
12016
  pattern: string;
11482
12017
  flags?: string;
11483
12018
  } | string));
11484
- sortBy?: ("name" | "value");
11485
- }[];
12019
+ modifiers?: ("optional" | "required" | "multiline")[];
12020
+ selector?: ("index-signature" | "member" | "method" | "property");
12021
+ elementValuePattern?: (({
12022
+ pattern: string;
12023
+ flags?: string;
12024
+ } | string)[] | ({
12025
+ pattern: string;
12026
+ flags?: string;
12027
+ } | string));
12028
+ })[]];
11486
12029
  } | {
11487
- newlinesInside?: (("always" | "never") | number);
11488
12030
  fallbackSort?: {
12031
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11489
12032
  order?: ("asc" | "desc");
11490
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11491
12033
  sortBy?: ("name" | "value");
11492
12034
  };
12035
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11493
12036
  groupName: string;
12037
+ newlinesInside?: ("ignore" | number);
11494
12038
  order?: ("asc" | "desc");
11495
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11496
- modifiers?: ("optional" | "required" | "multiline")[];
11497
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
11498
- elementValuePattern?: (({
12039
+ sortBy?: ("name" | "value");
12040
+ elementNamePattern?: (({
11499
12041
  pattern: string;
11500
12042
  flags?: string;
11501
12043
  } | string)[] | ({
11502
12044
  pattern: string;
11503
12045
  flags?: string;
11504
12046
  } | string));
11505
- elementNamePattern?: (({
12047
+ modifiers?: ("optional" | "required" | "multiline")[];
12048
+ selector?: ("index-signature" | "member" | "method" | "property");
12049
+ elementValuePattern?: (({
11506
12050
  pattern: string;
11507
12051
  flags?: string;
11508
12052
  } | string)[] | ({
11509
12053
  pattern: string;
11510
12054
  flags?: string;
11511
12055
  } | string));
12056
+ })[];
12057
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
12058
+ groups?: (string | [string, ...(string)[]] | {
12059
+ newlinesBetween: ("ignore" | number);
12060
+ } | {
12061
+ group: (string | [string, ...(string)[]]);
12062
+ fallbackSort?: {
12063
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12064
+ order?: ("asc" | "desc");
12065
+ sortBy?: ("name" | "value");
12066
+ };
12067
+ commentAbove?: string;
12068
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12069
+ newlinesInside?: ("ignore" | number);
12070
+ order?: ("asc" | "desc");
11512
12071
  sortBy?: ("name" | "value");
11513
- })[]);
11514
- groupKind?: ("mixed" | "required-first" | "optional-first");
12072
+ })[];
12073
+ newlinesBetween?: ("ignore" | number);
11515
12074
  useConfigurationIf?: {
11516
12075
  allNamesMatchPattern?: (({
11517
12076
  pattern: string;
@@ -11520,10 +12079,22 @@ type PerfectionistSortInterfaces = {
11520
12079
  pattern: string;
11521
12080
  flags?: string;
11522
12081
  } | string));
12082
+ hasNumericKeysOnly?: boolean;
12083
+ declarationCommentMatchesPattern?: (({
12084
+ scope?: ("shallow" | "deep");
12085
+ pattern: string;
12086
+ flags?: string;
12087
+ } | string)[] | ({
12088
+ scope?: ("shallow" | "deep");
12089
+ pattern: string;
12090
+ flags?: string;
12091
+ } | string));
11523
12092
  declarationMatchesPattern?: (({
12093
+ scope?: ("shallow" | "deep");
11524
12094
  pattern: string;
11525
12095
  flags?: string;
11526
12096
  } | string)[] | ({
12097
+ scope?: ("shallow" | "deep");
11527
12098
  pattern: string;
11528
12099
  flags?: string;
11529
12100
  } | string));
@@ -11551,43 +12122,38 @@ type PerfectionistSortInterfaces = {
11551
12122
  } | string)));
11552
12123
  });
11553
12124
  partitionByNewLine?: boolean;
11554
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11555
- ignorePattern?: (({
11556
- pattern: string;
11557
- flags?: string;
11558
- } | string)[] | ({
11559
- pattern: string;
11560
- flags?: string;
11561
- } | string));
11562
- sortBy?: ("name" | "value");
11563
- groups?: (string | string[] | {
11564
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11565
- commentAbove?: string;
11566
- })[];
11567
12125
  }[];
11568
12126
  // ----- perfectionist/sort-intersection-types -----
11569
12127
  type PerfectionistSortIntersectionTypes = {
11570
12128
  fallbackSort?: {
12129
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11571
12130
  order?: ("asc" | "desc");
11572
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11573
12131
  };
12132
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11574
12133
  specialCharacters?: ("remove" | "trim" | "keep");
11575
12134
  ignoreCase?: boolean;
11576
12135
  alphabet?: string;
11577
12136
  locales?: (string | string[]);
11578
12137
  order?: ("asc" | "desc");
11579
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11580
12138
  customGroups?: ({
11581
- newlinesInside?: (("always" | "never") | number);
11582
12139
  fallbackSort?: {
12140
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11583
12141
  order?: ("asc" | "desc");
11584
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11585
12142
  };
12143
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11586
12144
  groupName: string;
12145
+ newlinesInside?: ("ignore" | number);
11587
12146
  order?: ("asc" | "desc");
11588
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11589
- anyOf?: {
12147
+ anyOf: [{
12148
+ elementNamePattern?: (({
12149
+ pattern: string;
12150
+ flags?: string;
12151
+ } | string)[] | ({
12152
+ pattern: string;
12153
+ flags?: string;
12154
+ } | string));
11590
12155
  selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
12156
+ }, ...({
11591
12157
  elementNamePattern?: (({
11592
12158
  pattern: string;
11593
12159
  flags?: string;
@@ -11595,17 +12161,17 @@ type PerfectionistSortIntersectionTypes = {
11595
12161
  pattern: string;
11596
12162
  flags?: string;
11597
12163
  } | string));
11598
- }[];
12164
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
12165
+ })[]];
11599
12166
  } | {
11600
- newlinesInside?: (("always" | "never") | number);
11601
12167
  fallbackSort?: {
12168
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11602
12169
  order?: ("asc" | "desc");
11603
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11604
12170
  };
12171
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11605
12172
  groupName: string;
12173
+ newlinesInside?: ("ignore" | number);
11606
12174
  order?: ("asc" | "desc");
11607
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11608
- selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
11609
12175
  elementNamePattern?: (({
11610
12176
  pattern: string;
11611
12177
  flags?: string;
@@ -11613,7 +12179,23 @@ type PerfectionistSortIntersectionTypes = {
11613
12179
  pattern: string;
11614
12180
  flags?: string;
11615
12181
  } | string));
12182
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
12183
+ })[];
12184
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
12185
+ groups?: (string | [string, ...(string)[]] | {
12186
+ newlinesBetween: ("ignore" | number);
12187
+ } | {
12188
+ group: (string | [string, ...(string)[]]);
12189
+ fallbackSort?: {
12190
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12191
+ order?: ("asc" | "desc");
12192
+ };
12193
+ commentAbove?: string;
12194
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12195
+ newlinesInside?: ("ignore" | number);
12196
+ order?: ("asc" | "desc");
11616
12197
  })[];
12198
+ newlinesBetween?: ("ignore" | number);
11617
12199
  partitionByComment?: (boolean | (({
11618
12200
  pattern: string;
11619
12201
  flags?: string;
@@ -11637,38 +12219,38 @@ type PerfectionistSortIntersectionTypes = {
11637
12219
  } | string)));
11638
12220
  });
11639
12221
  partitionByNewLine?: boolean;
11640
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11641
- groups?: (string | string[] | {
11642
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11643
- commentAbove?: string;
11644
- })[];
11645
12222
  }[];
11646
12223
  // ----- perfectionist/sort-jsx-props -----
11647
12224
  type PerfectionistSortJsxProps = {
11648
12225
  fallbackSort?: {
12226
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11649
12227
  order?: ("asc" | "desc");
11650
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11651
12228
  };
12229
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11652
12230
  specialCharacters?: ("remove" | "trim" | "keep");
11653
12231
  ignoreCase?: boolean;
11654
12232
  alphabet?: string;
11655
12233
  locales?: (string | string[]);
11656
12234
  order?: ("asc" | "desc");
11657
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11658
12235
  customGroups?: ({
11659
- [k: string]: (string | string[]) | undefined;
11660
- } | ({
11661
- newlinesInside?: (("always" | "never") | number);
11662
12236
  fallbackSort?: {
12237
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11663
12238
  order?: ("asc" | "desc");
11664
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11665
12239
  };
12240
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11666
12241
  groupName: string;
12242
+ newlinesInside?: ("ignore" | number);
11667
12243
  order?: ("asc" | "desc");
11668
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11669
- anyOf?: {
12244
+ anyOf: [{
12245
+ elementNamePattern?: (({
12246
+ pattern: string;
12247
+ flags?: string;
12248
+ } | string)[] | ({
12249
+ pattern: string;
12250
+ flags?: string;
12251
+ } | string));
11670
12252
  modifiers?: ("shorthand" | "multiline")[];
11671
- selector?: ("multiline" | "prop" | "shorthand");
12253
+ selector?: "prop";
11672
12254
  elementValuePattern?: (({
11673
12255
  pattern: string;
11674
12256
  flags?: string;
@@ -11676,6 +12258,7 @@ type PerfectionistSortJsxProps = {
11676
12258
  pattern: string;
11677
12259
  flags?: string;
11678
12260
  } | string));
12261
+ }, ...({
11679
12262
  elementNamePattern?: (({
11680
12263
  pattern: string;
11681
12264
  flags?: string;
@@ -11683,33 +12266,57 @@ type PerfectionistSortJsxProps = {
11683
12266
  pattern: string;
11684
12267
  flags?: string;
11685
12268
  } | string));
11686
- }[];
12269
+ modifiers?: ("shorthand" | "multiline")[];
12270
+ selector?: "prop";
12271
+ elementValuePattern?: (({
12272
+ pattern: string;
12273
+ flags?: string;
12274
+ } | string)[] | ({
12275
+ pattern: string;
12276
+ flags?: string;
12277
+ } | string));
12278
+ })[]];
11687
12279
  } | {
11688
- newlinesInside?: (("always" | "never") | number);
11689
12280
  fallbackSort?: {
12281
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11690
12282
  order?: ("asc" | "desc");
11691
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11692
12283
  };
12284
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11693
12285
  groupName: string;
12286
+ newlinesInside?: ("ignore" | number);
11694
12287
  order?: ("asc" | "desc");
11695
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11696
- modifiers?: ("shorthand" | "multiline")[];
11697
- selector?: ("multiline" | "prop" | "shorthand");
11698
- elementValuePattern?: (({
12288
+ elementNamePattern?: (({
11699
12289
  pattern: string;
11700
12290
  flags?: string;
11701
12291
  } | string)[] | ({
11702
12292
  pattern: string;
11703
12293
  flags?: string;
11704
12294
  } | string));
11705
- elementNamePattern?: (({
12295
+ modifiers?: ("shorthand" | "multiline")[];
12296
+ selector?: "prop";
12297
+ elementValuePattern?: (({
11706
12298
  pattern: string;
11707
12299
  flags?: string;
11708
12300
  } | string)[] | ({
11709
12301
  pattern: string;
11710
12302
  flags?: string;
11711
12303
  } | string));
11712
- })[]);
12304
+ })[];
12305
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
12306
+ groups?: (string | [string, ...(string)[]] | {
12307
+ newlinesBetween: ("ignore" | number);
12308
+ } | {
12309
+ group: (string | [string, ...(string)[]]);
12310
+ fallbackSort?: {
12311
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12312
+ order?: ("asc" | "desc");
12313
+ };
12314
+ commentAbove?: string;
12315
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12316
+ newlinesInside?: ("ignore" | number);
12317
+ order?: ("asc" | "desc");
12318
+ })[];
12319
+ newlinesBetween?: ("ignore" | number);
11713
12320
  useConfigurationIf?: {
11714
12321
  allNamesMatchPattern?: (({
11715
12322
  pattern: string;
@@ -11727,41 +12334,37 @@ type PerfectionistSortJsxProps = {
11727
12334
  } | string));
11728
12335
  };
11729
12336
  partitionByNewLine?: boolean;
11730
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11731
- ignorePattern?: (({
11732
- pattern: string;
11733
- flags?: string;
11734
- } | string)[] | ({
11735
- pattern: string;
11736
- flags?: string;
11737
- } | string));
11738
- groups?: (string | string[] | {
11739
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11740
- commentAbove?: string;
11741
- })[];
11742
12337
  }[];
11743
12338
  // ----- perfectionist/sort-maps -----
11744
12339
  type PerfectionistSortMaps = {
11745
12340
  fallbackSort?: {
12341
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11746
12342
  order?: ("asc" | "desc");
11747
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11748
12343
  };
12344
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11749
12345
  specialCharacters?: ("remove" | "trim" | "keep");
11750
12346
  ignoreCase?: boolean;
11751
12347
  alphabet?: string;
11752
12348
  locales?: (string | string[]);
11753
12349
  order?: ("asc" | "desc");
11754
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11755
12350
  customGroups?: ({
11756
- newlinesInside?: (("always" | "never") | number);
11757
12351
  fallbackSort?: {
12352
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11758
12353
  order?: ("asc" | "desc");
11759
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11760
12354
  };
12355
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11761
12356
  groupName: string;
12357
+ newlinesInside?: ("ignore" | number);
11762
12358
  order?: ("asc" | "desc");
11763
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11764
- anyOf?: {
12359
+ anyOf: [{
12360
+ elementNamePattern?: (({
12361
+ pattern: string;
12362
+ flags?: string;
12363
+ } | string)[] | ({
12364
+ pattern: string;
12365
+ flags?: string;
12366
+ } | string));
12367
+ }, ...({
11765
12368
  elementNamePattern?: (({
11766
12369
  pattern: string;
11767
12370
  flags?: string;
@@ -11769,16 +12372,16 @@ type PerfectionistSortMaps = {
11769
12372
  pattern: string;
11770
12373
  flags?: string;
11771
12374
  } | string));
11772
- }[];
12375
+ })[]];
11773
12376
  } | {
11774
- newlinesInside?: (("always" | "never") | number);
11775
12377
  fallbackSort?: {
12378
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11776
12379
  order?: ("asc" | "desc");
11777
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11778
12380
  };
12381
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11779
12382
  groupName: string;
12383
+ newlinesInside?: ("ignore" | number);
11780
12384
  order?: ("asc" | "desc");
11781
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11782
12385
  elementNamePattern?: (({
11783
12386
  pattern: string;
11784
12387
  flags?: string;
@@ -11787,6 +12390,21 @@ type PerfectionistSortMaps = {
11787
12390
  flags?: string;
11788
12391
  } | string));
11789
12392
  })[];
12393
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
12394
+ groups?: (string | [string, ...(string)[]] | {
12395
+ newlinesBetween: ("ignore" | number);
12396
+ } | {
12397
+ group: (string | [string, ...(string)[]]);
12398
+ fallbackSort?: {
12399
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12400
+ order?: ("asc" | "desc");
12401
+ };
12402
+ commentAbove?: string;
12403
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12404
+ newlinesInside?: ("ignore" | number);
12405
+ order?: ("asc" | "desc");
12406
+ })[];
12407
+ newlinesBetween?: ("ignore" | number);
11790
12408
  useConfigurationIf?: {
11791
12409
  allNamesMatchPattern?: (({
11792
12410
  pattern: string;
@@ -11819,34 +12437,36 @@ type PerfectionistSortMaps = {
11819
12437
  } | string)));
11820
12438
  });
11821
12439
  partitionByNewLine?: boolean;
11822
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11823
- groups?: (string | string[] | {
11824
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11825
- commentAbove?: string;
11826
- })[];
11827
12440
  }[];
11828
12441
  // ----- perfectionist/sort-modules -----
11829
12442
  type PerfectionistSortModules = [] | [{
11830
12443
  fallbackSort?: {
12444
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage");
11831
12445
  order?: ("asc" | "desc");
11832
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11833
12446
  };
12447
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage");
11834
12448
  specialCharacters?: ("remove" | "trim" | "keep");
11835
12449
  ignoreCase?: boolean;
11836
12450
  alphabet?: string;
11837
12451
  locales?: (string | string[]);
11838
12452
  order?: ("asc" | "desc");
11839
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11840
12453
  customGroups?: ({
11841
- newlinesInside?: (("always" | "never") | number);
11842
12454
  fallbackSort?: {
12455
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage");
11843
12456
  order?: ("asc" | "desc");
11844
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11845
12457
  };
12458
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage");
11846
12459
  groupName: string;
12460
+ newlinesInside?: ("ignore" | number);
11847
12461
  order?: ("asc" | "desc");
11848
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11849
- anyOf?: {
12462
+ anyOf: [{
12463
+ elementNamePattern?: (({
12464
+ pattern: string;
12465
+ flags?: string;
12466
+ } | string)[] | ({
12467
+ pattern: string;
12468
+ flags?: string;
12469
+ } | string));
11850
12470
  modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
11851
12471
  selector?: ("enum" | "function" | "interface" | "type" | "class");
11852
12472
  decoratorNamePattern?: (({
@@ -11856,6 +12476,7 @@ type PerfectionistSortModules = [] | [{
11856
12476
  pattern: string;
11857
12477
  flags?: string;
11858
12478
  } | string));
12479
+ }, ...({
11859
12480
  elementNamePattern?: (({
11860
12481
  pattern: string;
11861
12482
  flags?: string;
@@ -11863,26 +12484,35 @@ type PerfectionistSortModules = [] | [{
11863
12484
  pattern: string;
11864
12485
  flags?: string;
11865
12486
  } | string));
11866
- }[];
12487
+ modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
12488
+ selector?: ("enum" | "function" | "interface" | "type" | "class");
12489
+ decoratorNamePattern?: (({
12490
+ pattern: string;
12491
+ flags?: string;
12492
+ } | string)[] | ({
12493
+ pattern: string;
12494
+ flags?: string;
12495
+ } | string));
12496
+ })[]];
11867
12497
  } | {
11868
- newlinesInside?: (("always" | "never") | number);
11869
12498
  fallbackSort?: {
12499
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage");
11870
12500
  order?: ("asc" | "desc");
11871
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11872
12501
  };
12502
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage");
11873
12503
  groupName: string;
12504
+ newlinesInside?: ("ignore" | number);
11874
12505
  order?: ("asc" | "desc");
11875
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11876
- modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
11877
- selector?: ("enum" | "function" | "interface" | "type" | "class");
11878
- decoratorNamePattern?: (({
12506
+ elementNamePattern?: (({
11879
12507
  pattern: string;
11880
12508
  flags?: string;
11881
12509
  } | string)[] | ({
11882
12510
  pattern: string;
11883
12511
  flags?: string;
11884
12512
  } | string));
11885
- elementNamePattern?: (({
12513
+ modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
12514
+ selector?: ("enum" | "function" | "interface" | "type" | "class");
12515
+ decoratorNamePattern?: (({
11886
12516
  pattern: string;
11887
12517
  flags?: string;
11888
12518
  } | string)[] | ({
@@ -11890,6 +12520,21 @@ type PerfectionistSortModules = [] | [{
11890
12520
  flags?: string;
11891
12521
  } | string));
11892
12522
  })[];
12523
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
12524
+ groups?: (string | [string, ...(string)[]] | {
12525
+ newlinesBetween: ("ignore" | number);
12526
+ } | {
12527
+ group: (string | [string, ...(string)[]]);
12528
+ fallbackSort?: {
12529
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage");
12530
+ order?: ("asc" | "desc");
12531
+ };
12532
+ commentAbove?: string;
12533
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage");
12534
+ newlinesInside?: ("ignore" | number);
12535
+ order?: ("asc" | "desc");
12536
+ })[];
12537
+ newlinesBetween?: ("ignore" | number);
11893
12538
  partitionByComment?: (boolean | (({
11894
12539
  pattern: string;
11895
12540
  flags?: string;
@@ -11913,38 +12558,39 @@ type PerfectionistSortModules = [] | [{
11913
12558
  } | string)));
11914
12559
  });
11915
12560
  partitionByNewLine?: boolean;
11916
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11917
- groups?: (string | string[] | {
11918
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11919
- commentAbove?: string;
11920
- })[];
11921
12561
  }];
11922
12562
  // ----- perfectionist/sort-named-exports -----
11923
12563
  type PerfectionistSortNamedExports = {
11924
12564
  fallbackSort?: {
12565
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11925
12566
  order?: ("asc" | "desc");
11926
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11927
12567
  };
12568
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11928
12569
  specialCharacters?: ("remove" | "trim" | "keep");
11929
12570
  ignoreCase?: boolean;
11930
12571
  alphabet?: string;
11931
12572
  locales?: (string | string[]);
11932
12573
  order?: ("asc" | "desc");
11933
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11934
- groupKind?: ("mixed" | "values-first" | "types-first");
11935
- ignoreAlias?: boolean;
11936
12574
  customGroups?: ({
11937
- newlinesInside?: (("always" | "never") | number);
11938
12575
  fallbackSort?: {
12576
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11939
12577
  order?: ("asc" | "desc");
11940
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11941
12578
  };
12579
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11942
12580
  groupName: string;
12581
+ newlinesInside?: ("ignore" | number);
11943
12582
  order?: ("asc" | "desc");
11944
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11945
- anyOf?: {
12583
+ anyOf: [{
12584
+ elementNamePattern?: (({
12585
+ pattern: string;
12586
+ flags?: string;
12587
+ } | string)[] | ({
12588
+ pattern: string;
12589
+ flags?: string;
12590
+ } | string));
11946
12591
  modifiers?: ("value" | "type")[];
11947
12592
  selector?: "export";
12593
+ }, ...({
11948
12594
  elementNamePattern?: (({
11949
12595
  pattern: string;
11950
12596
  flags?: string;
@@ -11952,18 +12598,18 @@ type PerfectionistSortNamedExports = {
11952
12598
  pattern: string;
11953
12599
  flags?: string;
11954
12600
  } | string));
11955
- }[];
12601
+ modifiers?: ("value" | "type")[];
12602
+ selector?: "export";
12603
+ })[]];
11956
12604
  } | {
11957
- newlinesInside?: (("always" | "never") | number);
11958
12605
  fallbackSort?: {
12606
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11959
12607
  order?: ("asc" | "desc");
11960
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11961
12608
  };
12609
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
11962
12610
  groupName: string;
12611
+ newlinesInside?: ("ignore" | number);
11963
12612
  order?: ("asc" | "desc");
11964
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
11965
- modifiers?: ("value" | "type")[];
11966
- selector?: "export";
11967
12613
  elementNamePattern?: (({
11968
12614
  pattern: string;
11969
12615
  flags?: string;
@@ -11971,7 +12617,25 @@ type PerfectionistSortNamedExports = {
11971
12617
  pattern: string;
11972
12618
  flags?: string;
11973
12619
  } | string));
12620
+ modifiers?: ("value" | "type")[];
12621
+ selector?: "export";
12622
+ })[];
12623
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
12624
+ groups?: (string | [string, ...(string)[]] | {
12625
+ newlinesBetween: ("ignore" | number);
12626
+ } | {
12627
+ group: (string | [string, ...(string)[]]);
12628
+ fallbackSort?: {
12629
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12630
+ order?: ("asc" | "desc");
12631
+ };
12632
+ commentAbove?: string;
12633
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12634
+ newlinesInside?: ("ignore" | number);
12635
+ order?: ("asc" | "desc");
11974
12636
  })[];
12637
+ newlinesBetween?: ("ignore" | number);
12638
+ ignoreAlias?: boolean;
11975
12639
  partitionByComment?: (boolean | (({
11976
12640
  pattern: string;
11977
12641
  flags?: string;
@@ -11995,38 +12659,39 @@ type PerfectionistSortNamedExports = {
11995
12659
  } | string)));
11996
12660
  });
11997
12661
  partitionByNewLine?: boolean;
11998
- newlinesBetween?: (("ignore" | "always" | "never") | number);
11999
- groups?: (string | string[] | {
12000
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12001
- commentAbove?: string;
12002
- })[];
12003
12662
  }[];
12004
12663
  // ----- perfectionist/sort-named-imports -----
12005
12664
  type PerfectionistSortNamedImports = {
12006
12665
  fallbackSort?: {
12666
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12007
12667
  order?: ("asc" | "desc");
12008
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12009
12668
  };
12669
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12010
12670
  specialCharacters?: ("remove" | "trim" | "keep");
12011
12671
  ignoreCase?: boolean;
12012
12672
  alphabet?: string;
12013
12673
  locales?: (string | string[]);
12014
12674
  order?: ("asc" | "desc");
12015
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12016
- groupKind?: ("mixed" | "values-first" | "types-first");
12017
- ignoreAlias?: boolean;
12018
12675
  customGroups?: ({
12019
- newlinesInside?: (("always" | "never") | number);
12020
12676
  fallbackSort?: {
12677
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12021
12678
  order?: ("asc" | "desc");
12022
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12023
12679
  };
12680
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12024
12681
  groupName: string;
12682
+ newlinesInside?: ("ignore" | number);
12025
12683
  order?: ("asc" | "desc");
12026
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12027
- anyOf?: {
12684
+ anyOf: [{
12685
+ elementNamePattern?: (({
12686
+ pattern: string;
12687
+ flags?: string;
12688
+ } | string)[] | ({
12689
+ pattern: string;
12690
+ flags?: string;
12691
+ } | string));
12028
12692
  modifiers?: ("value" | "type")[];
12029
12693
  selector?: "import";
12694
+ }, ...({
12030
12695
  elementNamePattern?: (({
12031
12696
  pattern: string;
12032
12697
  flags?: string;
@@ -12034,18 +12699,18 @@ type PerfectionistSortNamedImports = {
12034
12699
  pattern: string;
12035
12700
  flags?: string;
12036
12701
  } | string));
12037
- }[];
12702
+ modifiers?: ("value" | "type")[];
12703
+ selector?: "import";
12704
+ })[]];
12038
12705
  } | {
12039
- newlinesInside?: (("always" | "never") | number);
12040
12706
  fallbackSort?: {
12707
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12041
12708
  order?: ("asc" | "desc");
12042
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12043
12709
  };
12710
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12044
12711
  groupName: string;
12712
+ newlinesInside?: ("ignore" | number);
12045
12713
  order?: ("asc" | "desc");
12046
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12047
- modifiers?: ("value" | "type")[];
12048
- selector?: "import";
12049
12714
  elementNamePattern?: (({
12050
12715
  pattern: string;
12051
12716
  flags?: string;
@@ -12053,7 +12718,25 @@ type PerfectionistSortNamedImports = {
12053
12718
  pattern: string;
12054
12719
  flags?: string;
12055
12720
  } | string));
12721
+ modifiers?: ("value" | "type")[];
12722
+ selector?: "import";
12723
+ })[];
12724
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
12725
+ groups?: (string | [string, ...(string)[]] | {
12726
+ newlinesBetween: ("ignore" | number);
12727
+ } | {
12728
+ group: (string | [string, ...(string)[]]);
12729
+ fallbackSort?: {
12730
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12731
+ order?: ("asc" | "desc");
12732
+ };
12733
+ commentAbove?: string;
12734
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12735
+ newlinesInside?: ("ignore" | number);
12736
+ order?: ("asc" | "desc");
12056
12737
  })[];
12738
+ newlinesBetween?: ("ignore" | number);
12739
+ ignoreAlias?: boolean;
12057
12740
  partitionByComment?: (boolean | (({
12058
12741
  pattern: string;
12059
12742
  flags?: string;
@@ -12077,40 +12760,42 @@ type PerfectionistSortNamedImports = {
12077
12760
  } | string)));
12078
12761
  });
12079
12762
  partitionByNewLine?: boolean;
12080
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12081
- groups?: (string | string[] | {
12082
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12083
- commentAbove?: string;
12084
- })[];
12085
12763
  }[];
12086
12764
  // ----- perfectionist/sort-object-types -----
12087
12765
  type PerfectionistSortObjectTypes = {
12088
12766
  fallbackSort?: {
12767
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12089
12768
  order?: ("asc" | "desc");
12090
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12091
12769
  sortBy?: ("name" | "value");
12092
12770
  };
12771
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12093
12772
  specialCharacters?: ("remove" | "trim" | "keep");
12094
12773
  ignoreCase?: boolean;
12095
12774
  alphabet?: string;
12096
12775
  locales?: (string | string[]);
12097
12776
  order?: ("asc" | "desc");
12098
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12777
+ sortBy?: ("name" | "value");
12099
12778
  customGroups?: ({
12100
- [k: string]: (string | string[]) | undefined;
12101
- } | ({
12102
- newlinesInside?: (("always" | "never") | number);
12103
12779
  fallbackSort?: {
12780
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12104
12781
  order?: ("asc" | "desc");
12105
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12106
12782
  sortBy?: ("name" | "value");
12107
12783
  };
12784
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12108
12785
  groupName: string;
12786
+ newlinesInside?: ("ignore" | number);
12109
12787
  order?: ("asc" | "desc");
12110
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12111
- anyOf?: {
12788
+ sortBy?: ("name" | "value");
12789
+ anyOf: [{
12790
+ elementNamePattern?: (({
12791
+ pattern: string;
12792
+ flags?: string;
12793
+ } | string)[] | ({
12794
+ pattern: string;
12795
+ flags?: string;
12796
+ } | string));
12112
12797
  modifiers?: ("optional" | "required" | "multiline")[];
12113
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
12798
+ selector?: ("index-signature" | "member" | "method" | "property");
12114
12799
  elementValuePattern?: (({
12115
12800
  pattern: string;
12116
12801
  flags?: string;
@@ -12118,6 +12803,7 @@ type PerfectionistSortObjectTypes = {
12118
12803
  pattern: string;
12119
12804
  flags?: string;
12120
12805
  } | string));
12806
+ }, ...({
12121
12807
  elementNamePattern?: (({
12122
12808
  pattern: string;
12123
12809
  flags?: string;
@@ -12125,37 +12811,61 @@ type PerfectionistSortObjectTypes = {
12125
12811
  pattern: string;
12126
12812
  flags?: string;
12127
12813
  } | string));
12128
- sortBy?: ("name" | "value");
12129
- }[];
12814
+ modifiers?: ("optional" | "required" | "multiline")[];
12815
+ selector?: ("index-signature" | "member" | "method" | "property");
12816
+ elementValuePattern?: (({
12817
+ pattern: string;
12818
+ flags?: string;
12819
+ } | string)[] | ({
12820
+ pattern: string;
12821
+ flags?: string;
12822
+ } | string));
12823
+ })[]];
12130
12824
  } | {
12131
- newlinesInside?: (("always" | "never") | number);
12132
12825
  fallbackSort?: {
12826
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12133
12827
  order?: ("asc" | "desc");
12134
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12135
12828
  sortBy?: ("name" | "value");
12136
12829
  };
12830
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12137
12831
  groupName: string;
12832
+ newlinesInside?: ("ignore" | number);
12138
12833
  order?: ("asc" | "desc");
12139
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12140
- modifiers?: ("optional" | "required" | "multiline")[];
12141
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
12142
- elementValuePattern?: (({
12834
+ sortBy?: ("name" | "value");
12835
+ elementNamePattern?: (({
12143
12836
  pattern: string;
12144
12837
  flags?: string;
12145
12838
  } | string)[] | ({
12146
12839
  pattern: string;
12147
12840
  flags?: string;
12148
12841
  } | string));
12149
- elementNamePattern?: (({
12842
+ modifiers?: ("optional" | "required" | "multiline")[];
12843
+ selector?: ("index-signature" | "member" | "method" | "property");
12844
+ elementValuePattern?: (({
12150
12845
  pattern: string;
12151
12846
  flags?: string;
12152
12847
  } | string)[] | ({
12153
12848
  pattern: string;
12154
12849
  flags?: string;
12155
12850
  } | string));
12851
+ })[];
12852
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
12853
+ groups?: (string | [string, ...(string)[]] | {
12854
+ newlinesBetween: ("ignore" | number);
12855
+ } | {
12856
+ group: (string | [string, ...(string)[]]);
12857
+ fallbackSort?: {
12858
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12859
+ order?: ("asc" | "desc");
12860
+ sortBy?: ("name" | "value");
12861
+ };
12862
+ commentAbove?: string;
12863
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12864
+ newlinesInside?: ("ignore" | number);
12865
+ order?: ("asc" | "desc");
12156
12866
  sortBy?: ("name" | "value");
12157
- })[]);
12158
- groupKind?: ("mixed" | "required-first" | "optional-first");
12867
+ })[];
12868
+ newlinesBetween?: ("ignore" | number);
12159
12869
  useConfigurationIf?: {
12160
12870
  allNamesMatchPattern?: (({
12161
12871
  pattern: string;
@@ -12164,10 +12874,22 @@ type PerfectionistSortObjectTypes = {
12164
12874
  pattern: string;
12165
12875
  flags?: string;
12166
12876
  } | string));
12877
+ hasNumericKeysOnly?: boolean;
12878
+ declarationCommentMatchesPattern?: (({
12879
+ scope?: ("shallow" | "deep");
12880
+ pattern: string;
12881
+ flags?: string;
12882
+ } | string)[] | ({
12883
+ scope?: ("shallow" | "deep");
12884
+ pattern: string;
12885
+ flags?: string;
12886
+ } | string));
12167
12887
  declarationMatchesPattern?: (({
12888
+ scope?: ("shallow" | "deep");
12168
12889
  pattern: string;
12169
12890
  flags?: string;
12170
12891
  } | string)[] | ({
12892
+ scope?: ("shallow" | "deep");
12171
12893
  pattern: string;
12172
12894
  flags?: string;
12173
12895
  } | string));
@@ -12195,49 +12917,38 @@ type PerfectionistSortObjectTypes = {
12195
12917
  } | string)));
12196
12918
  });
12197
12919
  partitionByNewLine?: boolean;
12198
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12199
- ignorePattern?: (({
12200
- pattern: string;
12201
- flags?: string;
12202
- } | string)[] | ({
12203
- pattern: string;
12204
- flags?: string;
12205
- } | string));
12206
- sortBy?: ("name" | "value");
12207
- groups?: (string | string[] | {
12208
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12209
- commentAbove?: string;
12210
- })[];
12211
12920
  }[];
12212
12921
  // ----- perfectionist/sort-objects -----
12213
12922
  type PerfectionistSortObjects = {
12214
12923
  fallbackSort?: {
12924
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12215
12925
  order?: ("asc" | "desc");
12216
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12217
12926
  };
12927
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12218
12928
  specialCharacters?: ("remove" | "trim" | "keep");
12219
12929
  ignoreCase?: boolean;
12220
12930
  alphabet?: string;
12221
12931
  locales?: (string | string[]);
12222
12932
  order?: ("asc" | "desc");
12223
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12224
- destructuredObjects?: (boolean | {
12225
- groups?: boolean;
12226
- });
12227
12933
  customGroups?: ({
12228
- [k: string]: (string | string[]) | undefined;
12229
- } | ({
12230
- newlinesInside?: (("always" | "never") | number);
12231
12934
  fallbackSort?: {
12935
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12232
12936
  order?: ("asc" | "desc");
12233
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12234
12937
  };
12938
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12235
12939
  groupName: string;
12940
+ newlinesInside?: ("ignore" | number);
12236
12941
  order?: ("asc" | "desc");
12237
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12238
- anyOf?: {
12239
- modifiers?: ("optional" | "required" | "multiline")[];
12240
- selector?: ("member" | "method" | "multiline" | "property");
12942
+ anyOf: [{
12943
+ elementNamePattern?: (({
12944
+ pattern: string;
12945
+ flags?: string;
12946
+ } | string)[] | ({
12947
+ pattern: string;
12948
+ flags?: string;
12949
+ } | string));
12950
+ modifiers?: ("multiline")[];
12951
+ selector?: ("member" | "method" | "property");
12241
12952
  elementValuePattern?: (({
12242
12953
  pattern: string;
12243
12954
  flags?: string;
@@ -12245,6 +12956,7 @@ type PerfectionistSortObjects = {
12245
12956
  pattern: string;
12246
12957
  flags?: string;
12247
12958
  } | string));
12959
+ }, ...({
12248
12960
  elementNamePattern?: (({
12249
12961
  pattern: string;
12250
12962
  flags?: string;
@@ -12252,33 +12964,57 @@ type PerfectionistSortObjects = {
12252
12964
  pattern: string;
12253
12965
  flags?: string;
12254
12966
  } | string));
12255
- }[];
12967
+ modifiers?: ("multiline")[];
12968
+ selector?: ("member" | "method" | "property");
12969
+ elementValuePattern?: (({
12970
+ pattern: string;
12971
+ flags?: string;
12972
+ } | string)[] | ({
12973
+ pattern: string;
12974
+ flags?: string;
12975
+ } | string));
12976
+ })[]];
12256
12977
  } | {
12257
- newlinesInside?: (("always" | "never") | number);
12258
12978
  fallbackSort?: {
12979
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12259
12980
  order?: ("asc" | "desc");
12260
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12261
12981
  };
12982
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12262
12983
  groupName: string;
12984
+ newlinesInside?: ("ignore" | number);
12263
12985
  order?: ("asc" | "desc");
12264
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12265
- modifiers?: ("optional" | "required" | "multiline")[];
12266
- selector?: ("member" | "method" | "multiline" | "property");
12267
- elementValuePattern?: (({
12986
+ elementNamePattern?: (({
12268
12987
  pattern: string;
12269
12988
  flags?: string;
12270
12989
  } | string)[] | ({
12271
12990
  pattern: string;
12272
12991
  flags?: string;
12273
12992
  } | string));
12274
- elementNamePattern?: (({
12993
+ modifiers?: ("multiline")[];
12994
+ selector?: ("member" | "method" | "property");
12995
+ elementValuePattern?: (({
12275
12996
  pattern: string;
12276
12997
  flags?: string;
12277
12998
  } | string)[] | ({
12278
12999
  pattern: string;
12279
13000
  flags?: string;
12280
13001
  } | string));
12281
- })[]);
13002
+ })[];
13003
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
13004
+ groups?: (string | [string, ...(string)[]] | {
13005
+ newlinesBetween: ("ignore" | number);
13006
+ } | {
13007
+ group: (string | [string, ...(string)[]]);
13008
+ fallbackSort?: {
13009
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13010
+ order?: ("asc" | "desc");
13011
+ };
13012
+ commentAbove?: string;
13013
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13014
+ newlinesInside?: ("ignore" | number);
13015
+ order?: ("asc" | "desc");
13016
+ })[];
13017
+ newlinesBetween?: ("ignore" | number);
12282
13018
  useConfigurationIf?: {
12283
13019
  allNamesMatchPattern?: (({
12284
13020
  pattern: string;
@@ -12287,16 +13023,36 @@ type PerfectionistSortObjects = {
12287
13023
  pattern: string;
12288
13024
  flags?: string;
12289
13025
  } | string));
13026
+ objectType?: ("destructured" | "non-destructured");
13027
+ hasNumericKeysOnly?: boolean;
13028
+ declarationCommentMatchesPattern?: (({
13029
+ scope?: ("shallow" | "deep");
13030
+ pattern: string;
13031
+ flags?: string;
13032
+ } | string)[] | ({
13033
+ scope?: ("shallow" | "deep");
13034
+ pattern: string;
13035
+ flags?: string;
13036
+ } | string));
12290
13037
  callingFunctionNamePattern?: (({
13038
+ scope?: ("shallow" | "deep");
13039
+ pattern: string;
13040
+ flags?: string;
13041
+ } | string)[] | ({
13042
+ scope?: ("shallow" | "deep");
13043
+ pattern: string;
13044
+ flags?: string;
13045
+ } | string));
13046
+ declarationMatchesPattern?: (({
13047
+ scope?: ("shallow" | "deep");
12291
13048
  pattern: string;
12292
13049
  flags?: string;
12293
13050
  } | string)[] | ({
13051
+ scope?: ("shallow" | "deep");
12294
13052
  pattern: string;
12295
13053
  flags?: string;
12296
13054
  } | string));
12297
13055
  };
12298
- destructureOnly?: boolean;
12299
- objectDeclarations?: boolean;
12300
13056
  styledComponents?: boolean;
12301
13057
  partitionByComment?: (boolean | (({
12302
13058
  pattern: string;
@@ -12321,43 +13077,38 @@ type PerfectionistSortObjects = {
12321
13077
  } | string)));
12322
13078
  });
12323
13079
  partitionByNewLine?: boolean;
12324
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12325
- ignorePattern?: (({
12326
- pattern: string;
12327
- flags?: string;
12328
- } | string)[] | ({
12329
- pattern: string;
12330
- flags?: string;
12331
- } | string));
12332
- groups?: (string | string[] | {
12333
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12334
- commentAbove?: string;
12335
- })[];
12336
13080
  }[];
12337
13081
  // ----- perfectionist/sort-sets -----
12338
13082
  type PerfectionistSortSets = {
12339
13083
  fallbackSort?: {
13084
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12340
13085
  order?: ("asc" | "desc");
12341
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12342
13086
  };
13087
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12343
13088
  specialCharacters?: ("remove" | "trim" | "keep");
12344
13089
  ignoreCase?: boolean;
12345
13090
  alphabet?: string;
12346
13091
  locales?: (string | string[]);
12347
13092
  order?: ("asc" | "desc");
12348
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12349
- groupKind?: ("mixed" | "literals-first" | "spreads-first");
12350
13093
  customGroups?: ({
12351
- newlinesInside?: (("always" | "never") | number);
12352
13094
  fallbackSort?: {
13095
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12353
13096
  order?: ("asc" | "desc");
12354
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12355
13097
  };
13098
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12356
13099
  groupName: string;
13100
+ newlinesInside?: ("ignore" | number);
12357
13101
  order?: ("asc" | "desc");
12358
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12359
- anyOf?: {
13102
+ anyOf: [{
13103
+ elementNamePattern?: (({
13104
+ pattern: string;
13105
+ flags?: string;
13106
+ } | string)[] | ({
13107
+ pattern: string;
13108
+ flags?: string;
13109
+ } | string));
12360
13110
  selector?: ("literal" | "spread");
13111
+ }, ...({
12361
13112
  elementNamePattern?: (({
12362
13113
  pattern: string;
12363
13114
  flags?: string;
@@ -12365,17 +13116,17 @@ type PerfectionistSortSets = {
12365
13116
  pattern: string;
12366
13117
  flags?: string;
12367
13118
  } | string));
12368
- }[];
13119
+ selector?: ("literal" | "spread");
13120
+ })[]];
12369
13121
  } | {
12370
- newlinesInside?: (("always" | "never") | number);
12371
13122
  fallbackSort?: {
13123
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12372
13124
  order?: ("asc" | "desc");
12373
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12374
13125
  };
13126
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12375
13127
  groupName: string;
13128
+ newlinesInside?: ("ignore" | number);
12376
13129
  order?: ("asc" | "desc");
12377
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12378
- selector?: ("literal" | "spread");
12379
13130
  elementNamePattern?: (({
12380
13131
  pattern: string;
12381
13132
  flags?: string;
@@ -12383,7 +13134,23 @@ type PerfectionistSortSets = {
12383
13134
  pattern: string;
12384
13135
  flags?: string;
12385
13136
  } | string));
13137
+ selector?: ("literal" | "spread");
13138
+ })[];
13139
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
13140
+ groups?: (string | [string, ...(string)[]] | {
13141
+ newlinesBetween: ("ignore" | number);
13142
+ } | {
13143
+ group: (string | [string, ...(string)[]]);
13144
+ fallbackSort?: {
13145
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13146
+ order?: ("asc" | "desc");
13147
+ };
13148
+ commentAbove?: string;
13149
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13150
+ newlinesInside?: ("ignore" | number);
13151
+ order?: ("asc" | "desc");
12386
13152
  })[];
13153
+ newlinesBetween?: ("ignore" | number);
12387
13154
  useConfigurationIf?: {
12388
13155
  allNamesMatchPattern?: (({
12389
13156
  pattern: string;
@@ -12416,48 +13183,51 @@ type PerfectionistSortSets = {
12416
13183
  } | string)));
12417
13184
  });
12418
13185
  partitionByNewLine?: boolean;
12419
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12420
- groups?: (string | string[] | {
12421
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12422
- commentAbove?: string;
12423
- })[];
12424
13186
  }[];
12425
13187
  // ----- perfectionist/sort-switch-case -----
12426
13188
  type PerfectionistSortSwitchCase = [] | [{
12427
13189
  fallbackSort?: {
13190
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12428
13191
  order?: ("asc" | "desc");
12429
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12430
13192
  };
13193
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12431
13194
  specialCharacters?: ("remove" | "trim" | "keep");
12432
13195
  ignoreCase?: boolean;
12433
13196
  alphabet?: string;
12434
13197
  locales?: (string | string[]);
12435
13198
  order?: ("asc" | "desc");
12436
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12437
13199
  }];
12438
13200
  // ----- perfectionist/sort-union-types -----
12439
13201
  type PerfectionistSortUnionTypes = {
12440
13202
  fallbackSort?: {
13203
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12441
13204
  order?: ("asc" | "desc");
12442
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12443
13205
  };
13206
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12444
13207
  specialCharacters?: ("remove" | "trim" | "keep");
12445
13208
  ignoreCase?: boolean;
12446
13209
  alphabet?: string;
12447
13210
  locales?: (string | string[]);
12448
13211
  order?: ("asc" | "desc");
12449
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12450
13212
  customGroups?: ({
12451
- newlinesInside?: (("always" | "never") | number);
12452
13213
  fallbackSort?: {
13214
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12453
13215
  order?: ("asc" | "desc");
12454
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12455
13216
  };
13217
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12456
13218
  groupName: string;
13219
+ newlinesInside?: ("ignore" | number);
12457
13220
  order?: ("asc" | "desc");
12458
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12459
- anyOf?: {
13221
+ anyOf: [{
13222
+ elementNamePattern?: (({
13223
+ pattern: string;
13224
+ flags?: string;
13225
+ } | string)[] | ({
13226
+ pattern: string;
13227
+ flags?: string;
13228
+ } | string));
12460
13229
  selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
13230
+ }, ...({
12461
13231
  elementNamePattern?: (({
12462
13232
  pattern: string;
12463
13233
  flags?: string;
@@ -12465,17 +13235,17 @@ type PerfectionistSortUnionTypes = {
12465
13235
  pattern: string;
12466
13236
  flags?: string;
12467
13237
  } | string));
12468
- }[];
13238
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
13239
+ })[]];
12469
13240
  } | {
12470
- newlinesInside?: (("always" | "never") | number);
12471
13241
  fallbackSort?: {
13242
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12472
13243
  order?: ("asc" | "desc");
12473
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12474
13244
  };
13245
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12475
13246
  groupName: string;
13247
+ newlinesInside?: ("ignore" | number);
12476
13248
  order?: ("asc" | "desc");
12477
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12478
- selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
12479
13249
  elementNamePattern?: (({
12480
13250
  pattern: string;
12481
13251
  flags?: string;
@@ -12483,7 +13253,23 @@ type PerfectionistSortUnionTypes = {
12483
13253
  pattern: string;
12484
13254
  flags?: string;
12485
13255
  } | string));
13256
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
13257
+ })[];
13258
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
13259
+ groups?: (string | [string, ...(string)[]] | {
13260
+ newlinesBetween: ("ignore" | number);
13261
+ } | {
13262
+ group: (string | [string, ...(string)[]]);
13263
+ fallbackSort?: {
13264
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13265
+ order?: ("asc" | "desc");
13266
+ };
13267
+ commentAbove?: string;
13268
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13269
+ newlinesInside?: ("ignore" | number);
13270
+ order?: ("asc" | "desc");
12486
13271
  })[];
13272
+ newlinesBetween?: ("ignore" | number);
12487
13273
  partitionByComment?: (boolean | (({
12488
13274
  pattern: string;
12489
13275
  flags?: string;
@@ -12507,35 +13293,38 @@ type PerfectionistSortUnionTypes = {
12507
13293
  } | string)));
12508
13294
  });
12509
13295
  partitionByNewLine?: boolean;
12510
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12511
- groups?: (string | string[] | {
12512
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12513
- commentAbove?: string;
12514
- })[];
12515
13296
  }[];
12516
13297
  // ----- perfectionist/sort-variable-declarations -----
12517
13298
  type PerfectionistSortVariableDeclarations = [] | [{
12518
13299
  fallbackSort?: {
13300
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12519
13301
  order?: ("asc" | "desc");
12520
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12521
13302
  };
13303
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12522
13304
  specialCharacters?: ("remove" | "trim" | "keep");
12523
13305
  ignoreCase?: boolean;
12524
13306
  alphabet?: string;
12525
13307
  locales?: (string | string[]);
12526
13308
  order?: ("asc" | "desc");
12527
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12528
13309
  customGroups?: ({
12529
- newlinesInside?: (("always" | "never") | number);
12530
13310
  fallbackSort?: {
13311
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12531
13312
  order?: ("asc" | "desc");
12532
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12533
13313
  };
13314
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12534
13315
  groupName: string;
13316
+ newlinesInside?: ("ignore" | number);
12535
13317
  order?: ("asc" | "desc");
12536
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12537
- anyOf?: {
13318
+ anyOf: [{
13319
+ elementNamePattern?: (({
13320
+ pattern: string;
13321
+ flags?: string;
13322
+ } | string)[] | ({
13323
+ pattern: string;
13324
+ flags?: string;
13325
+ } | string));
12538
13326
  selector?: ("initialized" | "uninitialized");
13327
+ }, ...({
12539
13328
  elementNamePattern?: (({
12540
13329
  pattern: string;
12541
13330
  flags?: string;
@@ -12543,17 +13332,17 @@ type PerfectionistSortVariableDeclarations = [] | [{
12543
13332
  pattern: string;
12544
13333
  flags?: string;
12545
13334
  } | string));
12546
- }[];
13335
+ selector?: ("initialized" | "uninitialized");
13336
+ })[]];
12547
13337
  } | {
12548
- newlinesInside?: (("always" | "never") | number);
12549
13338
  fallbackSort?: {
13339
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12550
13340
  order?: ("asc" | "desc");
12551
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12552
13341
  };
13342
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12553
13343
  groupName: string;
13344
+ newlinesInside?: ("ignore" | number);
12554
13345
  order?: ("asc" | "desc");
12555
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12556
- selector?: ("initialized" | "uninitialized");
12557
13346
  elementNamePattern?: (({
12558
13347
  pattern: string;
12559
13348
  flags?: string;
@@ -12561,7 +13350,23 @@ type PerfectionistSortVariableDeclarations = [] | [{
12561
13350
  pattern: string;
12562
13351
  flags?: string;
12563
13352
  } | string));
13353
+ selector?: ("initialized" | "uninitialized");
13354
+ })[];
13355
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
13356
+ groups?: (string | [string, ...(string)[]] | {
13357
+ newlinesBetween: ("ignore" | number);
13358
+ } | {
13359
+ group: (string | [string, ...(string)[]]);
13360
+ fallbackSort?: {
13361
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13362
+ order?: ("asc" | "desc");
13363
+ };
13364
+ commentAbove?: string;
13365
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13366
+ newlinesInside?: ("ignore" | number);
13367
+ order?: ("asc" | "desc");
12564
13368
  })[];
13369
+ newlinesBetween?: ("ignore" | number);
12565
13370
  partitionByComment?: (boolean | (({
12566
13371
  pattern: string;
12567
13372
  flags?: string;
@@ -12585,11 +13390,6 @@ type PerfectionistSortVariableDeclarations = [] | [{
12585
13390
  } | string)));
12586
13391
  });
12587
13392
  partitionByNewLine?: boolean;
12588
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12589
- groups?: (string | string[] | {
12590
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12591
- commentAbove?: string;
12592
- })[];
12593
13393
  }];
12594
13394
  // ----- pnpm/json-enforce-catalog -----
12595
13395
  type PnpmJsonEnforceCatalog = [] | [{
@@ -12613,6 +13413,15 @@ type PnpmJsonValidCatalog = [] | [{
12613
13413
  enforceNoConflict?: boolean;
12614
13414
  fields?: unknown[];
12615
13415
  }];
13416
+ // ----- pnpm/yaml-enforce-settings -----
13417
+ type PnpmYamlEnforceSettings = [] | [{
13418
+ autofix?: boolean;
13419
+ settings?: {
13420
+ [k: string]: unknown | undefined;
13421
+ };
13422
+ requiredFields?: string[];
13423
+ forbiddenFields?: string[];
13424
+ }];
12616
13425
  // ----- pnpm/yaml-no-duplicate-catalog-item -----
12617
13426
  type PnpmYamlNoDuplicateCatalogItem = [] | [{
12618
13427
  allow?: string[];
@@ -12827,6 +13636,11 @@ type ReactNamingConventionFilenameExtension = [] | [(("always" | "as-needed") |
12827
13636
  extensions?: string[];
12828
13637
  ignoreFilesWithoutCode?: boolean;
12829
13638
  })];
13639
+ // ----- react-naming-convention/use-state -----
13640
+ type ReactNamingConventionUseState = [] | [{
13641
+ enforceAssignment?: boolean;
13642
+ enforceSetterName?: boolean;
13643
+ }];
12830
13644
  // ----- react-refresh/only-export-components -----
12831
13645
  type ReactRefreshOnlyExportComponents = [] | [{
12832
13646
  allowExportNames?: string[];
@@ -12848,8 +13662,13 @@ type ReactNoForbiddenProps = [] | [{
12848
13662
  prop: string;
12849
13663
  })[];
12850
13664
  }];
13665
+ // ----- react/no-unstable-default-props -----
13666
+ type ReactNoUnstableDefaultProps = [] | [{
13667
+ safeDefaultProps?: string[];
13668
+ }];
12851
13669
  // ----- react/no-useless-fragment -----
12852
13670
  type ReactNoUselessFragment = [] | [{
13671
+ allowEmptyFragment?: boolean;
12853
13672
  allowExpressions?: boolean;
12854
13673
  }];
12855
13674
  // ----- regexp/hexadecimal-escape -----
@@ -14283,7 +15102,7 @@ type StyleTypeAnnotationSpacing = [] | [{
14283
15102
  after?: boolean;
14284
15103
  overrides?: {
14285
15104
  colon?: _StyleTypeAnnotationSpacing_SpacingConfig;
14286
- arrow?: _StyleTypeAnnotationSpacing_SpacingConfig;
15105
+ arrow?: ("ignore" | _StyleTypeAnnotationSpacing_SpacingConfig);
14287
15106
  variable?: _StyleTypeAnnotationSpacing_SpacingConfig;
14288
15107
  parameter?: _StyleTypeAnnotationSpacing_SpacingConfig;
14289
15108
  property?: _StyleTypeAnnotationSpacing_SpacingConfig;
@@ -14308,94 +15127,17 @@ type SwitchColonSpacing = [] | [{
14308
15127
  before?: boolean;
14309
15128
  after?: boolean;
14310
15129
  }];
14311
- // ----- tailwindcss/classnames-order -----
14312
- type TailwindcssClassnamesOrder = [] | [{
14313
- callees?: string[];
14314
- ignoredKeys?: string[];
14315
- config?: (string | {
14316
- [k: string]: unknown | undefined;
14317
- });
14318
- removeDuplicates?: boolean;
14319
- tags?: string[];
14320
- [k: string]: unknown | undefined;
14321
- }];
14322
- // ----- tailwindcss/enforces-negative-arbitrary-values -----
14323
- type TailwindcssEnforcesNegativeArbitraryValues = [] | [{
14324
- callees?: string[];
14325
- ignoredKeys?: string[];
14326
- config?: (string | {
14327
- [k: string]: unknown | undefined;
14328
- });
14329
- tags?: string[];
14330
- [k: string]: unknown | undefined;
14331
- }];
14332
- // ----- tailwindcss/enforces-shorthand -----
14333
- type TailwindcssEnforcesShorthand = [] | [{
14334
- callees?: string[];
14335
- ignoredKeys?: string[];
14336
- config?: (string | {
14337
- [k: string]: unknown | undefined;
14338
- });
14339
- tags?: string[];
14340
- [k: string]: unknown | undefined;
14341
- }];
14342
- // ----- tailwindcss/migration-from-tailwind-2 -----
14343
- type TailwindcssMigrationFromTailwind2 = [] | [{
14344
- callees?: string[];
14345
- ignoredKeys?: string[];
14346
- config?: (string | {
14347
- [k: string]: unknown | undefined;
14348
- });
14349
- tags?: string[];
14350
- [k: string]: unknown | undefined;
14351
- }];
14352
- // ----- tailwindcss/no-arbitrary-value -----
14353
- type TailwindcssNoArbitraryValue = [] | [{
14354
- callees?: string[];
14355
- ignoredKeys?: string[];
14356
- config?: (string | {
14357
- [k: string]: unknown | undefined;
14358
- });
14359
- tags?: string[];
14360
- [k: string]: unknown | undefined;
14361
- }];
14362
- // ----- tailwindcss/no-contradicting-classname -----
14363
- type TailwindcssNoContradictingClassname = [] | [{
14364
- callees?: string[];
14365
- ignoredKeys?: string[];
14366
- config?: (string | {
14367
- [k: string]: unknown | undefined;
14368
- });
14369
- tags?: string[];
14370
- [k: string]: unknown | undefined;
14371
- }];
14372
- // ----- tailwindcss/no-custom-classname -----
14373
- type TailwindcssNoCustomClassname = [] | [{
14374
- callees?: string[];
14375
- ignoredKeys?: string[];
14376
- config?: (string | {
14377
- [k: string]: unknown | undefined;
14378
- });
14379
- cssFiles?: string[];
14380
- cssFilesRefreshRate?: number;
14381
- tags?: string[];
14382
- whitelist?: string[];
14383
- [k: string]: unknown | undefined;
14384
- }];
14385
- // ----- tailwindcss/no-unnecessary-arbitrary-value -----
14386
- type TailwindcssNoUnnecessaryArbitraryValue = [] | [{
14387
- callees?: string[];
14388
- ignoredKeys?: string[];
14389
- config?: (string | {
14390
- [k: string]: unknown | undefined;
14391
- });
14392
- tags?: string[];
14393
- [k: string]: unknown | undefined;
14394
- }];
14395
15130
  // ----- template-curly-spacing -----
14396
15131
  type TemplateCurlySpacing = [] | [("always" | "never")];
14397
15132
  // ----- template-tag-spacing -----
14398
15133
  type TemplateTagSpacing = [] | [("always" | "never")];
15134
+ // ----- test/consistent-each-for -----
15135
+ type TestConsistentEachFor = [] | [{
15136
+ test?: ("each" | "for");
15137
+ it?: ("each" | "for");
15138
+ describe?: ("each" | "for");
15139
+ suite?: ("each" | "for");
15140
+ }];
14399
15141
  // ----- test/consistent-test-filename -----
14400
15142
  type TestConsistentTestFilename = [] | [{
14401
15143
  pattern?: string;
@@ -14423,13 +15165,17 @@ type TestMaxExpects = [] | [{
14423
15165
  type TestMaxNestedDescribe = [] | [{
14424
15166
  max?: number;
14425
15167
  }];
15168
+ // ----- test/no-conditional-expect -----
15169
+ type TestNoConditionalExpect = [] | [{
15170
+ expectAssertions?: boolean;
15171
+ }];
14426
15172
  // ----- test/no-focused-tests -----
14427
15173
  type TestNoFocusedTests = [] | [{
14428
15174
  fixable?: boolean;
14429
15175
  }];
14430
15176
  // ----- test/no-hooks -----
14431
15177
  type TestNoHooks = [] | [{
14432
- allow?: unknown[];
15178
+ allow?: ("beforeAll" | "beforeEach" | "afterAll" | "afterEach")[];
14433
15179
  }];
14434
15180
  // ----- test/no-large-snapshots -----
14435
15181
  type TestNoLargeSnapshots = [] | [{
@@ -14457,6 +15203,10 @@ type TestPreferExpectAssertions = [] | [{
14457
15203
  onlyFunctionsWithExpectInLoop?: boolean;
14458
15204
  onlyFunctionsWithExpectInCallback?: boolean;
14459
15205
  }];
15206
+ // ----- test/prefer-import-in-mock -----
15207
+ type TestPreferImportInMock = [] | [{
15208
+ fixable?: boolean;
15209
+ }];
14460
15210
  // ----- test/prefer-lowercase-title -----
14461
15211
  type TestPreferLowercaseTitle = [] | [{
14462
15212
  ignore?: ("describe" | "test" | "it")[];
@@ -17247,7 +17997,7 @@ type Yoda = [] | [("always" | "never")] | [("always" | "never"), {
17247
17997
  onlyEquality?: boolean;
17248
17998
  }];
17249
17999
  // Names of all the configs
17250
- type ConfigNames = 'luxass/astro/setup' | 'luxass/astro/rules' | 'command' | 'luxass/eslint-comments' | 'luxass/disables/scripts' | 'luxass/disables/cli' | 'luxass/disables/bin' | 'luxass/disables/dts' | 'luxass/disables/cjs' | 'luxass/disables/github-actions' | 'luxass/disables/config-files' | 'luxass/formatter/setup' | 'luxass/ignores' | 'luxass/imports' | 'luxass/javascript/setup' | 'luxass/javascript/rules' | 'luxass/disables/cli' | 'luxass/jsdoc/rules' | 'luxass/jsonc/setup' | 'luxass/jsonc/rules' | 'luxass/jsx/setup' | 'luxass/markdown/setup' | 'luxass/markdown/processor' | 'luxass/markdown/parser' | 'luxass/markdown/disables' | 'luxass/node' | 'luxass/perfectionist/setup' | 'luxass/pnpm/package-json' | 'luxass/pnpm/pnpm-workspace-yaml' | 'luxass/react/setup' | 'luxass/react/rules' | 'luxass/regexp/rules' | 'luxass/sort/package-json' | 'luxass/sort/tsconfig' | 'luxass/stylistic' | 'luxass/tailwindcss' | 'luxass/test/setup' | 'luxass/test/rules' | 'luxass/toml/setup' | 'luxass/toml/rules' | 'luxass/typescript/setup' | 'luxass/typescript/parser' | 'luxass/typescript/rules' | 'luxass/unicorn/rules' | 'luxass/unocss' | 'luxass/vue/setup' | 'luxass/vue/rules' | 'luxass/yaml/setup' | 'luxass/yaml/rules' | 'luxass/yaml/pnpm-workspace';
18000
+ type ConfigNames = 'luxass/gitignore' | 'luxass/ignores' | 'luxass/javascript/setup' | 'luxass/javascript/rules' | 'luxass/disables/cli' | 'luxass/eslint-comments' | 'command' | 'luxass/perfectionist/setup' | 'luxass/node' | 'luxass/jsdoc/rules' | 'luxass/imports' | 'luxass/unicorn/rules' | 'luxass/jsx/setup' | 'luxass/typescript/setup' | 'luxass/typescript/type-aware-parser' | 'luxass/typescript/parser' | 'luxass/typescript/rules' | 'luxass/typescript/rules-type-aware' | 'luxas/typescript/erasable-syntax-only' | 'luxass/stylistic' | 'luxass/regexp/rules' | 'luxass/test/setup' | 'luxass/test/rules' | 'luxass/react/setup' | 'luxass/react/rules' | 'luxass/react/type-aware-rules' | 'luxass/vue/setup' | 'luxass/vue/rules' | 'luxass/astro/setup' | 'luxass/astro/rules' | 'luxass/unocss' | 'luxass/jsonc/setup' | 'luxass/jsonc/rules' | 'luxass/sort/package-json' | 'luxass/sort/tsconfig' | 'luxass/pnpm/package-json' | 'luxass/pnpm/pnpm-workspace-yaml' | 'luxass/pnpm/pnpm-workspace-yaml-sort' | 'luxass/yaml/setup' | 'luxass/yaml/rules' | 'luxass/yaml/pnpm-workspace' | 'luxass/toml/setup' | 'luxass/toml/rules' | 'luxass/markdown/setup' | 'luxass/markdown/processor' | 'luxass/markdown/parser' | 'luxass/markdown/disables' | 'luxass/formatter/setup' | 'luxass/formatter/css' | 'luxass/formatter/scss' | 'luxass/formatter/less' | 'luxass/formatter/html' | 'luxass/formatter/markdown' | 'luxass/formatter/graphql' | 'luxass/disables/scripts' | 'luxass/disables/cli' | 'luxass/disables/bin' | 'luxass/disables/dts' | 'luxass/disables/cjs' | 'luxass/disables/github-actions' | 'luxass/disables/config-files';
17251
18001
  //#endregion
17252
18002
  //#region src/types.d.ts
17253
18003
  type Awaitable<T> = T | Promise<T>;
@@ -17307,6 +18057,12 @@ interface ConfigOptions {
17307
18057
  * NOTE: Can't be disabled.
17308
18058
  */
17309
18059
  javascript?: JavaScriptOptions;
18060
+ /**
18061
+ * Enable Node.js rules
18062
+ *
18063
+ * @default true
18064
+ */
18065
+ node?: boolean;
17310
18066
  /**
17311
18067
  * Enable JSONC support.
17312
18068
  *
@@ -17449,7 +18205,13 @@ interface ConfigOptions {
17449
18205
  * @experimental
17450
18206
  * @default false
17451
18207
  */
17452
- pnpm?: boolean;
18208
+ pnpm?: boolean | PnpmOptions;
18209
+ /**
18210
+ * Enable JSDoc rules
18211
+ *
18212
+ * @default true
18213
+ */
18214
+ jsdoc?: boolean;
17453
18215
  }
17454
18216
  //#endregion
17455
18217
  //#region src/factory.d.ts
@@ -17660,4 +18422,4 @@ declare function isPackageInScope(name: string): boolean;
17660
18422
  declare function isInEditorEnv(): boolean;
17661
18423
  declare function isInGitHooksOrLintStaged(): boolean;
17662
18424
  //#endregion
17663
- export { type AstroOptions, Awaitable, type ConfigNames, ConfigOptions, type FormattersOptions, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_NEXTJS_OG, GLOB_NEXTJS_ROUTES, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type ImportsOptions, type JSDOCOptions, type JSONOptions, type JavaScriptOptions, type MarkdownOptions, ProjectType, type ReactOptions, type RegExpOptions, ResolvedOptions, Rules, type StylisticConfig, type StylisticOptions, type TOMLOptions, type TailwindCSSOptions, type TestOptions, type TypeScriptOptions, TypedFlatConfigItem, type UnicornOptions, type UnoCSSOptions, UserConfigItem, type VueOptions, type YAMLOptions, astro, combine, command, comments, luxass as default, luxass, disables, ensure, formatters, getOverrides, ignores, imports, interop, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, javascript, jsdoc, jsonc, jsx, markdown, node, parserPlain, perfectionist, pnpm, react, regexp, renamePluginInConfigs, renameRules, resolveSubOptions, sortPackageJson, sortTsconfig, stylistic, tailwindcss, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };
18425
+ export { type AstroOptions, Awaitable, type ConfigNames, ConfigOptions, type FormattersOptions, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_NEXTJS_OG, GLOB_NEXTJS_ROUTES, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type ImportsOptions, type JSDOCOptions, type JSONOptions, type JavaScriptOptions, type MarkdownOptions, type PnpmOptions, ProjectType, type ReactOptions, type RegExpOptions, ResolvedOptions, Rules, type StylisticConfig, type StylisticOptions, type TOMLOptions, type TailwindCSSOptions, type TestOptions, type TypeScriptOptions, TypedFlatConfigItem, type UnicornOptions, type UnoCSSOptions, UserConfigItem, type VueOptions, type YAMLOptions, astro, combine, command, comments, luxass as default, luxass, disables, ensure, formatters, getOverrides, ignores, imports, interop, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, javascript, jsdoc, jsonc, jsx, markdown, node, parserPlain, perfectionist, pnpm, react, regexp, renamePluginInConfigs, renameRules, resolveSubOptions, sortPackageJson, sortTsconfig, stylistic, tailwindcss, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };