@vinicunca/eslint-config 4.1.0 → 4.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -700,6 +700,11 @@ interface RuleOptions {
700
700
  * @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/no-named-default/README.md
701
701
  */
702
702
  'import/no-named-default'?: Linter.RuleEntry<[]>;
703
+ /**
704
+ * Prefer a default export if module exports a single name or multiple names.
705
+ * @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/prefer-default-export/README.md
706
+ */
707
+ 'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>;
703
708
  /**
704
709
  * Enforce consistent indentation
705
710
  * @see https://eslint.org/docs/latest/rules/indent
@@ -2649,6 +2654,11 @@ interface RuleOptions {
2649
2654
  * @see https://perfectionist.dev/rules/sort-enums
2650
2655
  */
2651
2656
  'perfectionist/sort-enums'?: Linter.RuleEntry<PerfectionistSortEnums>;
2657
+ /**
2658
+ * Enforce sorted export attributes.
2659
+ * @see https://perfectionist.dev/rules/sort-export-attributes
2660
+ */
2661
+ 'perfectionist/sort-export-attributes'?: Linter.RuleEntry<PerfectionistSortExportAttributes>;
2652
2662
  /**
2653
2663
  * Enforce sorted exports.
2654
2664
  * @see https://perfectionist.dev/rules/sort-exports
@@ -2659,6 +2669,11 @@ interface RuleOptions {
2659
2669
  * @see https://perfectionist.dev/rules/sort-heritage-clauses
2660
2670
  */
2661
2671
  'perfectionist/sort-heritage-clauses'?: Linter.RuleEntry<PerfectionistSortHeritageClauses>;
2672
+ /**
2673
+ * Enforce sorted import attributes.
2674
+ * @see https://perfectionist.dev/rules/sort-import-attributes
2675
+ */
2676
+ 'perfectionist/sort-import-attributes'?: Linter.RuleEntry<PerfectionistSortImportAttributes>;
2662
2677
  /**
2663
2678
  * Enforce sorted imports.
2664
2679
  * @see https://perfectionist.dev/rules/sort-imports
@@ -2823,97 +2838,97 @@ interface RuleOptions {
2823
2838
  */
2824
2839
  'radix'?: Linter.RuleEntry<Radix>;
2825
2840
  /**
2826
- * Disallow `dangerouslySetInnerHTML`.
2841
+ * Disallows DOM elements from using 'dangerouslySetInnerHTML'.
2827
2842
  * @see https://eslint-react.xyz/docs/rules/dom-no-dangerously-set-innerhtml
2828
2843
  */
2829
2844
  'react-dom/no-dangerously-set-innerhtml'?: Linter.RuleEntry<[]>;
2830
2845
  /**
2831
- * Disallow `dangerouslySetInnerHTML` and `children` at the same time.
2846
+ * Disallows DOM elements from using 'dangerouslySetInnerHTML' and 'children' at the same time.
2832
2847
  * @see https://eslint-react.xyz/docs/rules/dom-no-dangerously-set-innerhtml-with-children
2833
2848
  */
2834
2849
  'react-dom/no-dangerously-set-innerhtml-with-children'?: Linter.RuleEntry<[]>;
2835
2850
  /**
2836
- * Disallow `findDOMNode`.
2851
+ * Disallows 'findDOMNode'.
2837
2852
  * @see https://eslint-react.xyz/docs/rules/dom-no-find-dom-node
2838
2853
  */
2839
2854
  'react-dom/no-find-dom-node'?: Linter.RuleEntry<[]>;
2840
2855
  /**
2841
- * Disallow `flushSync`.
2856
+ * Disallows 'flushSync'.
2842
2857
  * @see https://eslint-react.xyz/docs/rules/dom-no-flush-sync
2843
2858
  */
2844
2859
  'react-dom/no-flush-sync'?: Linter.RuleEntry<[]>;
2845
2860
  /**
2846
- * Replaces usages of `ReactDom.hydrate()` with `hydrateRoot()`.
2861
+ * Replaces usage of 'ReactDOM.hydrate()' with 'hydrateRoot()'.
2847
2862
  * @see https://eslint-react.xyz/docs/rules/dom-no-hydrate
2848
2863
  */
2849
2864
  'react-dom/no-hydrate'?: Linter.RuleEntry<[]>;
2850
2865
  /**
2851
- * Enforces explicit `type` attribute for `button` elements.
2866
+ * Enforces an explicit 'type' attribute for 'button' elements.
2852
2867
  * @see https://eslint-react.xyz/docs/rules/dom-no-missing-button-type
2853
2868
  */
2854
2869
  'react-dom/no-missing-button-type'?: Linter.RuleEntry<[]>;
2855
2870
  /**
2856
- * Enforces explicit `sandbox` prop for `iframe` elements.
2871
+ * Enforces an explicit 'sandbox' attribute for 'iframe' elements.
2857
2872
  * @see https://eslint-react.xyz/docs/rules/dom-no-missing-iframe-sandbox
2858
2873
  */
2859
2874
  'react-dom/no-missing-iframe-sandbox'?: Linter.RuleEntry<[]>;
2860
2875
  /**
2861
- * Enforces the absence of a `namespace` in React elements.
2876
+ * Enforces the absence of a 'namespace' in React elements.
2862
2877
  * @see https://eslint-react.xyz/docs/rules/dom-no-namespace
2863
2878
  */
2864
2879
  'react-dom/no-namespace'?: Linter.RuleEntry<[]>;
2865
2880
  /**
2866
- * Replaces usages of `ReactDom.render()` with `createRoot(node).render()`.
2881
+ * Replaces usage of 'ReactDOM.render()' with 'createRoot(node).render()'.
2867
2882
  * @see https://eslint-react.xyz/docs/rules/dom-no-render
2868
2883
  */
2869
2884
  'react-dom/no-render'?: Linter.RuleEntry<[]>;
2870
2885
  /**
2871
- * Disallow the return value of `ReactDOM.render`.
2886
+ * Disallows the return value of 'ReactDOM.render'.
2872
2887
  * @see https://eslint-react.xyz/docs/rules/dom-no-render-return-value
2873
2888
  */
2874
2889
  'react-dom/no-render-return-value'?: Linter.RuleEntry<[]>;
2875
2890
  /**
2876
- * Disallow `javascript:` URLs as attribute values.
2891
+ * Disallows 'javascript:' URLs as attribute values.
2877
2892
  * @see https://eslint-react.xyz/docs/rules/dom-no-script-url
2878
2893
  */
2879
2894
  'react-dom/no-script-url'?: Linter.RuleEntry<[]>;
2880
2895
  /**
2881
- * Disallows the use of string style prop.
2896
+ * Disallows the use of string style prop in JSX. Use an object instead.
2882
2897
  * @see https://eslint-react.xyz/docs/rules/dom-no-string-style-prop
2883
2898
  */
2884
2899
  'react-dom/no-string-style-prop'?: Linter.RuleEntry<[]>;
2885
2900
  /**
2886
- * Disallow unknown `DOM` property.
2901
+ * Disallows unknown 'DOM' properties.
2887
2902
  * @see https://eslint-react.xyz/docs/rules/dom-no-unknown-property
2888
2903
  */
2889
2904
  'react-dom/no-unknown-property'?: Linter.RuleEntry<ReactDomNoUnknownProperty>;
2890
2905
  /**
2891
- * Enforces `sandbox` attribute for `iframe` elements is not set to unsafe combinations.
2906
+ * Enforces 'sandbox' attribute for 'iframe' elements is not set to unsafe combinations.
2892
2907
  * @see https://eslint-react.xyz/docs/rules/dom-no-unsafe-iframe-sandbox
2893
2908
  */
2894
2909
  'react-dom/no-unsafe-iframe-sandbox'?: Linter.RuleEntry<[]>;
2895
2910
  /**
2896
- * Disallow `target="_blank"` without `rel="noreferrer noopener"`.
2911
+ * Disallows 'target="_blank"' without 'rel="noreferrer noopener"'.
2897
2912
  * @see https://eslint-react.xyz/docs/rules/dom-no-unsafe-target-blank
2898
2913
  */
2899
2914
  'react-dom/no-unsafe-target-blank'?: Linter.RuleEntry<[]>;
2900
2915
  /**
2901
- * Replaces usages of `useFormState` with `useActionState`.
2916
+ * Replaces usage of 'useFormState' with 'useActionState'.
2902
2917
  * @see https://eslint-react.xyz/docs/rules/dom-no-use-form-state
2903
2918
  */
2904
2919
  'react-dom/no-use-form-state'?: Linter.RuleEntry<[]>;
2905
2920
  /**
2906
- * Disallow `children` in void DOM elements.
2921
+ * Disallows 'children' in void DOM elements.
2907
2922
  * @see https://eslint-react.xyz/docs/rules/dom-no-void-elements-with-children
2908
2923
  */
2909
2924
  'react-dom/no-void-elements-with-children'?: Linter.RuleEntry<[]>;
2910
2925
  /**
2911
- * Enforces React Dom is imported via a namespace import.
2926
+ * Enforces importing React DOM via a namespace import.
2912
2927
  * @see https://eslint-react.xyz/docs/rules/dom-prefer-namespace-import
2913
2928
  */
2914
2929
  'react-dom/prefer-namespace-import'?: Linter.RuleEntry<[]>;
2915
2930
  /**
2916
- * Disallow direct calls to the `set` function of `useState` in `useEffect`.
2931
+ * Disallows direct calls to the ['set' function](https://react.dev/reference/react/useState#setstate) of 'useState' in 'useEffect'.
2917
2932
  * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-effect
2918
2933
  */
2919
2934
  'react-hooks-extra/no-direct-set-state-in-use-effect'?: Linter.RuleEntry<[]>;
@@ -3041,88 +3056,93 @@ interface RuleOptions {
3041
3056
  */
3042
3057
  'react-naming-convention/component-name'?: Linter.RuleEntry<ReactNamingConventionComponentName>;
3043
3058
  /**
3044
- * Enforces context name to be a valid component name with the suffix `Context`.
3059
+ * Enforces the context name to be a valid component name with the suffix 'Context'.
3045
3060
  * @see https://eslint-react.xyz/docs/rules/naming-convention-context-name
3046
3061
  */
3047
3062
  'react-naming-convention/context-name'?: Linter.RuleEntry<[]>;
3048
3063
  /**
3049
- * Enforces consistent file naming conventions.
3064
+ * Enforces consistent file-naming conventions.
3050
3065
  * @see https://eslint-react.xyz/docs/rules/naming-convention-filename
3051
3066
  */
3052
3067
  'react-naming-convention/filename'?: Linter.RuleEntry<ReactNamingConventionFilename>;
3053
3068
  /**
3054
- * Enforces consistent file naming conventions.
3069
+ * Enforces consistent use of the JSX file extension.
3055
3070
  * @see https://eslint-react.xyz/docs/rules/naming-convention-filename-extension
3056
3071
  */
3057
3072
  'react-naming-convention/filename-extension'?: Linter.RuleEntry<ReactNamingConventionFilenameExtension>;
3058
3073
  /**
3059
- * Enforces destructuring and symmetric naming of `useState` hook value and setter.
3074
+ * Enforces identifier names assigned from 'useRef' calls to be either 'ref' or end with 'Ref'.
3075
+ * @see https://eslint-react.xyz/docs/rules/naming-convention-ref-name
3076
+ */
3077
+ 'react-naming-convention/ref-name'?: Linter.RuleEntry<[]>;
3078
+ /**
3079
+ * Enforces destructuring and symmetric naming of the 'useState' hook value and setter.
3060
3080
  * @see https://eslint-react.xyz/docs/rules/naming-convention-use-state
3061
3081
  */
3062
- 'react-naming-convention/use-state'?: Linter.RuleEntry<[]>;
3082
+ 'react-naming-convention/use-state'?: Linter.RuleEntry<ReactNamingConventionUseState>;
3063
3083
  'react-refresh/only-export-components'?: Linter.RuleEntry<ReactRefreshOnlyExportComponents>;
3064
3084
  /**
3065
- * Prevents leaked `addEventListener` in a component or custom Hook.
3085
+ * Enforces that every 'addEventListener' in a component or custom hook has a corresponding 'removeEventListener'.
3066
3086
  * @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-event-listener
3067
3087
  */
3068
3088
  'react-web-api/no-leaked-event-listener'?: Linter.RuleEntry<[]>;
3069
3089
  /**
3070
- * Prevents leaked `setInterval` in a component or custom Hook.
3090
+ * Enforces that every 'setInterval' in a component or custom hook has a corresponding 'clearInterval'.
3071
3091
  * @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-interval
3072
3092
  */
3073
3093
  'react-web-api/no-leaked-interval'?: Linter.RuleEntry<[]>;
3074
3094
  /**
3075
- * Prevents leaked `ResizeObserver` in a component or custom Hook.
3095
+ * Enforces that every 'ResizeObserver' created in a component or custom hook has a corresponding 'ResizeObserver.disconnect()'.
3076
3096
  * @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-resize-observer
3077
3097
  */
3078
3098
  'react-web-api/no-leaked-resize-observer'?: Linter.RuleEntry<[]>;
3079
3099
  /**
3080
- * Prevents leaked `setTimeout` in a component or custom Hook.
3100
+ * Enforces that every 'setTimeout' in a component or custom hook has a corresponding 'clearTimeout'.
3081
3101
  * @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-timeout
3082
3102
  */
3083
3103
  'react-web-api/no-leaked-timeout'?: Linter.RuleEntry<[]>;
3084
3104
  /**
3085
- * Prevents dollar signs from being inserted as text nodes before expressions.
3105
+ * Prevents unnecessary dollar signs ('$') from being inserted before an expression in JSX.
3086
3106
  * @see https://eslint-react.xyz/docs/rules/jsx-dollar
3087
3107
  */
3088
3108
  'react/jsx-dollar'?: Linter.RuleEntry<[]>;
3089
3109
  /**
3090
- * Enforces that the 'key' prop is placed before the spread prop in JSX elements.
3110
+ * Enforces that the 'key' prop is placed before the spread prop in JSX elements when using the new JSX transform.
3091
3111
  * @see https://eslint-react.xyz/docs/rules/jsx-key-before-spread
3092
3112
  */
3093
3113
  'react/jsx-key-before-spread'?: Linter.RuleEntry<[]>;
3094
3114
  /**
3095
- * Prevents comments from being inserted as text nodes.
3115
+ * Prevents comment strings (e.g., beginning with '//' or '/*') from being accidentally inserted into a JSX element's text nodes.
3096
3116
  * @see https://eslint-react.xyz/docs/rules/jsx-no-comment-textnodes
3097
3117
  */
3098
3118
  'react/jsx-no-comment-textnodes'?: Linter.RuleEntry<[]>;
3099
3119
  /**
3100
- * Disallow duplicate props in JSX elements.
3120
+ * Disallows duplicate props in JSX elements.
3101
3121
  * @see https://eslint-react.xyz/docs/rules/jsx-no-duplicate-props
3102
3122
  */
3103
3123
  'react/jsx-no-duplicate-props'?: Linter.RuleEntry<[]>;
3104
3124
  /**
3105
- * Disallows 'IIFE' in JSX elements.
3125
+ * Disallows 'IIFE' in JSX.
3106
3126
  * @see https://eslint-react.xyz/docs/rules/jsx-no-iife
3107
3127
  */
3108
3128
  'react/jsx-no-iife'?: Linter.RuleEntry<[]>;
3109
3129
  /**
3110
- * Disallow undefined variables in JSX.
3130
+ * Prevents using variables in JSX that are not defined in the scope.
3111
3131
  * @see https://eslint-react.xyz/docs/rules/jsx-no-undef
3112
3132
  */
3113
3133
  'react/jsx-no-undef'?: Linter.RuleEntry<[]>;
3114
3134
  /**
3115
- * Enforces shorthand syntax for boolean attributes.
3135
+ * Enforces the use of shorthand syntax for boolean attributes.
3116
3136
  * @see https://eslint-react.xyz/docs/rules/jsx-shorthand-boolean
3117
3137
  */
3118
3138
  'react/jsx-shorthand-boolean'?: Linter.RuleEntry<ReactJsxShorthandBoolean>;
3119
3139
  /**
3120
- * Enforces shorthand syntax for fragments.
3140
+ * Enforces the use of shorthand syntax for fragments.
3121
3141
  * @see https://eslint-react.xyz/docs/rules/jsx-shorthand-fragment
3122
3142
  */
3123
3143
  'react/jsx-shorthand-fragment'?: Linter.RuleEntry<ReactJsxShorthandFragment>;
3124
3144
  /**
3125
- * Marks React variables as used when JSX is used.
3145
+ * Marks React variables as used when JSX is present.
3126
3146
  * @see https://eslint-react.xyz/docs/rules/jsx-uses-react
3127
3147
  */
3128
3148
  'react/jsx-uses-react'?: Linter.RuleEntry<[]>;
@@ -3132,108 +3152,108 @@ interface RuleOptions {
3132
3152
  */
3133
3153
  'react/jsx-uses-vars'?: Linter.RuleEntry<[]>;
3134
3154
  /**
3135
- * Disallow accessing `this.state` inside `setState` calls.
3155
+ * Disallows accessing 'this.state' inside 'setState' calls.
3136
3156
  * @see https://eslint-react.xyz/docs/rules/no-access-state-in-setstate
3137
3157
  */
3138
3158
  'react/no-access-state-in-setstate'?: Linter.RuleEntry<[]>;
3139
3159
  /**
3140
- * Disallow an item's index in the array as its key.
3160
+ * Disallows using an item's index in the array as its key.
3141
3161
  * @see https://eslint-react.xyz/docs/rules/no-array-index-key
3142
3162
  */
3143
3163
  'react/no-array-index-key'?: Linter.RuleEntry<[]>;
3144
3164
  /**
3145
- * Disallow `Children.count`.
3165
+ * Disallows the use of 'Children.count' from the 'react' package.
3146
3166
  * @see https://eslint-react.xyz/docs/rules/no-children-count
3147
3167
  */
3148
3168
  'react/no-children-count'?: Linter.RuleEntry<[]>;
3149
3169
  /**
3150
- * Disallow 'Children.forEach'.
3170
+ * Disallows the use of 'Children.forEach' from the 'react' package.
3151
3171
  * @see https://eslint-react.xyz/docs/rules/no-children-for-each
3152
3172
  */
3153
3173
  'react/no-children-for-each'?: Linter.RuleEntry<[]>;
3154
3174
  /**
3155
- * Disallow `Children.map`.
3175
+ * Disallows the use of 'Children.map' from the 'react' package.
3156
3176
  * @see https://eslint-react.xyz/docs/rules/no-children-map
3157
3177
  */
3158
3178
  'react/no-children-map'?: Linter.RuleEntry<[]>;
3159
3179
  /**
3160
- * Disallow `Children.only`.
3180
+ * Disallows the use of 'Children.only' from the 'react' package.
3161
3181
  * @see https://eslint-react.xyz/docs/rules/no-children-only
3162
3182
  */
3163
3183
  'react/no-children-only'?: Linter.RuleEntry<[]>;
3164
3184
  /**
3165
- * Disallow passing `children` as a prop.
3185
+ * Disallows passing 'children' as a prop.
3166
3186
  * @see https://eslint-react.xyz/docs/rules/no-children-prop
3167
3187
  */
3168
3188
  'react/no-children-prop'?: Linter.RuleEntry<[]>;
3169
3189
  /**
3170
- * Disallow `Children.toArray`.
3190
+ * Disallows the use of 'Children.toArray' from the 'react' package.
3171
3191
  * @see https://eslint-react.xyz/docs/rules/no-children-to-array
3172
3192
  */
3173
3193
  'react/no-children-to-array'?: Linter.RuleEntry<[]>;
3174
3194
  /**
3175
- * Disallow class components except for error boundaries.
3195
+ * Disallows class components except for error boundaries.
3176
3196
  * @see https://eslint-react.xyz/docs/rules/no-class-component
3177
3197
  */
3178
3198
  'react/no-class-component'?: Linter.RuleEntry<[]>;
3179
3199
  /**
3180
- * Disallow `cloneElement`.
3200
+ * Disallows 'cloneElement'.
3181
3201
  * @see https://eslint-react.xyz/docs/rules/no-clone-element
3182
3202
  */
3183
3203
  'react/no-clone-element'?: Linter.RuleEntry<[]>;
3184
3204
  /**
3185
- * Replace usages of `componentWillMount` with `UNSAFE_componentWillMount`.
3205
+ * Replaces usage of 'componentWillMount' with 'UNSAFE_componentWillMount'.
3186
3206
  * @see https://eslint-react.xyz/docs/rules/no-component-will-mount
3187
3207
  */
3188
3208
  'react/no-component-will-mount'?: Linter.RuleEntry<[]>;
3189
3209
  /**
3190
- * Replace usages of `componentWillReceiveProps` with `UNSAFE_componentWillReceiveProps`.
3210
+ * Replaces usage of 'componentWillReceiveProps' with 'UNSAFE_componentWillReceiveProps'.
3191
3211
  * @see https://eslint-react.xyz/docs/rules/no-component-will-receive-props
3192
3212
  */
3193
3213
  'react/no-component-will-receive-props'?: Linter.RuleEntry<[]>;
3194
3214
  /**
3195
- * Replace usages of `componentWillUpdate` with `UNSAFE_componentWillUpdate`.
3215
+ * Replaces usage of 'componentWillUpdate' with 'UNSAFE_componentWillUpdate'.
3196
3216
  * @see https://eslint-react.xyz/docs/rules/no-component-will-update
3197
3217
  */
3198
3218
  'react/no-component-will-update'?: Linter.RuleEntry<[]>;
3199
3219
  /**
3200
- * Replace usages of `<Context.Provider>` with `<Context>`.
3220
+ * Replaces usage of '<Context.Provider>' with '<Context>'.
3201
3221
  * @see https://eslint-react.xyz/docs/rules/no-context-provider
3202
3222
  */
3203
3223
  'react/no-context-provider'?: Linter.RuleEntry<[]>;
3204
3224
  /**
3205
- * Disallow `createRef` in function components.
3225
+ * Disallows 'createRef' in function components.
3206
3226
  * @see https://eslint-react.xyz/docs/rules/no-create-ref
3207
3227
  */
3208
3228
  'react/no-create-ref'?: Linter.RuleEntry<[]>;
3209
3229
  /**
3210
- * Disallow `defaultProps` property in favor of ES6 default parameters.
3230
+ * Disallows the 'defaultProps' property in favor of ES6 default parameters.
3211
3231
  * @see https://eslint-react.xyz/docs/rules/no-default-props
3212
3232
  */
3213
3233
  'react/no-default-props'?: Linter.RuleEntry<[]>;
3214
3234
  /**
3215
- * Disallow direct mutation of `this.state`.
3235
+ * Disallows direct mutation of 'this.state'.
3216
3236
  * @see https://eslint-react.xyz/docs/rules/no-direct-mutation-state
3217
3237
  */
3218
3238
  'react/no-direct-mutation-state'?: Linter.RuleEntry<[]>;
3219
3239
  /**
3220
- * Disallow duplicate `key` on elements in the same array or a list of `children`.
3240
+ * Disallows duplicate 'key' on elements in the same array or a list of 'children'.
3221
3241
  * @see https://eslint-react.xyz/docs/rules/no-duplicate-key
3222
3242
  */
3223
3243
  'react/no-duplicate-key'?: Linter.RuleEntry<[]>;
3224
3244
  /**
3225
- * Disallow certain props on components.
3245
+ * Disallows certain props on components.
3226
3246
  * @see https://eslint-react.xyz/docs/rules/no-forbidden-props
3227
3247
  * @deprecated
3228
3248
  */
3229
3249
  'react/no-forbidden-props'?: Linter.RuleEntry<ReactNoForbiddenProps>;
3230
3250
  /**
3231
- * Replaces usages of `forwardRef` with passing `ref` as a prop.
3251
+ * Replaces usage of 'forwardRef' with passing 'ref' as a prop.
3232
3252
  * @see https://eslint-react.xyz/docs/rules/no-forward-ref
3233
3253
  */
3234
3254
  'react/no-forward-ref'?: Linter.RuleEntry<[]>;
3235
3255
  /**
3236
- * Prevents `key` from not being explicitly specified (e.g. spreading `key` from objects).
3256
+ * Prevents 'key' from not being explicitly specified (e.g., spreading 'key' from objects).
3237
3257
  * @see https://eslint-react.xyz/docs/rules/no-implicit-key
3238
3258
  */
3239
3259
  'react/no-implicit-key'?: Linter.RuleEntry<[]>;
@@ -3243,57 +3263,57 @@ interface RuleOptions {
3243
3263
  */
3244
3264
  'react/no-leaked-conditional-rendering'?: Linter.RuleEntry<[]>;
3245
3265
  /**
3246
- * Enforces that all components have a `displayName` which can be used in devtools.
3266
+ * Enforces that all components have a 'displayName' that can be used in devtools.
3247
3267
  * @see https://eslint-react.xyz/docs/rules/no-missing-component-display-name
3248
3268
  */
3249
3269
  'react/no-missing-component-display-name'?: Linter.RuleEntry<[]>;
3250
3270
  /**
3251
- * Enforces that all contexts have a `displayName` which can be used in devtools.
3271
+ * Enforces that all contexts have a 'displayName' that can be used in devtools.
3252
3272
  * @see https://eslint-react.xyz/docs/rules/no-missing-context-display-name
3253
3273
  */
3254
3274
  'react/no-missing-context-display-name'?: Linter.RuleEntry<[]>;
3255
3275
  /**
3256
- * Disallow missing `key` on items in list rendering.
3276
+ * Disallows missing 'key' on items in list rendering.
3257
3277
  * @see https://eslint-react.xyz/docs/rules/no-missing-key
3258
3278
  */
3259
3279
  'react/no-missing-key'?: Linter.RuleEntry<[]>;
3260
3280
  /**
3261
- * Prevents incorrect usage of `captureOwnerStack`.
3281
+ * Prevents incorrect usage of 'captureOwnerStack'.
3262
3282
  * @see https://eslint-react.xyz/docs/rules/no-misused-capture-owner-stack
3263
3283
  */
3264
3284
  'react/no-misused-capture-owner-stack'?: Linter.RuleEntry<[]>;
3265
3285
  /**
3266
- * Disallow nesting component definitions inside other components.
3286
+ * Disallows nesting component definitions inside other components.
3267
3287
  * @see https://eslint-react.xyz/docs/rules/no-nested-component-definitions
3268
3288
  */
3269
3289
  'react/no-nested-component-definitions'?: Linter.RuleEntry<[]>;
3270
3290
  /**
3271
- * Disallow nesting lazy component declarations inside other components.
3291
+ * Disallows nesting lazy component declarations inside other components.
3272
3292
  * @see https://eslint-react.xyz/docs/rules/no-nested-lazy-component-declarations
3273
3293
  */
3274
3294
  'react/no-nested-lazy-component-declarations'?: Linter.RuleEntry<[]>;
3275
3295
  /**
3276
- * Disallow `propTypes` in favor of TypeScript or another type-checking solution.
3296
+ * Disallows 'propTypes' in favor of TypeScript or another type-checking solution.
3277
3297
  * @see https://eslint-react.xyz/docs/rules/no-prop-types
3278
3298
  */
3279
3299
  'react/no-prop-types'?: Linter.RuleEntry<[]>;
3280
3300
  /**
3281
- * Disallow `shouldComponentUpdate` when extending `React.PureComponent`.
3301
+ * Disallows 'shouldComponentUpdate' when extending 'React.PureComponent'.
3282
3302
  * @see https://eslint-react.xyz/docs/rules/no-redundant-should-component-update
3283
3303
  */
3284
3304
  'react/no-redundant-should-component-update'?: Linter.RuleEntry<[]>;
3285
3305
  /**
3286
- * Disallow calling `this.setState` in `componentDidMount` outside of functions, such as callbacks.
3306
+ * Disallows calling 'this.setState' in 'componentDidMount' outside functions such as callbacks.
3287
3307
  * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-mount
3288
3308
  */
3289
3309
  'react/no-set-state-in-component-did-mount'?: Linter.RuleEntry<[]>;
3290
3310
  /**
3291
- * Disallow calling `this.setState` in `componentDidUpdate` outside of functions, such as callbacks.
3311
+ * Disallows calling 'this.setState' in 'componentDidUpdate' outside functions such as callbacks.
3292
3312
  * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-update
3293
3313
  */
3294
3314
  'react/no-set-state-in-component-did-update'?: Linter.RuleEntry<[]>;
3295
3315
  /**
3296
- * Disallow calling `this.setState` in `componentWillUpdate` outside of functions, such as callbacks.
3316
+ * Disallows calling 'this.setState' in 'componentWillUpdate' outside functions such as callbacks.
3297
3317
  * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-will-update
3298
3318
  */
3299
3319
  'react/no-set-state-in-component-will-update'?: Linter.RuleEntry<[]>;
@@ -3303,42 +3323,47 @@ interface RuleOptions {
3303
3323
  */
3304
3324
  'react/no-string-refs'?: Linter.RuleEntry<[]>;
3305
3325
  /**
3306
- * Prevents the use of unnecessary `key` props on JSX elements when rendering lists.
3326
+ * Disallows unnecessary 'key' props on elements.
3307
3327
  * @see https://eslint-react.xyz/docs/rules/no-unnecessary-key
3308
3328
  */
3309
3329
  'react/no-unnecessary-key'?: Linter.RuleEntry<[]>;
3310
3330
  /**
3311
- * Disallow unnecessary usage of `useCallback`.
3331
+ * Disallows unnecessary usage of 'useCallback'.
3312
3332
  * @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-callback
3313
3333
  */
3314
3334
  'react/no-unnecessary-use-callback'?: Linter.RuleEntry<[]>;
3315
3335
  /**
3316
- * Disallow unnecessary usage of `useMemo`.
3336
+ * Disallows unnecessary usage of 'useMemo'.
3317
3337
  * @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-memo
3318
3338
  */
3319
3339
  'react/no-unnecessary-use-memo'?: Linter.RuleEntry<[]>;
3320
3340
  /**
3321
- * Enforces that a function with the `use` prefix should use at least one Hook inside of it.
3341
+ * Enforces that a function with the 'use' prefix uses at least one Hook inside it.
3322
3342
  * @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-prefix
3323
3343
  */
3324
3344
  'react/no-unnecessary-use-prefix'?: Linter.RuleEntry<[]>;
3325
3345
  /**
3326
- * Warns the usage of `UNSAFE_componentWillMount` in class components.
3346
+ * Disallows unnecessary usage of 'useRef'.
3347
+ * @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-ref
3348
+ */
3349
+ 'react/no-unnecessary-use-ref'?: Linter.RuleEntry<[]>;
3350
+ /**
3351
+ * Warns about the use of 'UNSAFE_componentWillMount' in class components.
3327
3352
  * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-mount
3328
3353
  */
3329
3354
  'react/no-unsafe-component-will-mount'?: Linter.RuleEntry<[]>;
3330
3355
  /**
3331
- * Warns the usage of `UNSAFE_componentWillReceiveProps` in class components.
3356
+ * Warns about the use of 'UNSAFE_componentWillReceiveProps' in class components.
3332
3357
  * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-receive-props
3333
3358
  */
3334
3359
  'react/no-unsafe-component-will-receive-props'?: Linter.RuleEntry<[]>;
3335
3360
  /**
3336
- * Warns the usage of `UNSAFE_componentWillUpdate` in class components.
3361
+ * Warns about the use of 'UNSAFE_componentWillUpdate' in class components.
3337
3362
  * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-update
3338
3363
  */
3339
3364
  'react/no-unsafe-component-will-update'?: Linter.RuleEntry<[]>;
3340
3365
  /**
3341
- * Prevents non-stable values (i.e. object literals) from being used as a value for `Context.Provider`.
3366
+ * Prevents non-stable values (i.e., object literals) from being used as a value for 'Context.Provider'.
3342
3367
  * @see https://eslint-react.xyz/docs/rules/no-unstable-context-value
3343
3368
  */
3344
3369
  'react/no-unstable-context-value'?: Linter.RuleEntry<[]>;
@@ -3348,32 +3373,32 @@ interface RuleOptions {
3348
3373
  */
3349
3374
  'react/no-unstable-default-props'?: Linter.RuleEntry<ReactNoUnstableDefaultProps>;
3350
3375
  /**
3351
- * Warns unused class component methods and properties.
3376
+ * Warns about unused class component methods and properties.
3352
3377
  * @see https://eslint-react.xyz/docs/rules/no-unused-class-component-members
3353
3378
  */
3354
3379
  'react/no-unused-class-component-members'?: Linter.RuleEntry<[]>;
3355
3380
  /**
3356
- * Warns component props that are defined but never used.
3381
+ * Warns about component props that are defined but never used.
3357
3382
  * @see https://eslint-react.xyz/docs/rules/no-unused-props
3358
3383
  */
3359
3384
  'react/no-unused-props'?: Linter.RuleEntry<[]>;
3360
3385
  /**
3361
- * Warns unused class component state.
3386
+ * Warns about unused class component state.
3362
3387
  * @see https://eslint-react.xyz/docs/rules/no-unused-state
3363
3388
  */
3364
3389
  'react/no-unused-state'?: Linter.RuleEntry<[]>;
3365
3390
  /**
3366
- * Replaces usages of `useContext` with `use`.
3391
+ * Replaces usage of 'useContext' with 'use'.
3367
3392
  * @see https://eslint-react.xyz/docs/rules/no-use-context
3368
3393
  */
3369
3394
  'react/no-use-context'?: Linter.RuleEntry<[]>;
3370
3395
  /**
3371
- * Disallow useless `forwardRef` calls on components that don't use `ref`s.
3396
+ * Disallows useless 'forwardRef' calls on components that don't use 'ref's.
3372
3397
  * @see https://eslint-react.xyz/docs/rules/no-useless-forward-ref
3373
3398
  */
3374
3399
  'react/no-useless-forward-ref'?: Linter.RuleEntry<[]>;
3375
3400
  /**
3376
- * Disallow useless fragment elements.
3401
+ * Disallows useless fragment elements.
3377
3402
  * @see https://eslint-react.xyz/docs/rules/no-useless-fragment
3378
3403
  */
3379
3404
  'react/no-useless-fragment'?: Linter.RuleEntry<ReactNoUselessFragment>;
@@ -3383,7 +3408,7 @@ interface RuleOptions {
3383
3408
  */
3384
3409
  'react/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>;
3385
3410
  /**
3386
- * Enforces React is imported via a namespace import.
3411
+ * Enforces importing React via a namespace import.
3387
3412
  * @see https://eslint-react.xyz/docs/rules/prefer-namespace-import
3388
3413
  */
3389
3414
  'react/prefer-namespace-import'?: Linter.RuleEntry<[]>;
@@ -3393,7 +3418,7 @@ interface RuleOptions {
3393
3418
  */
3394
3419
  'react/prefer-read-only-props'?: Linter.RuleEntry<[]>;
3395
3420
  /**
3396
- * Enforces function calls made inside `useState` to be wrapped in an `initializer function`.
3421
+ * Enforces wrapping function calls made inside 'useState' in an 'initializer function'.
3397
3422
  * @see https://eslint-react.xyz/docs/rules/prefer-use-state-lazy-initialization
3398
3423
  */
3399
3424
  'react/prefer-use-state-lazy-initialization'?: Linter.RuleEntry<[]>;
@@ -5560,6 +5585,7 @@ interface RuleOptions {
5560
5585
  /**
5561
5586
  * Enforce props alphabetical sorting
5562
5587
  * @see https://eslint.style/rules/jsx-sort-props
5588
+ * @deprecated
5563
5589
  */
5564
5590
  'style/jsx-sort-props'?: Linter.RuleEntry<StyleJsxSortProps>;
5565
5591
  /**
@@ -6313,7 +6339,7 @@ interface RuleOptions {
6313
6339
  * disallow conditional expects
6314
6340
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-conditional-expect.md
6315
6341
  */
6316
- 'test/no-conditional-expect'?: Linter.RuleEntry<[]>;
6342
+ 'test/no-conditional-expect'?: Linter.RuleEntry<TestNoConditionalExpect>;
6317
6343
  /**
6318
6344
  * disallow conditional tests
6319
6345
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-conditional-in-test.md
@@ -6540,6 +6566,11 @@ interface RuleOptions {
6540
6566
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-mock-promise-shorthand.md
6541
6567
  */
6542
6568
  'test/prefer-mock-promise-shorthand'?: Linter.RuleEntry<[]>;
6569
+ /**
6570
+ * Prefer mock return shorthands
6571
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-mock-return-shorthand.md
6572
+ */
6573
+ 'test/prefer-mock-return-shorthand'?: Linter.RuleEntry<[]>;
6543
6574
  /**
6544
6575
  * enforce including a hint with external snapshots
6545
6576
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-snapshot-hint.md
@@ -6625,6 +6656,11 @@ interface RuleOptions {
6625
6656
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-mock-type-parameters.md
6626
6657
  */
6627
6658
  'test/require-mock-type-parameters'?: Linter.RuleEntry<TestRequireMockTypeParameters>;
6659
+ /**
6660
+ * require tests to declare a timeout
6661
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-test-timeout.md
6662
+ */
6663
+ 'test/require-test-timeout'?: Linter.RuleEntry<[]>;
6628
6664
  /**
6629
6665
  * require toThrow() to be called with an error message
6630
6666
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-to-throw-message.md
@@ -7412,6 +7448,11 @@ interface RuleOptions {
7412
7448
  * @see https://typescript-eslint.io/rules/strict-boolean-expressions
7413
7449
  */
7414
7450
  'ts/strict-boolean-expressions'?: Linter.RuleEntry<TsStrictBooleanExpressions>;
7451
+ /**
7452
+ * Disallow passing a value-returning function in a position accepting a void function
7453
+ * @see https://typescript-eslint.io/rules/strict-void-return
7454
+ */
7455
+ 'ts/strict-void-return'?: Linter.RuleEntry<TsStrictVoidReturn>;
7415
7456
  /**
7416
7457
  * Require switch-case statements to be exhaustive
7417
7458
  * @see https://typescript-eslint.io/rules/switch-exhaustiveness-check
@@ -10025,6 +10066,7 @@ type FormatDprint = [] | [{
10025
10066
  languageOptions?: {
10026
10067
  [k: string]: unknown | undefined;
10027
10068
  };
10069
+ plugins?: unknown[];
10028
10070
  [k: string]: unknown | undefined;
10029
10071
  }];
10030
10072
  // ----- format/prettier -----
@@ -10125,6 +10167,10 @@ type ImportNewlineAfterImport = [] | [{
10125
10167
  type ImportNoDuplicates = [] | [{
10126
10168
  "prefer-inline"?: boolean;
10127
10169
  }];
10170
+ // ----- import/prefer-default-export -----
10171
+ type ImportPreferDefaultExport = [] | [{
10172
+ target?: ("single" | "any");
10173
+ }];
10128
10174
  // ----- indent -----
10129
10175
  type Indent = [] | [("tab" | number)] | [("tab" | number), {
10130
10176
  SwitchCase?: number;
@@ -10486,6 +10532,7 @@ type JsdocRequireHyphenBeforeParamDescription = [] | [("always" | "never")] | [(
10486
10532
  }];
10487
10533
  // ----- jsdoc/require-jsdoc -----
10488
10534
  type JsdocRequireJsdoc = [] | [{
10535
+ checkAllFunctionExpressions?: boolean;
10489
10536
  checkConstructors?: boolean;
10490
10537
  checkGetters?: (boolean | "no-setter");
10491
10538
  checkSetters?: (boolean | "no-getter");
@@ -12336,27 +12383,34 @@ type PaddingLineBetweenStatements = {
12336
12383
  // ----- perfectionist/sort-array-includes -----
12337
12384
  type PerfectionistSortArrayIncludes = {
12338
12385
  fallbackSort?: {
12386
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12339
12387
  order?: ("asc" | "desc");
12340
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12341
12388
  };
12389
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12342
12390
  specialCharacters?: ("remove" | "trim" | "keep");
12343
12391
  ignoreCase?: boolean;
12344
12392
  alphabet?: string;
12345
12393
  locales?: (string | string[]);
12346
12394
  order?: ("asc" | "desc");
12347
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12348
- groupKind?: ("mixed" | "literals-first" | "spreads-first");
12349
12395
  customGroups?: ({
12350
- newlinesInside?: (("always" | "never") | number);
12351
12396
  fallbackSort?: {
12397
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12352
12398
  order?: ("asc" | "desc");
12353
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12354
12399
  };
12400
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12355
12401
  groupName: string;
12402
+ newlinesInside?: ("ignore" | number);
12356
12403
  order?: ("asc" | "desc");
12357
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12358
- anyOf?: {
12404
+ anyOf: [{
12405
+ elementNamePattern?: (({
12406
+ pattern: string;
12407
+ flags?: string;
12408
+ } | string)[] | ({
12409
+ pattern: string;
12410
+ flags?: string;
12411
+ } | string));
12359
12412
  selector?: ("literal" | "spread");
12413
+ }, ...({
12360
12414
  elementNamePattern?: (({
12361
12415
  pattern: string;
12362
12416
  flags?: string;
@@ -12364,17 +12418,17 @@ type PerfectionistSortArrayIncludes = {
12364
12418
  pattern: string;
12365
12419
  flags?: string;
12366
12420
  } | string));
12367
- }[];
12421
+ selector?: ("literal" | "spread");
12422
+ })[]];
12368
12423
  } | {
12369
- newlinesInside?: (("always" | "never") | number);
12370
12424
  fallbackSort?: {
12425
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12371
12426
  order?: ("asc" | "desc");
12372
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12373
12427
  };
12428
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12374
12429
  groupName: string;
12430
+ newlinesInside?: ("ignore" | number);
12375
12431
  order?: ("asc" | "desc");
12376
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12377
- selector?: ("literal" | "spread");
12378
12432
  elementNamePattern?: (({
12379
12433
  pattern: string;
12380
12434
  flags?: string;
@@ -12382,7 +12436,23 @@ type PerfectionistSortArrayIncludes = {
12382
12436
  pattern: string;
12383
12437
  flags?: string;
12384
12438
  } | string));
12439
+ selector?: ("literal" | "spread");
12440
+ })[];
12441
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
12442
+ groups?: (string | [string, ...(string)[]] | {
12443
+ newlinesBetween: ("ignore" | number);
12444
+ } | {
12445
+ group: (string | [string, ...(string)[]]);
12446
+ fallbackSort?: {
12447
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12448
+ order?: ("asc" | "desc");
12449
+ };
12450
+ commentAbove?: string;
12451
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12452
+ newlinesInside?: ("ignore" | number);
12453
+ order?: ("asc" | "desc");
12385
12454
  })[];
12455
+ newlinesBetween?: ("ignore" | number);
12386
12456
  useConfigurationIf?: {
12387
12457
  allNamesMatchPattern?: (({
12388
12458
  pattern: string;
@@ -12415,34 +12485,36 @@ type PerfectionistSortArrayIncludes = {
12415
12485
  } | string)));
12416
12486
  });
12417
12487
  partitionByNewLine?: boolean;
12418
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12419
- groups?: (string | string[] | {
12420
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12421
- commentAbove?: string;
12422
- })[];
12423
12488
  }[];
12424
12489
  // ----- perfectionist/sort-classes -----
12425
12490
  type PerfectionistSortClasses = [] | [{
12426
12491
  fallbackSort?: {
12492
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12427
12493
  order?: ("asc" | "desc");
12428
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12429
12494
  };
12495
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12430
12496
  specialCharacters?: ("remove" | "trim" | "keep");
12431
12497
  ignoreCase?: boolean;
12432
12498
  alphabet?: string;
12433
12499
  locales?: (string | string[]);
12434
12500
  order?: ("asc" | "desc");
12435
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12436
12501
  customGroups?: ({
12437
- newlinesInside?: (("always" | "never") | number);
12438
12502
  fallbackSort?: {
12503
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12439
12504
  order?: ("asc" | "desc");
12440
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12441
12505
  };
12506
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12442
12507
  groupName: string;
12508
+ newlinesInside?: ("ignore" | number);
12443
12509
  order?: ("asc" | "desc");
12444
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12445
- anyOf?: {
12510
+ anyOf: [{
12511
+ elementNamePattern?: (({
12512
+ pattern: string;
12513
+ flags?: string;
12514
+ } | string)[] | ({
12515
+ pattern: string;
12516
+ flags?: string;
12517
+ } | string));
12446
12518
  modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
12447
12519
  selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
12448
12520
  decoratorNamePattern?: (({
@@ -12459,6 +12531,7 @@ type PerfectionistSortClasses = [] | [{
12459
12531
  pattern: string;
12460
12532
  flags?: string;
12461
12533
  } | string));
12534
+ }, ...({
12462
12535
  elementNamePattern?: (({
12463
12536
  pattern: string;
12464
12537
  flags?: string;
@@ -12466,33 +12539,49 @@ type PerfectionistSortClasses = [] | [{
12466
12539
  pattern: string;
12467
12540
  flags?: string;
12468
12541
  } | string));
12469
- }[];
12542
+ modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
12543
+ selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
12544
+ decoratorNamePattern?: (({
12545
+ pattern: string;
12546
+ flags?: string;
12547
+ } | string)[] | ({
12548
+ pattern: string;
12549
+ flags?: string;
12550
+ } | string));
12551
+ elementValuePattern?: (({
12552
+ pattern: string;
12553
+ flags?: string;
12554
+ } | string)[] | ({
12555
+ pattern: string;
12556
+ flags?: string;
12557
+ } | string));
12558
+ })[]];
12470
12559
  } | {
12471
- newlinesInside?: (("always" | "never") | number);
12472
12560
  fallbackSort?: {
12561
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12473
12562
  order?: ("asc" | "desc");
12474
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12475
12563
  };
12564
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12476
12565
  groupName: string;
12566
+ newlinesInside?: ("ignore" | number);
12477
12567
  order?: ("asc" | "desc");
12478
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12479
- modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
12480
- selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
12481
- decoratorNamePattern?: (({
12568
+ elementNamePattern?: (({
12482
12569
  pattern: string;
12483
12570
  flags?: string;
12484
12571
  } | string)[] | ({
12485
12572
  pattern: string;
12486
12573
  flags?: string;
12487
12574
  } | string));
12488
- elementValuePattern?: (({
12575
+ modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[];
12576
+ selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method");
12577
+ decoratorNamePattern?: (({
12489
12578
  pattern: string;
12490
12579
  flags?: string;
12491
12580
  } | string)[] | ({
12492
12581
  pattern: string;
12493
12582
  flags?: string;
12494
12583
  } | string));
12495
- elementNamePattern?: (({
12584
+ elementValuePattern?: (({
12496
12585
  pattern: string;
12497
12586
  flags?: string;
12498
12587
  } | string)[] | ({
@@ -12500,6 +12589,21 @@ type PerfectionistSortClasses = [] | [{
12500
12589
  flags?: string;
12501
12590
  } | string));
12502
12591
  })[];
12592
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
12593
+ groups?: (string | [string, ...(string)[]] | {
12594
+ newlinesBetween: ("ignore" | number);
12595
+ } | {
12596
+ group: (string | [string, ...(string)[]]);
12597
+ fallbackSort?: {
12598
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12599
+ order?: ("asc" | "desc");
12600
+ };
12601
+ commentAbove?: string;
12602
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12603
+ newlinesInside?: ("ignore" | number);
12604
+ order?: ("asc" | "desc");
12605
+ })[];
12606
+ newlinesBetween?: ("ignore" | number);
12503
12607
  ignoreCallbackDependenciesPatterns?: (({
12504
12608
  pattern: string;
12505
12609
  flags?: string;
@@ -12530,24 +12634,77 @@ type PerfectionistSortClasses = [] | [{
12530
12634
  } | string)));
12531
12635
  });
12532
12636
  partitionByNewLine?: boolean;
12533
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12534
- groups?: (string | string[] | {
12535
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12536
- commentAbove?: string;
12537
- })[];
12538
12637
  }];
12539
12638
  // ----- perfectionist/sort-decorators -----
12540
- type PerfectionistSortDecorators = [] | [{
12639
+ type PerfectionistSortDecorators = {
12541
12640
  fallbackSort?: {
12641
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12542
12642
  order?: ("asc" | "desc");
12543
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12544
12643
  };
12644
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12545
12645
  specialCharacters?: ("remove" | "trim" | "keep");
12546
12646
  ignoreCase?: boolean;
12547
12647
  alphabet?: string;
12548
12648
  locales?: (string | string[]);
12549
12649
  order?: ("asc" | "desc");
12550
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12650
+ customGroups?: ({
12651
+ fallbackSort?: {
12652
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12653
+ order?: ("asc" | "desc");
12654
+ };
12655
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12656
+ groupName: string;
12657
+ newlinesInside?: ("ignore" | number);
12658
+ order?: ("asc" | "desc");
12659
+ anyOf: [{
12660
+ elementNamePattern?: (({
12661
+ pattern: string;
12662
+ flags?: string;
12663
+ } | string)[] | ({
12664
+ pattern: string;
12665
+ flags?: string;
12666
+ } | string));
12667
+ }, ...({
12668
+ elementNamePattern?: (({
12669
+ pattern: string;
12670
+ flags?: string;
12671
+ } | string)[] | ({
12672
+ pattern: string;
12673
+ flags?: string;
12674
+ } | string));
12675
+ })[]];
12676
+ } | {
12677
+ fallbackSort?: {
12678
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12679
+ order?: ("asc" | "desc");
12680
+ };
12681
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12682
+ groupName: string;
12683
+ newlinesInside?: ("ignore" | number);
12684
+ order?: ("asc" | "desc");
12685
+ elementNamePattern?: (({
12686
+ pattern: string;
12687
+ flags?: string;
12688
+ } | string)[] | ({
12689
+ pattern: string;
12690
+ flags?: string;
12691
+ } | string));
12692
+ })[];
12693
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
12694
+ groups?: (string | [string, ...(string)[]] | {
12695
+ newlinesBetween: ("ignore" | number);
12696
+ } | {
12697
+ group: (string | [string, ...(string)[]]);
12698
+ fallbackSort?: {
12699
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12700
+ order?: ("asc" | "desc");
12701
+ };
12702
+ commentAbove?: string;
12703
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12704
+ newlinesInside?: ("ignore" | number);
12705
+ order?: ("asc" | "desc");
12706
+ })[];
12707
+ newlinesBetween?: ("ignore" | number);
12551
12708
  sortOnParameters?: boolean;
12552
12709
  sortOnProperties?: boolean;
12553
12710
  sortOnAccessors?: boolean;
@@ -12575,38 +12732,37 @@ type PerfectionistSortDecorators = [] | [{
12575
12732
  flags?: string;
12576
12733
  } | string)));
12577
12734
  });
12578
- customGroups?: {
12579
- [k: string]: (string | string[]) | undefined;
12580
- };
12581
- groups?: (string | string[] | {
12582
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12583
- commentAbove?: string;
12584
- })[];
12585
- }];
12735
+ partitionByNewLine?: boolean;
12736
+ }[];
12586
12737
  // ----- perfectionist/sort-enums -----
12587
12738
  type PerfectionistSortEnums = [] | [{
12588
12739
  fallbackSort?: {
12740
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12589
12741
  order?: ("asc" | "desc");
12590
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12591
12742
  };
12743
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12592
12744
  specialCharacters?: ("remove" | "trim" | "keep");
12593
12745
  ignoreCase?: boolean;
12594
12746
  alphabet?: string;
12595
12747
  locales?: (string | string[]);
12596
12748
  order?: ("asc" | "desc");
12597
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12598
12749
  customGroups?: ({
12599
- [k: string]: (string | string[]) | undefined;
12600
- } | ({
12601
- newlinesInside?: (("always" | "never") | number);
12602
12750
  fallbackSort?: {
12751
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12603
12752
  order?: ("asc" | "desc");
12604
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12605
12753
  };
12754
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12606
12755
  groupName: string;
12756
+ newlinesInside?: ("ignore" | number);
12607
12757
  order?: ("asc" | "desc");
12608
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12609
- anyOf?: {
12758
+ anyOf: [{
12759
+ elementNamePattern?: (({
12760
+ pattern: string;
12761
+ flags?: string;
12762
+ } | string)[] | ({
12763
+ pattern: string;
12764
+ flags?: string;
12765
+ } | string));
12610
12766
  elementValuePattern?: (({
12611
12767
  pattern: string;
12612
12768
  flags?: string;
@@ -12614,6 +12770,7 @@ type PerfectionistSortEnums = [] | [{
12614
12770
  pattern: string;
12615
12771
  flags?: string;
12616
12772
  } | string));
12773
+ }, ...({
12617
12774
  elementNamePattern?: (({
12618
12775
  pattern: string;
12619
12776
  flags?: string;
@@ -12621,33 +12778,54 @@ type PerfectionistSortEnums = [] | [{
12621
12778
  pattern: string;
12622
12779
  flags?: string;
12623
12780
  } | string));
12624
- }[];
12781
+ elementValuePattern?: (({
12782
+ pattern: string;
12783
+ flags?: string;
12784
+ } | string)[] | ({
12785
+ pattern: string;
12786
+ flags?: string;
12787
+ } | string));
12788
+ })[]];
12625
12789
  } | {
12626
- newlinesInside?: (("always" | "never") | number);
12627
12790
  fallbackSort?: {
12791
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12628
12792
  order?: ("asc" | "desc");
12629
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12630
12793
  };
12794
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12631
12795
  groupName: string;
12796
+ newlinesInside?: ("ignore" | number);
12632
12797
  order?: ("asc" | "desc");
12633
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12634
- elementValuePattern?: (({
12798
+ elementNamePattern?: (({
12635
12799
  pattern: string;
12636
12800
  flags?: string;
12637
12801
  } | string)[] | ({
12638
12802
  pattern: string;
12639
12803
  flags?: string;
12640
12804
  } | string));
12641
- elementNamePattern?: (({
12805
+ elementValuePattern?: (({
12642
12806
  pattern: string;
12643
12807
  flags?: string;
12644
12808
  } | string)[] | ({
12645
12809
  pattern: string;
12646
12810
  flags?: string;
12647
12811
  } | string));
12648
- })[]);
12649
- forceNumericSort?: boolean;
12650
- sortByValue?: boolean;
12812
+ })[];
12813
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
12814
+ groups?: (string | [string, ...(string)[]] | {
12815
+ newlinesBetween: ("ignore" | number);
12816
+ } | {
12817
+ group: (string | [string, ...(string)[]]);
12818
+ fallbackSort?: {
12819
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12820
+ order?: ("asc" | "desc");
12821
+ };
12822
+ commentAbove?: string;
12823
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12824
+ newlinesInside?: ("ignore" | number);
12825
+ order?: ("asc" | "desc");
12826
+ })[];
12827
+ newlinesBetween?: ("ignore" | number);
12828
+ sortByValue?: ("always" | "ifNumericEnum" | "never");
12651
12829
  partitionByComment?: (boolean | (({
12652
12830
  pattern: string;
12653
12831
  flags?: string;
@@ -12671,37 +12849,37 @@ type PerfectionistSortEnums = [] | [{
12671
12849
  } | string)));
12672
12850
  });
12673
12851
  partitionByNewLine?: boolean;
12674
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12675
- groups?: (string | string[] | {
12676
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12677
- commentAbove?: string;
12678
- })[];
12679
12852
  }];
12680
- // ----- perfectionist/sort-exports -----
12681
- type PerfectionistSortExports = {
12853
+ // ----- perfectionist/sort-export-attributes -----
12854
+ type PerfectionistSortExportAttributes = {
12682
12855
  fallbackSort?: {
12856
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12683
12857
  order?: ("asc" | "desc");
12684
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12685
12858
  };
12859
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12686
12860
  specialCharacters?: ("remove" | "trim" | "keep");
12687
12861
  ignoreCase?: boolean;
12688
12862
  alphabet?: string;
12689
12863
  locales?: (string | string[]);
12690
12864
  order?: ("asc" | "desc");
12691
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12692
- groupKind?: ("mixed" | "values-first" | "types-first");
12693
12865
  customGroups?: ({
12694
- newlinesInside?: (("always" | "never") | number);
12695
12866
  fallbackSort?: {
12867
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12696
12868
  order?: ("asc" | "desc");
12697
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12698
12869
  };
12870
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12699
12871
  groupName: string;
12872
+ newlinesInside?: ("ignore" | number);
12700
12873
  order?: ("asc" | "desc");
12701
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12702
- anyOf?: {
12703
- modifiers?: ("value" | "type")[];
12704
- selector?: "export";
12874
+ anyOf: [{
12875
+ elementNamePattern?: (({
12876
+ pattern: string;
12877
+ flags?: string;
12878
+ } | string)[] | ({
12879
+ pattern: string;
12880
+ flags?: string;
12881
+ } | string));
12882
+ }, ...({
12705
12883
  elementNamePattern?: (({
12706
12884
  pattern: string;
12707
12885
  flags?: string;
@@ -12709,18 +12887,16 @@ type PerfectionistSortExports = {
12709
12887
  pattern: string;
12710
12888
  flags?: string;
12711
12889
  } | string));
12712
- }[];
12890
+ })[]];
12713
12891
  } | {
12714
- newlinesInside?: (("always" | "never") | number);
12715
12892
  fallbackSort?: {
12893
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12716
12894
  order?: ("asc" | "desc");
12717
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12718
12895
  };
12896
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12719
12897
  groupName: string;
12898
+ newlinesInside?: ("ignore" | number);
12720
12899
  order?: ("asc" | "desc");
12721
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12722
- modifiers?: ("value" | "type")[];
12723
- selector?: "export";
12724
12900
  elementNamePattern?: (({
12725
12901
  pattern: string;
12726
12902
  flags?: string;
@@ -12729,6 +12905,21 @@ type PerfectionistSortExports = {
12729
12905
  flags?: string;
12730
12906
  } | string));
12731
12907
  })[];
12908
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
12909
+ groups?: (string | [string, ...(string)[]] | {
12910
+ newlinesBetween: ("ignore" | number);
12911
+ } | {
12912
+ group: (string | [string, ...(string)[]]);
12913
+ fallbackSort?: {
12914
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12915
+ order?: ("asc" | "desc");
12916
+ };
12917
+ commentAbove?: string;
12918
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12919
+ newlinesInside?: ("ignore" | number);
12920
+ order?: ("asc" | "desc");
12921
+ })[];
12922
+ newlinesBetween?: ("ignore" | number);
12732
12923
  partitionByComment?: (boolean | (({
12733
12924
  pattern: string;
12734
12925
  flags?: string;
@@ -12752,70 +12943,39 @@ type PerfectionistSortExports = {
12752
12943
  } | string)));
12753
12944
  });
12754
12945
  partitionByNewLine?: boolean;
12755
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12756
- groups?: (string | string[] | {
12757
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12758
- commentAbove?: string;
12759
- })[];
12760
12946
  }[];
12761
- // ----- perfectionist/sort-heritage-clauses -----
12762
- type PerfectionistSortHeritageClauses = [] | [{
12763
- fallbackSort?: {
12764
- order?: ("asc" | "desc");
12765
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12766
- };
12767
- specialCharacters?: ("remove" | "trim" | "keep");
12768
- ignoreCase?: boolean;
12769
- alphabet?: string;
12770
- locales?: (string | string[]);
12771
- order?: ("asc" | "desc");
12772
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12773
- customGroups?: {
12774
- [k: string]: (string | string[]) | undefined;
12775
- };
12776
- groups?: (string | string[] | {
12777
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12778
- commentAbove?: string;
12779
- })[];
12780
- }];
12781
- // ----- perfectionist/sort-imports -----
12782
- type PerfectionistSortImports = {
12947
+ // ----- perfectionist/sort-exports -----
12948
+ type PerfectionistSortExports = {
12783
12949
  fallbackSort?: {
12950
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12784
12951
  order?: ("asc" | "desc");
12785
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12786
12952
  };
12953
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12787
12954
  specialCharacters?: ("remove" | "trim" | "keep");
12788
12955
  ignoreCase?: boolean;
12789
12956
  alphabet?: string;
12790
12957
  locales?: (string | string[]);
12791
12958
  order?: ("asc" | "desc");
12792
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12793
12959
  customGroups?: ({
12794
- value?: {
12795
- [k: string]: (string | string[]) | undefined;
12796
- };
12797
- type?: {
12798
- [k: string]: (string | string[]) | undefined;
12799
- };
12800
- } | ({
12801
- newlinesInside?: (("always" | "never") | number);
12802
12960
  fallbackSort?: {
12961
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12803
12962
  order?: ("asc" | "desc");
12804
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12805
12963
  };
12964
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12806
12965
  groupName: string;
12966
+ newlinesInside?: ("ignore" | number);
12807
12967
  order?: ("asc" | "desc");
12808
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12809
- anyOf?: {
12810
- modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[];
12811
- selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
12812
- elementValuePattern?: (({
12968
+ anyOf: [{
12969
+ elementNamePattern?: (({
12813
12970
  pattern: string;
12814
12971
  flags?: string;
12815
12972
  } | string)[] | ({
12816
12973
  pattern: string;
12817
12974
  flags?: string;
12818
12975
  } | string));
12976
+ modifiers?: ("value" | "type" | "named" | "wildcard" | "multiline" | "singleline")[];
12977
+ selector?: "export";
12978
+ }, ...({
12819
12979
  elementNamePattern?: (({
12820
12980
  pattern: string;
12821
12981
  flags?: string;
@@ -12823,25 +12983,18 @@ type PerfectionistSortImports = {
12823
12983
  pattern: string;
12824
12984
  flags?: string;
12825
12985
  } | string));
12826
- }[];
12986
+ modifiers?: ("value" | "type" | "named" | "wildcard" | "multiline" | "singleline")[];
12987
+ selector?: "export";
12988
+ })[]];
12827
12989
  } | {
12828
- newlinesInside?: (("always" | "never") | number);
12829
12990
  fallbackSort?: {
12991
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12830
12992
  order?: ("asc" | "desc");
12831
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12832
12993
  };
12994
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12833
12995
  groupName: string;
12996
+ newlinesInside?: ("ignore" | number);
12834
12997
  order?: ("asc" | "desc");
12835
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12836
- modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[];
12837
- selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
12838
- elementValuePattern?: (({
12839
- pattern: string;
12840
- flags?: string;
12841
- } | string)[] | ({
12842
- pattern: string;
12843
- flags?: string;
12844
- } | string));
12845
12998
  elementNamePattern?: (({
12846
12999
  pattern: string;
12847
13000
  flags?: string;
@@ -12849,15 +13002,24 @@ type PerfectionistSortImports = {
12849
13002
  pattern: string;
12850
13003
  flags?: string;
12851
13004
  } | string));
12852
- })[]);
12853
- tsconfig?: {
12854
- rootDir: string;
12855
- filename?: string;
12856
- };
12857
- maxLineLength?: number;
12858
- sortSideEffects?: boolean;
12859
- environment?: ("node" | "bun");
12860
- tsconfigRootDir?: string;
13005
+ modifiers?: ("value" | "type" | "named" | "wildcard" | "multiline" | "singleline")[];
13006
+ selector?: "export";
13007
+ })[];
13008
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
13009
+ groups?: (string | [string, ...(string)[]] | {
13010
+ newlinesBetween: ("ignore" | number);
13011
+ } | {
13012
+ group: (string | [string, ...(string)[]]);
13013
+ fallbackSort?: {
13014
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13015
+ order?: ("asc" | "desc");
13016
+ };
13017
+ commentAbove?: string;
13018
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13019
+ newlinesInside?: ("ignore" | number);
13020
+ order?: ("asc" | "desc");
13021
+ })[];
13022
+ newlinesBetween?: ("ignore" | number);
12861
13023
  partitionByComment?: (boolean | (({
12862
13024
  pattern: string;
12863
13025
  flags?: string;
@@ -12881,54 +13043,37 @@ type PerfectionistSortImports = {
12881
13043
  } | string)));
12882
13044
  });
12883
13045
  partitionByNewLine?: boolean;
12884
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12885
- internalPattern?: (({
12886
- pattern: string;
12887
- flags?: string;
12888
- } | string)[] | ({
12889
- pattern: string;
12890
- flags?: string;
12891
- } | string));
12892
- groups?: (string | string[] | {
12893
- newlinesBetween?: (("ignore" | "always" | "never") | number);
12894
- commentAbove?: string;
12895
- })[];
12896
13046
  }[];
12897
- // ----- perfectionist/sort-interfaces -----
12898
- type PerfectionistSortInterfaces = {
13047
+ // ----- perfectionist/sort-heritage-clauses -----
13048
+ type PerfectionistSortHeritageClauses = {
12899
13049
  fallbackSort?: {
13050
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12900
13051
  order?: ("asc" | "desc");
12901
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12902
- sortBy?: ("name" | "value");
12903
13052
  };
13053
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12904
13054
  specialCharacters?: ("remove" | "trim" | "keep");
12905
13055
  ignoreCase?: boolean;
12906
13056
  alphabet?: string;
12907
13057
  locales?: (string | string[]);
12908
13058
  order?: ("asc" | "desc");
12909
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12910
13059
  customGroups?: ({
12911
- [k: string]: (string | string[]) | undefined;
12912
- } | ({
12913
- newlinesInside?: (("always" | "never") | number);
12914
13060
  fallbackSort?: {
13061
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12915
13062
  order?: ("asc" | "desc");
12916
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12917
- sortBy?: ("name" | "value");
12918
13063
  };
13064
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12919
13065
  groupName: string;
13066
+ newlinesInside?: ("ignore" | number);
12920
13067
  order?: ("asc" | "desc");
12921
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12922
- anyOf?: {
12923
- modifiers?: ("optional" | "required" | "multiline")[];
12924
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
12925
- elementValuePattern?: (({
13068
+ anyOf: [{
13069
+ elementNamePattern?: (({
12926
13070
  pattern: string;
12927
13071
  flags?: string;
12928
13072
  } | string)[] | ({
12929
13073
  pattern: string;
12930
13074
  flags?: string;
12931
13075
  } | string));
13076
+ }, ...({
12932
13077
  elementNamePattern?: (({
12933
13078
  pattern: string;
12934
13079
  flags?: string;
@@ -12936,27 +13081,16 @@ type PerfectionistSortInterfaces = {
12936
13081
  pattern: string;
12937
13082
  flags?: string;
12938
13083
  } | string));
12939
- sortBy?: ("name" | "value");
12940
- }[];
13084
+ })[]];
12941
13085
  } | {
12942
- newlinesInside?: (("always" | "never") | number);
12943
13086
  fallbackSort?: {
13087
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12944
13088
  order?: ("asc" | "desc");
12945
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12946
- sortBy?: ("name" | "value");
12947
13089
  };
13090
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
12948
13091
  groupName: string;
13092
+ newlinesInside?: ("ignore" | number);
12949
13093
  order?: ("asc" | "desc");
12950
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
12951
- modifiers?: ("optional" | "required" | "multiline")[];
12952
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
12953
- elementValuePattern?: (({
12954
- pattern: string;
12955
- flags?: string;
12956
- } | string)[] | ({
12957
- pattern: string;
12958
- flags?: string;
12959
- } | string));
12960
13094
  elementNamePattern?: (({
12961
13095
  pattern: string;
12962
13096
  flags?: string;
@@ -12964,25 +13098,231 @@ type PerfectionistSortInterfaces = {
12964
13098
  pattern: string;
12965
13099
  flags?: string;
12966
13100
  } | string));
12967
- sortBy?: ("name" | "value");
12968
- })[]);
12969
- groupKind?: ("mixed" | "required-first" | "optional-first");
12970
- useConfigurationIf?: {
12971
- allNamesMatchPattern?: (({
13101
+ })[];
13102
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
13103
+ groups?: (string | [string, ...(string)[]] | {
13104
+ newlinesBetween: ("ignore" | number);
13105
+ } | {
13106
+ group: (string | [string, ...(string)[]]);
13107
+ fallbackSort?: {
13108
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13109
+ order?: ("asc" | "desc");
13110
+ };
13111
+ commentAbove?: string;
13112
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13113
+ newlinesInside?: ("ignore" | number);
13114
+ order?: ("asc" | "desc");
13115
+ })[];
13116
+ newlinesBetween?: ("ignore" | number);
13117
+ partitionByNewLine?: boolean;
13118
+ partitionByComment?: (boolean | (({
13119
+ pattern: string;
13120
+ flags?: string;
13121
+ } | string)[] | ({
13122
+ pattern: string;
13123
+ flags?: string;
13124
+ } | string)) | {
13125
+ block?: (boolean | (({
13126
+ pattern: string;
13127
+ flags?: string;
13128
+ } | string)[] | ({
13129
+ pattern: string;
13130
+ flags?: string;
13131
+ } | string)));
13132
+ line?: (boolean | (({
13133
+ pattern: string;
13134
+ flags?: string;
13135
+ } | string)[] | ({
13136
+ pattern: string;
13137
+ flags?: string;
13138
+ } | string)));
13139
+ });
13140
+ }[];
13141
+ // ----- perfectionist/sort-import-attributes -----
13142
+ type PerfectionistSortImportAttributes = {
13143
+ fallbackSort?: {
13144
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13145
+ order?: ("asc" | "desc");
13146
+ };
13147
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13148
+ specialCharacters?: ("remove" | "trim" | "keep");
13149
+ ignoreCase?: boolean;
13150
+ alphabet?: string;
13151
+ locales?: (string | string[]);
13152
+ order?: ("asc" | "desc");
13153
+ customGroups?: ({
13154
+ fallbackSort?: {
13155
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13156
+ order?: ("asc" | "desc");
13157
+ };
13158
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13159
+ groupName: string;
13160
+ newlinesInside?: ("ignore" | number);
13161
+ order?: ("asc" | "desc");
13162
+ anyOf: [{
13163
+ elementNamePattern?: (({
13164
+ pattern: string;
13165
+ flags?: string;
13166
+ } | string)[] | ({
13167
+ pattern: string;
13168
+ flags?: string;
13169
+ } | string));
13170
+ }, ...({
13171
+ elementNamePattern?: (({
13172
+ pattern: string;
13173
+ flags?: string;
13174
+ } | string)[] | ({
13175
+ pattern: string;
13176
+ flags?: string;
13177
+ } | string));
13178
+ })[]];
13179
+ } | {
13180
+ fallbackSort?: {
13181
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13182
+ order?: ("asc" | "desc");
13183
+ };
13184
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13185
+ groupName: string;
13186
+ newlinesInside?: ("ignore" | number);
13187
+ order?: ("asc" | "desc");
13188
+ elementNamePattern?: (({
12972
13189
  pattern: string;
12973
13190
  flags?: string;
12974
13191
  } | string)[] | ({
12975
13192
  pattern: string;
12976
13193
  flags?: string;
12977
13194
  } | string));
12978
- declarationMatchesPattern?: (({
13195
+ })[];
13196
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
13197
+ groups?: (string | [string, ...(string)[]] | {
13198
+ newlinesBetween: ("ignore" | number);
13199
+ } | {
13200
+ group: (string | [string, ...(string)[]]);
13201
+ fallbackSort?: {
13202
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13203
+ order?: ("asc" | "desc");
13204
+ };
13205
+ commentAbove?: string;
13206
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13207
+ newlinesInside?: ("ignore" | number);
13208
+ order?: ("asc" | "desc");
13209
+ })[];
13210
+ newlinesBetween?: ("ignore" | number);
13211
+ partitionByComment?: (boolean | (({
13212
+ pattern: string;
13213
+ flags?: string;
13214
+ } | string)[] | ({
13215
+ pattern: string;
13216
+ flags?: string;
13217
+ } | string)) | {
13218
+ block?: (boolean | (({
13219
+ pattern: string;
13220
+ flags?: string;
13221
+ } | string)[] | ({
13222
+ pattern: string;
13223
+ flags?: string;
13224
+ } | string)));
13225
+ line?: (boolean | (({
13226
+ pattern: string;
13227
+ flags?: string;
13228
+ } | string)[] | ({
13229
+ pattern: string;
13230
+ flags?: string;
13231
+ } | string)));
13232
+ });
13233
+ partitionByNewLine?: boolean;
13234
+ }[];
13235
+ // ----- perfectionist/sort-imports -----
13236
+ type PerfectionistSortImports = {
13237
+ fallbackSort?: {
13238
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first");
13239
+ order?: ("asc" | "desc");
13240
+ sortBy?: ("specifier" | "path");
13241
+ };
13242
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first");
13243
+ specialCharacters?: ("remove" | "trim" | "keep");
13244
+ ignoreCase?: boolean;
13245
+ alphabet?: string;
13246
+ locales?: (string | string[]);
13247
+ order?: ("asc" | "desc");
13248
+ sortBy?: ("specifier" | "path");
13249
+ customGroups?: ({
13250
+ fallbackSort?: {
13251
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first");
13252
+ order?: ("asc" | "desc");
13253
+ sortBy?: ("specifier" | "path");
13254
+ };
13255
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first");
13256
+ groupName: string;
13257
+ newlinesInside?: ("ignore" | number);
13258
+ order?: ("asc" | "desc");
13259
+ sortBy?: ("specifier" | "path");
13260
+ anyOf: [{
13261
+ elementNamePattern?: (({
13262
+ pattern: string;
13263
+ flags?: string;
13264
+ } | string)[] | ({
13265
+ pattern: string;
13266
+ flags?: string;
13267
+ } | string));
13268
+ modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[];
13269
+ selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
13270
+ }, ...({
13271
+ elementNamePattern?: (({
13272
+ pattern: string;
13273
+ flags?: string;
13274
+ } | string)[] | ({
13275
+ pattern: string;
13276
+ flags?: string;
13277
+ } | string));
13278
+ modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[];
13279
+ selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
13280
+ })[]];
13281
+ } | {
13282
+ fallbackSort?: {
13283
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first");
13284
+ order?: ("asc" | "desc");
13285
+ sortBy?: ("specifier" | "path");
13286
+ };
13287
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first");
13288
+ groupName: string;
13289
+ newlinesInside?: ("ignore" | number);
13290
+ order?: ("asc" | "desc");
13291
+ sortBy?: ("specifier" | "path");
13292
+ elementNamePattern?: (({
12979
13293
  pattern: string;
12980
13294
  flags?: string;
12981
13295
  } | string)[] | ({
12982
13296
  pattern: string;
12983
13297
  flags?: string;
12984
13298
  } | string));
13299
+ modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[];
13300
+ selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type");
13301
+ })[];
13302
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
13303
+ groups?: (string | [string, ...(string)[]] | {
13304
+ newlinesBetween: ("ignore" | number);
13305
+ } | {
13306
+ group: (string | [string, ...(string)[]]);
13307
+ fallbackSort?: {
13308
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first");
13309
+ order?: ("asc" | "desc");
13310
+ sortBy?: ("specifier" | "path");
13311
+ };
13312
+ commentAbove?: string;
13313
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first");
13314
+ newlinesInside?: ("ignore" | number);
13315
+ order?: ("asc" | "desc");
13316
+ sortBy?: ("specifier" | "path");
13317
+ })[];
13318
+ newlinesBetween?: ("ignore" | number);
13319
+ tsconfig?: {
13320
+ rootDir: string;
13321
+ filename?: string;
12985
13322
  };
13323
+ maxLineLength?: number;
13324
+ sortSideEffects?: boolean;
13325
+ environment?: ("node" | "bun");
12986
13326
  partitionByComment?: (boolean | (({
12987
13327
  pattern: string;
12988
13328
  flags?: string;
@@ -13006,43 +13346,202 @@ type PerfectionistSortInterfaces = {
13006
13346
  } | string)));
13007
13347
  });
13008
13348
  partitionByNewLine?: boolean;
13009
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13010
- ignorePattern?: (({
13349
+ internalPattern?: (({
13011
13350
  pattern: string;
13012
13351
  flags?: string;
13013
13352
  } | string)[] | ({
13014
13353
  pattern: string;
13015
13354
  flags?: string;
13016
13355
  } | string));
13356
+ }[];
13357
+ // ----- perfectionist/sort-interfaces -----
13358
+ type PerfectionistSortInterfaces = {
13359
+ fallbackSort?: {
13360
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13361
+ order?: ("asc" | "desc");
13362
+ sortBy?: ("name" | "value");
13363
+ };
13364
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13365
+ specialCharacters?: ("remove" | "trim" | "keep");
13366
+ ignoreCase?: boolean;
13367
+ alphabet?: string;
13368
+ locales?: (string | string[]);
13369
+ order?: ("asc" | "desc");
13017
13370
  sortBy?: ("name" | "value");
13018
- groups?: (string | string[] | {
13019
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13371
+ customGroups?: ({
13372
+ fallbackSort?: {
13373
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13374
+ order?: ("asc" | "desc");
13375
+ sortBy?: ("name" | "value");
13376
+ };
13377
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13378
+ groupName: string;
13379
+ newlinesInside?: ("ignore" | number);
13380
+ order?: ("asc" | "desc");
13381
+ sortBy?: ("name" | "value");
13382
+ anyOf: [{
13383
+ elementNamePattern?: (({
13384
+ pattern: string;
13385
+ flags?: string;
13386
+ } | string)[] | ({
13387
+ pattern: string;
13388
+ flags?: string;
13389
+ } | string));
13390
+ modifiers?: ("optional" | "required" | "multiline")[];
13391
+ selector?: ("index-signature" | "member" | "method" | "property");
13392
+ elementValuePattern?: (({
13393
+ pattern: string;
13394
+ flags?: string;
13395
+ } | string)[] | ({
13396
+ pattern: string;
13397
+ flags?: string;
13398
+ } | string));
13399
+ }, ...({
13400
+ elementNamePattern?: (({
13401
+ pattern: string;
13402
+ flags?: string;
13403
+ } | string)[] | ({
13404
+ pattern: string;
13405
+ flags?: string;
13406
+ } | string));
13407
+ modifiers?: ("optional" | "required" | "multiline")[];
13408
+ selector?: ("index-signature" | "member" | "method" | "property");
13409
+ elementValuePattern?: (({
13410
+ pattern: string;
13411
+ flags?: string;
13412
+ } | string)[] | ({
13413
+ pattern: string;
13414
+ flags?: string;
13415
+ } | string));
13416
+ })[]];
13417
+ } | {
13418
+ fallbackSort?: {
13419
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13420
+ order?: ("asc" | "desc");
13421
+ sortBy?: ("name" | "value");
13422
+ };
13423
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13424
+ groupName: string;
13425
+ newlinesInside?: ("ignore" | number);
13426
+ order?: ("asc" | "desc");
13427
+ sortBy?: ("name" | "value");
13428
+ elementNamePattern?: (({
13429
+ pattern: string;
13430
+ flags?: string;
13431
+ } | string)[] | ({
13432
+ pattern: string;
13433
+ flags?: string;
13434
+ } | string));
13435
+ modifiers?: ("optional" | "required" | "multiline")[];
13436
+ selector?: ("index-signature" | "member" | "method" | "property");
13437
+ elementValuePattern?: (({
13438
+ pattern: string;
13439
+ flags?: string;
13440
+ } | string)[] | ({
13441
+ pattern: string;
13442
+ flags?: string;
13443
+ } | string));
13444
+ })[];
13445
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
13446
+ groups?: (string | [string, ...(string)[]] | {
13447
+ newlinesBetween: ("ignore" | number);
13448
+ } | {
13449
+ group: (string | [string, ...(string)[]]);
13450
+ fallbackSort?: {
13451
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13452
+ order?: ("asc" | "desc");
13453
+ sortBy?: ("name" | "value");
13454
+ };
13020
13455
  commentAbove?: string;
13456
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13457
+ newlinesInside?: ("ignore" | number);
13458
+ order?: ("asc" | "desc");
13459
+ sortBy?: ("name" | "value");
13021
13460
  })[];
13461
+ newlinesBetween?: ("ignore" | number);
13462
+ useConfigurationIf?: {
13463
+ allNamesMatchPattern?: (({
13464
+ pattern: string;
13465
+ flags?: string;
13466
+ } | string)[] | ({
13467
+ pattern: string;
13468
+ flags?: string;
13469
+ } | string));
13470
+ hasNumericKeysOnly?: boolean;
13471
+ declarationCommentMatchesPattern?: (({
13472
+ scope?: ("shallow" | "deep");
13473
+ pattern: string;
13474
+ flags?: string;
13475
+ } | string)[] | ({
13476
+ scope?: ("shallow" | "deep");
13477
+ pattern: string;
13478
+ flags?: string;
13479
+ } | string));
13480
+ declarationMatchesPattern?: (({
13481
+ scope?: ("shallow" | "deep");
13482
+ pattern: string;
13483
+ flags?: string;
13484
+ } | string)[] | ({
13485
+ scope?: ("shallow" | "deep");
13486
+ pattern: string;
13487
+ flags?: string;
13488
+ } | string));
13489
+ };
13490
+ partitionByComment?: (boolean | (({
13491
+ pattern: string;
13492
+ flags?: string;
13493
+ } | string)[] | ({
13494
+ pattern: string;
13495
+ flags?: string;
13496
+ } | string)) | {
13497
+ block?: (boolean | (({
13498
+ pattern: string;
13499
+ flags?: string;
13500
+ } | string)[] | ({
13501
+ pattern: string;
13502
+ flags?: string;
13503
+ } | string)));
13504
+ line?: (boolean | (({
13505
+ pattern: string;
13506
+ flags?: string;
13507
+ } | string)[] | ({
13508
+ pattern: string;
13509
+ flags?: string;
13510
+ } | string)));
13511
+ });
13512
+ partitionByNewLine?: boolean;
13022
13513
  }[];
13023
13514
  // ----- perfectionist/sort-intersection-types -----
13024
13515
  type PerfectionistSortIntersectionTypes = {
13025
13516
  fallbackSort?: {
13517
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13026
13518
  order?: ("asc" | "desc");
13027
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13028
13519
  };
13520
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13029
13521
  specialCharacters?: ("remove" | "trim" | "keep");
13030
13522
  ignoreCase?: boolean;
13031
13523
  alphabet?: string;
13032
13524
  locales?: (string | string[]);
13033
13525
  order?: ("asc" | "desc");
13034
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13035
13526
  customGroups?: ({
13036
- newlinesInside?: (("always" | "never") | number);
13037
13527
  fallbackSort?: {
13528
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13038
13529
  order?: ("asc" | "desc");
13039
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13040
13530
  };
13531
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13041
13532
  groupName: string;
13533
+ newlinesInside?: ("ignore" | number);
13042
13534
  order?: ("asc" | "desc");
13043
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13044
- anyOf?: {
13535
+ anyOf: [{
13536
+ elementNamePattern?: (({
13537
+ pattern: string;
13538
+ flags?: string;
13539
+ } | string)[] | ({
13540
+ pattern: string;
13541
+ flags?: string;
13542
+ } | string));
13045
13543
  selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
13544
+ }, ...({
13046
13545
  elementNamePattern?: (({
13047
13546
  pattern: string;
13048
13547
  flags?: string;
@@ -13050,17 +13549,17 @@ type PerfectionistSortIntersectionTypes = {
13050
13549
  pattern: string;
13051
13550
  flags?: string;
13052
13551
  } | string));
13053
- }[];
13552
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
13553
+ })[]];
13054
13554
  } | {
13055
- newlinesInside?: (("always" | "never") | number);
13056
13555
  fallbackSort?: {
13556
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13057
13557
  order?: ("asc" | "desc");
13058
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13059
13558
  };
13559
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13060
13560
  groupName: string;
13561
+ newlinesInside?: ("ignore" | number);
13061
13562
  order?: ("asc" | "desc");
13062
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13063
- selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
13064
13563
  elementNamePattern?: (({
13065
13564
  pattern: string;
13066
13565
  flags?: string;
@@ -13068,7 +13567,23 @@ type PerfectionistSortIntersectionTypes = {
13068
13567
  pattern: string;
13069
13568
  flags?: string;
13070
13569
  } | string));
13570
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
13071
13571
  })[];
13572
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
13573
+ groups?: (string | [string, ...(string)[]] | {
13574
+ newlinesBetween: ("ignore" | number);
13575
+ } | {
13576
+ group: (string | [string, ...(string)[]]);
13577
+ fallbackSort?: {
13578
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13579
+ order?: ("asc" | "desc");
13580
+ };
13581
+ commentAbove?: string;
13582
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13583
+ newlinesInside?: ("ignore" | number);
13584
+ order?: ("asc" | "desc");
13585
+ })[];
13586
+ newlinesBetween?: ("ignore" | number);
13072
13587
  partitionByComment?: (boolean | (({
13073
13588
  pattern: string;
13074
13589
  flags?: string;
@@ -13092,38 +13607,38 @@ type PerfectionistSortIntersectionTypes = {
13092
13607
  } | string)));
13093
13608
  });
13094
13609
  partitionByNewLine?: boolean;
13095
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13096
- groups?: (string | string[] | {
13097
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13098
- commentAbove?: string;
13099
- })[];
13100
13610
  }[];
13101
13611
  // ----- perfectionist/sort-jsx-props -----
13102
13612
  type PerfectionistSortJsxProps = {
13103
13613
  fallbackSort?: {
13614
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13104
13615
  order?: ("asc" | "desc");
13105
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13106
13616
  };
13617
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13107
13618
  specialCharacters?: ("remove" | "trim" | "keep");
13108
13619
  ignoreCase?: boolean;
13109
13620
  alphabet?: string;
13110
13621
  locales?: (string | string[]);
13111
13622
  order?: ("asc" | "desc");
13112
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13113
13623
  customGroups?: ({
13114
- [k: string]: (string | string[]) | undefined;
13115
- } | ({
13116
- newlinesInside?: (("always" | "never") | number);
13117
13624
  fallbackSort?: {
13625
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13118
13626
  order?: ("asc" | "desc");
13119
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13120
13627
  };
13628
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13121
13629
  groupName: string;
13630
+ newlinesInside?: ("ignore" | number);
13122
13631
  order?: ("asc" | "desc");
13123
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13124
- anyOf?: {
13632
+ anyOf: [{
13633
+ elementNamePattern?: (({
13634
+ pattern: string;
13635
+ flags?: string;
13636
+ } | string)[] | ({
13637
+ pattern: string;
13638
+ flags?: string;
13639
+ } | string));
13125
13640
  modifiers?: ("shorthand" | "multiline")[];
13126
- selector?: ("multiline" | "prop" | "shorthand");
13641
+ selector?: "prop";
13127
13642
  elementValuePattern?: (({
13128
13643
  pattern: string;
13129
13644
  flags?: string;
@@ -13131,6 +13646,7 @@ type PerfectionistSortJsxProps = {
13131
13646
  pattern: string;
13132
13647
  flags?: string;
13133
13648
  } | string));
13649
+ }, ...({
13134
13650
  elementNamePattern?: (({
13135
13651
  pattern: string;
13136
13652
  flags?: string;
@@ -13138,33 +13654,57 @@ type PerfectionistSortJsxProps = {
13138
13654
  pattern: string;
13139
13655
  flags?: string;
13140
13656
  } | string));
13141
- }[];
13657
+ modifiers?: ("shorthand" | "multiline")[];
13658
+ selector?: "prop";
13659
+ elementValuePattern?: (({
13660
+ pattern: string;
13661
+ flags?: string;
13662
+ } | string)[] | ({
13663
+ pattern: string;
13664
+ flags?: string;
13665
+ } | string));
13666
+ })[]];
13142
13667
  } | {
13143
- newlinesInside?: (("always" | "never") | number);
13144
13668
  fallbackSort?: {
13669
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13145
13670
  order?: ("asc" | "desc");
13146
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13147
13671
  };
13672
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13148
13673
  groupName: string;
13674
+ newlinesInside?: ("ignore" | number);
13149
13675
  order?: ("asc" | "desc");
13150
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13151
- modifiers?: ("shorthand" | "multiline")[];
13152
- selector?: ("multiline" | "prop" | "shorthand");
13153
- elementValuePattern?: (({
13676
+ elementNamePattern?: (({
13154
13677
  pattern: string;
13155
13678
  flags?: string;
13156
13679
  } | string)[] | ({
13157
13680
  pattern: string;
13158
13681
  flags?: string;
13159
13682
  } | string));
13160
- elementNamePattern?: (({
13683
+ modifiers?: ("shorthand" | "multiline")[];
13684
+ selector?: "prop";
13685
+ elementValuePattern?: (({
13161
13686
  pattern: string;
13162
13687
  flags?: string;
13163
13688
  } | string)[] | ({
13164
13689
  pattern: string;
13165
13690
  flags?: string;
13166
13691
  } | string));
13167
- })[]);
13692
+ })[];
13693
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
13694
+ groups?: (string | [string, ...(string)[]] | {
13695
+ newlinesBetween: ("ignore" | number);
13696
+ } | {
13697
+ group: (string | [string, ...(string)[]]);
13698
+ fallbackSort?: {
13699
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13700
+ order?: ("asc" | "desc");
13701
+ };
13702
+ commentAbove?: string;
13703
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13704
+ newlinesInside?: ("ignore" | number);
13705
+ order?: ("asc" | "desc");
13706
+ })[];
13707
+ newlinesBetween?: ("ignore" | number);
13168
13708
  useConfigurationIf?: {
13169
13709
  allNamesMatchPattern?: (({
13170
13710
  pattern: string;
@@ -13182,41 +13722,37 @@ type PerfectionistSortJsxProps = {
13182
13722
  } | string));
13183
13723
  };
13184
13724
  partitionByNewLine?: boolean;
13185
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13186
- ignorePattern?: (({
13187
- pattern: string;
13188
- flags?: string;
13189
- } | string)[] | ({
13190
- pattern: string;
13191
- flags?: string;
13192
- } | string));
13193
- groups?: (string | string[] | {
13194
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13195
- commentAbove?: string;
13196
- })[];
13197
13725
  }[];
13198
13726
  // ----- perfectionist/sort-maps -----
13199
13727
  type PerfectionistSortMaps = {
13200
13728
  fallbackSort?: {
13729
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13201
13730
  order?: ("asc" | "desc");
13202
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13203
13731
  };
13732
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13204
13733
  specialCharacters?: ("remove" | "trim" | "keep");
13205
13734
  ignoreCase?: boolean;
13206
13735
  alphabet?: string;
13207
13736
  locales?: (string | string[]);
13208
13737
  order?: ("asc" | "desc");
13209
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13210
13738
  customGroups?: ({
13211
- newlinesInside?: (("always" | "never") | number);
13212
13739
  fallbackSort?: {
13740
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13213
13741
  order?: ("asc" | "desc");
13214
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13215
13742
  };
13743
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13216
13744
  groupName: string;
13745
+ newlinesInside?: ("ignore" | number);
13217
13746
  order?: ("asc" | "desc");
13218
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13219
- anyOf?: {
13747
+ anyOf: [{
13748
+ elementNamePattern?: (({
13749
+ pattern: string;
13750
+ flags?: string;
13751
+ } | string)[] | ({
13752
+ pattern: string;
13753
+ flags?: string;
13754
+ } | string));
13755
+ }, ...({
13220
13756
  elementNamePattern?: (({
13221
13757
  pattern: string;
13222
13758
  flags?: string;
@@ -13224,16 +13760,16 @@ type PerfectionistSortMaps = {
13224
13760
  pattern: string;
13225
13761
  flags?: string;
13226
13762
  } | string));
13227
- }[];
13763
+ })[]];
13228
13764
  } | {
13229
- newlinesInside?: (("always" | "never") | number);
13230
13765
  fallbackSort?: {
13766
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13231
13767
  order?: ("asc" | "desc");
13232
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13233
13768
  };
13769
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13234
13770
  groupName: string;
13771
+ newlinesInside?: ("ignore" | number);
13235
13772
  order?: ("asc" | "desc");
13236
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13237
13773
  elementNamePattern?: (({
13238
13774
  pattern: string;
13239
13775
  flags?: string;
@@ -13242,6 +13778,21 @@ type PerfectionistSortMaps = {
13242
13778
  flags?: string;
13243
13779
  } | string));
13244
13780
  })[];
13781
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
13782
+ groups?: (string | [string, ...(string)[]] | {
13783
+ newlinesBetween: ("ignore" | number);
13784
+ } | {
13785
+ group: (string | [string, ...(string)[]]);
13786
+ fallbackSort?: {
13787
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13788
+ order?: ("asc" | "desc");
13789
+ };
13790
+ commentAbove?: string;
13791
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13792
+ newlinesInside?: ("ignore" | number);
13793
+ order?: ("asc" | "desc");
13794
+ })[];
13795
+ newlinesBetween?: ("ignore" | number);
13245
13796
  useConfigurationIf?: {
13246
13797
  allNamesMatchPattern?: (({
13247
13798
  pattern: string;
@@ -13274,34 +13825,36 @@ type PerfectionistSortMaps = {
13274
13825
  } | string)));
13275
13826
  });
13276
13827
  partitionByNewLine?: boolean;
13277
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13278
- groups?: (string | string[] | {
13279
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13280
- commentAbove?: string;
13281
- })[];
13282
13828
  }[];
13283
13829
  // ----- perfectionist/sort-modules -----
13284
13830
  type PerfectionistSortModules = [] | [{
13285
13831
  fallbackSort?: {
13832
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage");
13286
13833
  order?: ("asc" | "desc");
13287
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13288
13834
  };
13835
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage");
13289
13836
  specialCharacters?: ("remove" | "trim" | "keep");
13290
13837
  ignoreCase?: boolean;
13291
13838
  alphabet?: string;
13292
13839
  locales?: (string | string[]);
13293
13840
  order?: ("asc" | "desc");
13294
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13295
13841
  customGroups?: ({
13296
- newlinesInside?: (("always" | "never") | number);
13297
13842
  fallbackSort?: {
13843
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage");
13298
13844
  order?: ("asc" | "desc");
13299
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13300
13845
  };
13846
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage");
13301
13847
  groupName: string;
13848
+ newlinesInside?: ("ignore" | number);
13302
13849
  order?: ("asc" | "desc");
13303
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13304
- anyOf?: {
13850
+ anyOf: [{
13851
+ elementNamePattern?: (({
13852
+ pattern: string;
13853
+ flags?: string;
13854
+ } | string)[] | ({
13855
+ pattern: string;
13856
+ flags?: string;
13857
+ } | string));
13305
13858
  modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
13306
13859
  selector?: ("enum" | "function" | "interface" | "type" | "class");
13307
13860
  decoratorNamePattern?: (({
@@ -13311,6 +13864,7 @@ type PerfectionistSortModules = [] | [{
13311
13864
  pattern: string;
13312
13865
  flags?: string;
13313
13866
  } | string));
13867
+ }, ...({
13314
13868
  elementNamePattern?: (({
13315
13869
  pattern: string;
13316
13870
  flags?: string;
@@ -13318,26 +13872,35 @@ type PerfectionistSortModules = [] | [{
13318
13872
  pattern: string;
13319
13873
  flags?: string;
13320
13874
  } | string));
13321
- }[];
13875
+ modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
13876
+ selector?: ("enum" | "function" | "interface" | "type" | "class");
13877
+ decoratorNamePattern?: (({
13878
+ pattern: string;
13879
+ flags?: string;
13880
+ } | string)[] | ({
13881
+ pattern: string;
13882
+ flags?: string;
13883
+ } | string));
13884
+ })[]];
13322
13885
  } | {
13323
- newlinesInside?: (("always" | "never") | number);
13324
13886
  fallbackSort?: {
13887
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage");
13325
13888
  order?: ("asc" | "desc");
13326
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13327
13889
  };
13890
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage");
13328
13891
  groupName: string;
13892
+ newlinesInside?: ("ignore" | number);
13329
13893
  order?: ("asc" | "desc");
13330
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13331
- modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
13332
- selector?: ("enum" | "function" | "interface" | "type" | "class");
13333
- decoratorNamePattern?: (({
13894
+ elementNamePattern?: (({
13334
13895
  pattern: string;
13335
13896
  flags?: string;
13336
13897
  } | string)[] | ({
13337
13898
  pattern: string;
13338
13899
  flags?: string;
13339
13900
  } | string));
13340
- elementNamePattern?: (({
13901
+ modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[];
13902
+ selector?: ("enum" | "function" | "interface" | "type" | "class");
13903
+ decoratorNamePattern?: (({
13341
13904
  pattern: string;
13342
13905
  flags?: string;
13343
13906
  } | string)[] | ({
@@ -13345,6 +13908,21 @@ type PerfectionistSortModules = [] | [{
13345
13908
  flags?: string;
13346
13909
  } | string));
13347
13910
  })[];
13911
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
13912
+ groups?: (string | [string, ...(string)[]] | {
13913
+ newlinesBetween: ("ignore" | number);
13914
+ } | {
13915
+ group: (string | [string, ...(string)[]]);
13916
+ fallbackSort?: {
13917
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage");
13918
+ order?: ("asc" | "desc");
13919
+ };
13920
+ commentAbove?: string;
13921
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage");
13922
+ newlinesInside?: ("ignore" | number);
13923
+ order?: ("asc" | "desc");
13924
+ })[];
13925
+ newlinesBetween?: ("ignore" | number);
13348
13926
  partitionByComment?: (boolean | (({
13349
13927
  pattern: string;
13350
13928
  flags?: string;
@@ -13368,38 +13946,39 @@ type PerfectionistSortModules = [] | [{
13368
13946
  } | string)));
13369
13947
  });
13370
13948
  partitionByNewLine?: boolean;
13371
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13372
- groups?: (string | string[] | {
13373
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13374
- commentAbove?: string;
13375
- })[];
13376
13949
  }];
13377
13950
  // ----- perfectionist/sort-named-exports -----
13378
13951
  type PerfectionistSortNamedExports = {
13379
13952
  fallbackSort?: {
13953
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13380
13954
  order?: ("asc" | "desc");
13381
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13382
13955
  };
13956
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13383
13957
  specialCharacters?: ("remove" | "trim" | "keep");
13384
13958
  ignoreCase?: boolean;
13385
13959
  alphabet?: string;
13386
13960
  locales?: (string | string[]);
13387
13961
  order?: ("asc" | "desc");
13388
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13389
- groupKind?: ("mixed" | "values-first" | "types-first");
13390
- ignoreAlias?: boolean;
13391
13962
  customGroups?: ({
13392
- newlinesInside?: (("always" | "never") | number);
13393
13963
  fallbackSort?: {
13964
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13394
13965
  order?: ("asc" | "desc");
13395
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13396
13966
  };
13967
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13397
13968
  groupName: string;
13969
+ newlinesInside?: ("ignore" | number);
13398
13970
  order?: ("asc" | "desc");
13399
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13400
- anyOf?: {
13971
+ anyOf: [{
13972
+ elementNamePattern?: (({
13973
+ pattern: string;
13974
+ flags?: string;
13975
+ } | string)[] | ({
13976
+ pattern: string;
13977
+ flags?: string;
13978
+ } | string));
13401
13979
  modifiers?: ("value" | "type")[];
13402
13980
  selector?: "export";
13981
+ }, ...({
13403
13982
  elementNamePattern?: (({
13404
13983
  pattern: string;
13405
13984
  flags?: string;
@@ -13407,18 +13986,18 @@ type PerfectionistSortNamedExports = {
13407
13986
  pattern: string;
13408
13987
  flags?: string;
13409
13988
  } | string));
13410
- }[];
13989
+ modifiers?: ("value" | "type")[];
13990
+ selector?: "export";
13991
+ })[]];
13411
13992
  } | {
13412
- newlinesInside?: (("always" | "never") | number);
13413
13993
  fallbackSort?: {
13994
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13414
13995
  order?: ("asc" | "desc");
13415
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13416
13996
  };
13997
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13417
13998
  groupName: string;
13999
+ newlinesInside?: ("ignore" | number);
13418
14000
  order?: ("asc" | "desc");
13419
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13420
- modifiers?: ("value" | "type")[];
13421
- selector?: "export";
13422
14001
  elementNamePattern?: (({
13423
14002
  pattern: string;
13424
14003
  flags?: string;
@@ -13426,7 +14005,25 @@ type PerfectionistSortNamedExports = {
13426
14005
  pattern: string;
13427
14006
  flags?: string;
13428
14007
  } | string));
14008
+ modifiers?: ("value" | "type")[];
14009
+ selector?: "export";
14010
+ })[];
14011
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
14012
+ groups?: (string | [string, ...(string)[]] | {
14013
+ newlinesBetween: ("ignore" | number);
14014
+ } | {
14015
+ group: (string | [string, ...(string)[]]);
14016
+ fallbackSort?: {
14017
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
14018
+ order?: ("asc" | "desc");
14019
+ };
14020
+ commentAbove?: string;
14021
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
14022
+ newlinesInside?: ("ignore" | number);
14023
+ order?: ("asc" | "desc");
13429
14024
  })[];
14025
+ newlinesBetween?: ("ignore" | number);
14026
+ ignoreAlias?: boolean;
13430
14027
  partitionByComment?: (boolean | (({
13431
14028
  pattern: string;
13432
14029
  flags?: string;
@@ -13450,38 +14047,39 @@ type PerfectionistSortNamedExports = {
13450
14047
  } | string)));
13451
14048
  });
13452
14049
  partitionByNewLine?: boolean;
13453
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13454
- groups?: (string | string[] | {
13455
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13456
- commentAbove?: string;
13457
- })[];
13458
14050
  }[];
13459
14051
  // ----- perfectionist/sort-named-imports -----
13460
14052
  type PerfectionistSortNamedImports = {
13461
14053
  fallbackSort?: {
14054
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13462
14055
  order?: ("asc" | "desc");
13463
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13464
14056
  };
14057
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13465
14058
  specialCharacters?: ("remove" | "trim" | "keep");
13466
14059
  ignoreCase?: boolean;
13467
14060
  alphabet?: string;
13468
14061
  locales?: (string | string[]);
13469
14062
  order?: ("asc" | "desc");
13470
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13471
- groupKind?: ("mixed" | "values-first" | "types-first");
13472
- ignoreAlias?: boolean;
13473
14063
  customGroups?: ({
13474
- newlinesInside?: (("always" | "never") | number);
13475
14064
  fallbackSort?: {
14065
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13476
14066
  order?: ("asc" | "desc");
13477
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13478
14067
  };
14068
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13479
14069
  groupName: string;
14070
+ newlinesInside?: ("ignore" | number);
13480
14071
  order?: ("asc" | "desc");
13481
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13482
- anyOf?: {
14072
+ anyOf: [{
14073
+ elementNamePattern?: (({
14074
+ pattern: string;
14075
+ flags?: string;
14076
+ } | string)[] | ({
14077
+ pattern: string;
14078
+ flags?: string;
14079
+ } | string));
13483
14080
  modifiers?: ("value" | "type")[];
13484
14081
  selector?: "import";
14082
+ }, ...({
13485
14083
  elementNamePattern?: (({
13486
14084
  pattern: string;
13487
14085
  flags?: string;
@@ -13489,18 +14087,18 @@ type PerfectionistSortNamedImports = {
13489
14087
  pattern: string;
13490
14088
  flags?: string;
13491
14089
  } | string));
13492
- }[];
14090
+ modifiers?: ("value" | "type")[];
14091
+ selector?: "import";
14092
+ })[]];
13493
14093
  } | {
13494
- newlinesInside?: (("always" | "never") | number);
13495
14094
  fallbackSort?: {
14095
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13496
14096
  order?: ("asc" | "desc");
13497
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13498
14097
  };
14098
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13499
14099
  groupName: string;
14100
+ newlinesInside?: ("ignore" | number);
13500
14101
  order?: ("asc" | "desc");
13501
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13502
- modifiers?: ("value" | "type")[];
13503
- selector?: "import";
13504
14102
  elementNamePattern?: (({
13505
14103
  pattern: string;
13506
14104
  flags?: string;
@@ -13508,7 +14106,25 @@ type PerfectionistSortNamedImports = {
13508
14106
  pattern: string;
13509
14107
  flags?: string;
13510
14108
  } | string));
14109
+ modifiers?: ("value" | "type")[];
14110
+ selector?: "import";
14111
+ })[];
14112
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
14113
+ groups?: (string | [string, ...(string)[]] | {
14114
+ newlinesBetween: ("ignore" | number);
14115
+ } | {
14116
+ group: (string | [string, ...(string)[]]);
14117
+ fallbackSort?: {
14118
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
14119
+ order?: ("asc" | "desc");
14120
+ };
14121
+ commentAbove?: string;
14122
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
14123
+ newlinesInside?: ("ignore" | number);
14124
+ order?: ("asc" | "desc");
13511
14125
  })[];
14126
+ newlinesBetween?: ("ignore" | number);
14127
+ ignoreAlias?: boolean;
13512
14128
  partitionByComment?: (boolean | (({
13513
14129
  pattern: string;
13514
14130
  flags?: string;
@@ -13532,40 +14148,42 @@ type PerfectionistSortNamedImports = {
13532
14148
  } | string)));
13533
14149
  });
13534
14150
  partitionByNewLine?: boolean;
13535
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13536
- groups?: (string | string[] | {
13537
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13538
- commentAbove?: string;
13539
- })[];
13540
14151
  }[];
13541
14152
  // ----- perfectionist/sort-object-types -----
13542
14153
  type PerfectionistSortObjectTypes = {
13543
14154
  fallbackSort?: {
14155
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13544
14156
  order?: ("asc" | "desc");
13545
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13546
14157
  sortBy?: ("name" | "value");
13547
14158
  };
14159
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13548
14160
  specialCharacters?: ("remove" | "trim" | "keep");
13549
14161
  ignoreCase?: boolean;
13550
14162
  alphabet?: string;
13551
14163
  locales?: (string | string[]);
13552
14164
  order?: ("asc" | "desc");
13553
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
14165
+ sortBy?: ("name" | "value");
13554
14166
  customGroups?: ({
13555
- [k: string]: (string | string[]) | undefined;
13556
- } | ({
13557
- newlinesInside?: (("always" | "never") | number);
13558
14167
  fallbackSort?: {
14168
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13559
14169
  order?: ("asc" | "desc");
13560
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13561
14170
  sortBy?: ("name" | "value");
13562
14171
  };
14172
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13563
14173
  groupName: string;
14174
+ newlinesInside?: ("ignore" | number);
13564
14175
  order?: ("asc" | "desc");
13565
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13566
- anyOf?: {
14176
+ sortBy?: ("name" | "value");
14177
+ anyOf: [{
14178
+ elementNamePattern?: (({
14179
+ pattern: string;
14180
+ flags?: string;
14181
+ } | string)[] | ({
14182
+ pattern: string;
14183
+ flags?: string;
14184
+ } | string));
13567
14185
  modifiers?: ("optional" | "required" | "multiline")[];
13568
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
14186
+ selector?: ("index-signature" | "member" | "method" | "property");
13569
14187
  elementValuePattern?: (({
13570
14188
  pattern: string;
13571
14189
  flags?: string;
@@ -13573,6 +14191,7 @@ type PerfectionistSortObjectTypes = {
13573
14191
  pattern: string;
13574
14192
  flags?: string;
13575
14193
  } | string));
14194
+ }, ...({
13576
14195
  elementNamePattern?: (({
13577
14196
  pattern: string;
13578
14197
  flags?: string;
@@ -13580,37 +14199,61 @@ type PerfectionistSortObjectTypes = {
13580
14199
  pattern: string;
13581
14200
  flags?: string;
13582
14201
  } | string));
13583
- sortBy?: ("name" | "value");
13584
- }[];
14202
+ modifiers?: ("optional" | "required" | "multiline")[];
14203
+ selector?: ("index-signature" | "member" | "method" | "property");
14204
+ elementValuePattern?: (({
14205
+ pattern: string;
14206
+ flags?: string;
14207
+ } | string)[] | ({
14208
+ pattern: string;
14209
+ flags?: string;
14210
+ } | string));
14211
+ })[]];
13585
14212
  } | {
13586
- newlinesInside?: (("always" | "never") | number);
13587
14213
  fallbackSort?: {
14214
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13588
14215
  order?: ("asc" | "desc");
13589
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13590
14216
  sortBy?: ("name" | "value");
13591
14217
  };
14218
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13592
14219
  groupName: string;
14220
+ newlinesInside?: ("ignore" | number);
13593
14221
  order?: ("asc" | "desc");
13594
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13595
- modifiers?: ("optional" | "required" | "multiline")[];
13596
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property");
13597
- elementValuePattern?: (({
14222
+ sortBy?: ("name" | "value");
14223
+ elementNamePattern?: (({
13598
14224
  pattern: string;
13599
14225
  flags?: string;
13600
14226
  } | string)[] | ({
13601
14227
  pattern: string;
13602
14228
  flags?: string;
13603
14229
  } | string));
13604
- elementNamePattern?: (({
14230
+ modifiers?: ("optional" | "required" | "multiline")[];
14231
+ selector?: ("index-signature" | "member" | "method" | "property");
14232
+ elementValuePattern?: (({
13605
14233
  pattern: string;
13606
14234
  flags?: string;
13607
14235
  } | string)[] | ({
13608
14236
  pattern: string;
13609
14237
  flags?: string;
13610
14238
  } | string));
14239
+ })[];
14240
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
14241
+ groups?: (string | [string, ...(string)[]] | {
14242
+ newlinesBetween: ("ignore" | number);
14243
+ } | {
14244
+ group: (string | [string, ...(string)[]]);
14245
+ fallbackSort?: {
14246
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
14247
+ order?: ("asc" | "desc");
14248
+ sortBy?: ("name" | "value");
14249
+ };
14250
+ commentAbove?: string;
14251
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
14252
+ newlinesInside?: ("ignore" | number);
14253
+ order?: ("asc" | "desc");
13611
14254
  sortBy?: ("name" | "value");
13612
- })[]);
13613
- groupKind?: ("mixed" | "required-first" | "optional-first");
14255
+ })[];
14256
+ newlinesBetween?: ("ignore" | number);
13614
14257
  useConfigurationIf?: {
13615
14258
  allNamesMatchPattern?: (({
13616
14259
  pattern: string;
@@ -13619,10 +14262,22 @@ type PerfectionistSortObjectTypes = {
13619
14262
  pattern: string;
13620
14263
  flags?: string;
13621
14264
  } | string));
14265
+ hasNumericKeysOnly?: boolean;
14266
+ declarationCommentMatchesPattern?: (({
14267
+ scope?: ("shallow" | "deep");
14268
+ pattern: string;
14269
+ flags?: string;
14270
+ } | string)[] | ({
14271
+ scope?: ("shallow" | "deep");
14272
+ pattern: string;
14273
+ flags?: string;
14274
+ } | string));
13622
14275
  declarationMatchesPattern?: (({
14276
+ scope?: ("shallow" | "deep");
13623
14277
  pattern: string;
13624
14278
  flags?: string;
13625
14279
  } | string)[] | ({
14280
+ scope?: ("shallow" | "deep");
13626
14281
  pattern: string;
13627
14282
  flags?: string;
13628
14283
  } | string));
@@ -13650,49 +14305,38 @@ type PerfectionistSortObjectTypes = {
13650
14305
  } | string)));
13651
14306
  });
13652
14307
  partitionByNewLine?: boolean;
13653
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13654
- ignorePattern?: (({
13655
- pattern: string;
13656
- flags?: string;
13657
- } | string)[] | ({
13658
- pattern: string;
13659
- flags?: string;
13660
- } | string));
13661
- sortBy?: ("name" | "value");
13662
- groups?: (string | string[] | {
13663
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13664
- commentAbove?: string;
13665
- })[];
13666
14308
  }[];
13667
14309
  // ----- perfectionist/sort-objects -----
13668
14310
  type PerfectionistSortObjects = {
13669
14311
  fallbackSort?: {
14312
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13670
14313
  order?: ("asc" | "desc");
13671
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13672
14314
  };
14315
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13673
14316
  specialCharacters?: ("remove" | "trim" | "keep");
13674
14317
  ignoreCase?: boolean;
13675
14318
  alphabet?: string;
13676
14319
  locales?: (string | string[]);
13677
14320
  order?: ("asc" | "desc");
13678
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13679
- destructuredObjects?: (boolean | {
13680
- groups?: boolean;
13681
- });
13682
14321
  customGroups?: ({
13683
- [k: string]: (string | string[]) | undefined;
13684
- } | ({
13685
- newlinesInside?: (("always" | "never") | number);
13686
14322
  fallbackSort?: {
14323
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13687
14324
  order?: ("asc" | "desc");
13688
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13689
14325
  };
14326
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13690
14327
  groupName: string;
14328
+ newlinesInside?: ("ignore" | number);
13691
14329
  order?: ("asc" | "desc");
13692
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13693
- anyOf?: {
13694
- modifiers?: ("optional" | "required" | "multiline")[];
13695
- selector?: ("member" | "method" | "multiline" | "property");
14330
+ anyOf: [{
14331
+ elementNamePattern?: (({
14332
+ pattern: string;
14333
+ flags?: string;
14334
+ } | string)[] | ({
14335
+ pattern: string;
14336
+ flags?: string;
14337
+ } | string));
14338
+ modifiers?: ("multiline")[];
14339
+ selector?: ("member" | "method" | "property");
13696
14340
  elementValuePattern?: (({
13697
14341
  pattern: string;
13698
14342
  flags?: string;
@@ -13700,6 +14344,7 @@ type PerfectionistSortObjects = {
13700
14344
  pattern: string;
13701
14345
  flags?: string;
13702
14346
  } | string));
14347
+ }, ...({
13703
14348
  elementNamePattern?: (({
13704
14349
  pattern: string;
13705
14350
  flags?: string;
@@ -13707,33 +14352,57 @@ type PerfectionistSortObjects = {
13707
14352
  pattern: string;
13708
14353
  flags?: string;
13709
14354
  } | string));
13710
- }[];
14355
+ modifiers?: ("multiline")[];
14356
+ selector?: ("member" | "method" | "property");
14357
+ elementValuePattern?: (({
14358
+ pattern: string;
14359
+ flags?: string;
14360
+ } | string)[] | ({
14361
+ pattern: string;
14362
+ flags?: string;
14363
+ } | string));
14364
+ })[]];
13711
14365
  } | {
13712
- newlinesInside?: (("always" | "never") | number);
13713
14366
  fallbackSort?: {
14367
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13714
14368
  order?: ("asc" | "desc");
13715
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13716
14369
  };
14370
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13717
14371
  groupName: string;
14372
+ newlinesInside?: ("ignore" | number);
13718
14373
  order?: ("asc" | "desc");
13719
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13720
- modifiers?: ("optional" | "required" | "multiline")[];
13721
- selector?: ("member" | "method" | "multiline" | "property");
13722
- elementValuePattern?: (({
14374
+ elementNamePattern?: (({
13723
14375
  pattern: string;
13724
14376
  flags?: string;
13725
14377
  } | string)[] | ({
13726
14378
  pattern: string;
13727
14379
  flags?: string;
13728
14380
  } | string));
13729
- elementNamePattern?: (({
14381
+ modifiers?: ("multiline")[];
14382
+ selector?: ("member" | "method" | "property");
14383
+ elementValuePattern?: (({
13730
14384
  pattern: string;
13731
14385
  flags?: string;
13732
14386
  } | string)[] | ({
13733
14387
  pattern: string;
13734
14388
  flags?: string;
13735
14389
  } | string));
13736
- })[]);
14390
+ })[];
14391
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
14392
+ groups?: (string | [string, ...(string)[]] | {
14393
+ newlinesBetween: ("ignore" | number);
14394
+ } | {
14395
+ group: (string | [string, ...(string)[]]);
14396
+ fallbackSort?: {
14397
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
14398
+ order?: ("asc" | "desc");
14399
+ };
14400
+ commentAbove?: string;
14401
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
14402
+ newlinesInside?: ("ignore" | number);
14403
+ order?: ("asc" | "desc");
14404
+ })[];
14405
+ newlinesBetween?: ("ignore" | number);
13737
14406
  useConfigurationIf?: {
13738
14407
  allNamesMatchPattern?: (({
13739
14408
  pattern: string;
@@ -13742,16 +14411,36 @@ type PerfectionistSortObjects = {
13742
14411
  pattern: string;
13743
14412
  flags?: string;
13744
14413
  } | string));
14414
+ objectType?: ("destructured" | "non-destructured");
14415
+ hasNumericKeysOnly?: boolean;
14416
+ declarationCommentMatchesPattern?: (({
14417
+ scope?: ("shallow" | "deep");
14418
+ pattern: string;
14419
+ flags?: string;
14420
+ } | string)[] | ({
14421
+ scope?: ("shallow" | "deep");
14422
+ pattern: string;
14423
+ flags?: string;
14424
+ } | string));
13745
14425
  callingFunctionNamePattern?: (({
14426
+ scope?: ("shallow" | "deep");
14427
+ pattern: string;
14428
+ flags?: string;
14429
+ } | string)[] | ({
14430
+ scope?: ("shallow" | "deep");
14431
+ pattern: string;
14432
+ flags?: string;
14433
+ } | string));
14434
+ declarationMatchesPattern?: (({
14435
+ scope?: ("shallow" | "deep");
13746
14436
  pattern: string;
13747
14437
  flags?: string;
13748
14438
  } | string)[] | ({
14439
+ scope?: ("shallow" | "deep");
13749
14440
  pattern: string;
13750
14441
  flags?: string;
13751
14442
  } | string));
13752
14443
  };
13753
- destructureOnly?: boolean;
13754
- objectDeclarations?: boolean;
13755
14444
  styledComponents?: boolean;
13756
14445
  partitionByComment?: (boolean | (({
13757
14446
  pattern: string;
@@ -13776,43 +14465,38 @@ type PerfectionistSortObjects = {
13776
14465
  } | string)));
13777
14466
  });
13778
14467
  partitionByNewLine?: boolean;
13779
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13780
- ignorePattern?: (({
13781
- pattern: string;
13782
- flags?: string;
13783
- } | string)[] | ({
13784
- pattern: string;
13785
- flags?: string;
13786
- } | string));
13787
- groups?: (string | string[] | {
13788
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13789
- commentAbove?: string;
13790
- })[];
13791
14468
  }[];
13792
14469
  // ----- perfectionist/sort-sets -----
13793
14470
  type PerfectionistSortSets = {
13794
14471
  fallbackSort?: {
14472
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13795
14473
  order?: ("asc" | "desc");
13796
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13797
14474
  };
14475
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13798
14476
  specialCharacters?: ("remove" | "trim" | "keep");
13799
14477
  ignoreCase?: boolean;
13800
14478
  alphabet?: string;
13801
14479
  locales?: (string | string[]);
13802
14480
  order?: ("asc" | "desc");
13803
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13804
- groupKind?: ("mixed" | "literals-first" | "spreads-first");
13805
14481
  customGroups?: ({
13806
- newlinesInside?: (("always" | "never") | number);
13807
14482
  fallbackSort?: {
14483
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13808
14484
  order?: ("asc" | "desc");
13809
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13810
14485
  };
14486
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13811
14487
  groupName: string;
14488
+ newlinesInside?: ("ignore" | number);
13812
14489
  order?: ("asc" | "desc");
13813
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13814
- anyOf?: {
14490
+ anyOf: [{
14491
+ elementNamePattern?: (({
14492
+ pattern: string;
14493
+ flags?: string;
14494
+ } | string)[] | ({
14495
+ pattern: string;
14496
+ flags?: string;
14497
+ } | string));
13815
14498
  selector?: ("literal" | "spread");
14499
+ }, ...({
13816
14500
  elementNamePattern?: (({
13817
14501
  pattern: string;
13818
14502
  flags?: string;
@@ -13820,17 +14504,17 @@ type PerfectionistSortSets = {
13820
14504
  pattern: string;
13821
14505
  flags?: string;
13822
14506
  } | string));
13823
- }[];
14507
+ selector?: ("literal" | "spread");
14508
+ })[]];
13824
14509
  } | {
13825
- newlinesInside?: (("always" | "never") | number);
13826
14510
  fallbackSort?: {
14511
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13827
14512
  order?: ("asc" | "desc");
13828
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13829
14513
  };
14514
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13830
14515
  groupName: string;
14516
+ newlinesInside?: ("ignore" | number);
13831
14517
  order?: ("asc" | "desc");
13832
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13833
- selector?: ("literal" | "spread");
13834
14518
  elementNamePattern?: (({
13835
14519
  pattern: string;
13836
14520
  flags?: string;
@@ -13838,7 +14522,23 @@ type PerfectionistSortSets = {
13838
14522
  pattern: string;
13839
14523
  flags?: string;
13840
14524
  } | string));
14525
+ selector?: ("literal" | "spread");
14526
+ })[];
14527
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
14528
+ groups?: (string | [string, ...(string)[]] | {
14529
+ newlinesBetween: ("ignore" | number);
14530
+ } | {
14531
+ group: (string | [string, ...(string)[]]);
14532
+ fallbackSort?: {
14533
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
14534
+ order?: ("asc" | "desc");
14535
+ };
14536
+ commentAbove?: string;
14537
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
14538
+ newlinesInside?: ("ignore" | number);
14539
+ order?: ("asc" | "desc");
13841
14540
  })[];
14541
+ newlinesBetween?: ("ignore" | number);
13842
14542
  useConfigurationIf?: {
13843
14543
  allNamesMatchPattern?: (({
13844
14544
  pattern: string;
@@ -13871,48 +14571,51 @@ type PerfectionistSortSets = {
13871
14571
  } | string)));
13872
14572
  });
13873
14573
  partitionByNewLine?: boolean;
13874
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13875
- groups?: (string | string[] | {
13876
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13877
- commentAbove?: string;
13878
- })[];
13879
14574
  }[];
13880
14575
  // ----- perfectionist/sort-switch-case -----
13881
14576
  type PerfectionistSortSwitchCase = [] | [{
13882
14577
  fallbackSort?: {
14578
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13883
14579
  order?: ("asc" | "desc");
13884
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13885
14580
  };
14581
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13886
14582
  specialCharacters?: ("remove" | "trim" | "keep");
13887
14583
  ignoreCase?: boolean;
13888
14584
  alphabet?: string;
13889
14585
  locales?: (string | string[]);
13890
14586
  order?: ("asc" | "desc");
13891
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13892
14587
  }];
13893
14588
  // ----- perfectionist/sort-union-types -----
13894
14589
  type PerfectionistSortUnionTypes = {
13895
14590
  fallbackSort?: {
14591
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13896
14592
  order?: ("asc" | "desc");
13897
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13898
14593
  };
14594
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13899
14595
  specialCharacters?: ("remove" | "trim" | "keep");
13900
14596
  ignoreCase?: boolean;
13901
14597
  alphabet?: string;
13902
14598
  locales?: (string | string[]);
13903
14599
  order?: ("asc" | "desc");
13904
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13905
14600
  customGroups?: ({
13906
- newlinesInside?: (("always" | "never") | number);
13907
14601
  fallbackSort?: {
14602
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13908
14603
  order?: ("asc" | "desc");
13909
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13910
14604
  };
14605
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13911
14606
  groupName: string;
14607
+ newlinesInside?: ("ignore" | number);
13912
14608
  order?: ("asc" | "desc");
13913
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13914
- anyOf?: {
14609
+ anyOf: [{
14610
+ elementNamePattern?: (({
14611
+ pattern: string;
14612
+ flags?: string;
14613
+ } | string)[] | ({
14614
+ pattern: string;
14615
+ flags?: string;
14616
+ } | string));
13915
14617
  selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
14618
+ }, ...({
13916
14619
  elementNamePattern?: (({
13917
14620
  pattern: string;
13918
14621
  flags?: string;
@@ -13920,17 +14623,17 @@ type PerfectionistSortUnionTypes = {
13920
14623
  pattern: string;
13921
14624
  flags?: string;
13922
14625
  } | string));
13923
- }[];
14626
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
14627
+ })[]];
13924
14628
  } | {
13925
- newlinesInside?: (("always" | "never") | number);
13926
14629
  fallbackSort?: {
14630
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13927
14631
  order?: ("asc" | "desc");
13928
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13929
14632
  };
14633
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13930
14634
  groupName: string;
14635
+ newlinesInside?: ("ignore" | number);
13931
14636
  order?: ("asc" | "desc");
13932
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13933
- selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
13934
14637
  elementNamePattern?: (({
13935
14638
  pattern: string;
13936
14639
  flags?: string;
@@ -13938,7 +14641,23 @@ type PerfectionistSortUnionTypes = {
13938
14641
  pattern: string;
13939
14642
  flags?: string;
13940
14643
  } | string));
14644
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union");
14645
+ })[];
14646
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
14647
+ groups?: (string | [string, ...(string)[]] | {
14648
+ newlinesBetween: ("ignore" | number);
14649
+ } | {
14650
+ group: (string | [string, ...(string)[]]);
14651
+ fallbackSort?: {
14652
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
14653
+ order?: ("asc" | "desc");
14654
+ };
14655
+ commentAbove?: string;
14656
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
14657
+ newlinesInside?: ("ignore" | number);
14658
+ order?: ("asc" | "desc");
13941
14659
  })[];
14660
+ newlinesBetween?: ("ignore" | number);
13942
14661
  partitionByComment?: (boolean | (({
13943
14662
  pattern: string;
13944
14663
  flags?: string;
@@ -13962,35 +14681,38 @@ type PerfectionistSortUnionTypes = {
13962
14681
  } | string)));
13963
14682
  });
13964
14683
  partitionByNewLine?: boolean;
13965
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13966
- groups?: (string | string[] | {
13967
- newlinesBetween?: (("ignore" | "always" | "never") | number);
13968
- commentAbove?: string;
13969
- })[];
13970
14684
  }[];
13971
14685
  // ----- perfectionist/sort-variable-declarations -----
13972
14686
  type PerfectionistSortVariableDeclarations = [] | [{
13973
14687
  fallbackSort?: {
14688
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13974
14689
  order?: ("asc" | "desc");
13975
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13976
14690
  };
14691
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13977
14692
  specialCharacters?: ("remove" | "trim" | "keep");
13978
14693
  ignoreCase?: boolean;
13979
14694
  alphabet?: string;
13980
14695
  locales?: (string | string[]);
13981
14696
  order?: ("asc" | "desc");
13982
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13983
14697
  customGroups?: ({
13984
- newlinesInside?: (("always" | "never") | number);
13985
14698
  fallbackSort?: {
14699
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13986
14700
  order?: ("asc" | "desc");
13987
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13988
14701
  };
14702
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
13989
14703
  groupName: string;
14704
+ newlinesInside?: ("ignore" | number);
13990
14705
  order?: ("asc" | "desc");
13991
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
13992
- anyOf?: {
14706
+ anyOf: [{
14707
+ elementNamePattern?: (({
14708
+ pattern: string;
14709
+ flags?: string;
14710
+ } | string)[] | ({
14711
+ pattern: string;
14712
+ flags?: string;
14713
+ } | string));
13993
14714
  selector?: ("initialized" | "uninitialized");
14715
+ }, ...({
13994
14716
  elementNamePattern?: (({
13995
14717
  pattern: string;
13996
14718
  flags?: string;
@@ -13998,17 +14720,17 @@ type PerfectionistSortVariableDeclarations = [] | [{
13998
14720
  pattern: string;
13999
14721
  flags?: string;
14000
14722
  } | string));
14001
- }[];
14723
+ selector?: ("initialized" | "uninitialized");
14724
+ })[]];
14002
14725
  } | {
14003
- newlinesInside?: (("always" | "never") | number);
14004
14726
  fallbackSort?: {
14727
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
14005
14728
  order?: ("asc" | "desc");
14006
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
14007
14729
  };
14730
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
14008
14731
  groupName: string;
14732
+ newlinesInside?: ("ignore" | number);
14009
14733
  order?: ("asc" | "desc");
14010
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
14011
- selector?: ("initialized" | "uninitialized");
14012
14734
  elementNamePattern?: (({
14013
14735
  pattern: string;
14014
14736
  flags?: string;
@@ -14016,7 +14738,23 @@ type PerfectionistSortVariableDeclarations = [] | [{
14016
14738
  pattern: string;
14017
14739
  flags?: string;
14018
14740
  } | string));
14741
+ selector?: ("initialized" | "uninitialized");
14019
14742
  })[];
14743
+ newlinesInside?: (("ignore" | number) | "newlinesBetween");
14744
+ groups?: (string | [string, ...(string)[]] | {
14745
+ newlinesBetween: ("ignore" | number);
14746
+ } | {
14747
+ group: (string | [string, ...(string)[]]);
14748
+ fallbackSort?: {
14749
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
14750
+ order?: ("asc" | "desc");
14751
+ };
14752
+ commentAbove?: string;
14753
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order");
14754
+ newlinesInside?: ("ignore" | number);
14755
+ order?: ("asc" | "desc");
14756
+ })[];
14757
+ newlinesBetween?: ("ignore" | number);
14020
14758
  partitionByComment?: (boolean | (({
14021
14759
  pattern: string;
14022
14760
  flags?: string;
@@ -14040,11 +14778,6 @@ type PerfectionistSortVariableDeclarations = [] | [{
14040
14778
  } | string)));
14041
14779
  });
14042
14780
  partitionByNewLine?: boolean;
14043
- newlinesBetween?: (("ignore" | "always" | "never") | number);
14044
- groups?: (string | string[] | {
14045
- newlinesBetween?: (("ignore" | "always" | "never") | number);
14046
- commentAbove?: string;
14047
- })[];
14048
14781
  }];
14049
14782
  // ----- prefer-arrow-callback -----
14050
14783
  type PreferArrowCallback = [] | [{
@@ -14255,6 +14988,11 @@ type ReactNamingConventionFilenameExtension = [] | [(("always" | "as-needed") |
14255
14988
  extensions?: string[];
14256
14989
  ignoreFilesWithoutCode?: boolean;
14257
14990
  })];
14991
+ // ----- react-naming-convention/use-state -----
14992
+ type ReactNamingConventionUseState = [] | [{
14993
+ enforceAssignment?: boolean;
14994
+ enforceSetterName?: boolean;
14995
+ }];
14258
14996
  // ----- react-refresh/only-export-components -----
14259
14997
  type ReactRefreshOnlyExportComponents = [] | [{
14260
14998
  allowExportNames?: string[];
@@ -15865,7 +16603,7 @@ type StyleTypeAnnotationSpacing = [] | [{
15865
16603
  after?: boolean;
15866
16604
  overrides?: {
15867
16605
  colon?: _StyleTypeAnnotationSpacing_SpacingConfig;
15868
- arrow?: _StyleTypeAnnotationSpacing_SpacingConfig;
16606
+ arrow?: ("ignore" | _StyleTypeAnnotationSpacing_SpacingConfig);
15869
16607
  variable?: _StyleTypeAnnotationSpacing_SpacingConfig;
15870
16608
  parameter?: _StyleTypeAnnotationSpacing_SpacingConfig;
15871
16609
  property?: _StyleTypeAnnotationSpacing_SpacingConfig;
@@ -16126,6 +16864,10 @@ type TestMaxExpects = [] | [{
16126
16864
  type TestMaxNestedDescribe = [] | [{
16127
16865
  max?: number;
16128
16866
  }];
16867
+ // ----- test/no-conditional-expect -----
16868
+ type TestNoConditionalExpect = [] | [{
16869
+ expectAssertions?: boolean;
16870
+ }];
16129
16871
  // ----- test/no-focused-tests -----
16130
16872
  type TestNoFocusedTests = [] | [{
16131
16873
  fixable?: boolean;
@@ -17048,6 +17790,9 @@ type TsNoUnusedVars = [] | [(("all" | "local") | {
17048
17790
  caughtErrors?: ("all" | "none");
17049
17791
  caughtErrorsIgnorePattern?: string;
17050
17792
  destructuredArrayIgnorePattern?: string;
17793
+ enableAutofixRemoval?: {
17794
+ imports?: boolean;
17795
+ };
17051
17796
  ignoreClassWithStaticInitBlock?: boolean;
17052
17797
  ignoreRestSiblings?: boolean;
17053
17798
  ignoreUsingDeclarations?: boolean;
@@ -17248,6 +17993,10 @@ type TsStrictBooleanExpressions = [] | [{
17248
17993
  allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean;
17249
17994
  allowString?: boolean;
17250
17995
  }];
17996
+ // ----- ts/strict-void-return -----
17997
+ type TsStrictVoidReturn = [] | [{
17998
+ allowReturnAny?: boolean;
17999
+ }];
17251
18000
  // ----- ts/switch-exhaustiveness-check -----
17252
18001
  type TsSwitchExhaustivenessCheck = [] | [{
17253
18002
  allowDefaultCaseForExhaustiveSwitch?: boolean;
@@ -17522,6 +18271,9 @@ type UnusedImportsNoUnusedImports = [] | [(("all" | "local") | {
17522
18271
  caughtErrors?: ("all" | "none");
17523
18272
  caughtErrorsIgnorePattern?: string;
17524
18273
  destructuredArrayIgnorePattern?: string;
18274
+ enableAutofixRemoval?: {
18275
+ imports?: boolean;
18276
+ };
17525
18277
  ignoreClassWithStaticInitBlock?: boolean;
17526
18278
  ignoreRestSiblings?: boolean;
17527
18279
  ignoreUsingDeclarations?: boolean;
@@ -17536,6 +18288,9 @@ type UnusedImportsNoUnusedVars = [] | [(("all" | "local") | {
17536
18288
  caughtErrors?: ("all" | "none");
17537
18289
  caughtErrorsIgnorePattern?: string;
17538
18290
  destructuredArrayIgnorePattern?: string;
18291
+ enableAutofixRemoval?: {
18292
+ imports?: boolean;
18293
+ };
17539
18294
  ignoreClassWithStaticInitBlock?: boolean;
17540
18295
  ignoreRestSiblings?: boolean;
17541
18296
  ignoreUsingDeclarations?: boolean;
@@ -18961,7 +19716,7 @@ type Yoda = [] | [("always" | "never")] | [("always" | "never"), {
18961
19716
  onlyEquality?: boolean;
18962
19717
  }];
18963
19718
  // Names of all the configs
18964
- type ConfigNames = 'vinicunca/astro/setup' | 'vinicunca/astro/rules' | 'vinicunca/eslint-comments/rules' | 'vinicunca/formatter/setup' | 'vinicunca/imports/rules' | 'vinicunca/javascript/setup' | 'vinicunca/javascript/rules' | 'vinicunca/javascript/disables' | 'antfu/jsx/setup' | 'vinicunca/jsdoc/rules' | 'vinicunca/jsonc/setup' | 'vinicunca/jsonc/rules' | 'vinicunca/markdown/setup' | 'vinicunca/markdown/processor' | 'vinicunca/markdown/parser' | 'vinicunca/markdown/disables' | 'vinicunca/node/rules' | 'vinicunca/perfectionist/rules' | 'vinicunca/react/setup' | 'vinicunca/react/rules' | 'vinicunca/solid/setup' | 'vinicunca/solid/rules' | 'vinicunca/sort/package-json' | 'vinicunca/stylistic/rules' | 'vinicunca/svelte/setup' | 'vinicunca/svelte/rules' | 'vinicunca/test/setup' | 'vinicunca/test/rules' | 'vinicunca/toml/setup' | 'vinicunca/toml/rules' | 'vinicunca/regexp/rules' | 'vinicunca/sonar/rules' | 'vinicunca/typescript/setup' | 'vinicunca/typescript/parser' | 'vinicunca/typescript/rules' | 'vinicunca/typescript/disables/dts' | 'vinicunca/typescript/disables/tests' | 'vinicunca/typescript/disables/javascript' | 'vinicunca/unicorn/rules' | 'vinicunca/unocss' | 'vinicunca/vue/setup' | 'vinicunca/vue/rules' | 'vinicunca/yaml/setup' | 'vinicunca/yaml/rules';
19719
+ type ConfigNames = 'vinicunca/astro/setup' | 'vinicunca/astro/rules' | 'vinicunca/eslint-comments/rules' | 'vinicunca/formatter/setup' | 'vinicunca/imports/rules' | 'vinicunca/javascript/setup' | 'vinicunca/javascript/rules' | 'antfu/jsx/setup' | 'vinicunca/jsdoc/rules' | 'vinicunca/jsonc/setup' | 'vinicunca/jsonc/rules' | 'vinicunca/markdown/setup' | 'vinicunca/markdown/processor' | 'vinicunca/markdown/parser' | 'vinicunca/markdown/disables' | 'vinicunca/node/rules' | 'vinicunca/perfectionist/rules' | 'vinicunca/react/setup' | 'vinicunca/react/rules' | 'vinicunca/solid/setup' | 'vinicunca/solid/rules' | 'vinicunca/sort/package-json' | 'vinicunca/stylistic/rules' | 'vinicunca/svelte/setup' | 'vinicunca/svelte/rules' | 'vinicunca/test/setup' | 'vinicunca/test/rules' | 'vinicunca/toml/setup' | 'vinicunca/toml/rules' | 'vinicunca/regexp/rules' | 'vinicunca/sonar/rules' | 'vinicunca/typescript/setup' | 'vinicunca/typescript/parser' | 'vinicunca/typescript/rules' | 'vinicunca/typescript/disables/dts' | 'vinicunca/typescript/disables/tests' | 'vinicunca/typescript/disables/javascript' | 'vinicunca/unicorn/rules' | 'vinicunca/unocss' | 'vinicunca/vue/setup' | 'vinicunca/vue/rules' | 'vinicunca/yaml/setup' | 'vinicunca/yaml/rules';
18965
19720
  //#endregion
18966
19721
  //#region src/vendor/prettier-types.d.ts
18967
19722
  /**
@@ -19291,6 +20046,32 @@ interface OptionsRegExp {
19291
20046
  interface OptionsIsInEditor {
19292
20047
  isInEditor?: boolean;
19293
20048
  }
20049
+ interface OptionsPnpm extends OptionsIsInEditor {
20050
+ /**
20051
+ * Requires catalogs usage
20052
+ *
20053
+ * Detects automatically based if `catalogs` is used in the pnpm-workspace.yaml file
20054
+ */
20055
+ catalogs?: boolean;
20056
+ /**
20057
+ * Enable linting for package.json, will install the jsonc parser
20058
+ *
20059
+ * @default true
20060
+ */
20061
+ json?: boolean;
20062
+ /**
20063
+ * Enable linting for pnpm-workspace.yaml, will install the yaml parser
20064
+ *
20065
+ * @default true
20066
+ */
20067
+ yaml?: boolean;
20068
+ /**
20069
+ * Sort entries in pnpm-workspace.yaml
20070
+ *
20071
+ * @default false
20072
+ */
20073
+ sort?: boolean;
20074
+ }
19294
20075
  interface OptionsUnoCSS extends OptionsOverrides {
19295
20076
  /**
19296
20077
  * Enable attributify support.
@@ -19343,6 +20124,18 @@ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
19343
20124
  * Core rules. Can't be disabled.
19344
20125
  */
19345
20126
  javascript?: OptionsOverrides;
20127
+ /**
20128
+ * Enable Node.js rules
20129
+ *
20130
+ * @default true
20131
+ */
20132
+ node?: boolean;
20133
+ /**
20134
+ * Enable JSDoc rules
20135
+ *
20136
+ * @default true
20137
+ */
20138
+ jsdoc?: boolean;
19346
20139
  /**
19347
20140
  * Enable TypeScript support.
19348
20141
  *
@@ -19483,7 +20276,7 @@ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
19483
20276
  * @experimental
19484
20277
  * @default false
19485
20278
  */
19486
- pnpm?: boolean;
20279
+ pnpm?: boolean | OptionsPnpm;
19487
20280
  /**
19488
20281
  * Use external formatters to format files.
19489
20282
  *
@@ -19533,7 +20326,7 @@ declare const defaultPluginRenaming: {
19533
20326
  * @returns
19534
20327
  * The merged ESLint configurations.
19535
20328
  */
19536
- declare function vinicuncaESLint(options?: OptionsConfig & Omit<TypedFlatConfigItem, 'files'>, ...userConfigs: Array<Awaitable<Array<Linter.Config> | Array<TypedFlatConfigItem> | FlatConfigComposer<any, any> | TypedFlatConfigItem>>): FlatConfigComposer<TypedFlatConfigItem, ConfigNames>;
20329
+ declare function vinicuncaESLint(options?: OptionsConfig & Omit<TypedFlatConfigItem, 'files' | 'ignores'>, ...userConfigs: Array<Awaitable<TypedFlatConfigItem | Array<TypedFlatConfigItem> | FlatConfigComposer<any, any> | Array<Linter.Config>>>): FlatConfigComposer<TypedFlatConfigItem, ConfigNames>;
19537
20330
  type ResolvedOptions<T> = T extends boolean ? never : NonNullable<T>;
19538
20331
  //#endregion
19539
20332
  //#region src/configs/astro.d.ts
@@ -19545,6 +20338,9 @@ declare function command(): Promise<Array<TypedFlatConfigItem>>;
19545
20338
  //#region src/configs/comments.d.ts
19546
20339
  declare function comments(): Promise<Array<TypedFlatConfigItem>>;
19547
20340
  //#endregion
20341
+ //#region src/configs/disables.d.ts
20342
+ declare function disables(): Promise<TypedFlatConfigItem[]>;
20343
+ //#endregion
19548
20344
  //#region src/configs/formatters.d.ts
19549
20345
  declare function formatters(options?: OptionsFormatters | true, stylistic?: StylisticConfig): Promise<Array<TypedFlatConfigItem>>;
19550
20346
  //#endregion
@@ -19584,7 +20380,7 @@ declare function node(): Promise<Array<TypedFlatConfigItem>>;
19584
20380
  declare function perfectionist(): Promise<Array<TypedFlatConfigItem>>;
19585
20381
  //#endregion
19586
20382
  //#region src/configs/pnpm.d.ts
19587
- declare function pnpm(options: OptionsIsInEditor): Promise<Array<TypedFlatConfigItem>>;
20383
+ declare function pnpm(options: OptionsPnpm): Promise<Array<TypedFlatConfigItem>>;
19588
20384
  //#endregion
19589
20385
  //#region src/configs/react.d.ts
19590
20386
  declare function react(options?: OptionsTypeScriptParserOptions & OptionsTypeScriptWithTypes & OptionsReact & OptionsFiles): Promise<Array<TypedFlatConfigItem>>;
@@ -19750,4 +20546,4 @@ declare function ensurePackages(packages: Array<string | undefined>): Promise<vo
19750
20546
  declare function isInEditorEnv(): boolean;
19751
20547
  declare function isInGitHooksOrLintStaged(): boolean;
19752
20548
  //#endregion
19753
- export { Awaitable, type ConfigNames, GLOB_ALL_SRC, 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_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsFormatters, OptionsHasTypeScript, OptionsIsInEditor, OptionsJSX, OptionsJSXA11y, OptionsOverrides, OptionsProjectType, OptionsReact, OptionsRegExp, OptionsStylistic, OptionsTypeScriptErasableOnly, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, OptionsUnicorn, OptionsUnoCSS, OptionsVue, ResolvedOptions, Rules, STYLISTIC_CONFIG_DEFAULTS, StylisticConfig, StylisticOptions, TypedFlatConfigItem, astro, combineConfigs, command, comments, defaultPluginRenaming, ensurePackages, formatters, ignores, imports, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, javascript, jsdoc, jsonc, jsx, markdown, nextjs, node, parserPlain, perfectionist, pluginAntfu, pluginComments, pluginImportLite, pluginNode, pluginPerfectionist, pluginSonar, pluginUnicorn, pluginUnusedImports, pnpm, react, regexp, renamePluginInConfigs, renameRules, solid, sonar, sortPackageJson, sortTsconfig, stylistic, svelte, test, toArray, toml, typescript, unicorn, unocss, vinicuncaESLint, vue, yaml };
20549
+ export { Awaitable, type ConfigNames, GLOB_ALL_SRC, 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_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsFormatters, OptionsHasTypeScript, OptionsIsInEditor, OptionsJSX, OptionsJSXA11y, OptionsOverrides, OptionsPnpm, OptionsProjectType, OptionsReact, OptionsRegExp, OptionsStylistic, OptionsTypeScriptErasableOnly, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, OptionsUnicorn, OptionsUnoCSS, OptionsVue, ResolvedOptions, Rules, STYLISTIC_CONFIG_DEFAULTS, StylisticConfig, StylisticOptions, TypedFlatConfigItem, astro, combineConfigs, command, comments, defaultPluginRenaming, disables, ensurePackages, formatters, ignores, imports, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, javascript, jsdoc, jsonc, jsx, markdown, nextjs, node, parserPlain, perfectionist, pluginAntfu, pluginComments, pluginImportLite, pluginNode, pluginPerfectionist, pluginSonar, pluginUnicorn, pluginUnusedImports, pnpm, react, regexp, renamePluginInConfigs, renameRules, solid, sonar, sortPackageJson, sortTsconfig, stylistic, svelte, test, toArray, toml, typescript, unicorn, unocss, vinicuncaESLint, vue, yaml };