@bfra.me/eslint-config 0.47.9 → 0.48.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.ts CHANGED
@@ -192,6 +192,11 @@ interface Rules {
192
192
  * @see https://eslint.style/rules/eol-last
193
193
  */
194
194
  '@stylistic/eol-last'?: Linter.RuleEntry<StylisticEolLast>
195
+ /**
196
+ * Enforce consistent line break styles for JSX props
197
+ * @see https://eslint.style/rules/jsx-props-style
198
+ */
199
+ '@stylistic/exp-jsx-props-style'?: Linter.RuleEntry<StylisticExpJsxPropsStyle>
195
200
  /**
196
201
  * Enforce consistent spacing and line break styles inside brackets.
197
202
  * @see https://eslint.style/rules/list-style
@@ -327,6 +332,7 @@ interface Rules {
327
332
  /**
328
333
  * Enforce props alphabetical sorting
329
334
  * @see https://eslint.style/rules/jsx-sort-props
335
+ * @deprecated
330
336
  */
331
337
  '@stylistic/jsx-sort-props'?: Linter.RuleEntry<StylisticJsxSortProps>
332
338
  /**
@@ -1071,7 +1077,7 @@ interface Rules {
1071
1077
  * Disallow default values that will never be used
1072
1078
  * @see https://typescript-eslint.io/rules/no-useless-default-assignment
1073
1079
  */
1074
- '@typescript-eslint/no-useless-default-assignment'?: Linter.RuleEntry<[]>
1080
+ '@typescript-eslint/no-useless-default-assignment'?: Linter.RuleEntry<TypescriptEslintNoUselessDefaultAssignment>
1075
1081
  /**
1076
1082
  * Disallow empty exports that don't change anything in a module file
1077
1083
  * @see https://typescript-eslint.io/rules/no-useless-empty-export
@@ -1245,6 +1251,11 @@ interface Rules {
1245
1251
  * @see https://typescript-eslint.io/rules/strict-boolean-expressions
1246
1252
  */
1247
1253
  '@typescript-eslint/strict-boolean-expressions'?: Linter.RuleEntry<TypescriptEslintStrictBooleanExpressions>
1254
+ /**
1255
+ * Disallow passing a value-returning function in a position accepting a void function
1256
+ * @see https://typescript-eslint.io/rules/strict-void-return
1257
+ */
1258
+ '@typescript-eslint/strict-void-return'?: Linter.RuleEntry<TypescriptEslintStrictVoidReturn>
1248
1259
  /**
1249
1260
  * Require switch-case statements to be exhaustive
1250
1261
  * @see https://typescript-eslint.io/rules/switch-exhaustiveness-check
@@ -4188,6 +4199,11 @@ interface Rules {
4188
4199
  * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/console.md
4189
4200
  */
4190
4201
  'node/prefer-global/console'?: Linter.RuleEntry<NodePreferGlobalConsole>
4202
+ /**
4203
+ * enforce either `crypto` or `require("crypto").webcrypto`
4204
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/crypto.md
4205
+ */
4206
+ 'node/prefer-global/crypto'?: Linter.RuleEntry<NodePreferGlobalCrypto>
4191
4207
  /**
4192
4208
  * enforce either `process` or `require("process")`
4193
4209
  * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/process.md
@@ -4203,6 +4219,11 @@ interface Rules {
4203
4219
  * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/text-encoder.md
4204
4220
  */
4205
4221
  'node/prefer-global/text-encoder'?: Linter.RuleEntry<NodePreferGlobalTextEncoder>
4222
+ /**
4223
+ * enforce either global timer functions or `require("timers")`
4224
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/timers.md
4225
+ */
4226
+ 'node/prefer-global/timers'?: Linter.RuleEntry<NodePreferGlobalTimers>
4206
4227
  /**
4207
4228
  * enforce either `URL` or `require("url").URL`
4208
4229
  * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/url.md
@@ -4322,6 +4343,11 @@ interface Rules {
4322
4343
  * @see https://perfectionist.dev/rules/sort-enums
4323
4344
  */
4324
4345
  'perfectionist/sort-enums'?: Linter.RuleEntry<PerfectionistSortEnums>
4346
+ /**
4347
+ * Enforce sorted export attributes.
4348
+ * @see https://perfectionist.dev/rules/sort-export-attributes
4349
+ */
4350
+ 'perfectionist/sort-export-attributes'?: Linter.RuleEntry<PerfectionistSortExportAttributes>
4325
4351
  /**
4326
4352
  * Enforce sorted exports.
4327
4353
  * @see https://perfectionist.dev/rules/sort-exports
@@ -4332,6 +4358,11 @@ interface Rules {
4332
4358
  * @see https://perfectionist.dev/rules/sort-heritage-clauses
4333
4359
  */
4334
4360
  'perfectionist/sort-heritage-clauses'?: Linter.RuleEntry<PerfectionistSortHeritageClauses>
4361
+ /**
4362
+ * Enforce sorted import attributes.
4363
+ * @see https://perfectionist.dev/rules/sort-import-attributes
4364
+ */
4365
+ 'perfectionist/sort-import-attributes'?: Linter.RuleEntry<PerfectionistSortImportAttributes>
4335
4366
  /**
4336
4367
  * Enforce sorted imports.
4337
4368
  * @see https://perfectionist.dev/rules/sort-imports
@@ -4600,7 +4631,7 @@ interface Rules {
4600
4631
  */
4601
4632
  'react-dom/no-unknown-property'?: Linter.RuleEntry<ReactDomNoUnknownProperty>
4602
4633
  /**
4603
- * Enforces 'sandbox' attribute for 'iframe' elements is not set to unsafe combinations.
4634
+ * Enforces that the 'sandbox' attribute for 'iframe' elements is not set to unsafe combinations.
4604
4635
  * @see https://eslint-react.xyz/docs/rules/dom-no-unsafe-iframe-sandbox
4605
4636
  */
4606
4637
  'react-dom/no-unsafe-iframe-sandbox'?: Linter.RuleEntry<[]>
@@ -4767,6 +4798,11 @@ interface Rules {
4767
4798
  * @see https://eslint-react.xyz/docs/rules/naming-convention-filename-extension
4768
4799
  */
4769
4800
  'react-naming-convention/filename-extension'?: Linter.RuleEntry<ReactNamingConventionFilenameExtension>
4801
+ /**
4802
+ * Enforces identifier names assigned from 'useId' calls to be either 'id' or end with 'Id'.
4803
+ * @see https://eslint-react.xyz/docs/rules/naming-convention-id-name
4804
+ */
4805
+ 'react-naming-convention/id-name'?: Linter.RuleEntry<[]>
4770
4806
  /**
4771
4807
  * Enforces identifier names assigned from 'useRef' calls to be either 'ref' or end with 'Ref'.
4772
4808
  * @see https://eslint-react.xyz/docs/rules/naming-convention-ref-name
@@ -4799,12 +4835,12 @@ interface Rules {
4799
4835
  */
4800
4836
  'react-web-api/no-leaked-timeout'?: Linter.RuleEntry<[]>
4801
4837
  /**
4802
- * Prevents unnecessary dollar signs ('$') from being inserted before an expression in JSX.
4838
+ * Prevents unintentional '$' sign before expression.
4803
4839
  * @see https://eslint-react.xyz/docs/rules/jsx-dollar
4804
4840
  */
4805
4841
  'react/jsx-dollar'?: Linter.RuleEntry<[]>
4806
4842
  /**
4807
- * Enforces that the 'key' prop is placed before the spread prop in JSX elements when using the new JSX transform.
4843
+ * Enforces 'key' prop placement before spread props.
4808
4844
  * @see https://eslint-react.xyz/docs/rules/jsx-key-before-spread
4809
4845
  */
4810
4846
  'react/jsx-key-before-spread'?: Linter.RuleEntry<[]>
@@ -4819,7 +4855,7 @@ interface Rules {
4819
4855
  */
4820
4856
  'react/jsx-no-duplicate-props'?: Linter.RuleEntry<[]>
4821
4857
  /**
4822
- * Disallows 'IIFE' in JSX.
4858
+ * Disallows immediately-invoked function expressions in JSX.
4823
4859
  * @see https://eslint-react.xyz/docs/rules/jsx-no-iife
4824
4860
  */
4825
4861
  'react/jsx-no-iife'?: Linter.RuleEntry<[]>
@@ -4829,12 +4865,12 @@ interface Rules {
4829
4865
  */
4830
4866
  'react/jsx-no-undef'?: Linter.RuleEntry<[]>
4831
4867
  /**
4832
- * Enforces the use of shorthand syntax for boolean attributes.
4868
+ * Enforces shorthand syntax for boolean props.
4833
4869
  * @see https://eslint-react.xyz/docs/rules/jsx-shorthand-boolean
4834
4870
  */
4835
4871
  'react/jsx-shorthand-boolean'?: Linter.RuleEntry<ReactJsxShorthandBoolean>
4836
4872
  /**
4837
- * Enforces the use of shorthand syntax for fragments.
4873
+ * Enforces shorthand syntax for fragment elements.
4838
4874
  * @see https://eslint-react.xyz/docs/rules/jsx-shorthand-fragment
4839
4875
  */
4840
4876
  'react/jsx-shorthand-fragment'?: Linter.RuleEntry<ReactJsxShorthandFragment>
@@ -4844,7 +4880,7 @@ interface Rules {
4844
4880
  */
4845
4881
  'react/jsx-uses-react'?: Linter.RuleEntry<[]>
4846
4882
  /**
4847
- * Marks variables used in JSX elements as used.
4883
+ * Marks JSX element variables as used.
4848
4884
  * @see https://eslint-react.xyz/docs/rules/jsx-uses-vars
4849
4885
  */
4850
4886
  'react/jsx-uses-vars'?: Linter.RuleEntry<[]>
@@ -4934,7 +4970,7 @@ interface Rules {
4934
4970
  */
4935
4971
  'react/no-direct-mutation-state'?: Linter.RuleEntry<[]>
4936
4972
  /**
4937
- * Disallows duplicate 'key' on elements in the same array or a list of 'children'.
4973
+ * Prevents duplicate 'key' props on sibling elements when rendering lists.
4938
4974
  * @see https://eslint-react.xyz/docs/rules/no-duplicate-key
4939
4975
  */
4940
4976
  'react/no-duplicate-key'?: Linter.RuleEntry<[]>
@@ -4950,7 +4986,7 @@ interface Rules {
4950
4986
  */
4951
4987
  'react/no-forward-ref'?: Linter.RuleEntry<[]>
4952
4988
  /**
4953
- * Prevents 'key' from not being explicitly specified (e.g., spreading 'key' from objects).
4989
+ * Prevents implicitly passing the 'key' prop to components.
4954
4990
  * @see https://eslint-react.xyz/docs/rules/no-implicit-key
4955
4991
  */
4956
4992
  'react/no-implicit-key'?: Linter.RuleEntry<[]>
@@ -4960,12 +4996,12 @@ interface Rules {
4960
4996
  */
4961
4997
  'react/no-leaked-conditional-rendering'?: Linter.RuleEntry<[]>
4962
4998
  /**
4963
- * Enforces that all components have a 'displayName' that can be used in devtools.
4999
+ * Enforces that all components have a 'displayName' that can be used in DevTools.
4964
5000
  * @see https://eslint-react.xyz/docs/rules/no-missing-component-display-name
4965
5001
  */
4966
5002
  'react/no-missing-component-display-name'?: Linter.RuleEntry<[]>
4967
5003
  /**
4968
- * Enforces that all contexts have a 'displayName' that can be used in devtools.
5004
+ * Enforces that all contexts have a 'displayName' that can be used in DevTools.
4969
5005
  * @see https://eslint-react.xyz/docs/rules/no-missing-context-display-name
4970
5006
  */
4971
5007
  'react/no-missing-context-display-name'?: Linter.RuleEntry<[]>
@@ -5020,7 +5056,7 @@ interface Rules {
5020
5056
  */
5021
5057
  'react/no-string-refs'?: Linter.RuleEntry<[]>
5022
5058
  /**
5023
- * Prevents 'key' from being placed on non-top-level elements in list rendering.
5059
+ * Disallows unnecessary 'key' props on nested child elements when rendering lists.
5024
5060
  * @see https://eslint-react.xyz/docs/rules/no-unnecessary-key
5025
5061
  */
5026
5062
  'react/no-unnecessary-key'?: Linter.RuleEntry<[]>
@@ -5039,6 +5075,11 @@ interface Rules {
5039
5075
  * @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-prefix
5040
5076
  */
5041
5077
  'react/no-unnecessary-use-prefix'?: Linter.RuleEntry<[]>
5078
+ /**
5079
+ * Disallows unnecessary usage of 'useRef'.
5080
+ * @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-ref
5081
+ */
5082
+ 'react/no-unnecessary-use-ref'?: Linter.RuleEntry<[]>
5042
5083
  /**
5043
5084
  * Warns about the use of 'UNSAFE_componentWillMount' in class components.
5044
5085
  * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-mount
@@ -7268,15 +7309,25 @@ type StylisticCurlyNewline = []|[(("always" | "never") | {
7268
7309
  type StylisticDotLocation = []|[("object" | "property")]
7269
7310
  // ----- @stylistic/eol-last -----
7270
7311
  type StylisticEolLast = []|[("always" | "never" | "unix" | "windows")]
7312
+ // ----- @stylistic/exp-jsx-props-style -----
7313
+ type StylisticExpJsxPropsStyle = []|[{
7314
+ singleLine?: {
7315
+ maxItems?: number
7316
+ }
7317
+ multiLine?: {
7318
+ minItems?: number
7319
+ maxItemsPerLine?: number
7320
+ }
7321
+ }]
7271
7322
  // ----- @stylistic/exp-list-style -----
7272
7323
  type StylisticExpListStyle = []|[{
7273
7324
  singleLine?: _StylisticExpListStyle_SingleLineConfig
7274
7325
  multiLine?: _StylisticExpListStyle_MultiLineConfig
7275
7326
  overrides?: {
7327
+ "()"?: _StylisticExpListStyle_BaseConfig
7276
7328
  "[]"?: _StylisticExpListStyle_BaseConfig
7277
7329
  "{}"?: _StylisticExpListStyle_BaseConfig
7278
7330
  "<>"?: _StylisticExpListStyle_BaseConfig
7279
- "()"?: _StylisticExpListStyle_BaseConfig
7280
7331
  ArrayExpression?: _StylisticExpListStyle_BaseConfig
7281
7332
  ArrayPattern?: _StylisticExpListStyle_BaseConfig
7282
7333
  ArrowFunctionExpression?: _StylisticExpListStyle_BaseConfig
@@ -7284,21 +7335,22 @@ type StylisticExpListStyle = []|[{
7284
7335
  ExportNamedDeclaration?: _StylisticExpListStyle_BaseConfig
7285
7336
  FunctionDeclaration?: _StylisticExpListStyle_BaseConfig
7286
7337
  FunctionExpression?: _StylisticExpListStyle_BaseConfig
7287
- ImportDeclaration?: _StylisticExpListStyle_BaseConfig
7338
+ IfStatement?: _StylisticExpListStyle_BaseConfig
7288
7339
  ImportAttributes?: _StylisticExpListStyle_BaseConfig
7340
+ ImportDeclaration?: _StylisticExpListStyle_BaseConfig
7341
+ JSONArrayExpression?: _StylisticExpListStyle_BaseConfig
7342
+ JSONObjectExpression?: _StylisticExpListStyle_BaseConfig
7289
7343
  NewExpression?: _StylisticExpListStyle_BaseConfig
7290
7344
  ObjectExpression?: _StylisticExpListStyle_BaseConfig
7291
7345
  ObjectPattern?: _StylisticExpListStyle_BaseConfig
7292
7346
  TSDeclareFunction?: _StylisticExpListStyle_BaseConfig
7347
+ TSEnumBody?: _StylisticExpListStyle_BaseConfig
7293
7348
  TSFunctionType?: _StylisticExpListStyle_BaseConfig
7294
7349
  TSInterfaceBody?: _StylisticExpListStyle_BaseConfig
7295
- TSEnumBody?: _StylisticExpListStyle_BaseConfig
7296
7350
  TSTupleType?: _StylisticExpListStyle_BaseConfig
7297
7351
  TSTypeLiteral?: _StylisticExpListStyle_BaseConfig
7298
7352
  TSTypeParameterDeclaration?: _StylisticExpListStyle_BaseConfig
7299
7353
  TSTypeParameterInstantiation?: _StylisticExpListStyle_BaseConfig
7300
- JSONArrayExpression?: _StylisticExpListStyle_BaseConfig
7301
- JSONObjectExpression?: _StylisticExpListStyle_BaseConfig
7302
7354
  }
7303
7355
  }]
7304
7356
  interface _StylisticExpListStyle_SingleLineConfig {
@@ -8311,7 +8363,7 @@ type StylisticTypeAnnotationSpacing = []|[{
8311
8363
  after?: boolean
8312
8364
  overrides?: {
8313
8365
  colon?: _StylisticTypeAnnotationSpacing_SpacingConfig
8314
- arrow?: _StylisticTypeAnnotationSpacing_SpacingConfig
8366
+ arrow?: ("ignore" | _StylisticTypeAnnotationSpacing_SpacingConfig)
8315
8367
  variable?: _StylisticTypeAnnotationSpacing_SpacingConfig
8316
8368
  parameter?: _StylisticTypeAnnotationSpacing_SpacingConfig
8317
8369
  property?: _StylisticTypeAnnotationSpacing_SpacingConfig
@@ -9191,6 +9243,11 @@ type TypescriptEslintNoUnusedVars = []|[(("all" | "local") | {
9191
9243
 
9192
9244
  destructuredArrayIgnorePattern?: string
9193
9245
 
9246
+ enableAutofixRemoval?: {
9247
+
9248
+ imports?: boolean
9249
+ }
9250
+
9194
9251
  ignoreClassWithStaticInitBlock?: boolean
9195
9252
 
9196
9253
  ignoreRestSiblings?: boolean
@@ -9220,6 +9277,11 @@ type TypescriptEslintNoUseBeforeDefine = []|[("nofunc" | {
9220
9277
 
9221
9278
  variables?: boolean
9222
9279
  })]
9280
+ // ----- @typescript-eslint/no-useless-default-assignment -----
9281
+ type TypescriptEslintNoUselessDefaultAssignment = []|[{
9282
+
9283
+ allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
9284
+ }]
9223
9285
  // ----- @typescript-eslint/no-var-requires -----
9224
9286
  type TypescriptEslintNoVarRequires = []|[{
9225
9287
 
@@ -9475,6 +9537,11 @@ type TypescriptEslintStrictBooleanExpressions = []|[{
9475
9537
 
9476
9538
  allowString?: boolean
9477
9539
  }]
9540
+ // ----- @typescript-eslint/strict-void-return -----
9541
+ type TypescriptEslintStrictVoidReturn = []|[{
9542
+
9543
+ allowReturnAny?: boolean
9544
+ }]
9478
9545
  // ----- @typescript-eslint/switch-exhaustiveness-check -----
9479
9546
  type TypescriptEslintSwitchExhaustivenessCheck = []|[{
9480
9547
 
@@ -12875,12 +12942,16 @@ type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
12875
12942
  type NodePreferGlobalBuffer = []|[("always" | "never")]
12876
12943
  // ----- node/prefer-global/console -----
12877
12944
  type NodePreferGlobalConsole = []|[("always" | "never")]
12945
+ // ----- node/prefer-global/crypto -----
12946
+ type NodePreferGlobalCrypto = []|[("always" | "never")]
12878
12947
  // ----- node/prefer-global/process -----
12879
12948
  type NodePreferGlobalProcess = []|[("always" | "never")]
12880
12949
  // ----- node/prefer-global/text-decoder -----
12881
12950
  type NodePreferGlobalTextDecoder = []|[("always" | "never")]
12882
12951
  // ----- node/prefer-global/text-encoder -----
12883
12952
  type NodePreferGlobalTextEncoder = []|[("always" | "never")]
12953
+ // ----- node/prefer-global/timers -----
12954
+ type NodePreferGlobalTimers = []|[("always" | "never")]
12884
12955
  // ----- node/prefer-global/url -----
12885
12956
  type NodePreferGlobalUrl = []|[("always" | "never")]
12886
12957
  // ----- node/prefer-global/url-search-params -----
@@ -13016,11 +13087,13 @@ type PerfectionistSortArrayIncludes = {
13016
13087
 
13017
13088
  fallbackSort?: {
13018
13089
 
13019
- order?: ("asc" | "desc")
13090
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13020
13091
 
13021
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13092
+ order?: ("asc" | "desc")
13022
13093
  }
13023
13094
 
13095
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13096
+
13024
13097
  specialCharacters?: ("remove" | "trim" | "keep")
13025
13098
 
13026
13099
  ignoreCase?: boolean
@@ -13031,28 +13104,38 @@ type PerfectionistSortArrayIncludes = {
13031
13104
 
13032
13105
  order?: ("asc" | "desc")
13033
13106
 
13034
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13035
-
13036
- groupKind?: ("mixed" | "literals-first" | "spreads-first")
13037
-
13038
13107
  customGroups?: ({
13039
- newlinesInside?: (("always" | "never") | number)
13040
13108
 
13041
13109
  fallbackSort?: {
13042
13110
 
13043
- order?: ("asc" | "desc")
13111
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13044
13112
 
13045
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13113
+ order?: ("asc" | "desc")
13046
13114
  }
13047
13115
 
13116
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13117
+
13048
13118
  groupName: string
13119
+ newlinesInside?: ("ignore" | number)
13049
13120
 
13050
13121
  order?: ("asc" | "desc")
13051
13122
 
13052
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13053
- anyOf?: {
13123
+ anyOf: [{
13054
13124
 
13055
- selector?: ("literal" | "spread")
13125
+ elementNamePattern?: (({
13126
+
13127
+ pattern: string
13128
+
13129
+ flags?: string
13130
+ } | string)[] | ({
13131
+
13132
+ pattern: string
13133
+
13134
+ flags?: string
13135
+ } | string))
13136
+
13137
+ selector?: "literal"
13138
+ }, ...({
13056
13139
 
13057
13140
  elementNamePattern?: (({
13058
13141
 
@@ -13065,25 +13148,25 @@ type PerfectionistSortArrayIncludes = {
13065
13148
 
13066
13149
  flags?: string
13067
13150
  } | string))
13068
- }[]
13151
+
13152
+ selector?: "literal"
13153
+ })[]]
13069
13154
  } | {
13070
- newlinesInside?: (("always" | "never") | number)
13071
13155
 
13072
13156
  fallbackSort?: {
13073
13157
 
13074
- order?: ("asc" | "desc")
13158
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13075
13159
 
13076
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13160
+ order?: ("asc" | "desc")
13077
13161
  }
13078
13162
 
13163
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13164
+
13079
13165
  groupName: string
13166
+ newlinesInside?: ("ignore" | number)
13080
13167
 
13081
13168
  order?: ("asc" | "desc")
13082
13169
 
13083
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13084
-
13085
- selector?: ("literal" | "spread")
13086
-
13087
13170
  elementNamePattern?: (({
13088
13171
 
13089
13172
  pattern: string
@@ -13095,7 +13178,31 @@ type PerfectionistSortArrayIncludes = {
13095
13178
 
13096
13179
  flags?: string
13097
13180
  } | string))
13181
+
13182
+ selector?: "literal"
13183
+ })[]
13184
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
13185
+
13186
+ groups?: (string | [string, ...(string)[]] | {
13187
+ newlinesBetween: ("ignore" | number)
13188
+ } | {
13189
+ group: (string | [string, ...(string)[]])
13190
+
13191
+ fallbackSort?: {
13192
+
13193
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13194
+
13195
+ order?: ("asc" | "desc")
13196
+ }
13197
+
13198
+ commentAbove?: string
13199
+
13200
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13201
+ newlinesInside?: ("ignore" | number)
13202
+
13203
+ order?: ("asc" | "desc")
13098
13204
  })[]
13205
+ newlinesBetween?: ("ignore" | number)
13099
13206
 
13100
13207
  useConfigurationIf?: {
13101
13208
 
@@ -13150,24 +13257,19 @@ type PerfectionistSortArrayIncludes = {
13150
13257
  })
13151
13258
 
13152
13259
  partitionByNewLine?: boolean
13153
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13154
-
13155
- groups?: (string | string[] | {
13156
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13157
-
13158
- commentAbove?: string
13159
- })[]
13160
13260
  }[]
13161
13261
  // ----- perfectionist/sort-classes -----
13162
13262
  type PerfectionistSortClasses = []|[{
13163
13263
 
13164
13264
  fallbackSort?: {
13165
13265
 
13166
- order?: ("asc" | "desc")
13266
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13167
13267
 
13168
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13268
+ order?: ("asc" | "desc")
13169
13269
  }
13170
13270
 
13271
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13272
+
13171
13273
  specialCharacters?: ("remove" | "trim" | "keep")
13172
13274
 
13173
13275
  ignoreCase?: boolean
@@ -13178,24 +13280,35 @@ type PerfectionistSortClasses = []|[{
13178
13280
 
13179
13281
  order?: ("asc" | "desc")
13180
13282
 
13181
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13182
-
13183
13283
  customGroups?: ({
13184
- newlinesInside?: (("always" | "never") | number)
13185
13284
 
13186
13285
  fallbackSort?: {
13187
13286
 
13188
- order?: ("asc" | "desc")
13287
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13189
13288
 
13190
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13289
+ order?: ("asc" | "desc")
13191
13290
  }
13192
13291
 
13292
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13293
+
13193
13294
  groupName: string
13295
+ newlinesInside?: ("ignore" | number)
13194
13296
 
13195
13297
  order?: ("asc" | "desc")
13196
13298
 
13197
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13198
- anyOf?: {
13299
+ anyOf: [{
13300
+
13301
+ elementNamePattern?: (({
13302
+
13303
+ pattern: string
13304
+
13305
+ flags?: string
13306
+ } | string)[] | ({
13307
+
13308
+ pattern: string
13309
+
13310
+ flags?: string
13311
+ } | string))
13199
13312
 
13200
13313
  modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
13201
13314
 
@@ -13224,6 +13337,7 @@ type PerfectionistSortClasses = []|[{
13224
13337
 
13225
13338
  flags?: string
13226
13339
  } | string))
13340
+ }, ...({
13227
13341
 
13228
13342
  elementNamePattern?: (({
13229
13343
 
@@ -13236,28 +13350,52 @@ type PerfectionistSortClasses = []|[{
13236
13350
 
13237
13351
  flags?: string
13238
13352
  } | string))
13239
- }[]
13353
+
13354
+ modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
13355
+
13356
+ selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
13357
+
13358
+ decoratorNamePattern?: (({
13359
+
13360
+ pattern: string
13361
+
13362
+ flags?: string
13363
+ } | string)[] | ({
13364
+
13365
+ pattern: string
13366
+
13367
+ flags?: string
13368
+ } | string))
13369
+
13370
+ elementValuePattern?: (({
13371
+
13372
+ pattern: string
13373
+
13374
+ flags?: string
13375
+ } | string)[] | ({
13376
+
13377
+ pattern: string
13378
+
13379
+ flags?: string
13380
+ } | string))
13381
+ })[]]
13240
13382
  } | {
13241
- newlinesInside?: (("always" | "never") | number)
13242
13383
 
13243
13384
  fallbackSort?: {
13244
13385
 
13245
- order?: ("asc" | "desc")
13386
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13246
13387
 
13247
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13388
+ order?: ("asc" | "desc")
13248
13389
  }
13249
13390
 
13391
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13392
+
13250
13393
  groupName: string
13394
+ newlinesInside?: ("ignore" | number)
13251
13395
 
13252
13396
  order?: ("asc" | "desc")
13253
13397
 
13254
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13255
-
13256
- modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
13257
-
13258
- selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
13259
-
13260
- decoratorNamePattern?: (({
13398
+ elementNamePattern?: (({
13261
13399
 
13262
13400
  pattern: string
13263
13401
 
@@ -13269,7 +13407,11 @@ type PerfectionistSortClasses = []|[{
13269
13407
  flags?: string
13270
13408
  } | string))
13271
13409
 
13272
- elementValuePattern?: (({
13410
+ modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
13411
+
13412
+ selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
13413
+
13414
+ decoratorNamePattern?: (({
13273
13415
 
13274
13416
  pattern: string
13275
13417
 
@@ -13281,7 +13423,7 @@ type PerfectionistSortClasses = []|[{
13281
13423
  flags?: string
13282
13424
  } | string))
13283
13425
 
13284
- elementNamePattern?: (({
13426
+ elementValuePattern?: (({
13285
13427
 
13286
13428
  pattern: string
13287
13429
 
@@ -13293,20 +13435,32 @@ type PerfectionistSortClasses = []|[{
13293
13435
  flags?: string
13294
13436
  } | string))
13295
13437
  })[]
13438
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
13296
13439
 
13297
- ignoreCallbackDependenciesPatterns?: (({
13440
+ groups?: (string | [string, ...(string)[]] | {
13441
+ newlinesBetween: ("ignore" | number)
13442
+ } | {
13443
+ group: (string | [string, ...(string)[]])
13298
13444
 
13299
- pattern: string
13445
+ fallbackSort?: {
13446
+
13447
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13448
+
13449
+ order?: ("asc" | "desc")
13450
+ }
13300
13451
 
13301
- flags?: string
13302
- } | string)[] | ({
13452
+ commentAbove?: string
13303
13453
 
13304
- pattern: string
13454
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13455
+ newlinesInside?: ("ignore" | number)
13305
13456
 
13306
- flags?: string
13307
- } | string))
13457
+ order?: ("asc" | "desc")
13458
+ })[]
13459
+ newlinesBetween?: ("ignore" | number)
13308
13460
 
13309
- partitionByComment?: (boolean | (({
13461
+ useExperimentalDependencyDetection?: boolean
13462
+
13463
+ ignoreCallbackDependenciesPatterns?: (({
13310
13464
 
13311
13465
  pattern: string
13312
13466
 
@@ -13316,73 +13470,7 @@ type PerfectionistSortClasses = []|[{
13316
13470
  pattern: string
13317
13471
 
13318
13472
  flags?: string
13319
- } | string)) | {
13320
-
13321
- block?: (boolean | (({
13322
-
13323
- pattern: string
13324
-
13325
- flags?: string
13326
- } | string)[] | ({
13327
-
13328
- pattern: string
13329
-
13330
- flags?: string
13331
- } | string)))
13332
-
13333
- line?: (boolean | (({
13334
-
13335
- pattern: string
13336
-
13337
- flags?: string
13338
- } | string)[] | ({
13339
-
13340
- pattern: string
13341
-
13342
- flags?: string
13343
- } | string)))
13344
- })
13345
-
13346
- partitionByNewLine?: boolean
13347
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13348
-
13349
- groups?: (string | string[] | {
13350
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13351
-
13352
- commentAbove?: string
13353
- })[]
13354
- }]
13355
- // ----- perfectionist/sort-decorators -----
13356
- type PerfectionistSortDecorators = []|[{
13357
-
13358
- fallbackSort?: {
13359
-
13360
- order?: ("asc" | "desc")
13361
-
13362
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13363
- }
13364
-
13365
- specialCharacters?: ("remove" | "trim" | "keep")
13366
-
13367
- ignoreCase?: boolean
13368
-
13369
- alphabet?: string
13370
-
13371
- locales?: (string | string[])
13372
-
13373
- order?: ("asc" | "desc")
13374
-
13375
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13376
-
13377
- sortOnParameters?: boolean
13378
-
13379
- sortOnProperties?: boolean
13380
-
13381
- sortOnAccessors?: boolean
13382
-
13383
- sortOnMethods?: boolean
13384
-
13385
- sortOnClasses?: boolean
13473
+ } | string))
13386
13474
 
13387
13475
  partitionByComment?: (boolean | (({
13388
13476
 
@@ -13421,26 +13509,20 @@ type PerfectionistSortDecorators = []|[{
13421
13509
  } | string)))
13422
13510
  })
13423
13511
 
13424
- customGroups?: {
13425
- [k: string]: (string | string[]) | undefined
13426
- }
13427
-
13428
- groups?: (string | string[] | {
13429
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13430
-
13431
- commentAbove?: string
13432
- })[]
13512
+ partitionByNewLine?: boolean
13433
13513
  }]
13434
- // ----- perfectionist/sort-enums -----
13435
- type PerfectionistSortEnums = []|[{
13514
+ // ----- perfectionist/sort-decorators -----
13515
+ type PerfectionistSortDecorators = {
13436
13516
 
13437
13517
  fallbackSort?: {
13438
13518
 
13439
- order?: ("asc" | "desc")
13519
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13440
13520
 
13441
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13521
+ order?: ("asc" | "desc")
13442
13522
  }
13443
13523
 
13524
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13525
+
13444
13526
  specialCharacters?: ("remove" | "trim" | "keep")
13445
13527
 
13446
13528
  ignoreCase?: boolean
@@ -13451,27 +13533,25 @@ type PerfectionistSortEnums = []|[{
13451
13533
 
13452
13534
  order?: ("asc" | "desc")
13453
13535
 
13454
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13455
13536
  customGroups?: ({
13456
- [k: string]: (string | string[]) | undefined
13457
- } | ({
13458
- newlinesInside?: (("always" | "never") | number)
13459
13537
 
13460
13538
  fallbackSort?: {
13461
13539
 
13462
- order?: ("asc" | "desc")
13540
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13463
13541
 
13464
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13542
+ order?: ("asc" | "desc")
13465
13543
  }
13466
13544
 
13545
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13546
+
13467
13547
  groupName: string
13548
+ newlinesInside?: ("ignore" | number)
13468
13549
 
13469
13550
  order?: ("asc" | "desc")
13470
13551
 
13471
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13472
- anyOf?: {
13552
+ anyOf: [{
13473
13553
 
13474
- elementValuePattern?: (({
13554
+ elementNamePattern?: (({
13475
13555
 
13476
13556
  pattern: string
13477
13557
 
@@ -13482,6 +13562,7 @@ type PerfectionistSortEnums = []|[{
13482
13562
 
13483
13563
  flags?: string
13484
13564
  } | string))
13565
+ }, ...({
13485
13566
 
13486
13567
  elementNamePattern?: (({
13487
13568
 
@@ -13494,24 +13575,24 @@ type PerfectionistSortEnums = []|[{
13494
13575
 
13495
13576
  flags?: string
13496
13577
  } | string))
13497
- }[]
13578
+ })[]]
13498
13579
  } | {
13499
- newlinesInside?: (("always" | "never") | number)
13500
13580
 
13501
13581
  fallbackSort?: {
13502
13582
 
13503
- order?: ("asc" | "desc")
13583
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13504
13584
 
13505
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13585
+ order?: ("asc" | "desc")
13506
13586
  }
13507
13587
 
13588
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13589
+
13508
13590
  groupName: string
13591
+ newlinesInside?: ("ignore" | number)
13509
13592
 
13510
13593
  order?: ("asc" | "desc")
13511
13594
 
13512
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13513
-
13514
- elementValuePattern?: (({
13595
+ elementNamePattern?: (({
13515
13596
 
13516
13597
  pattern: string
13517
13598
 
@@ -13522,8 +13603,678 @@ type PerfectionistSortEnums = []|[{
13522
13603
 
13523
13604
  flags?: string
13524
13605
  } | string))
13525
-
13526
- elementNamePattern?: (({
13606
+ })[]
13607
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
13608
+
13609
+ groups?: (string | [string, ...(string)[]] | {
13610
+ newlinesBetween: ("ignore" | number)
13611
+ } | {
13612
+ group: (string | [string, ...(string)[]])
13613
+
13614
+ fallbackSort?: {
13615
+
13616
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13617
+
13618
+ order?: ("asc" | "desc")
13619
+ }
13620
+
13621
+ commentAbove?: string
13622
+
13623
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13624
+ newlinesInside?: ("ignore" | number)
13625
+
13626
+ order?: ("asc" | "desc")
13627
+ })[]
13628
+ newlinesBetween?: ("ignore" | number)
13629
+
13630
+ sortOnParameters?: boolean
13631
+
13632
+ sortOnProperties?: boolean
13633
+
13634
+ sortOnAccessors?: boolean
13635
+
13636
+ sortOnMethods?: boolean
13637
+
13638
+ sortOnClasses?: boolean
13639
+
13640
+ partitionByComment?: (boolean | (({
13641
+
13642
+ pattern: string
13643
+
13644
+ flags?: string
13645
+ } | string)[] | ({
13646
+
13647
+ pattern: string
13648
+
13649
+ flags?: string
13650
+ } | string)) | {
13651
+
13652
+ block?: (boolean | (({
13653
+
13654
+ pattern: string
13655
+
13656
+ flags?: string
13657
+ } | string)[] | ({
13658
+
13659
+ pattern: string
13660
+
13661
+ flags?: string
13662
+ } | string)))
13663
+
13664
+ line?: (boolean | (({
13665
+
13666
+ pattern: string
13667
+
13668
+ flags?: string
13669
+ } | string)[] | ({
13670
+
13671
+ pattern: string
13672
+
13673
+ flags?: string
13674
+ } | string)))
13675
+ })
13676
+
13677
+ partitionByNewLine?: boolean
13678
+ }[]
13679
+ // ----- perfectionist/sort-enums -----
13680
+ type PerfectionistSortEnums = []|[{
13681
+
13682
+ fallbackSort?: {
13683
+
13684
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13685
+
13686
+ order?: ("asc" | "desc")
13687
+ }
13688
+
13689
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13690
+
13691
+ specialCharacters?: ("remove" | "trim" | "keep")
13692
+
13693
+ ignoreCase?: boolean
13694
+
13695
+ alphabet?: string
13696
+
13697
+ locales?: (string | string[])
13698
+
13699
+ order?: ("asc" | "desc")
13700
+
13701
+ customGroups?: ({
13702
+
13703
+ fallbackSort?: {
13704
+
13705
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13706
+
13707
+ order?: ("asc" | "desc")
13708
+ }
13709
+
13710
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13711
+
13712
+ groupName: string
13713
+ newlinesInside?: ("ignore" | number)
13714
+
13715
+ order?: ("asc" | "desc")
13716
+
13717
+ anyOf: [{
13718
+
13719
+ elementNamePattern?: (({
13720
+
13721
+ pattern: string
13722
+
13723
+ flags?: string
13724
+ } | string)[] | ({
13725
+
13726
+ pattern: string
13727
+
13728
+ flags?: string
13729
+ } | string))
13730
+
13731
+ elementValuePattern?: (({
13732
+
13733
+ pattern: string
13734
+
13735
+ flags?: string
13736
+ } | string)[] | ({
13737
+
13738
+ pattern: string
13739
+
13740
+ flags?: string
13741
+ } | string))
13742
+ }, ...({
13743
+
13744
+ elementNamePattern?: (({
13745
+
13746
+ pattern: string
13747
+
13748
+ flags?: string
13749
+ } | string)[] | ({
13750
+
13751
+ pattern: string
13752
+
13753
+ flags?: string
13754
+ } | string))
13755
+
13756
+ elementValuePattern?: (({
13757
+
13758
+ pattern: string
13759
+
13760
+ flags?: string
13761
+ } | string)[] | ({
13762
+
13763
+ pattern: string
13764
+
13765
+ flags?: string
13766
+ } | string))
13767
+ })[]]
13768
+ } | {
13769
+
13770
+ fallbackSort?: {
13771
+
13772
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13773
+
13774
+ order?: ("asc" | "desc")
13775
+ }
13776
+
13777
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13778
+
13779
+ groupName: string
13780
+ newlinesInside?: ("ignore" | number)
13781
+
13782
+ order?: ("asc" | "desc")
13783
+
13784
+ elementNamePattern?: (({
13785
+
13786
+ pattern: string
13787
+
13788
+ flags?: string
13789
+ } | string)[] | ({
13790
+
13791
+ pattern: string
13792
+
13793
+ flags?: string
13794
+ } | string))
13795
+
13796
+ elementValuePattern?: (({
13797
+
13798
+ pattern: string
13799
+
13800
+ flags?: string
13801
+ } | string)[] | ({
13802
+
13803
+ pattern: string
13804
+
13805
+ flags?: string
13806
+ } | string))
13807
+ })[]
13808
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
13809
+
13810
+ groups?: (string | [string, ...(string)[]] | {
13811
+ newlinesBetween: ("ignore" | number)
13812
+ } | {
13813
+ group: (string | [string, ...(string)[]])
13814
+
13815
+ fallbackSort?: {
13816
+
13817
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13818
+
13819
+ order?: ("asc" | "desc")
13820
+ }
13821
+
13822
+ commentAbove?: string
13823
+
13824
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13825
+ newlinesInside?: ("ignore" | number)
13826
+
13827
+ order?: ("asc" | "desc")
13828
+ })[]
13829
+ newlinesBetween?: ("ignore" | number)
13830
+
13831
+ sortByValue?: ("always" | "ifNumericEnum" | "never")
13832
+
13833
+ useExperimentalDependencyDetection?: boolean
13834
+
13835
+ partitionByComment?: (boolean | (({
13836
+
13837
+ pattern: string
13838
+
13839
+ flags?: string
13840
+ } | string)[] | ({
13841
+
13842
+ pattern: string
13843
+
13844
+ flags?: string
13845
+ } | string)) | {
13846
+
13847
+ block?: (boolean | (({
13848
+
13849
+ pattern: string
13850
+
13851
+ flags?: string
13852
+ } | string)[] | ({
13853
+
13854
+ pattern: string
13855
+
13856
+ flags?: string
13857
+ } | string)))
13858
+
13859
+ line?: (boolean | (({
13860
+
13861
+ pattern: string
13862
+
13863
+ flags?: string
13864
+ } | string)[] | ({
13865
+
13866
+ pattern: string
13867
+
13868
+ flags?: string
13869
+ } | string)))
13870
+ })
13871
+
13872
+ partitionByNewLine?: boolean
13873
+ }]
13874
+ // ----- perfectionist/sort-export-attributes -----
13875
+ type PerfectionistSortExportAttributes = {
13876
+
13877
+ fallbackSort?: {
13878
+
13879
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13880
+
13881
+ order?: ("asc" | "desc")
13882
+ }
13883
+
13884
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13885
+
13886
+ specialCharacters?: ("remove" | "trim" | "keep")
13887
+
13888
+ ignoreCase?: boolean
13889
+
13890
+ alphabet?: string
13891
+
13892
+ locales?: (string | string[])
13893
+
13894
+ order?: ("asc" | "desc")
13895
+
13896
+ customGroups?: ({
13897
+
13898
+ fallbackSort?: {
13899
+
13900
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13901
+
13902
+ order?: ("asc" | "desc")
13903
+ }
13904
+
13905
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13906
+
13907
+ groupName: string
13908
+ newlinesInside?: ("ignore" | number)
13909
+
13910
+ order?: ("asc" | "desc")
13911
+
13912
+ anyOf: [{
13913
+
13914
+ elementNamePattern?: (({
13915
+
13916
+ pattern: string
13917
+
13918
+ flags?: string
13919
+ } | string)[] | ({
13920
+
13921
+ pattern: string
13922
+
13923
+ flags?: string
13924
+ } | string))
13925
+ }, ...({
13926
+
13927
+ elementNamePattern?: (({
13928
+
13929
+ pattern: string
13930
+
13931
+ flags?: string
13932
+ } | string)[] | ({
13933
+
13934
+ pattern: string
13935
+
13936
+ flags?: string
13937
+ } | string))
13938
+ })[]]
13939
+ } | {
13940
+
13941
+ fallbackSort?: {
13942
+
13943
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13944
+
13945
+ order?: ("asc" | "desc")
13946
+ }
13947
+
13948
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13949
+
13950
+ groupName: string
13951
+ newlinesInside?: ("ignore" | number)
13952
+
13953
+ order?: ("asc" | "desc")
13954
+
13955
+ elementNamePattern?: (({
13956
+
13957
+ pattern: string
13958
+
13959
+ flags?: string
13960
+ } | string)[] | ({
13961
+
13962
+ pattern: string
13963
+
13964
+ flags?: string
13965
+ } | string))
13966
+ })[]
13967
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
13968
+
13969
+ groups?: (string | [string, ...(string)[]] | {
13970
+ newlinesBetween: ("ignore" | number)
13971
+ } | {
13972
+ group: (string | [string, ...(string)[]])
13973
+
13974
+ fallbackSort?: {
13975
+
13976
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13977
+
13978
+ order?: ("asc" | "desc")
13979
+ }
13980
+
13981
+ commentAbove?: string
13982
+
13983
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13984
+ newlinesInside?: ("ignore" | number)
13985
+
13986
+ order?: ("asc" | "desc")
13987
+ })[]
13988
+ newlinesBetween?: ("ignore" | number)
13989
+
13990
+ partitionByComment?: (boolean | (({
13991
+
13992
+ pattern: string
13993
+
13994
+ flags?: string
13995
+ } | string)[] | ({
13996
+
13997
+ pattern: string
13998
+
13999
+ flags?: string
14000
+ } | string)) | {
14001
+
14002
+ block?: (boolean | (({
14003
+
14004
+ pattern: string
14005
+
14006
+ flags?: string
14007
+ } | string)[] | ({
14008
+
14009
+ pattern: string
14010
+
14011
+ flags?: string
14012
+ } | string)))
14013
+
14014
+ line?: (boolean | (({
14015
+
14016
+ pattern: string
14017
+
14018
+ flags?: string
14019
+ } | string)[] | ({
14020
+
14021
+ pattern: string
14022
+
14023
+ flags?: string
14024
+ } | string)))
14025
+ })
14026
+
14027
+ partitionByNewLine?: boolean
14028
+ }[]
14029
+ // ----- perfectionist/sort-exports -----
14030
+ type PerfectionistSortExports = {
14031
+
14032
+ fallbackSort?: {
14033
+
14034
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14035
+
14036
+ order?: ("asc" | "desc")
14037
+ }
14038
+
14039
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14040
+
14041
+ specialCharacters?: ("remove" | "trim" | "keep")
14042
+
14043
+ ignoreCase?: boolean
14044
+
14045
+ alphabet?: string
14046
+
14047
+ locales?: (string | string[])
14048
+
14049
+ order?: ("asc" | "desc")
14050
+
14051
+ customGroups?: ({
14052
+
14053
+ fallbackSort?: {
14054
+
14055
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14056
+
14057
+ order?: ("asc" | "desc")
14058
+ }
14059
+
14060
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14061
+
14062
+ groupName: string
14063
+ newlinesInside?: ("ignore" | number)
14064
+
14065
+ order?: ("asc" | "desc")
14066
+
14067
+ anyOf: [{
14068
+
14069
+ elementNamePattern?: (({
14070
+
14071
+ pattern: string
14072
+
14073
+ flags?: string
14074
+ } | string)[] | ({
14075
+
14076
+ pattern: string
14077
+
14078
+ flags?: string
14079
+ } | string))
14080
+
14081
+ modifiers?: ("value" | "type" | "named" | "wildcard" | "multiline" | "singleline")[]
14082
+
14083
+ selector?: "export"
14084
+ }, ...({
14085
+
14086
+ elementNamePattern?: (({
14087
+
14088
+ pattern: string
14089
+
14090
+ flags?: string
14091
+ } | string)[] | ({
14092
+
14093
+ pattern: string
14094
+
14095
+ flags?: string
14096
+ } | string))
14097
+
14098
+ modifiers?: ("value" | "type" | "named" | "wildcard" | "multiline" | "singleline")[]
14099
+
14100
+ selector?: "export"
14101
+ })[]]
14102
+ } | {
14103
+
14104
+ fallbackSort?: {
14105
+
14106
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14107
+
14108
+ order?: ("asc" | "desc")
14109
+ }
14110
+
14111
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14112
+
14113
+ groupName: string
14114
+ newlinesInside?: ("ignore" | number)
14115
+
14116
+ order?: ("asc" | "desc")
14117
+
14118
+ elementNamePattern?: (({
14119
+
14120
+ pattern: string
14121
+
14122
+ flags?: string
14123
+ } | string)[] | ({
14124
+
14125
+ pattern: string
14126
+
14127
+ flags?: string
14128
+ } | string))
14129
+
14130
+ modifiers?: ("value" | "type" | "named" | "wildcard" | "multiline" | "singleline")[]
14131
+
14132
+ selector?: "export"
14133
+ })[]
14134
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
14135
+
14136
+ groups?: (string | [string, ...(string)[]] | {
14137
+ newlinesBetween: ("ignore" | number)
14138
+ } | {
14139
+ group: (string | [string, ...(string)[]])
14140
+
14141
+ fallbackSort?: {
14142
+
14143
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14144
+
14145
+ order?: ("asc" | "desc")
14146
+ }
14147
+
14148
+ commentAbove?: string
14149
+
14150
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14151
+ newlinesInside?: ("ignore" | number)
14152
+
14153
+ order?: ("asc" | "desc")
14154
+ })[]
14155
+ newlinesBetween?: ("ignore" | number)
14156
+
14157
+ partitionByComment?: (boolean | (({
14158
+
14159
+ pattern: string
14160
+
14161
+ flags?: string
14162
+ } | string)[] | ({
14163
+
14164
+ pattern: string
14165
+
14166
+ flags?: string
14167
+ } | string)) | {
14168
+
14169
+ block?: (boolean | (({
14170
+
14171
+ pattern: string
14172
+
14173
+ flags?: string
14174
+ } | string)[] | ({
14175
+
14176
+ pattern: string
14177
+
14178
+ flags?: string
14179
+ } | string)))
14180
+
14181
+ line?: (boolean | (({
14182
+
14183
+ pattern: string
14184
+
14185
+ flags?: string
14186
+ } | string)[] | ({
14187
+
14188
+ pattern: string
14189
+
14190
+ flags?: string
14191
+ } | string)))
14192
+ })
14193
+
14194
+ partitionByNewLine?: boolean
14195
+ }[]
14196
+ // ----- perfectionist/sort-heritage-clauses -----
14197
+ type PerfectionistSortHeritageClauses = {
14198
+
14199
+ fallbackSort?: {
14200
+
14201
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14202
+
14203
+ order?: ("asc" | "desc")
14204
+ }
14205
+
14206
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14207
+
14208
+ specialCharacters?: ("remove" | "trim" | "keep")
14209
+
14210
+ ignoreCase?: boolean
14211
+
14212
+ alphabet?: string
14213
+
14214
+ locales?: (string | string[])
14215
+
14216
+ order?: ("asc" | "desc")
14217
+
14218
+ customGroups?: ({
14219
+
14220
+ fallbackSort?: {
14221
+
14222
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14223
+
14224
+ order?: ("asc" | "desc")
14225
+ }
14226
+
14227
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14228
+
14229
+ groupName: string
14230
+ newlinesInside?: ("ignore" | number)
14231
+
14232
+ order?: ("asc" | "desc")
14233
+
14234
+ anyOf: [{
14235
+
14236
+ elementNamePattern?: (({
14237
+
14238
+ pattern: string
14239
+
14240
+ flags?: string
14241
+ } | string)[] | ({
14242
+
14243
+ pattern: string
14244
+
14245
+ flags?: string
14246
+ } | string))
14247
+ }, ...({
14248
+
14249
+ elementNamePattern?: (({
14250
+
14251
+ pattern: string
14252
+
14253
+ flags?: string
14254
+ } | string)[] | ({
14255
+
14256
+ pattern: string
14257
+
14258
+ flags?: string
14259
+ } | string))
14260
+ })[]]
14261
+ } | {
14262
+
14263
+ fallbackSort?: {
14264
+
14265
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14266
+
14267
+ order?: ("asc" | "desc")
14268
+ }
14269
+
14270
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14271
+
14272
+ groupName: string
14273
+ newlinesInside?: ("ignore" | number)
14274
+
14275
+ order?: ("asc" | "desc")
14276
+
14277
+ elementNamePattern?: (({
13527
14278
 
13528
14279
  pattern: string
13529
14280
 
@@ -13534,11 +14285,31 @@ type PerfectionistSortEnums = []|[{
13534
14285
 
13535
14286
  flags?: string
13536
14287
  } | string))
13537
- })[])
14288
+ })[]
14289
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
13538
14290
 
13539
- forceNumericSort?: boolean
14291
+ groups?: (string | [string, ...(string)[]] | {
14292
+ newlinesBetween: ("ignore" | number)
14293
+ } | {
14294
+ group: (string | [string, ...(string)[]])
14295
+
14296
+ fallbackSort?: {
14297
+
14298
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14299
+
14300
+ order?: ("asc" | "desc")
14301
+ }
14302
+
14303
+ commentAbove?: string
14304
+
14305
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14306
+ newlinesInside?: ("ignore" | number)
14307
+
14308
+ order?: ("asc" | "desc")
14309
+ })[]
14310
+ newlinesBetween?: ("ignore" | number)
13540
14311
 
13541
- sortByValue?: boolean
14312
+ partitionByNewLine?: boolean
13542
14313
 
13543
14314
  partitionByComment?: (boolean | (({
13544
14315
 
@@ -13576,26 +14347,19 @@ type PerfectionistSortEnums = []|[{
13576
14347
  flags?: string
13577
14348
  } | string)))
13578
14349
  })
13579
-
13580
- partitionByNewLine?: boolean
13581
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13582
-
13583
- groups?: (string | string[] | {
13584
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13585
-
13586
- commentAbove?: string
13587
- })[]
13588
- }]
13589
- // ----- perfectionist/sort-exports -----
13590
- type PerfectionistSortExports = {
14350
+ }[]
14351
+ // ----- perfectionist/sort-import-attributes -----
14352
+ type PerfectionistSortImportAttributes = {
13591
14353
 
13592
14354
  fallbackSort?: {
13593
14355
 
13594
- order?: ("asc" | "desc")
14356
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13595
14357
 
13596
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14358
+ order?: ("asc" | "desc")
13597
14359
  }
13598
14360
 
14361
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14362
+
13599
14363
  specialCharacters?: ("remove" | "trim" | "keep")
13600
14364
 
13601
14365
  ignoreCase?: boolean
@@ -13606,30 +14370,36 @@ type PerfectionistSortExports = {
13606
14370
 
13607
14371
  order?: ("asc" | "desc")
13608
14372
 
13609
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13610
-
13611
- groupKind?: ("mixed" | "values-first" | "types-first")
13612
-
13613
14373
  customGroups?: ({
13614
- newlinesInside?: (("always" | "never") | number)
13615
14374
 
13616
14375
  fallbackSort?: {
13617
14376
 
13618
- order?: ("asc" | "desc")
14377
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13619
14378
 
13620
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14379
+ order?: ("asc" | "desc")
13621
14380
  }
13622
14381
 
14382
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14383
+
13623
14384
  groupName: string
14385
+ newlinesInside?: ("ignore" | number)
13624
14386
 
13625
14387
  order?: ("asc" | "desc")
13626
14388
 
13627
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13628
- anyOf?: {
13629
-
13630
- modifiers?: ("value" | "type")[]
14389
+ anyOf: [{
13631
14390
 
13632
- selector?: "export"
14391
+ elementNamePattern?: (({
14392
+
14393
+ pattern: string
14394
+
14395
+ flags?: string
14396
+ } | string)[] | ({
14397
+
14398
+ pattern: string
14399
+
14400
+ flags?: string
14401
+ } | string))
14402
+ }, ...({
13633
14403
 
13634
14404
  elementNamePattern?: (({
13635
14405
 
@@ -13642,27 +14412,23 @@ type PerfectionistSortExports = {
13642
14412
 
13643
14413
  flags?: string
13644
14414
  } | string))
13645
- }[]
14415
+ })[]]
13646
14416
  } | {
13647
- newlinesInside?: (("always" | "never") | number)
13648
14417
 
13649
14418
  fallbackSort?: {
13650
14419
 
13651
- order?: ("asc" | "desc")
14420
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13652
14421
 
13653
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14422
+ order?: ("asc" | "desc")
13654
14423
  }
13655
14424
 
14425
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14426
+
13656
14427
  groupName: string
14428
+ newlinesInside?: ("ignore" | number)
13657
14429
 
13658
14430
  order?: ("asc" | "desc")
13659
14431
 
13660
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13661
-
13662
- modifiers?: ("value" | "type")[]
13663
-
13664
- selector?: "export"
13665
-
13666
14432
  elementNamePattern?: (({
13667
14433
 
13668
14434
  pattern: string
@@ -13675,6 +14441,28 @@ type PerfectionistSortExports = {
13675
14441
  flags?: string
13676
14442
  } | string))
13677
14443
  })[]
14444
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
14445
+
14446
+ groups?: (string | [string, ...(string)[]] | {
14447
+ newlinesBetween: ("ignore" | number)
14448
+ } | {
14449
+ group: (string | [string, ...(string)[]])
14450
+
14451
+ fallbackSort?: {
14452
+
14453
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14454
+
14455
+ order?: ("asc" | "desc")
14456
+ }
14457
+
14458
+ commentAbove?: string
14459
+
14460
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14461
+ newlinesInside?: ("ignore" | number)
14462
+
14463
+ order?: ("asc" | "desc")
14464
+ })[]
14465
+ newlinesBetween?: ("ignore" | number)
13678
14466
 
13679
14467
  partitionByComment?: (boolean | (({
13680
14468
 
@@ -13714,56 +14502,20 @@ type PerfectionistSortExports = {
13714
14502
  })
13715
14503
 
13716
14504
  partitionByNewLine?: boolean
13717
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13718
-
13719
- groups?: (string | string[] | {
13720
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13721
-
13722
- commentAbove?: string
13723
- })[]
13724
14505
  }[]
13725
- // ----- perfectionist/sort-heritage-clauses -----
13726
- type PerfectionistSortHeritageClauses = []|[{
13727
-
13728
- fallbackSort?: {
13729
-
13730
- order?: ("asc" | "desc")
13731
-
13732
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13733
- }
13734
-
13735
- specialCharacters?: ("remove" | "trim" | "keep")
13736
-
13737
- ignoreCase?: boolean
13738
-
13739
- alphabet?: string
13740
-
13741
- locales?: (string | string[])
13742
-
13743
- order?: ("asc" | "desc")
13744
-
13745
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13746
-
13747
- customGroups?: {
13748
- [k: string]: (string | string[]) | undefined
13749
- }
13750
-
13751
- groups?: (string | string[] | {
13752
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13753
-
13754
- commentAbove?: string
13755
- })[]
13756
- }]
13757
14506
  // ----- perfectionist/sort-imports -----
13758
14507
  type PerfectionistSortImports = {
13759
14508
 
13760
14509
  fallbackSort?: {
13761
14510
 
13762
- order?: ("asc" | "desc")
14511
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first")
13763
14512
 
13764
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14513
+ order?: ("asc" | "desc")
14514
+ sortBy?: ("specifier" | "path")
13765
14515
  }
13766
14516
 
14517
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first")
14518
+
13767
14519
  specialCharacters?: ("remove" | "trim" | "keep")
13768
14520
 
13769
14521
  ignoreCase?: boolean
@@ -13773,39 +14525,29 @@ type PerfectionistSortImports = {
13773
14525
  locales?: (string | string[])
13774
14526
 
13775
14527
  order?: ("asc" | "desc")
14528
+ sortBy?: ("specifier" | "path")
13776
14529
 
13777
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13778
14530
  customGroups?: ({
13779
14531
 
13780
- value?: {
13781
- [k: string]: (string | string[]) | undefined
13782
- }
13783
-
13784
- type?: {
13785
- [k: string]: (string | string[]) | undefined
13786
- }
13787
- } | ({
13788
- newlinesInside?: (("always" | "never") | number)
13789
-
13790
14532
  fallbackSort?: {
13791
14533
 
13792
- order?: ("asc" | "desc")
14534
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first")
13793
14535
 
13794
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14536
+ order?: ("asc" | "desc")
14537
+ sortBy?: ("specifier" | "path")
13795
14538
  }
13796
14539
 
14540
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first")
14541
+
13797
14542
  groupName: string
14543
+ newlinesInside?: ("ignore" | number)
13798
14544
 
13799
14545
  order?: ("asc" | "desc")
14546
+ sortBy?: ("specifier" | "path")
13800
14547
 
13801
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13802
- anyOf?: {
13803
-
13804
- modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[]
13805
-
13806
- selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type")
14548
+ anyOf: [{
13807
14549
 
13808
- elementValuePattern?: (({
14550
+ elementNamePattern?: (({
13809
14551
 
13810
14552
  pattern: string
13811
14553
 
@@ -13817,6 +14559,11 @@ type PerfectionistSortImports = {
13817
14559
  flags?: string
13818
14560
  } | string))
13819
14561
 
14562
+ modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[]
14563
+
14564
+ selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type")
14565
+ }, ...({
14566
+
13820
14567
  elementNamePattern?: (({
13821
14568
 
13822
14569
  pattern: string
@@ -13828,28 +14575,30 @@ type PerfectionistSortImports = {
13828
14575
 
13829
14576
  flags?: string
13830
14577
  } | string))
13831
- }[]
14578
+
14579
+ modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[]
14580
+
14581
+ selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type")
14582
+ })[]]
13832
14583
  } | {
13833
- newlinesInside?: (("always" | "never") | number)
13834
14584
 
13835
14585
  fallbackSort?: {
13836
14586
 
13837
- order?: ("asc" | "desc")
14587
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first")
13838
14588
 
13839
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14589
+ order?: ("asc" | "desc")
14590
+ sortBy?: ("specifier" | "path")
13840
14591
  }
13841
14592
 
14593
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first")
14594
+
13842
14595
  groupName: string
14596
+ newlinesInside?: ("ignore" | number)
13843
14597
 
13844
14598
  order?: ("asc" | "desc")
14599
+ sortBy?: ("specifier" | "path")
13845
14600
 
13846
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13847
-
13848
- modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[]
13849
-
13850
- selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type")
13851
-
13852
- elementValuePattern?: (({
14601
+ elementNamePattern?: (({
13853
14602
 
13854
14603
  pattern: string
13855
14604
 
@@ -13861,18 +14610,34 @@ type PerfectionistSortImports = {
13861
14610
  flags?: string
13862
14611
  } | string))
13863
14612
 
13864
- elementNamePattern?: (({
13865
-
13866
- pattern: string
13867
-
13868
- flags?: string
13869
- } | string)[] | ({
14613
+ modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[]
14614
+
14615
+ selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type")
14616
+ })[]
14617
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
14618
+
14619
+ groups?: (string | [string, ...(string)[]] | {
14620
+ newlinesBetween: ("ignore" | number)
14621
+ } | {
14622
+ group: (string | [string, ...(string)[]])
14623
+
14624
+ fallbackSort?: {
13870
14625
 
13871
- pattern: string
14626
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first")
13872
14627
 
13873
- flags?: string
13874
- } | string))
13875
- })[])
14628
+ order?: ("asc" | "desc")
14629
+ sortBy?: ("specifier" | "path")
14630
+ }
14631
+
14632
+ commentAbove?: string
14633
+
14634
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first")
14635
+ newlinesInside?: ("ignore" | number)
14636
+
14637
+ order?: ("asc" | "desc")
14638
+ sortBy?: ("specifier" | "path")
14639
+ })[]
14640
+ newlinesBetween?: ("ignore" | number)
13876
14641
  tsconfig?: {
13877
14642
 
13878
14643
  rootDir: string
@@ -13886,7 +14651,7 @@ type PerfectionistSortImports = {
13886
14651
 
13887
14652
  environment?: ("node" | "bun")
13888
14653
 
13889
- tsconfigRootDir?: string
14654
+ useExperimentalDependencyDetection?: boolean
13890
14655
 
13891
14656
  partitionByComment?: (boolean | (({
13892
14657
 
@@ -13926,7 +14691,6 @@ type PerfectionistSortImports = {
13926
14691
  })
13927
14692
 
13928
14693
  partitionByNewLine?: boolean
13929
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13930
14694
 
13931
14695
  internalPattern?: (({
13932
14696
 
@@ -13939,24 +14703,20 @@ type PerfectionistSortImports = {
13939
14703
 
13940
14704
  flags?: string
13941
14705
  } | string))
13942
-
13943
- groups?: (string | string[] | {
13944
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13945
-
13946
- commentAbove?: string
13947
- })[]
13948
14706
  }[]
13949
14707
  // ----- perfectionist/sort-interfaces -----
13950
14708
  type PerfectionistSortInterfaces = {
13951
14709
 
13952
14710
  fallbackSort?: {
13953
14711
 
13954
- order?: ("asc" | "desc")
14712
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13955
14713
 
13956
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14714
+ order?: ("asc" | "desc")
13957
14715
  sortBy?: ("name" | "value")
13958
14716
  }
13959
14717
 
14718
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14719
+
13960
14720
  specialCharacters?: ("remove" | "trim" | "keep")
13961
14721
 
13962
14722
  ignoreCase?: boolean
@@ -13966,31 +14726,43 @@ type PerfectionistSortInterfaces = {
13966
14726
  locales?: (string | string[])
13967
14727
 
13968
14728
  order?: ("asc" | "desc")
14729
+ sortBy?: ("name" | "value")
13969
14730
 
13970
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13971
14731
  customGroups?: ({
13972
- [k: string]: (string | string[]) | undefined
13973
- } | ({
13974
- newlinesInside?: (("always" | "never") | number)
13975
14732
 
13976
14733
  fallbackSort?: {
13977
14734
 
13978
- order?: ("asc" | "desc")
14735
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13979
14736
 
13980
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14737
+ order?: ("asc" | "desc")
13981
14738
  sortBy?: ("name" | "value")
13982
14739
  }
13983
14740
 
14741
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14742
+
13984
14743
  groupName: string
14744
+ newlinesInside?: ("ignore" | number)
13985
14745
 
13986
14746
  order?: ("asc" | "desc")
14747
+ sortBy?: ("name" | "value")
13987
14748
 
13988
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13989
- anyOf?: {
14749
+ anyOf: [{
14750
+
14751
+ elementNamePattern?: (({
14752
+
14753
+ pattern: string
14754
+
14755
+ flags?: string
14756
+ } | string)[] | ({
14757
+
14758
+ pattern: string
14759
+
14760
+ flags?: string
14761
+ } | string))
13990
14762
 
13991
14763
  modifiers?: ("optional" | "required" | "multiline")[]
13992
14764
 
13993
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
14765
+ selector?: ("index-signature" | "member" | "method" | "property")
13994
14766
 
13995
14767
  elementValuePattern?: (({
13996
14768
 
@@ -14003,6 +14775,7 @@ type PerfectionistSortInterfaces = {
14003
14775
 
14004
14776
  flags?: string
14005
14777
  } | string))
14778
+ }, ...({
14006
14779
 
14007
14780
  elementNamePattern?: (({
14008
14781
 
@@ -14015,28 +14788,56 @@ type PerfectionistSortInterfaces = {
14015
14788
 
14016
14789
  flags?: string
14017
14790
  } | string))
14018
- sortBy?: ("name" | "value")
14019
- }[]
14791
+
14792
+ modifiers?: ("optional" | "required" | "multiline")[]
14793
+
14794
+ selector?: ("index-signature" | "member" | "method" | "property")
14795
+
14796
+ elementValuePattern?: (({
14797
+
14798
+ pattern: string
14799
+
14800
+ flags?: string
14801
+ } | string)[] | ({
14802
+
14803
+ pattern: string
14804
+
14805
+ flags?: string
14806
+ } | string))
14807
+ })[]]
14020
14808
  } | {
14021
- newlinesInside?: (("always" | "never") | number)
14022
14809
 
14023
14810
  fallbackSort?: {
14024
14811
 
14025
- order?: ("asc" | "desc")
14812
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14813
+
14814
+ order?: ("asc" | "desc")
14815
+ sortBy?: ("name" | "value")
14816
+ }
14817
+
14818
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14819
+
14820
+ groupName: string
14821
+ newlinesInside?: ("ignore" | number)
14822
+
14823
+ order?: ("asc" | "desc")
14824
+ sortBy?: ("name" | "value")
14825
+
14826
+ elementNamePattern?: (({
14827
+
14828
+ pattern: string
14829
+
14830
+ flags?: string
14831
+ } | string)[] | ({
14832
+
14833
+ pattern: string
14026
14834
 
14027
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14028
- sortBy?: ("name" | "value")
14029
- }
14030
-
14031
- groupName: string
14032
-
14033
- order?: ("asc" | "desc")
14034
-
14035
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14835
+ flags?: string
14836
+ } | string))
14036
14837
 
14037
14838
  modifiers?: ("optional" | "required" | "multiline")[]
14038
14839
 
14039
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
14840
+ selector?: ("index-signature" | "member" | "method" | "property")
14040
14841
 
14041
14842
  elementValuePattern?: (({
14042
14843
 
@@ -14049,8 +14850,35 @@ type PerfectionistSortInterfaces = {
14049
14850
 
14050
14851
  flags?: string
14051
14852
  } | string))
14853
+ })[]
14854
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
14855
+
14856
+ groups?: (string | [string, ...(string)[]] | {
14857
+ newlinesBetween: ("ignore" | number)
14858
+ } | {
14859
+ group: (string | [string, ...(string)[]])
14052
14860
 
14053
- elementNamePattern?: (({
14861
+ fallbackSort?: {
14862
+
14863
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14864
+
14865
+ order?: ("asc" | "desc")
14866
+ sortBy?: ("name" | "value")
14867
+ }
14868
+
14869
+ commentAbove?: string
14870
+
14871
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14872
+ newlinesInside?: ("ignore" | number)
14873
+
14874
+ order?: ("asc" | "desc")
14875
+ sortBy?: ("name" | "value")
14876
+ })[]
14877
+ newlinesBetween?: ("ignore" | number)
14878
+
14879
+ useConfigurationIf?: {
14880
+
14881
+ allNamesMatchPattern?: (({
14054
14882
 
14055
14883
  pattern: string
14056
14884
 
@@ -14061,19 +14889,17 @@ type PerfectionistSortInterfaces = {
14061
14889
 
14062
14890
  flags?: string
14063
14891
  } | string))
14064
- sortBy?: ("name" | "value")
14065
- })[])
14066
-
14067
- groupKind?: ("mixed" | "required-first" | "optional-first")
14068
-
14069
- useConfigurationIf?: {
14070
14892
 
14071
- allNamesMatchPattern?: (({
14893
+ hasNumericKeysOnly?: boolean
14894
+
14895
+ declarationCommentMatchesPattern?: (({
14896
+ scope?: ("shallow" | "deep")
14072
14897
 
14073
14898
  pattern: string
14074
14899
 
14075
14900
  flags?: string
14076
14901
  } | string)[] | ({
14902
+ scope?: ("shallow" | "deep")
14077
14903
 
14078
14904
  pattern: string
14079
14905
 
@@ -14081,11 +14907,13 @@ type PerfectionistSortInterfaces = {
14081
14907
  } | string))
14082
14908
 
14083
14909
  declarationMatchesPattern?: (({
14910
+ scope?: ("shallow" | "deep")
14084
14911
 
14085
14912
  pattern: string
14086
14913
 
14087
14914
  flags?: string
14088
14915
  } | string)[] | ({
14916
+ scope?: ("shallow" | "deep")
14089
14917
 
14090
14918
  pattern: string
14091
14919
 
@@ -14131,37 +14959,19 @@ type PerfectionistSortInterfaces = {
14131
14959
  })
14132
14960
 
14133
14961
  partitionByNewLine?: boolean
14134
- newlinesBetween?: (("ignore" | "always" | "never") | number)
14135
-
14136
- ignorePattern?: (({
14137
-
14138
- pattern: string
14139
-
14140
- flags?: string
14141
- } | string)[] | ({
14142
-
14143
- pattern: string
14144
-
14145
- flags?: string
14146
- } | string))
14147
- sortBy?: ("name" | "value")
14148
-
14149
- groups?: (string | string[] | {
14150
- newlinesBetween?: (("ignore" | "always" | "never") | number)
14151
-
14152
- commentAbove?: string
14153
- })[]
14154
14962
  }[]
14155
14963
  // ----- perfectionist/sort-intersection-types -----
14156
14964
  type PerfectionistSortIntersectionTypes = {
14157
14965
 
14158
14966
  fallbackSort?: {
14159
14967
 
14160
- order?: ("asc" | "desc")
14968
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14161
14969
 
14162
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14970
+ order?: ("asc" | "desc")
14163
14971
  }
14164
14972
 
14973
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14974
+
14165
14975
  specialCharacters?: ("remove" | "trim" | "keep")
14166
14976
 
14167
14977
  ignoreCase?: boolean
@@ -14172,26 +14982,38 @@ type PerfectionistSortIntersectionTypes = {
14172
14982
 
14173
14983
  order?: ("asc" | "desc")
14174
14984
 
14175
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14176
-
14177
14985
  customGroups?: ({
14178
- newlinesInside?: (("always" | "never") | number)
14179
14986
 
14180
14987
  fallbackSort?: {
14181
14988
 
14182
- order?: ("asc" | "desc")
14989
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14183
14990
 
14184
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14991
+ order?: ("asc" | "desc")
14185
14992
  }
14186
14993
 
14994
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14995
+
14187
14996
  groupName: string
14997
+ newlinesInside?: ("ignore" | number)
14188
14998
 
14189
14999
  order?: ("asc" | "desc")
14190
15000
 
14191
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14192
- anyOf?: {
15001
+ anyOf: [{
15002
+
15003
+ elementNamePattern?: (({
15004
+
15005
+ pattern: string
15006
+
15007
+ flags?: string
15008
+ } | string)[] | ({
15009
+
15010
+ pattern: string
15011
+
15012
+ flags?: string
15013
+ } | string))
14193
15014
 
14194
15015
  selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
15016
+ }, ...({
14195
15017
 
14196
15018
  elementNamePattern?: (({
14197
15019
 
@@ -14204,25 +15026,25 @@ type PerfectionistSortIntersectionTypes = {
14204
15026
 
14205
15027
  flags?: string
14206
15028
  } | string))
14207
- }[]
15029
+
15030
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
15031
+ })[]]
14208
15032
  } | {
14209
- newlinesInside?: (("always" | "never") | number)
14210
15033
 
14211
15034
  fallbackSort?: {
14212
15035
 
14213
- order?: ("asc" | "desc")
15036
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14214
15037
 
14215
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15038
+ order?: ("asc" | "desc")
14216
15039
  }
14217
15040
 
15041
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15042
+
14218
15043
  groupName: string
15044
+ newlinesInside?: ("ignore" | number)
14219
15045
 
14220
15046
  order?: ("asc" | "desc")
14221
15047
 
14222
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14223
-
14224
- selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
14225
-
14226
15048
  elementNamePattern?: (({
14227
15049
 
14228
15050
  pattern: string
@@ -14234,7 +15056,31 @@ type PerfectionistSortIntersectionTypes = {
14234
15056
 
14235
15057
  flags?: string
14236
15058
  } | string))
15059
+
15060
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
15061
+ })[]
15062
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
15063
+
15064
+ groups?: (string | [string, ...(string)[]] | {
15065
+ newlinesBetween: ("ignore" | number)
15066
+ } | {
15067
+ group: (string | [string, ...(string)[]])
15068
+
15069
+ fallbackSort?: {
15070
+
15071
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15072
+
15073
+ order?: ("asc" | "desc")
15074
+ }
15075
+
15076
+ commentAbove?: string
15077
+
15078
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15079
+ newlinesInside?: ("ignore" | number)
15080
+
15081
+ order?: ("asc" | "desc")
14237
15082
  })[]
15083
+ newlinesBetween?: ("ignore" | number)
14238
15084
 
14239
15085
  partitionByComment?: (boolean | (({
14240
15086
 
@@ -14274,24 +15120,19 @@ type PerfectionistSortIntersectionTypes = {
14274
15120
  })
14275
15121
 
14276
15122
  partitionByNewLine?: boolean
14277
- newlinesBetween?: (("ignore" | "always" | "never") | number)
14278
-
14279
- groups?: (string | string[] | {
14280
- newlinesBetween?: (("ignore" | "always" | "never") | number)
14281
-
14282
- commentAbove?: string
14283
- })[]
14284
15123
  }[]
14285
15124
  // ----- perfectionist/sort-jsx-props -----
14286
15125
  type PerfectionistSortJsxProps = {
14287
15126
 
14288
15127
  fallbackSort?: {
14289
15128
 
14290
- order?: ("asc" | "desc")
15129
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14291
15130
 
14292
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15131
+ order?: ("asc" | "desc")
14293
15132
  }
14294
15133
 
15134
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15135
+
14295
15136
  specialCharacters?: ("remove" | "trim" | "keep")
14296
15137
 
14297
15138
  ignoreCase?: boolean
@@ -14302,29 +15143,39 @@ type PerfectionistSortJsxProps = {
14302
15143
 
14303
15144
  order?: ("asc" | "desc")
14304
15145
 
14305
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14306
15146
  customGroups?: ({
14307
- [k: string]: (string | string[]) | undefined
14308
- } | ({
14309
- newlinesInside?: (("always" | "never") | number)
14310
15147
 
14311
15148
  fallbackSort?: {
14312
15149
 
14313
- order?: ("asc" | "desc")
15150
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14314
15151
 
14315
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15152
+ order?: ("asc" | "desc")
14316
15153
  }
14317
15154
 
15155
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15156
+
14318
15157
  groupName: string
15158
+ newlinesInside?: ("ignore" | number)
14319
15159
 
14320
15160
  order?: ("asc" | "desc")
14321
15161
 
14322
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14323
- anyOf?: {
15162
+ anyOf: [{
15163
+
15164
+ elementNamePattern?: (({
15165
+
15166
+ pattern: string
15167
+
15168
+ flags?: string
15169
+ } | string)[] | ({
15170
+
15171
+ pattern: string
15172
+
15173
+ flags?: string
15174
+ } | string))
14324
15175
 
14325
15176
  modifiers?: ("shorthand" | "multiline")[]
14326
15177
 
14327
- selector?: ("multiline" | "prop" | "shorthand")
15178
+ selector?: "prop"
14328
15179
 
14329
15180
  elementValuePattern?: (({
14330
15181
 
@@ -14337,6 +15188,7 @@ type PerfectionistSortJsxProps = {
14337
15188
 
14338
15189
  flags?: string
14339
15190
  } | string))
15191
+ }, ...({
14340
15192
 
14341
15193
  elementNamePattern?: (({
14342
15194
 
@@ -14349,28 +15201,40 @@ type PerfectionistSortJsxProps = {
14349
15201
 
14350
15202
  flags?: string
14351
15203
  } | string))
14352
- }[]
15204
+
15205
+ modifiers?: ("shorthand" | "multiline")[]
15206
+
15207
+ selector?: "prop"
15208
+
15209
+ elementValuePattern?: (({
15210
+
15211
+ pattern: string
15212
+
15213
+ flags?: string
15214
+ } | string)[] | ({
15215
+
15216
+ pattern: string
15217
+
15218
+ flags?: string
15219
+ } | string))
15220
+ })[]]
14353
15221
  } | {
14354
- newlinesInside?: (("always" | "never") | number)
14355
15222
 
14356
15223
  fallbackSort?: {
14357
15224
 
14358
- order?: ("asc" | "desc")
15225
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14359
15226
 
14360
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15227
+ order?: ("asc" | "desc")
14361
15228
  }
14362
15229
 
15230
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15231
+
14363
15232
  groupName: string
15233
+ newlinesInside?: ("ignore" | number)
14364
15234
 
14365
15235
  order?: ("asc" | "desc")
14366
15236
 
14367
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14368
-
14369
- modifiers?: ("shorthand" | "multiline")[]
14370
-
14371
- selector?: ("multiline" | "prop" | "shorthand")
14372
-
14373
- elementValuePattern?: (({
15237
+ elementNamePattern?: (({
14374
15238
 
14375
15239
  pattern: string
14376
15240
 
@@ -14382,7 +15246,11 @@ type PerfectionistSortJsxProps = {
14382
15246
  flags?: string
14383
15247
  } | string))
14384
15248
 
14385
- elementNamePattern?: (({
15249
+ modifiers?: ("shorthand" | "multiline")[]
15250
+
15251
+ selector?: "prop"
15252
+
15253
+ elementValuePattern?: (({
14386
15254
 
14387
15255
  pattern: string
14388
15256
 
@@ -14393,7 +15261,29 @@ type PerfectionistSortJsxProps = {
14393
15261
 
14394
15262
  flags?: string
14395
15263
  } | string))
14396
- })[])
15264
+ })[]
15265
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
15266
+
15267
+ groups?: (string | [string, ...(string)[]] | {
15268
+ newlinesBetween: ("ignore" | number)
15269
+ } | {
15270
+ group: (string | [string, ...(string)[]])
15271
+
15272
+ fallbackSort?: {
15273
+
15274
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15275
+
15276
+ order?: ("asc" | "desc")
15277
+ }
15278
+
15279
+ commentAbove?: string
15280
+
15281
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15282
+ newlinesInside?: ("ignore" | number)
15283
+
15284
+ order?: ("asc" | "desc")
15285
+ })[]
15286
+ newlinesBetween?: ("ignore" | number)
14397
15287
 
14398
15288
  useConfigurationIf?: {
14399
15289
 
@@ -14423,36 +15313,19 @@ type PerfectionistSortJsxProps = {
14423
15313
  }
14424
15314
 
14425
15315
  partitionByNewLine?: boolean
14426
- newlinesBetween?: (("ignore" | "always" | "never") | number)
14427
-
14428
- ignorePattern?: (({
14429
-
14430
- pattern: string
14431
-
14432
- flags?: string
14433
- } | string)[] | ({
14434
-
14435
- pattern: string
14436
-
14437
- flags?: string
14438
- } | string))
14439
-
14440
- groups?: (string | string[] | {
14441
- newlinesBetween?: (("ignore" | "always" | "never") | number)
14442
-
14443
- commentAbove?: string
14444
- })[]
14445
15316
  }[]
14446
15317
  // ----- perfectionist/sort-maps -----
14447
15318
  type PerfectionistSortMaps = {
14448
15319
 
14449
15320
  fallbackSort?: {
14450
15321
 
14451
- order?: ("asc" | "desc")
15322
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14452
15323
 
14453
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15324
+ order?: ("asc" | "desc")
14454
15325
  }
14455
15326
 
15327
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15328
+
14456
15329
  specialCharacters?: ("remove" | "trim" | "keep")
14457
15330
 
14458
15331
  ignoreCase?: boolean
@@ -14463,24 +15336,36 @@ type PerfectionistSortMaps = {
14463
15336
 
14464
15337
  order?: ("asc" | "desc")
14465
15338
 
14466
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14467
-
14468
15339
  customGroups?: ({
14469
- newlinesInside?: (("always" | "never") | number)
14470
15340
 
14471
15341
  fallbackSort?: {
14472
15342
 
14473
- order?: ("asc" | "desc")
15343
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14474
15344
 
14475
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15345
+ order?: ("asc" | "desc")
14476
15346
  }
14477
15347
 
15348
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15349
+
14478
15350
  groupName: string
15351
+ newlinesInside?: ("ignore" | number)
14479
15352
 
14480
15353
  order?: ("asc" | "desc")
14481
15354
 
14482
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14483
- anyOf?: {
15355
+ anyOf: [{
15356
+
15357
+ elementNamePattern?: (({
15358
+
15359
+ pattern: string
15360
+
15361
+ flags?: string
15362
+ } | string)[] | ({
15363
+
15364
+ pattern: string
15365
+
15366
+ flags?: string
15367
+ } | string))
15368
+ }, ...({
14484
15369
 
14485
15370
  elementNamePattern?: (({
14486
15371
 
@@ -14493,23 +15378,23 @@ type PerfectionistSortMaps = {
14493
15378
 
14494
15379
  flags?: string
14495
15380
  } | string))
14496
- }[]
15381
+ })[]]
14497
15382
  } | {
14498
- newlinesInside?: (("always" | "never") | number)
14499
15383
 
14500
15384
  fallbackSort?: {
14501
15385
 
14502
- order?: ("asc" | "desc")
15386
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14503
15387
 
14504
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15388
+ order?: ("asc" | "desc")
14505
15389
  }
14506
15390
 
15391
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15392
+
14507
15393
  groupName: string
15394
+ newlinesInside?: ("ignore" | number)
14508
15395
 
14509
15396
  order?: ("asc" | "desc")
14510
15397
 
14511
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14512
-
14513
15398
  elementNamePattern?: (({
14514
15399
 
14515
15400
  pattern: string
@@ -14522,6 +15407,28 @@ type PerfectionistSortMaps = {
14522
15407
  flags?: string
14523
15408
  } | string))
14524
15409
  })[]
15410
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
15411
+
15412
+ groups?: (string | [string, ...(string)[]] | {
15413
+ newlinesBetween: ("ignore" | number)
15414
+ } | {
15415
+ group: (string | [string, ...(string)[]])
15416
+
15417
+ fallbackSort?: {
15418
+
15419
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15420
+
15421
+ order?: ("asc" | "desc")
15422
+ }
15423
+
15424
+ commentAbove?: string
15425
+
15426
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15427
+ newlinesInside?: ("ignore" | number)
15428
+
15429
+ order?: ("asc" | "desc")
15430
+ })[]
15431
+ newlinesBetween?: ("ignore" | number)
14525
15432
 
14526
15433
  useConfigurationIf?: {
14527
15434
 
@@ -14576,24 +15483,19 @@ type PerfectionistSortMaps = {
14576
15483
  })
14577
15484
 
14578
15485
  partitionByNewLine?: boolean
14579
- newlinesBetween?: (("ignore" | "always" | "never") | number)
14580
-
14581
- groups?: (string | string[] | {
14582
- newlinesBetween?: (("ignore" | "always" | "never") | number)
14583
-
14584
- commentAbove?: string
14585
- })[]
14586
15486
  }[]
14587
15487
  // ----- perfectionist/sort-modules -----
14588
15488
  type PerfectionistSortModules = []|[{
14589
15489
 
14590
15490
  fallbackSort?: {
14591
15491
 
14592
- order?: ("asc" | "desc")
15492
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage")
14593
15493
 
14594
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15494
+ order?: ("asc" | "desc")
14595
15495
  }
14596
15496
 
15497
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage")
15498
+
14597
15499
  specialCharacters?: ("remove" | "trim" | "keep")
14598
15500
 
14599
15501
  ignoreCase?: boolean
@@ -14604,24 +15506,35 @@ type PerfectionistSortModules = []|[{
14604
15506
 
14605
15507
  order?: ("asc" | "desc")
14606
15508
 
14607
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14608
-
14609
15509
  customGroups?: ({
14610
- newlinesInside?: (("always" | "never") | number)
14611
15510
 
14612
15511
  fallbackSort?: {
14613
15512
 
14614
- order?: ("asc" | "desc")
15513
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage")
14615
15514
 
14616
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15515
+ order?: ("asc" | "desc")
14617
15516
  }
14618
15517
 
15518
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage")
15519
+
14619
15520
  groupName: string
15521
+ newlinesInside?: ("ignore" | number)
14620
15522
 
14621
15523
  order?: ("asc" | "desc")
14622
15524
 
14623
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14624
- anyOf?: {
15525
+ anyOf: [{
15526
+
15527
+ elementNamePattern?: (({
15528
+
15529
+ pattern: string
15530
+
15531
+ flags?: string
15532
+ } | string)[] | ({
15533
+
15534
+ pattern: string
15535
+
15536
+ flags?: string
15537
+ } | string))
14625
15538
 
14626
15539
  modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
14627
15540
 
@@ -14638,8 +15551,25 @@ type PerfectionistSortModules = []|[{
14638
15551
 
14639
15552
  flags?: string
14640
15553
  } | string))
15554
+ }, ...({
15555
+
15556
+ elementNamePattern?: (({
15557
+
15558
+ pattern: string
15559
+
15560
+ flags?: string
15561
+ } | string)[] | ({
15562
+
15563
+ pattern: string
15564
+
15565
+ flags?: string
15566
+ } | string))
15567
+
15568
+ modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
15569
+
15570
+ selector?: ("enum" | "function" | "interface" | "type" | "class")
14641
15571
 
14642
- elementNamePattern?: (({
15572
+ decoratorNamePattern?: (({
14643
15573
 
14644
15574
  pattern: string
14645
15575
 
@@ -14650,28 +15580,24 @@ type PerfectionistSortModules = []|[{
14650
15580
 
14651
15581
  flags?: string
14652
15582
  } | string))
14653
- }[]
15583
+ })[]]
14654
15584
  } | {
14655
- newlinesInside?: (("always" | "never") | number)
14656
15585
 
14657
15586
  fallbackSort?: {
14658
15587
 
14659
- order?: ("asc" | "desc")
15588
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage")
14660
15589
 
14661
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15590
+ order?: ("asc" | "desc")
14662
15591
  }
14663
15592
 
15593
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage")
15594
+
14664
15595
  groupName: string
15596
+ newlinesInside?: ("ignore" | number)
14665
15597
 
14666
15598
  order?: ("asc" | "desc")
14667
15599
 
14668
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14669
-
14670
- modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
14671
-
14672
- selector?: ("enum" | "function" | "interface" | "type" | "class")
14673
-
14674
- decoratorNamePattern?: (({
15600
+ elementNamePattern?: (({
14675
15601
 
14676
15602
  pattern: string
14677
15603
 
@@ -14683,7 +15609,11 @@ type PerfectionistSortModules = []|[{
14683
15609
  flags?: string
14684
15610
  } | string))
14685
15611
 
14686
- elementNamePattern?: (({
15612
+ modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
15613
+
15614
+ selector?: ("enum" | "function" | "interface" | "type" | "class")
15615
+
15616
+ decoratorNamePattern?: (({
14687
15617
 
14688
15618
  pattern: string
14689
15619
 
@@ -14695,6 +15625,30 @@ type PerfectionistSortModules = []|[{
14695
15625
  flags?: string
14696
15626
  } | string))
14697
15627
  })[]
15628
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
15629
+
15630
+ groups?: (string | [string, ...(string)[]] | {
15631
+ newlinesBetween: ("ignore" | number)
15632
+ } | {
15633
+ group: (string | [string, ...(string)[]])
15634
+
15635
+ fallbackSort?: {
15636
+
15637
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage")
15638
+
15639
+ order?: ("asc" | "desc")
15640
+ }
15641
+
15642
+ commentAbove?: string
15643
+
15644
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage")
15645
+ newlinesInside?: ("ignore" | number)
15646
+
15647
+ order?: ("asc" | "desc")
15648
+ })[]
15649
+ newlinesBetween?: ("ignore" | number)
15650
+
15651
+ useExperimentalDependencyDetection?: boolean
14698
15652
 
14699
15653
  partitionByComment?: (boolean | (({
14700
15654
 
@@ -14734,24 +15688,19 @@ type PerfectionistSortModules = []|[{
14734
15688
  })
14735
15689
 
14736
15690
  partitionByNewLine?: boolean
14737
- newlinesBetween?: (("ignore" | "always" | "never") | number)
14738
-
14739
- groups?: (string | string[] | {
14740
- newlinesBetween?: (("ignore" | "always" | "never") | number)
14741
-
14742
- commentAbove?: string
14743
- })[]
14744
15691
  }]
14745
15692
  // ----- perfectionist/sort-named-exports -----
14746
15693
  type PerfectionistSortNamedExports = {
14747
15694
 
14748
15695
  fallbackSort?: {
14749
15696
 
14750
- order?: ("asc" | "desc")
15697
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14751
15698
 
14752
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15699
+ order?: ("asc" | "desc")
14753
15700
  }
14754
15701
 
15702
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15703
+
14755
15704
  specialCharacters?: ("remove" | "trim" | "keep")
14756
15705
 
14757
15706
  ignoreCase?: boolean
@@ -14762,32 +15711,40 @@ type PerfectionistSortNamedExports = {
14762
15711
 
14763
15712
  order?: ("asc" | "desc")
14764
15713
 
14765
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14766
-
14767
- groupKind?: ("mixed" | "values-first" | "types-first")
14768
-
14769
- ignoreAlias?: boolean
14770
-
14771
15714
  customGroups?: ({
14772
- newlinesInside?: (("always" | "never") | number)
14773
15715
 
14774
15716
  fallbackSort?: {
14775
15717
 
14776
- order?: ("asc" | "desc")
15718
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14777
15719
 
14778
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15720
+ order?: ("asc" | "desc")
14779
15721
  }
14780
15722
 
15723
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15724
+
14781
15725
  groupName: string
15726
+ newlinesInside?: ("ignore" | number)
14782
15727
 
14783
15728
  order?: ("asc" | "desc")
14784
15729
 
14785
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14786
- anyOf?: {
15730
+ anyOf: [{
15731
+
15732
+ elementNamePattern?: (({
15733
+
15734
+ pattern: string
15735
+
15736
+ flags?: string
15737
+ } | string)[] | ({
15738
+
15739
+ pattern: string
15740
+
15741
+ flags?: string
15742
+ } | string))
14787
15743
 
14788
15744
  modifiers?: ("value" | "type")[]
14789
15745
 
14790
15746
  selector?: "export"
15747
+ }, ...({
14791
15748
 
14792
15749
  elementNamePattern?: (({
14793
15750
 
@@ -14800,27 +15757,27 @@ type PerfectionistSortNamedExports = {
14800
15757
 
14801
15758
  flags?: string
14802
15759
  } | string))
14803
- }[]
15760
+
15761
+ modifiers?: ("value" | "type")[]
15762
+
15763
+ selector?: "export"
15764
+ })[]]
14804
15765
  } | {
14805
- newlinesInside?: (("always" | "never") | number)
14806
15766
 
14807
15767
  fallbackSort?: {
14808
15768
 
14809
- order?: ("asc" | "desc")
15769
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14810
15770
 
14811
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15771
+ order?: ("asc" | "desc")
14812
15772
  }
14813
15773
 
15774
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15775
+
14814
15776
  groupName: string
15777
+ newlinesInside?: ("ignore" | number)
14815
15778
 
14816
15779
  order?: ("asc" | "desc")
14817
15780
 
14818
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14819
-
14820
- modifiers?: ("value" | "type")[]
14821
-
14822
- selector?: "export"
14823
-
14824
15781
  elementNamePattern?: (({
14825
15782
 
14826
15783
  pattern: string
@@ -14832,7 +15789,35 @@ type PerfectionistSortNamedExports = {
14832
15789
 
14833
15790
  flags?: string
14834
15791
  } | string))
15792
+
15793
+ modifiers?: ("value" | "type")[]
15794
+
15795
+ selector?: "export"
15796
+ })[]
15797
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
15798
+
15799
+ groups?: (string | [string, ...(string)[]] | {
15800
+ newlinesBetween: ("ignore" | number)
15801
+ } | {
15802
+ group: (string | [string, ...(string)[]])
15803
+
15804
+ fallbackSort?: {
15805
+
15806
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15807
+
15808
+ order?: ("asc" | "desc")
15809
+ }
15810
+
15811
+ commentAbove?: string
15812
+
15813
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15814
+ newlinesInside?: ("ignore" | number)
15815
+
15816
+ order?: ("asc" | "desc")
14835
15817
  })[]
15818
+ newlinesBetween?: ("ignore" | number)
15819
+
15820
+ ignoreAlias?: boolean
14836
15821
 
14837
15822
  partitionByComment?: (boolean | (({
14838
15823
 
@@ -14872,24 +15857,19 @@ type PerfectionistSortNamedExports = {
14872
15857
  })
14873
15858
 
14874
15859
  partitionByNewLine?: boolean
14875
- newlinesBetween?: (("ignore" | "always" | "never") | number)
14876
-
14877
- groups?: (string | string[] | {
14878
- newlinesBetween?: (("ignore" | "always" | "never") | number)
14879
-
14880
- commentAbove?: string
14881
- })[]
14882
15860
  }[]
14883
15861
  // ----- perfectionist/sort-named-imports -----
14884
15862
  type PerfectionistSortNamedImports = {
14885
15863
 
14886
15864
  fallbackSort?: {
14887
15865
 
14888
- order?: ("asc" | "desc")
15866
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14889
15867
 
14890
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15868
+ order?: ("asc" | "desc")
14891
15869
  }
14892
15870
 
15871
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15872
+
14893
15873
  specialCharacters?: ("remove" | "trim" | "keep")
14894
15874
 
14895
15875
  ignoreCase?: boolean
@@ -14900,32 +15880,40 @@ type PerfectionistSortNamedImports = {
14900
15880
 
14901
15881
  order?: ("asc" | "desc")
14902
15882
 
14903
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14904
-
14905
- groupKind?: ("mixed" | "values-first" | "types-first")
14906
-
14907
- ignoreAlias?: boolean
14908
-
14909
15883
  customGroups?: ({
14910
- newlinesInside?: (("always" | "never") | number)
14911
15884
 
14912
15885
  fallbackSort?: {
14913
15886
 
14914
- order?: ("asc" | "desc")
15887
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14915
15888
 
14916
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15889
+ order?: ("asc" | "desc")
14917
15890
  }
14918
15891
 
15892
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15893
+
14919
15894
  groupName: string
15895
+ newlinesInside?: ("ignore" | number)
14920
15896
 
14921
15897
  order?: ("asc" | "desc")
14922
15898
 
14923
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14924
- anyOf?: {
15899
+ anyOf: [{
15900
+
15901
+ elementNamePattern?: (({
15902
+
15903
+ pattern: string
15904
+
15905
+ flags?: string
15906
+ } | string)[] | ({
15907
+
15908
+ pattern: string
15909
+
15910
+ flags?: string
15911
+ } | string))
14925
15912
 
14926
15913
  modifiers?: ("value" | "type")[]
14927
15914
 
14928
15915
  selector?: "import"
15916
+ }, ...({
14929
15917
 
14930
15918
  elementNamePattern?: (({
14931
15919
 
@@ -14938,27 +15926,27 @@ type PerfectionistSortNamedImports = {
14938
15926
 
14939
15927
  flags?: string
14940
15928
  } | string))
14941
- }[]
15929
+
15930
+ modifiers?: ("value" | "type")[]
15931
+
15932
+ selector?: "import"
15933
+ })[]]
14942
15934
  } | {
14943
- newlinesInside?: (("always" | "never") | number)
14944
15935
 
14945
15936
  fallbackSort?: {
14946
15937
 
14947
- order?: ("asc" | "desc")
15938
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14948
15939
 
14949
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15940
+ order?: ("asc" | "desc")
14950
15941
  }
14951
15942
 
15943
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15944
+
14952
15945
  groupName: string
15946
+ newlinesInside?: ("ignore" | number)
14953
15947
 
14954
15948
  order?: ("asc" | "desc")
14955
15949
 
14956
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14957
-
14958
- modifiers?: ("value" | "type")[]
14959
-
14960
- selector?: "import"
14961
-
14962
15950
  elementNamePattern?: (({
14963
15951
 
14964
15952
  pattern: string
@@ -14970,7 +15958,35 @@ type PerfectionistSortNamedImports = {
14970
15958
 
14971
15959
  flags?: string
14972
15960
  } | string))
15961
+
15962
+ modifiers?: ("value" | "type")[]
15963
+
15964
+ selector?: "import"
15965
+ })[]
15966
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
15967
+
15968
+ groups?: (string | [string, ...(string)[]] | {
15969
+ newlinesBetween: ("ignore" | number)
15970
+ } | {
15971
+ group: (string | [string, ...(string)[]])
15972
+
15973
+ fallbackSort?: {
15974
+
15975
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15976
+
15977
+ order?: ("asc" | "desc")
15978
+ }
15979
+
15980
+ commentAbove?: string
15981
+
15982
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15983
+ newlinesInside?: ("ignore" | number)
15984
+
15985
+ order?: ("asc" | "desc")
14973
15986
  })[]
15987
+ newlinesBetween?: ("ignore" | number)
15988
+
15989
+ ignoreAlias?: boolean
14974
15990
 
14975
15991
  partitionByComment?: (boolean | (({
14976
15992
 
@@ -15010,25 +16026,20 @@ type PerfectionistSortNamedImports = {
15010
16026
  })
15011
16027
 
15012
16028
  partitionByNewLine?: boolean
15013
- newlinesBetween?: (("ignore" | "always" | "never") | number)
15014
-
15015
- groups?: (string | string[] | {
15016
- newlinesBetween?: (("ignore" | "always" | "never") | number)
15017
-
15018
- commentAbove?: string
15019
- })[]
15020
16029
  }[]
15021
16030
  // ----- perfectionist/sort-object-types -----
15022
16031
  type PerfectionistSortObjectTypes = {
15023
16032
 
15024
16033
  fallbackSort?: {
15025
16034
 
15026
- order?: ("asc" | "desc")
16035
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15027
16036
 
15028
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16037
+ order?: ("asc" | "desc")
15029
16038
  sortBy?: ("name" | "value")
15030
16039
  }
15031
16040
 
16041
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16042
+
15032
16043
  specialCharacters?: ("remove" | "trim" | "keep")
15033
16044
 
15034
16045
  ignoreCase?: boolean
@@ -15038,31 +16049,43 @@ type PerfectionistSortObjectTypes = {
15038
16049
  locales?: (string | string[])
15039
16050
 
15040
16051
  order?: ("asc" | "desc")
16052
+ sortBy?: ("name" | "value")
15041
16053
 
15042
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15043
16054
  customGroups?: ({
15044
- [k: string]: (string | string[]) | undefined
15045
- } | ({
15046
- newlinesInside?: (("always" | "never") | number)
15047
16055
 
15048
16056
  fallbackSort?: {
15049
16057
 
15050
- order?: ("asc" | "desc")
16058
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15051
16059
 
15052
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16060
+ order?: ("asc" | "desc")
15053
16061
  sortBy?: ("name" | "value")
15054
16062
  }
15055
16063
 
16064
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16065
+
15056
16066
  groupName: string
16067
+ newlinesInside?: ("ignore" | number)
15057
16068
 
15058
16069
  order?: ("asc" | "desc")
16070
+ sortBy?: ("name" | "value")
15059
16071
 
15060
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15061
- anyOf?: {
16072
+ anyOf: [{
16073
+
16074
+ elementNamePattern?: (({
16075
+
16076
+ pattern: string
16077
+
16078
+ flags?: string
16079
+ } | string)[] | ({
16080
+
16081
+ pattern: string
16082
+
16083
+ flags?: string
16084
+ } | string))
15062
16085
 
15063
16086
  modifiers?: ("optional" | "required" | "multiline")[]
15064
16087
 
15065
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
16088
+ selector?: ("index-signature" | "member" | "method" | "property")
15066
16089
 
15067
16090
  elementValuePattern?: (({
15068
16091
 
@@ -15075,6 +16098,7 @@ type PerfectionistSortObjectTypes = {
15075
16098
 
15076
16099
  flags?: string
15077
16100
  } | string))
16101
+ }, ...({
15078
16102
 
15079
16103
  elementNamePattern?: (({
15080
16104
 
@@ -15087,28 +16111,56 @@ type PerfectionistSortObjectTypes = {
15087
16111
 
15088
16112
  flags?: string
15089
16113
  } | string))
15090
- sortBy?: ("name" | "value")
15091
- }[]
16114
+
16115
+ modifiers?: ("optional" | "required" | "multiline")[]
16116
+
16117
+ selector?: ("index-signature" | "member" | "method" | "property")
16118
+
16119
+ elementValuePattern?: (({
16120
+
16121
+ pattern: string
16122
+
16123
+ flags?: string
16124
+ } | string)[] | ({
16125
+
16126
+ pattern: string
16127
+
16128
+ flags?: string
16129
+ } | string))
16130
+ })[]]
15092
16131
  } | {
15093
- newlinesInside?: (("always" | "never") | number)
15094
16132
 
15095
16133
  fallbackSort?: {
15096
16134
 
15097
- order?: ("asc" | "desc")
16135
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15098
16136
 
15099
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16137
+ order?: ("asc" | "desc")
15100
16138
  sortBy?: ("name" | "value")
15101
16139
  }
15102
16140
 
16141
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16142
+
15103
16143
  groupName: string
16144
+ newlinesInside?: ("ignore" | number)
15104
16145
 
15105
16146
  order?: ("asc" | "desc")
16147
+ sortBy?: ("name" | "value")
15106
16148
 
15107
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16149
+ elementNamePattern?: (({
16150
+
16151
+ pattern: string
16152
+
16153
+ flags?: string
16154
+ } | string)[] | ({
16155
+
16156
+ pattern: string
16157
+
16158
+ flags?: string
16159
+ } | string))
15108
16160
 
15109
16161
  modifiers?: ("optional" | "required" | "multiline")[]
15110
16162
 
15111
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
16163
+ selector?: ("index-signature" | "member" | "method" | "property")
15112
16164
 
15113
16165
  elementValuePattern?: (({
15114
16166
 
@@ -15121,8 +16173,35 @@ type PerfectionistSortObjectTypes = {
15121
16173
 
15122
16174
  flags?: string
15123
16175
  } | string))
16176
+ })[]
16177
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
16178
+
16179
+ groups?: (string | [string, ...(string)[]] | {
16180
+ newlinesBetween: ("ignore" | number)
16181
+ } | {
16182
+ group: (string | [string, ...(string)[]])
15124
16183
 
15125
- elementNamePattern?: (({
16184
+ fallbackSort?: {
16185
+
16186
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16187
+
16188
+ order?: ("asc" | "desc")
16189
+ sortBy?: ("name" | "value")
16190
+ }
16191
+
16192
+ commentAbove?: string
16193
+
16194
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16195
+ newlinesInside?: ("ignore" | number)
16196
+
16197
+ order?: ("asc" | "desc")
16198
+ sortBy?: ("name" | "value")
16199
+ })[]
16200
+ newlinesBetween?: ("ignore" | number)
16201
+
16202
+ useConfigurationIf?: {
16203
+
16204
+ allNamesMatchPattern?: (({
15126
16205
 
15127
16206
  pattern: string
15128
16207
 
@@ -15133,19 +16212,17 @@ type PerfectionistSortObjectTypes = {
15133
16212
 
15134
16213
  flags?: string
15135
16214
  } | string))
15136
- sortBy?: ("name" | "value")
15137
- })[])
15138
-
15139
- groupKind?: ("mixed" | "required-first" | "optional-first")
15140
-
15141
- useConfigurationIf?: {
15142
16215
 
15143
- allNamesMatchPattern?: (({
16216
+ hasNumericKeysOnly?: boolean
16217
+
16218
+ declarationCommentMatchesPattern?: (({
16219
+ scope?: ("shallow" | "deep")
15144
16220
 
15145
16221
  pattern: string
15146
16222
 
15147
16223
  flags?: string
15148
16224
  } | string)[] | ({
16225
+ scope?: ("shallow" | "deep")
15149
16226
 
15150
16227
  pattern: string
15151
16228
 
@@ -15153,11 +16230,13 @@ type PerfectionistSortObjectTypes = {
15153
16230
  } | string))
15154
16231
 
15155
16232
  declarationMatchesPattern?: (({
16233
+ scope?: ("shallow" | "deep")
15156
16234
 
15157
16235
  pattern: string
15158
16236
 
15159
16237
  flags?: string
15160
16238
  } | string)[] | ({
16239
+ scope?: ("shallow" | "deep")
15161
16240
 
15162
16241
  pattern: string
15163
16242
 
@@ -15203,37 +16282,20 @@ type PerfectionistSortObjectTypes = {
15203
16282
  })
15204
16283
 
15205
16284
  partitionByNewLine?: boolean
15206
- newlinesBetween?: (("ignore" | "always" | "never") | number)
15207
-
15208
- ignorePattern?: (({
15209
-
15210
- pattern: string
15211
-
15212
- flags?: string
15213
- } | string)[] | ({
15214
-
15215
- pattern: string
15216
-
15217
- flags?: string
15218
- } | string))
15219
- sortBy?: ("name" | "value")
15220
-
15221
- groups?: (string | string[] | {
15222
- newlinesBetween?: (("ignore" | "always" | "never") | number)
15223
-
15224
- commentAbove?: string
15225
- })[]
15226
16285
  }[]
15227
16286
  // ----- perfectionist/sort-objects -----
15228
16287
  type PerfectionistSortObjects = {
15229
16288
 
15230
16289
  fallbackSort?: {
15231
16290
 
15232
- order?: ("asc" | "desc")
16291
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15233
16292
 
15234
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16293
+ order?: ("asc" | "desc")
16294
+ sortBy?: ("name" | "value")
15235
16295
  }
15236
16296
 
16297
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16298
+
15237
16299
  specialCharacters?: ("remove" | "trim" | "keep")
15238
16300
 
15239
16301
  ignoreCase?: boolean
@@ -15243,35 +16305,43 @@ type PerfectionistSortObjects = {
15243
16305
  locales?: (string | string[])
15244
16306
 
15245
16307
  order?: ("asc" | "desc")
16308
+ sortBy?: ("name" | "value")
15246
16309
 
15247
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15248
-
15249
- destructuredObjects?: (boolean | {
15250
-
15251
- groups?: boolean
15252
- })
15253
16310
  customGroups?: ({
15254
- [k: string]: (string | string[]) | undefined
15255
- } | ({
15256
- newlinesInside?: (("always" | "never") | number)
15257
16311
 
15258
16312
  fallbackSort?: {
15259
16313
 
15260
- order?: ("asc" | "desc")
16314
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15261
16315
 
15262
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16316
+ order?: ("asc" | "desc")
16317
+ sortBy?: ("name" | "value")
15263
16318
  }
15264
16319
 
16320
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16321
+
15265
16322
  groupName: string
16323
+ newlinesInside?: ("ignore" | number)
15266
16324
 
15267
16325
  order?: ("asc" | "desc")
16326
+ sortBy?: ("name" | "value")
15268
16327
 
15269
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15270
- anyOf?: {
16328
+ anyOf: [{
15271
16329
 
15272
- modifiers?: ("optional" | "required" | "multiline")[]
16330
+ elementNamePattern?: (({
16331
+
16332
+ pattern: string
16333
+
16334
+ flags?: string
16335
+ } | string)[] | ({
16336
+
16337
+ pattern: string
16338
+
16339
+ flags?: string
16340
+ } | string))
16341
+
16342
+ modifiers?: ("multiline")[]
15273
16343
 
15274
- selector?: ("member" | "method" | "multiline" | "property")
16344
+ selector?: ("member" | "method" | "property")
15275
16345
 
15276
16346
  elementValuePattern?: (({
15277
16347
 
@@ -15284,6 +16354,7 @@ type PerfectionistSortObjects = {
15284
16354
 
15285
16355
  flags?: string
15286
16356
  } | string))
16357
+ }, ...({
15287
16358
 
15288
16359
  elementNamePattern?: (({
15289
16360
 
@@ -15296,26 +16367,56 @@ type PerfectionistSortObjects = {
15296
16367
 
15297
16368
  flags?: string
15298
16369
  } | string))
15299
- }[]
16370
+
16371
+ modifiers?: ("multiline")[]
16372
+
16373
+ selector?: ("member" | "method" | "property")
16374
+
16375
+ elementValuePattern?: (({
16376
+
16377
+ pattern: string
16378
+
16379
+ flags?: string
16380
+ } | string)[] | ({
16381
+
16382
+ pattern: string
16383
+
16384
+ flags?: string
16385
+ } | string))
16386
+ })[]]
15300
16387
  } | {
15301
- newlinesInside?: (("always" | "never") | number)
15302
16388
 
15303
16389
  fallbackSort?: {
15304
16390
 
15305
- order?: ("asc" | "desc")
16391
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15306
16392
 
15307
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16393
+ order?: ("asc" | "desc")
16394
+ sortBy?: ("name" | "value")
15308
16395
  }
15309
16396
 
16397
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16398
+
15310
16399
  groupName: string
16400
+ newlinesInside?: ("ignore" | number)
15311
16401
 
15312
16402
  order?: ("asc" | "desc")
16403
+ sortBy?: ("name" | "value")
15313
16404
 
15314
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16405
+ elementNamePattern?: (({
16406
+
16407
+ pattern: string
16408
+
16409
+ flags?: string
16410
+ } | string)[] | ({
16411
+
16412
+ pattern: string
16413
+
16414
+ flags?: string
16415
+ } | string))
15315
16416
 
15316
- modifiers?: ("optional" | "required" | "multiline")[]
16417
+ modifiers?: ("multiline")[]
15317
16418
 
15318
- selector?: ("member" | "method" | "multiline" | "property")
16419
+ selector?: ("member" | "method" | "property")
15319
16420
 
15320
16421
  elementValuePattern?: (({
15321
16422
 
@@ -15328,8 +16429,35 @@ type PerfectionistSortObjects = {
15328
16429
 
15329
16430
  flags?: string
15330
16431
  } | string))
16432
+ })[]
16433
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
16434
+
16435
+ groups?: (string | [string, ...(string)[]] | {
16436
+ newlinesBetween: ("ignore" | number)
16437
+ } | {
16438
+ group: (string | [string, ...(string)[]])
15331
16439
 
15332
- elementNamePattern?: (({
16440
+ fallbackSort?: {
16441
+
16442
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16443
+
16444
+ order?: ("asc" | "desc")
16445
+ sortBy?: ("name" | "value")
16446
+ }
16447
+
16448
+ commentAbove?: string
16449
+
16450
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16451
+ newlinesInside?: ("ignore" | number)
16452
+
16453
+ order?: ("asc" | "desc")
16454
+ sortBy?: ("name" | "value")
16455
+ })[]
16456
+ newlinesBetween?: ("ignore" | number)
16457
+
16458
+ useConfigurationIf?: {
16459
+
16460
+ allNamesMatchPattern?: (({
15333
16461
 
15334
16462
  pattern: string
15335
16463
 
@@ -15340,16 +16468,19 @@ type PerfectionistSortObjects = {
15340
16468
 
15341
16469
  flags?: string
15342
16470
  } | string))
15343
- })[])
15344
-
15345
- useConfigurationIf?: {
15346
16471
 
15347
- allNamesMatchPattern?: (({
16472
+ objectType?: ("destructured" | "non-destructured")
16473
+
16474
+ hasNumericKeysOnly?: boolean
16475
+
16476
+ declarationCommentMatchesPattern?: (({
16477
+ scope?: ("shallow" | "deep")
15348
16478
 
15349
16479
  pattern: string
15350
16480
 
15351
16481
  flags?: string
15352
16482
  } | string)[] | ({
16483
+ scope?: ("shallow" | "deep")
15353
16484
 
15354
16485
  pattern: string
15355
16486
 
@@ -15357,11 +16488,27 @@ type PerfectionistSortObjects = {
15357
16488
  } | string))
15358
16489
 
15359
16490
  callingFunctionNamePattern?: (({
16491
+ scope?: ("shallow" | "deep")
16492
+
16493
+ pattern: string
16494
+
16495
+ flags?: string
16496
+ } | string)[] | ({
16497
+ scope?: ("shallow" | "deep")
16498
+
16499
+ pattern: string
16500
+
16501
+ flags?: string
16502
+ } | string))
16503
+
16504
+ declarationMatchesPattern?: (({
16505
+ scope?: ("shallow" | "deep")
15360
16506
 
15361
16507
  pattern: string
15362
16508
 
15363
16509
  flags?: string
15364
16510
  } | string)[] | ({
16511
+ scope?: ("shallow" | "deep")
15365
16512
 
15366
16513
  pattern: string
15367
16514
 
@@ -15369,12 +16516,10 @@ type PerfectionistSortObjects = {
15369
16516
  } | string))
15370
16517
  }
15371
16518
 
15372
- destructureOnly?: boolean
15373
-
15374
- objectDeclarations?: boolean
15375
-
15376
16519
  styledComponents?: boolean
15377
16520
 
16521
+ useExperimentalDependencyDetection?: boolean
16522
+
15378
16523
  partitionByComment?: (boolean | (({
15379
16524
 
15380
16525
  pattern: string
@@ -15413,36 +16558,19 @@ type PerfectionistSortObjects = {
15413
16558
  })
15414
16559
 
15415
16560
  partitionByNewLine?: boolean
15416
- newlinesBetween?: (("ignore" | "always" | "never") | number)
15417
-
15418
- ignorePattern?: (({
15419
-
15420
- pattern: string
15421
-
15422
- flags?: string
15423
- } | string)[] | ({
15424
-
15425
- pattern: string
15426
-
15427
- flags?: string
15428
- } | string))
15429
-
15430
- groups?: (string | string[] | {
15431
- newlinesBetween?: (("ignore" | "always" | "never") | number)
15432
-
15433
- commentAbove?: string
15434
- })[]
15435
16561
  }[]
15436
16562
  // ----- perfectionist/sort-sets -----
15437
16563
  type PerfectionistSortSets = {
15438
16564
 
15439
16565
  fallbackSort?: {
15440
16566
 
15441
- order?: ("asc" | "desc")
16567
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15442
16568
 
15443
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16569
+ order?: ("asc" | "desc")
15444
16570
  }
15445
16571
 
16572
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16573
+
15446
16574
  specialCharacters?: ("remove" | "trim" | "keep")
15447
16575
 
15448
16576
  ignoreCase?: boolean
@@ -15453,28 +16581,38 @@ type PerfectionistSortSets = {
15453
16581
 
15454
16582
  order?: ("asc" | "desc")
15455
16583
 
15456
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15457
-
15458
- groupKind?: ("mixed" | "literals-first" | "spreads-first")
15459
-
15460
16584
  customGroups?: ({
15461
- newlinesInside?: (("always" | "never") | number)
15462
16585
 
15463
16586
  fallbackSort?: {
15464
16587
 
15465
- order?: ("asc" | "desc")
16588
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15466
16589
 
15467
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16590
+ order?: ("asc" | "desc")
15468
16591
  }
15469
16592
 
16593
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16594
+
15470
16595
  groupName: string
16596
+ newlinesInside?: ("ignore" | number)
15471
16597
 
15472
16598
  order?: ("asc" | "desc")
15473
16599
 
15474
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15475
- anyOf?: {
16600
+ anyOf: [{
16601
+
16602
+ elementNamePattern?: (({
16603
+
16604
+ pattern: string
16605
+
16606
+ flags?: string
16607
+ } | string)[] | ({
16608
+
16609
+ pattern: string
16610
+
16611
+ flags?: string
16612
+ } | string))
15476
16613
 
15477
- selector?: ("literal" | "spread")
16614
+ selector?: "literal"
16615
+ }, ...({
15478
16616
 
15479
16617
  elementNamePattern?: (({
15480
16618
 
@@ -15487,25 +16625,25 @@ type PerfectionistSortSets = {
15487
16625
 
15488
16626
  flags?: string
15489
16627
  } | string))
15490
- }[]
16628
+
16629
+ selector?: "literal"
16630
+ })[]]
15491
16631
  } | {
15492
- newlinesInside?: (("always" | "never") | number)
15493
16632
 
15494
16633
  fallbackSort?: {
15495
16634
 
15496
- order?: ("asc" | "desc")
16635
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15497
16636
 
15498
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16637
+ order?: ("asc" | "desc")
15499
16638
  }
15500
16639
 
16640
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16641
+
15501
16642
  groupName: string
16643
+ newlinesInside?: ("ignore" | number)
15502
16644
 
15503
16645
  order?: ("asc" | "desc")
15504
16646
 
15505
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15506
-
15507
- selector?: ("literal" | "spread")
15508
-
15509
16647
  elementNamePattern?: (({
15510
16648
 
15511
16649
  pattern: string
@@ -15517,7 +16655,31 @@ type PerfectionistSortSets = {
15517
16655
 
15518
16656
  flags?: string
15519
16657
  } | string))
16658
+
16659
+ selector?: "literal"
16660
+ })[]
16661
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
16662
+
16663
+ groups?: (string | [string, ...(string)[]] | {
16664
+ newlinesBetween: ("ignore" | number)
16665
+ } | {
16666
+ group: (string | [string, ...(string)[]])
16667
+
16668
+ fallbackSort?: {
16669
+
16670
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16671
+
16672
+ order?: ("asc" | "desc")
16673
+ }
16674
+
16675
+ commentAbove?: string
16676
+
16677
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16678
+ newlinesInside?: ("ignore" | number)
16679
+
16680
+ order?: ("asc" | "desc")
15520
16681
  })[]
16682
+ newlinesBetween?: ("ignore" | number)
15521
16683
 
15522
16684
  useConfigurationIf?: {
15523
16685
 
@@ -15572,24 +16734,19 @@ type PerfectionistSortSets = {
15572
16734
  })
15573
16735
 
15574
16736
  partitionByNewLine?: boolean
15575
- newlinesBetween?: (("ignore" | "always" | "never") | number)
15576
-
15577
- groups?: (string | string[] | {
15578
- newlinesBetween?: (("ignore" | "always" | "never") | number)
15579
-
15580
- commentAbove?: string
15581
- })[]
15582
16737
  }[]
15583
16738
  // ----- perfectionist/sort-switch-case -----
15584
16739
  type PerfectionistSortSwitchCase = []|[{
15585
16740
 
15586
16741
  fallbackSort?: {
15587
16742
 
15588
- order?: ("asc" | "desc")
16743
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15589
16744
 
15590
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16745
+ order?: ("asc" | "desc")
15591
16746
  }
15592
16747
 
16748
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16749
+
15593
16750
  specialCharacters?: ("remove" | "trim" | "keep")
15594
16751
 
15595
16752
  ignoreCase?: boolean
@@ -15599,19 +16756,19 @@ type PerfectionistSortSwitchCase = []|[{
15599
16756
  locales?: (string | string[])
15600
16757
 
15601
16758
  order?: ("asc" | "desc")
15602
-
15603
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15604
16759
  }]
15605
16760
  // ----- perfectionist/sort-union-types -----
15606
16761
  type PerfectionistSortUnionTypes = {
15607
16762
 
15608
16763
  fallbackSort?: {
15609
16764
 
15610
- order?: ("asc" | "desc")
16765
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15611
16766
 
15612
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16767
+ order?: ("asc" | "desc")
15613
16768
  }
15614
16769
 
16770
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16771
+
15615
16772
  specialCharacters?: ("remove" | "trim" | "keep")
15616
16773
 
15617
16774
  ignoreCase?: boolean
@@ -15622,26 +16779,38 @@ type PerfectionistSortUnionTypes = {
15622
16779
 
15623
16780
  order?: ("asc" | "desc")
15624
16781
 
15625
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15626
-
15627
16782
  customGroups?: ({
15628
- newlinesInside?: (("always" | "never") | number)
15629
16783
 
15630
16784
  fallbackSort?: {
15631
16785
 
15632
- order?: ("asc" | "desc")
16786
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15633
16787
 
15634
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16788
+ order?: ("asc" | "desc")
15635
16789
  }
15636
16790
 
16791
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16792
+
15637
16793
  groupName: string
16794
+ newlinesInside?: ("ignore" | number)
15638
16795
 
15639
16796
  order?: ("asc" | "desc")
15640
16797
 
15641
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15642
- anyOf?: {
16798
+ anyOf: [{
16799
+
16800
+ elementNamePattern?: (({
16801
+
16802
+ pattern: string
16803
+
16804
+ flags?: string
16805
+ } | string)[] | ({
16806
+
16807
+ pattern: string
16808
+
16809
+ flags?: string
16810
+ } | string))
15643
16811
 
15644
16812
  selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
16813
+ }, ...({
15645
16814
 
15646
16815
  elementNamePattern?: (({
15647
16816
 
@@ -15654,25 +16823,25 @@ type PerfectionistSortUnionTypes = {
15654
16823
 
15655
16824
  flags?: string
15656
16825
  } | string))
15657
- }[]
16826
+
16827
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
16828
+ })[]]
15658
16829
  } | {
15659
- newlinesInside?: (("always" | "never") | number)
15660
16830
 
15661
16831
  fallbackSort?: {
15662
16832
 
15663
- order?: ("asc" | "desc")
16833
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15664
16834
 
15665
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16835
+ order?: ("asc" | "desc")
15666
16836
  }
15667
16837
 
16838
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16839
+
15668
16840
  groupName: string
16841
+ newlinesInside?: ("ignore" | number)
15669
16842
 
15670
16843
  order?: ("asc" | "desc")
15671
16844
 
15672
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15673
-
15674
- selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
15675
-
15676
16845
  elementNamePattern?: (({
15677
16846
 
15678
16847
  pattern: string
@@ -15684,7 +16853,31 @@ type PerfectionistSortUnionTypes = {
15684
16853
 
15685
16854
  flags?: string
15686
16855
  } | string))
16856
+
16857
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
16858
+ })[]
16859
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
16860
+
16861
+ groups?: (string | [string, ...(string)[]] | {
16862
+ newlinesBetween: ("ignore" | number)
16863
+ } | {
16864
+ group: (string | [string, ...(string)[]])
16865
+
16866
+ fallbackSort?: {
16867
+
16868
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16869
+
16870
+ order?: ("asc" | "desc")
16871
+ }
16872
+
16873
+ commentAbove?: string
16874
+
16875
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16876
+ newlinesInside?: ("ignore" | number)
16877
+
16878
+ order?: ("asc" | "desc")
15687
16879
  })[]
16880
+ newlinesBetween?: ("ignore" | number)
15688
16881
 
15689
16882
  partitionByComment?: (boolean | (({
15690
16883
 
@@ -15724,24 +16917,19 @@ type PerfectionistSortUnionTypes = {
15724
16917
  })
15725
16918
 
15726
16919
  partitionByNewLine?: boolean
15727
- newlinesBetween?: (("ignore" | "always" | "never") | number)
15728
-
15729
- groups?: (string | string[] | {
15730
- newlinesBetween?: (("ignore" | "always" | "never") | number)
15731
-
15732
- commentAbove?: string
15733
- })[]
15734
16920
  }[]
15735
16921
  // ----- perfectionist/sort-variable-declarations -----
15736
16922
  type PerfectionistSortVariableDeclarations = []|[{
15737
16923
 
15738
16924
  fallbackSort?: {
15739
16925
 
15740
- order?: ("asc" | "desc")
16926
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15741
16927
 
15742
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16928
+ order?: ("asc" | "desc")
15743
16929
  }
15744
16930
 
16931
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16932
+
15745
16933
  specialCharacters?: ("remove" | "trim" | "keep")
15746
16934
 
15747
16935
  ignoreCase?: boolean
@@ -15752,26 +16940,38 @@ type PerfectionistSortVariableDeclarations = []|[{
15752
16940
 
15753
16941
  order?: ("asc" | "desc")
15754
16942
 
15755
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15756
-
15757
16943
  customGroups?: ({
15758
- newlinesInside?: (("always" | "never") | number)
15759
16944
 
15760
16945
  fallbackSort?: {
15761
16946
 
15762
- order?: ("asc" | "desc")
16947
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15763
16948
 
15764
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16949
+ order?: ("asc" | "desc")
15765
16950
  }
15766
16951
 
16952
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16953
+
15767
16954
  groupName: string
16955
+ newlinesInside?: ("ignore" | number)
15768
16956
 
15769
16957
  order?: ("asc" | "desc")
15770
16958
 
15771
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15772
- anyOf?: {
16959
+ anyOf: [{
16960
+
16961
+ elementNamePattern?: (({
16962
+
16963
+ pattern: string
16964
+
16965
+ flags?: string
16966
+ } | string)[] | ({
16967
+
16968
+ pattern: string
16969
+
16970
+ flags?: string
16971
+ } | string))
15773
16972
 
15774
16973
  selector?: ("initialized" | "uninitialized")
16974
+ }, ...({
15775
16975
 
15776
16976
  elementNamePattern?: (({
15777
16977
 
@@ -15784,25 +16984,25 @@ type PerfectionistSortVariableDeclarations = []|[{
15784
16984
 
15785
16985
  flags?: string
15786
16986
  } | string))
15787
- }[]
16987
+
16988
+ selector?: ("initialized" | "uninitialized")
16989
+ })[]]
15788
16990
  } | {
15789
- newlinesInside?: (("always" | "never") | number)
15790
16991
 
15791
16992
  fallbackSort?: {
15792
16993
 
15793
- order?: ("asc" | "desc")
16994
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15794
16995
 
15795
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16996
+ order?: ("asc" | "desc")
15796
16997
  }
15797
16998
 
16999
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
17000
+
15798
17001
  groupName: string
17002
+ newlinesInside?: ("ignore" | number)
15799
17003
 
15800
17004
  order?: ("asc" | "desc")
15801
17005
 
15802
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15803
-
15804
- selector?: ("initialized" | "uninitialized")
15805
-
15806
17006
  elementNamePattern?: (({
15807
17007
 
15808
17008
  pattern: string
@@ -15814,7 +17014,33 @@ type PerfectionistSortVariableDeclarations = []|[{
15814
17014
 
15815
17015
  flags?: string
15816
17016
  } | string))
17017
+
17018
+ selector?: ("initialized" | "uninitialized")
17019
+ })[]
17020
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
17021
+
17022
+ groups?: (string | [string, ...(string)[]] | {
17023
+ newlinesBetween: ("ignore" | number)
17024
+ } | {
17025
+ group: (string | [string, ...(string)[]])
17026
+
17027
+ fallbackSort?: {
17028
+
17029
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
17030
+
17031
+ order?: ("asc" | "desc")
17032
+ }
17033
+
17034
+ commentAbove?: string
17035
+
17036
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
17037
+ newlinesInside?: ("ignore" | number)
17038
+
17039
+ order?: ("asc" | "desc")
15817
17040
  })[]
17041
+ newlinesBetween?: ("ignore" | number)
17042
+
17043
+ useExperimentalDependencyDetection?: boolean
15818
17044
 
15819
17045
  partitionByComment?: (boolean | (({
15820
17046
 
@@ -15854,13 +17080,6 @@ type PerfectionistSortVariableDeclarations = []|[{
15854
17080
  })
15855
17081
 
15856
17082
  partitionByNewLine?: boolean
15857
- newlinesBetween?: (("ignore" | "always" | "never") | number)
15858
-
15859
- groups?: (string | string[] | {
15860
- newlinesBetween?: (("ignore" | "always" | "never") | number)
15861
-
15862
- commentAbove?: string
15863
- })[]
15864
17083
  }]
15865
17084
  // ----- pnpm/json-enforce-catalog -----
15866
17085
  type PnpmJsonEnforceCatalog = []|[{
@@ -16756,6 +17975,11 @@ type UnusedImportsNoUnusedImports = []|[(("all" | "local") | {
16756
17975
 
16757
17976
  destructuredArrayIgnorePattern?: string
16758
17977
 
17978
+ enableAutofixRemoval?: {
17979
+
17980
+ imports?: boolean
17981
+ }
17982
+
16759
17983
  ignoreClassWithStaticInitBlock?: boolean
16760
17984
 
16761
17985
  ignoreRestSiblings?: boolean
@@ -16781,6 +18005,11 @@ type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
16781
18005
 
16782
18006
  destructuredArrayIgnorePattern?: string
16783
18007
 
18008
+ enableAutofixRemoval?: {
18009
+
18010
+ imports?: boolean
18011
+ }
18012
+
16784
18013
  ignoreClassWithStaticInitBlock?: boolean
16785
18014
 
16786
18015
  ignoreRestSiblings?: boolean