@bfra.me/eslint-config 0.47.9 → 0.48.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/rules.d.ts CHANGED
@@ -183,6 +183,11 @@ export interface Rules {
183
183
  * @see https://eslint.style/rules/eol-last
184
184
  */
185
185
  '@stylistic/eol-last'?: Linter.RuleEntry<StylisticEolLast>
186
+ /**
187
+ * Enforce consistent line break styles for JSX props
188
+ * @see https://eslint.style/rules/jsx-props-style
189
+ */
190
+ '@stylistic/exp-jsx-props-style'?: Linter.RuleEntry<StylisticExpJsxPropsStyle>
186
191
  /**
187
192
  * Enforce consistent spacing and line break styles inside brackets.
188
193
  * @see https://eslint.style/rules/list-style
@@ -318,6 +323,7 @@ export interface Rules {
318
323
  /**
319
324
  * Enforce props alphabetical sorting
320
325
  * @see https://eslint.style/rules/jsx-sort-props
326
+ * @deprecated
321
327
  */
322
328
  '@stylistic/jsx-sort-props'?: Linter.RuleEntry<StylisticJsxSortProps>
323
329
  /**
@@ -1062,7 +1068,7 @@ export interface Rules {
1062
1068
  * Disallow default values that will never be used
1063
1069
  * @see https://typescript-eslint.io/rules/no-useless-default-assignment
1064
1070
  */
1065
- '@typescript-eslint/no-useless-default-assignment'?: Linter.RuleEntry<[]>
1071
+ '@typescript-eslint/no-useless-default-assignment'?: Linter.RuleEntry<TypescriptEslintNoUselessDefaultAssignment>
1066
1072
  /**
1067
1073
  * Disallow empty exports that don't change anything in a module file
1068
1074
  * @see https://typescript-eslint.io/rules/no-useless-empty-export
@@ -1236,6 +1242,11 @@ export interface Rules {
1236
1242
  * @see https://typescript-eslint.io/rules/strict-boolean-expressions
1237
1243
  */
1238
1244
  '@typescript-eslint/strict-boolean-expressions'?: Linter.RuleEntry<TypescriptEslintStrictBooleanExpressions>
1245
+ /**
1246
+ * Disallow passing a value-returning function in a position accepting a void function
1247
+ * @see https://typescript-eslint.io/rules/strict-void-return
1248
+ */
1249
+ '@typescript-eslint/strict-void-return'?: Linter.RuleEntry<TypescriptEslintStrictVoidReturn>
1239
1250
  /**
1240
1251
  * Require switch-case statements to be exhaustive
1241
1252
  * @see https://typescript-eslint.io/rules/switch-exhaustiveness-check
@@ -4179,6 +4190,11 @@ export interface Rules {
4179
4190
  * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/console.md
4180
4191
  */
4181
4192
  'node/prefer-global/console'?: Linter.RuleEntry<NodePreferGlobalConsole>
4193
+ /**
4194
+ * enforce either `crypto` or `require("crypto").webcrypto`
4195
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/crypto.md
4196
+ */
4197
+ 'node/prefer-global/crypto'?: Linter.RuleEntry<NodePreferGlobalCrypto>
4182
4198
  /**
4183
4199
  * enforce either `process` or `require("process")`
4184
4200
  * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/process.md
@@ -4194,6 +4210,11 @@ export interface Rules {
4194
4210
  * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/text-encoder.md
4195
4211
  */
4196
4212
  'node/prefer-global/text-encoder'?: Linter.RuleEntry<NodePreferGlobalTextEncoder>
4213
+ /**
4214
+ * enforce either global timer functions or `require("timers")`
4215
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/timers.md
4216
+ */
4217
+ 'node/prefer-global/timers'?: Linter.RuleEntry<NodePreferGlobalTimers>
4197
4218
  /**
4198
4219
  * enforce either `URL` or `require("url").URL`
4199
4220
  * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/url.md
@@ -4313,6 +4334,11 @@ export interface Rules {
4313
4334
  * @see https://perfectionist.dev/rules/sort-enums
4314
4335
  */
4315
4336
  'perfectionist/sort-enums'?: Linter.RuleEntry<PerfectionistSortEnums>
4337
+ /**
4338
+ * Enforce sorted export attributes.
4339
+ * @see https://perfectionist.dev/rules/sort-export-attributes
4340
+ */
4341
+ 'perfectionist/sort-export-attributes'?: Linter.RuleEntry<PerfectionistSortExportAttributes>
4316
4342
  /**
4317
4343
  * Enforce sorted exports.
4318
4344
  * @see https://perfectionist.dev/rules/sort-exports
@@ -4323,6 +4349,11 @@ export interface Rules {
4323
4349
  * @see https://perfectionist.dev/rules/sort-heritage-clauses
4324
4350
  */
4325
4351
  'perfectionist/sort-heritage-clauses'?: Linter.RuleEntry<PerfectionistSortHeritageClauses>
4352
+ /**
4353
+ * Enforce sorted import attributes.
4354
+ * @see https://perfectionist.dev/rules/sort-import-attributes
4355
+ */
4356
+ 'perfectionist/sort-import-attributes'?: Linter.RuleEntry<PerfectionistSortImportAttributes>
4326
4357
  /**
4327
4358
  * Enforce sorted imports.
4328
4359
  * @see https://perfectionist.dev/rules/sort-imports
@@ -4591,7 +4622,7 @@ export interface Rules {
4591
4622
  */
4592
4623
  'react-dom/no-unknown-property'?: Linter.RuleEntry<ReactDomNoUnknownProperty>
4593
4624
  /**
4594
- * Enforces 'sandbox' attribute for 'iframe' elements is not set to unsafe combinations.
4625
+ * Enforces that the 'sandbox' attribute for 'iframe' elements is not set to unsafe combinations.
4595
4626
  * @see https://eslint-react.xyz/docs/rules/dom-no-unsafe-iframe-sandbox
4596
4627
  */
4597
4628
  'react-dom/no-unsafe-iframe-sandbox'?: Linter.RuleEntry<[]>
@@ -4758,6 +4789,11 @@ export interface Rules {
4758
4789
  * @see https://eslint-react.xyz/docs/rules/naming-convention-filename-extension
4759
4790
  */
4760
4791
  'react-naming-convention/filename-extension'?: Linter.RuleEntry<ReactNamingConventionFilenameExtension>
4792
+ /**
4793
+ * Enforces identifier names assigned from 'useId' calls to be either 'id' or end with 'Id'.
4794
+ * @see https://eslint-react.xyz/docs/rules/naming-convention-id-name
4795
+ */
4796
+ 'react-naming-convention/id-name'?: Linter.RuleEntry<[]>
4761
4797
  /**
4762
4798
  * Enforces identifier names assigned from 'useRef' calls to be either 'ref' or end with 'Ref'.
4763
4799
  * @see https://eslint-react.xyz/docs/rules/naming-convention-ref-name
@@ -4790,12 +4826,12 @@ export interface Rules {
4790
4826
  */
4791
4827
  'react-web-api/no-leaked-timeout'?: Linter.RuleEntry<[]>
4792
4828
  /**
4793
- * Prevents unnecessary dollar signs ('$') from being inserted before an expression in JSX.
4829
+ * Prevents unintentional '$' sign before expression.
4794
4830
  * @see https://eslint-react.xyz/docs/rules/jsx-dollar
4795
4831
  */
4796
4832
  'react/jsx-dollar'?: Linter.RuleEntry<[]>
4797
4833
  /**
4798
- * Enforces that the 'key' prop is placed before the spread prop in JSX elements when using the new JSX transform.
4834
+ * Enforces 'key' prop placement before spread props.
4799
4835
  * @see https://eslint-react.xyz/docs/rules/jsx-key-before-spread
4800
4836
  */
4801
4837
  'react/jsx-key-before-spread'?: Linter.RuleEntry<[]>
@@ -4810,7 +4846,7 @@ export interface Rules {
4810
4846
  */
4811
4847
  'react/jsx-no-duplicate-props'?: Linter.RuleEntry<[]>
4812
4848
  /**
4813
- * Disallows 'IIFE' in JSX.
4849
+ * Disallows immediately-invoked function expressions in JSX.
4814
4850
  * @see https://eslint-react.xyz/docs/rules/jsx-no-iife
4815
4851
  */
4816
4852
  'react/jsx-no-iife'?: Linter.RuleEntry<[]>
@@ -4820,12 +4856,12 @@ export interface Rules {
4820
4856
  */
4821
4857
  'react/jsx-no-undef'?: Linter.RuleEntry<[]>
4822
4858
  /**
4823
- * Enforces the use of shorthand syntax for boolean attributes.
4859
+ * Enforces shorthand syntax for boolean props.
4824
4860
  * @see https://eslint-react.xyz/docs/rules/jsx-shorthand-boolean
4825
4861
  */
4826
4862
  'react/jsx-shorthand-boolean'?: Linter.RuleEntry<ReactJsxShorthandBoolean>
4827
4863
  /**
4828
- * Enforces the use of shorthand syntax for fragments.
4864
+ * Enforces shorthand syntax for fragment elements.
4829
4865
  * @see https://eslint-react.xyz/docs/rules/jsx-shorthand-fragment
4830
4866
  */
4831
4867
  'react/jsx-shorthand-fragment'?: Linter.RuleEntry<ReactJsxShorthandFragment>
@@ -4835,7 +4871,7 @@ export interface Rules {
4835
4871
  */
4836
4872
  'react/jsx-uses-react'?: Linter.RuleEntry<[]>
4837
4873
  /**
4838
- * Marks variables used in JSX elements as used.
4874
+ * Marks JSX element variables as used.
4839
4875
  * @see https://eslint-react.xyz/docs/rules/jsx-uses-vars
4840
4876
  */
4841
4877
  'react/jsx-uses-vars'?: Linter.RuleEntry<[]>
@@ -4925,7 +4961,7 @@ export interface Rules {
4925
4961
  */
4926
4962
  'react/no-direct-mutation-state'?: Linter.RuleEntry<[]>
4927
4963
  /**
4928
- * Disallows duplicate 'key' on elements in the same array or a list of 'children'.
4964
+ * Prevents duplicate 'key' props on sibling elements when rendering lists.
4929
4965
  * @see https://eslint-react.xyz/docs/rules/no-duplicate-key
4930
4966
  */
4931
4967
  'react/no-duplicate-key'?: Linter.RuleEntry<[]>
@@ -4941,7 +4977,7 @@ export interface Rules {
4941
4977
  */
4942
4978
  'react/no-forward-ref'?: Linter.RuleEntry<[]>
4943
4979
  /**
4944
- * Prevents 'key' from not being explicitly specified (e.g., spreading 'key' from objects).
4980
+ * Prevents implicitly passing the 'key' prop to components.
4945
4981
  * @see https://eslint-react.xyz/docs/rules/no-implicit-key
4946
4982
  */
4947
4983
  'react/no-implicit-key'?: Linter.RuleEntry<[]>
@@ -4951,12 +4987,12 @@ export interface Rules {
4951
4987
  */
4952
4988
  'react/no-leaked-conditional-rendering'?: Linter.RuleEntry<[]>
4953
4989
  /**
4954
- * Enforces that all components have a 'displayName' that can be used in devtools.
4990
+ * Enforces that all components have a 'displayName' that can be used in DevTools.
4955
4991
  * @see https://eslint-react.xyz/docs/rules/no-missing-component-display-name
4956
4992
  */
4957
4993
  'react/no-missing-component-display-name'?: Linter.RuleEntry<[]>
4958
4994
  /**
4959
- * Enforces that all contexts have a 'displayName' that can be used in devtools.
4995
+ * Enforces that all contexts have a 'displayName' that can be used in DevTools.
4960
4996
  * @see https://eslint-react.xyz/docs/rules/no-missing-context-display-name
4961
4997
  */
4962
4998
  'react/no-missing-context-display-name'?: Linter.RuleEntry<[]>
@@ -5011,7 +5047,7 @@ export interface Rules {
5011
5047
  */
5012
5048
  'react/no-string-refs'?: Linter.RuleEntry<[]>
5013
5049
  /**
5014
- * Prevents 'key' from being placed on non-top-level elements in list rendering.
5050
+ * Disallows unnecessary 'key' props on nested child elements when rendering lists.
5015
5051
  * @see https://eslint-react.xyz/docs/rules/no-unnecessary-key
5016
5052
  */
5017
5053
  'react/no-unnecessary-key'?: Linter.RuleEntry<[]>
@@ -5030,6 +5066,11 @@ export interface Rules {
5030
5066
  * @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-prefix
5031
5067
  */
5032
5068
  'react/no-unnecessary-use-prefix'?: Linter.RuleEntry<[]>
5069
+ /**
5070
+ * Disallows unnecessary usage of 'useRef'.
5071
+ * @see https://eslint-react.xyz/docs/rules/no-unnecessary-use-ref
5072
+ */
5073
+ 'react/no-unnecessary-use-ref'?: Linter.RuleEntry<[]>
5033
5074
  /**
5034
5075
  * Warns about the use of 'UNSAFE_componentWillMount' in class components.
5035
5076
  * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-mount
@@ -7259,15 +7300,25 @@ type StylisticCurlyNewline = []|[(("always" | "never") | {
7259
7300
  type StylisticDotLocation = []|[("object" | "property")]
7260
7301
  // ----- @stylistic/eol-last -----
7261
7302
  type StylisticEolLast = []|[("always" | "never" | "unix" | "windows")]
7303
+ // ----- @stylistic/exp-jsx-props-style -----
7304
+ type StylisticExpJsxPropsStyle = []|[{
7305
+ singleLine?: {
7306
+ maxItems?: number
7307
+ }
7308
+ multiLine?: {
7309
+ minItems?: number
7310
+ maxItemsPerLine?: number
7311
+ }
7312
+ }]
7262
7313
  // ----- @stylistic/exp-list-style -----
7263
7314
  type StylisticExpListStyle = []|[{
7264
7315
  singleLine?: _StylisticExpListStyle_SingleLineConfig
7265
7316
  multiLine?: _StylisticExpListStyle_MultiLineConfig
7266
7317
  overrides?: {
7318
+ "()"?: _StylisticExpListStyle_BaseConfig
7267
7319
  "[]"?: _StylisticExpListStyle_BaseConfig
7268
7320
  "{}"?: _StylisticExpListStyle_BaseConfig
7269
7321
  "<>"?: _StylisticExpListStyle_BaseConfig
7270
- "()"?: _StylisticExpListStyle_BaseConfig
7271
7322
  ArrayExpression?: _StylisticExpListStyle_BaseConfig
7272
7323
  ArrayPattern?: _StylisticExpListStyle_BaseConfig
7273
7324
  ArrowFunctionExpression?: _StylisticExpListStyle_BaseConfig
@@ -7275,21 +7326,22 @@ type StylisticExpListStyle = []|[{
7275
7326
  ExportNamedDeclaration?: _StylisticExpListStyle_BaseConfig
7276
7327
  FunctionDeclaration?: _StylisticExpListStyle_BaseConfig
7277
7328
  FunctionExpression?: _StylisticExpListStyle_BaseConfig
7278
- ImportDeclaration?: _StylisticExpListStyle_BaseConfig
7329
+ IfStatement?: _StylisticExpListStyle_BaseConfig
7279
7330
  ImportAttributes?: _StylisticExpListStyle_BaseConfig
7331
+ ImportDeclaration?: _StylisticExpListStyle_BaseConfig
7332
+ JSONArrayExpression?: _StylisticExpListStyle_BaseConfig
7333
+ JSONObjectExpression?: _StylisticExpListStyle_BaseConfig
7280
7334
  NewExpression?: _StylisticExpListStyle_BaseConfig
7281
7335
  ObjectExpression?: _StylisticExpListStyle_BaseConfig
7282
7336
  ObjectPattern?: _StylisticExpListStyle_BaseConfig
7283
7337
  TSDeclareFunction?: _StylisticExpListStyle_BaseConfig
7338
+ TSEnumBody?: _StylisticExpListStyle_BaseConfig
7284
7339
  TSFunctionType?: _StylisticExpListStyle_BaseConfig
7285
7340
  TSInterfaceBody?: _StylisticExpListStyle_BaseConfig
7286
- TSEnumBody?: _StylisticExpListStyle_BaseConfig
7287
7341
  TSTupleType?: _StylisticExpListStyle_BaseConfig
7288
7342
  TSTypeLiteral?: _StylisticExpListStyle_BaseConfig
7289
7343
  TSTypeParameterDeclaration?: _StylisticExpListStyle_BaseConfig
7290
7344
  TSTypeParameterInstantiation?: _StylisticExpListStyle_BaseConfig
7291
- JSONArrayExpression?: _StylisticExpListStyle_BaseConfig
7292
- JSONObjectExpression?: _StylisticExpListStyle_BaseConfig
7293
7345
  }
7294
7346
  }]
7295
7347
  interface _StylisticExpListStyle_SingleLineConfig {
@@ -8302,7 +8354,7 @@ type StylisticTypeAnnotationSpacing = []|[{
8302
8354
  after?: boolean
8303
8355
  overrides?: {
8304
8356
  colon?: _StylisticTypeAnnotationSpacing_SpacingConfig
8305
- arrow?: _StylisticTypeAnnotationSpacing_SpacingConfig
8357
+ arrow?: ("ignore" | _StylisticTypeAnnotationSpacing_SpacingConfig)
8306
8358
  variable?: _StylisticTypeAnnotationSpacing_SpacingConfig
8307
8359
  parameter?: _StylisticTypeAnnotationSpacing_SpacingConfig
8308
8360
  property?: _StylisticTypeAnnotationSpacing_SpacingConfig
@@ -9182,6 +9234,11 @@ type TypescriptEslintNoUnusedVars = []|[(("all" | "local") | {
9182
9234
 
9183
9235
  destructuredArrayIgnorePattern?: string
9184
9236
 
9237
+ enableAutofixRemoval?: {
9238
+
9239
+ imports?: boolean
9240
+ }
9241
+
9185
9242
  ignoreClassWithStaticInitBlock?: boolean
9186
9243
 
9187
9244
  ignoreRestSiblings?: boolean
@@ -9211,6 +9268,11 @@ type TypescriptEslintNoUseBeforeDefine = []|[("nofunc" | {
9211
9268
 
9212
9269
  variables?: boolean
9213
9270
  })]
9271
+ // ----- @typescript-eslint/no-useless-default-assignment -----
9272
+ type TypescriptEslintNoUselessDefaultAssignment = []|[{
9273
+
9274
+ allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
9275
+ }]
9214
9276
  // ----- @typescript-eslint/no-var-requires -----
9215
9277
  type TypescriptEslintNoVarRequires = []|[{
9216
9278
 
@@ -9466,6 +9528,11 @@ type TypescriptEslintStrictBooleanExpressions = []|[{
9466
9528
 
9467
9529
  allowString?: boolean
9468
9530
  }]
9531
+ // ----- @typescript-eslint/strict-void-return -----
9532
+ type TypescriptEslintStrictVoidReturn = []|[{
9533
+
9534
+ allowReturnAny?: boolean
9535
+ }]
9469
9536
  // ----- @typescript-eslint/switch-exhaustiveness-check -----
9470
9537
  type TypescriptEslintSwitchExhaustivenessCheck = []|[{
9471
9538
 
@@ -12866,12 +12933,16 @@ type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
12866
12933
  type NodePreferGlobalBuffer = []|[("always" | "never")]
12867
12934
  // ----- node/prefer-global/console -----
12868
12935
  type NodePreferGlobalConsole = []|[("always" | "never")]
12936
+ // ----- node/prefer-global/crypto -----
12937
+ type NodePreferGlobalCrypto = []|[("always" | "never")]
12869
12938
  // ----- node/prefer-global/process -----
12870
12939
  type NodePreferGlobalProcess = []|[("always" | "never")]
12871
12940
  // ----- node/prefer-global/text-decoder -----
12872
12941
  type NodePreferGlobalTextDecoder = []|[("always" | "never")]
12873
12942
  // ----- node/prefer-global/text-encoder -----
12874
12943
  type NodePreferGlobalTextEncoder = []|[("always" | "never")]
12944
+ // ----- node/prefer-global/timers -----
12945
+ type NodePreferGlobalTimers = []|[("always" | "never")]
12875
12946
  // ----- node/prefer-global/url -----
12876
12947
  type NodePreferGlobalUrl = []|[("always" | "never")]
12877
12948
  // ----- node/prefer-global/url-search-params -----
@@ -13007,11 +13078,13 @@ type PerfectionistSortArrayIncludes = {
13007
13078
 
13008
13079
  fallbackSort?: {
13009
13080
 
13010
- order?: ("asc" | "desc")
13081
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13011
13082
 
13012
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13083
+ order?: ("asc" | "desc")
13013
13084
  }
13014
13085
 
13086
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13087
+
13015
13088
  specialCharacters?: ("remove" | "trim" | "keep")
13016
13089
 
13017
13090
  ignoreCase?: boolean
@@ -13022,28 +13095,38 @@ type PerfectionistSortArrayIncludes = {
13022
13095
 
13023
13096
  order?: ("asc" | "desc")
13024
13097
 
13025
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13026
-
13027
- groupKind?: ("mixed" | "literals-first" | "spreads-first")
13028
-
13029
13098
  customGroups?: ({
13030
- newlinesInside?: (("always" | "never") | number)
13031
13099
 
13032
13100
  fallbackSort?: {
13033
13101
 
13034
- order?: ("asc" | "desc")
13102
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13035
13103
 
13036
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13104
+ order?: ("asc" | "desc")
13037
13105
  }
13038
13106
 
13107
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13108
+
13039
13109
  groupName: string
13110
+ newlinesInside?: ("ignore" | number)
13040
13111
 
13041
13112
  order?: ("asc" | "desc")
13042
13113
 
13043
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13044
- anyOf?: {
13114
+ anyOf: [{
13045
13115
 
13046
- selector?: ("literal" | "spread")
13116
+ elementNamePattern?: (({
13117
+
13118
+ pattern: string
13119
+
13120
+ flags?: string
13121
+ } | string)[] | ({
13122
+
13123
+ pattern: string
13124
+
13125
+ flags?: string
13126
+ } | string))
13127
+
13128
+ selector?: "literal"
13129
+ }, ...({
13047
13130
 
13048
13131
  elementNamePattern?: (({
13049
13132
 
@@ -13056,25 +13139,25 @@ type PerfectionistSortArrayIncludes = {
13056
13139
 
13057
13140
  flags?: string
13058
13141
  } | string))
13059
- }[]
13142
+
13143
+ selector?: "literal"
13144
+ })[]]
13060
13145
  } | {
13061
- newlinesInside?: (("always" | "never") | number)
13062
13146
 
13063
13147
  fallbackSort?: {
13064
13148
 
13065
- order?: ("asc" | "desc")
13149
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13066
13150
 
13067
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13151
+ order?: ("asc" | "desc")
13068
13152
  }
13069
13153
 
13154
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13155
+
13070
13156
  groupName: string
13157
+ newlinesInside?: ("ignore" | number)
13071
13158
 
13072
13159
  order?: ("asc" | "desc")
13073
13160
 
13074
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13075
-
13076
- selector?: ("literal" | "spread")
13077
-
13078
13161
  elementNamePattern?: (({
13079
13162
 
13080
13163
  pattern: string
@@ -13086,7 +13169,31 @@ type PerfectionistSortArrayIncludes = {
13086
13169
 
13087
13170
  flags?: string
13088
13171
  } | string))
13172
+
13173
+ selector?: "literal"
13174
+ })[]
13175
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
13176
+
13177
+ groups?: (string | [string, ...(string)[]] | {
13178
+ newlinesBetween: ("ignore" | number)
13179
+ } | {
13180
+ group: (string | [string, ...(string)[]])
13181
+
13182
+ fallbackSort?: {
13183
+
13184
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13185
+
13186
+ order?: ("asc" | "desc")
13187
+ }
13188
+
13189
+ commentAbove?: string
13190
+
13191
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13192
+ newlinesInside?: ("ignore" | number)
13193
+
13194
+ order?: ("asc" | "desc")
13089
13195
  })[]
13196
+ newlinesBetween?: ("ignore" | number)
13090
13197
 
13091
13198
  useConfigurationIf?: {
13092
13199
 
@@ -13141,24 +13248,19 @@ type PerfectionistSortArrayIncludes = {
13141
13248
  })
13142
13249
 
13143
13250
  partitionByNewLine?: boolean
13144
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13145
-
13146
- groups?: (string | string[] | {
13147
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13148
-
13149
- commentAbove?: string
13150
- })[]
13151
13251
  }[]
13152
13252
  // ----- perfectionist/sort-classes -----
13153
13253
  type PerfectionistSortClasses = []|[{
13154
13254
 
13155
13255
  fallbackSort?: {
13156
13256
 
13157
- order?: ("asc" | "desc")
13257
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13158
13258
 
13159
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13259
+ order?: ("asc" | "desc")
13160
13260
  }
13161
13261
 
13262
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13263
+
13162
13264
  specialCharacters?: ("remove" | "trim" | "keep")
13163
13265
 
13164
13266
  ignoreCase?: boolean
@@ -13169,24 +13271,35 @@ type PerfectionistSortClasses = []|[{
13169
13271
 
13170
13272
  order?: ("asc" | "desc")
13171
13273
 
13172
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13173
-
13174
13274
  customGroups?: ({
13175
- newlinesInside?: (("always" | "never") | number)
13176
13275
 
13177
13276
  fallbackSort?: {
13178
13277
 
13179
- order?: ("asc" | "desc")
13278
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13180
13279
 
13181
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13280
+ order?: ("asc" | "desc")
13182
13281
  }
13183
13282
 
13283
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13284
+
13184
13285
  groupName: string
13286
+ newlinesInside?: ("ignore" | number)
13185
13287
 
13186
13288
  order?: ("asc" | "desc")
13187
13289
 
13188
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13189
- anyOf?: {
13290
+ anyOf: [{
13291
+
13292
+ elementNamePattern?: (({
13293
+
13294
+ pattern: string
13295
+
13296
+ flags?: string
13297
+ } | string)[] | ({
13298
+
13299
+ pattern: string
13300
+
13301
+ flags?: string
13302
+ } | string))
13190
13303
 
13191
13304
  modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
13192
13305
 
@@ -13215,6 +13328,7 @@ type PerfectionistSortClasses = []|[{
13215
13328
 
13216
13329
  flags?: string
13217
13330
  } | string))
13331
+ }, ...({
13218
13332
 
13219
13333
  elementNamePattern?: (({
13220
13334
 
@@ -13227,28 +13341,52 @@ type PerfectionistSortClasses = []|[{
13227
13341
 
13228
13342
  flags?: string
13229
13343
  } | string))
13230
- }[]
13344
+
13345
+ modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
13346
+
13347
+ selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
13348
+
13349
+ decoratorNamePattern?: (({
13350
+
13351
+ pattern: string
13352
+
13353
+ flags?: string
13354
+ } | string)[] | ({
13355
+
13356
+ pattern: string
13357
+
13358
+ flags?: string
13359
+ } | string))
13360
+
13361
+ elementValuePattern?: (({
13362
+
13363
+ pattern: string
13364
+
13365
+ flags?: string
13366
+ } | string)[] | ({
13367
+
13368
+ pattern: string
13369
+
13370
+ flags?: string
13371
+ } | string))
13372
+ })[]]
13231
13373
  } | {
13232
- newlinesInside?: (("always" | "never") | number)
13233
13374
 
13234
13375
  fallbackSort?: {
13235
13376
 
13236
- order?: ("asc" | "desc")
13377
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13237
13378
 
13238
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13379
+ order?: ("asc" | "desc")
13239
13380
  }
13240
13381
 
13382
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13383
+
13241
13384
  groupName: string
13385
+ newlinesInside?: ("ignore" | number)
13242
13386
 
13243
13387
  order?: ("asc" | "desc")
13244
13388
 
13245
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13246
-
13247
- modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
13248
-
13249
- selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
13250
-
13251
- decoratorNamePattern?: (({
13389
+ elementNamePattern?: (({
13252
13390
 
13253
13391
  pattern: string
13254
13392
 
@@ -13260,7 +13398,11 @@ type PerfectionistSortClasses = []|[{
13260
13398
  flags?: string
13261
13399
  } | string))
13262
13400
 
13263
- elementValuePattern?: (({
13401
+ modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
13402
+
13403
+ selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
13404
+
13405
+ decoratorNamePattern?: (({
13264
13406
 
13265
13407
  pattern: string
13266
13408
 
@@ -13272,7 +13414,7 @@ type PerfectionistSortClasses = []|[{
13272
13414
  flags?: string
13273
13415
  } | string))
13274
13416
 
13275
- elementNamePattern?: (({
13417
+ elementValuePattern?: (({
13276
13418
 
13277
13419
  pattern: string
13278
13420
 
@@ -13284,20 +13426,32 @@ type PerfectionistSortClasses = []|[{
13284
13426
  flags?: string
13285
13427
  } | string))
13286
13428
  })[]
13429
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
13287
13430
 
13288
- ignoreCallbackDependenciesPatterns?: (({
13431
+ groups?: (string | [string, ...(string)[]] | {
13432
+ newlinesBetween: ("ignore" | number)
13433
+ } | {
13434
+ group: (string | [string, ...(string)[]])
13289
13435
 
13290
- pattern: string
13436
+ fallbackSort?: {
13437
+
13438
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13439
+
13440
+ order?: ("asc" | "desc")
13441
+ }
13291
13442
 
13292
- flags?: string
13293
- } | string)[] | ({
13443
+ commentAbove?: string
13294
13444
 
13295
- pattern: string
13445
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13446
+ newlinesInside?: ("ignore" | number)
13296
13447
 
13297
- flags?: string
13298
- } | string))
13448
+ order?: ("asc" | "desc")
13449
+ })[]
13450
+ newlinesBetween?: ("ignore" | number)
13299
13451
 
13300
- partitionByComment?: (boolean | (({
13452
+ useExperimentalDependencyDetection?: boolean
13453
+
13454
+ ignoreCallbackDependenciesPatterns?: (({
13301
13455
 
13302
13456
  pattern: string
13303
13457
 
@@ -13307,73 +13461,7 @@ type PerfectionistSortClasses = []|[{
13307
13461
  pattern: string
13308
13462
 
13309
13463
  flags?: string
13310
- } | string)) | {
13311
-
13312
- block?: (boolean | (({
13313
-
13314
- pattern: string
13315
-
13316
- flags?: string
13317
- } | string)[] | ({
13318
-
13319
- pattern: string
13320
-
13321
- flags?: string
13322
- } | string)))
13323
-
13324
- line?: (boolean | (({
13325
-
13326
- pattern: string
13327
-
13328
- flags?: string
13329
- } | string)[] | ({
13330
-
13331
- pattern: string
13332
-
13333
- flags?: string
13334
- } | string)))
13335
- })
13336
-
13337
- partitionByNewLine?: boolean
13338
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13339
-
13340
- groups?: (string | string[] | {
13341
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13342
-
13343
- commentAbove?: string
13344
- })[]
13345
- }]
13346
- // ----- perfectionist/sort-decorators -----
13347
- type PerfectionistSortDecorators = []|[{
13348
-
13349
- fallbackSort?: {
13350
-
13351
- order?: ("asc" | "desc")
13352
-
13353
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13354
- }
13355
-
13356
- specialCharacters?: ("remove" | "trim" | "keep")
13357
-
13358
- ignoreCase?: boolean
13359
-
13360
- alphabet?: string
13361
-
13362
- locales?: (string | string[])
13363
-
13364
- order?: ("asc" | "desc")
13365
-
13366
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13367
-
13368
- sortOnParameters?: boolean
13369
-
13370
- sortOnProperties?: boolean
13371
-
13372
- sortOnAccessors?: boolean
13373
-
13374
- sortOnMethods?: boolean
13375
-
13376
- sortOnClasses?: boolean
13464
+ } | string))
13377
13465
 
13378
13466
  partitionByComment?: (boolean | (({
13379
13467
 
@@ -13412,26 +13500,20 @@ type PerfectionistSortDecorators = []|[{
13412
13500
  } | string)))
13413
13501
  })
13414
13502
 
13415
- customGroups?: {
13416
- [k: string]: (string | string[]) | undefined
13417
- }
13418
-
13419
- groups?: (string | string[] | {
13420
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13421
-
13422
- commentAbove?: string
13423
- })[]
13503
+ partitionByNewLine?: boolean
13424
13504
  }]
13425
- // ----- perfectionist/sort-enums -----
13426
- type PerfectionistSortEnums = []|[{
13505
+ // ----- perfectionist/sort-decorators -----
13506
+ type PerfectionistSortDecorators = {
13427
13507
 
13428
13508
  fallbackSort?: {
13429
13509
 
13430
- order?: ("asc" | "desc")
13510
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13431
13511
 
13432
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13512
+ order?: ("asc" | "desc")
13433
13513
  }
13434
13514
 
13515
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13516
+
13435
13517
  specialCharacters?: ("remove" | "trim" | "keep")
13436
13518
 
13437
13519
  ignoreCase?: boolean
@@ -13442,27 +13524,25 @@ type PerfectionistSortEnums = []|[{
13442
13524
 
13443
13525
  order?: ("asc" | "desc")
13444
13526
 
13445
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13446
13527
  customGroups?: ({
13447
- [k: string]: (string | string[]) | undefined
13448
- } | ({
13449
- newlinesInside?: (("always" | "never") | number)
13450
13528
 
13451
13529
  fallbackSort?: {
13452
13530
 
13453
- order?: ("asc" | "desc")
13531
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13454
13532
 
13455
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13533
+ order?: ("asc" | "desc")
13456
13534
  }
13457
13535
 
13536
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13537
+
13458
13538
  groupName: string
13539
+ newlinesInside?: ("ignore" | number)
13459
13540
 
13460
13541
  order?: ("asc" | "desc")
13461
13542
 
13462
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13463
- anyOf?: {
13543
+ anyOf: [{
13464
13544
 
13465
- elementValuePattern?: (({
13545
+ elementNamePattern?: (({
13466
13546
 
13467
13547
  pattern: string
13468
13548
 
@@ -13473,6 +13553,7 @@ type PerfectionistSortEnums = []|[{
13473
13553
 
13474
13554
  flags?: string
13475
13555
  } | string))
13556
+ }, ...({
13476
13557
 
13477
13558
  elementNamePattern?: (({
13478
13559
 
@@ -13485,24 +13566,24 @@ type PerfectionistSortEnums = []|[{
13485
13566
 
13486
13567
  flags?: string
13487
13568
  } | string))
13488
- }[]
13569
+ })[]]
13489
13570
  } | {
13490
- newlinesInside?: (("always" | "never") | number)
13491
13571
 
13492
13572
  fallbackSort?: {
13493
13573
 
13494
- order?: ("asc" | "desc")
13574
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13495
13575
 
13496
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13576
+ order?: ("asc" | "desc")
13497
13577
  }
13498
13578
 
13579
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13580
+
13499
13581
  groupName: string
13582
+ newlinesInside?: ("ignore" | number)
13500
13583
 
13501
13584
  order?: ("asc" | "desc")
13502
13585
 
13503
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13504
-
13505
- elementValuePattern?: (({
13586
+ elementNamePattern?: (({
13506
13587
 
13507
13588
  pattern: string
13508
13589
 
@@ -13513,8 +13594,678 @@ type PerfectionistSortEnums = []|[{
13513
13594
 
13514
13595
  flags?: string
13515
13596
  } | string))
13516
-
13517
- elementNamePattern?: (({
13597
+ })[]
13598
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
13599
+
13600
+ groups?: (string | [string, ...(string)[]] | {
13601
+ newlinesBetween: ("ignore" | number)
13602
+ } | {
13603
+ group: (string | [string, ...(string)[]])
13604
+
13605
+ fallbackSort?: {
13606
+
13607
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13608
+
13609
+ order?: ("asc" | "desc")
13610
+ }
13611
+
13612
+ commentAbove?: string
13613
+
13614
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13615
+ newlinesInside?: ("ignore" | number)
13616
+
13617
+ order?: ("asc" | "desc")
13618
+ })[]
13619
+ newlinesBetween?: ("ignore" | number)
13620
+
13621
+ sortOnParameters?: boolean
13622
+
13623
+ sortOnProperties?: boolean
13624
+
13625
+ sortOnAccessors?: boolean
13626
+
13627
+ sortOnMethods?: boolean
13628
+
13629
+ sortOnClasses?: boolean
13630
+
13631
+ partitionByComment?: (boolean | (({
13632
+
13633
+ pattern: string
13634
+
13635
+ flags?: string
13636
+ } | string)[] | ({
13637
+
13638
+ pattern: string
13639
+
13640
+ flags?: string
13641
+ } | string)) | {
13642
+
13643
+ block?: (boolean | (({
13644
+
13645
+ pattern: string
13646
+
13647
+ flags?: string
13648
+ } | string)[] | ({
13649
+
13650
+ pattern: string
13651
+
13652
+ flags?: string
13653
+ } | string)))
13654
+
13655
+ line?: (boolean | (({
13656
+
13657
+ pattern: string
13658
+
13659
+ flags?: string
13660
+ } | string)[] | ({
13661
+
13662
+ pattern: string
13663
+
13664
+ flags?: string
13665
+ } | string)))
13666
+ })
13667
+
13668
+ partitionByNewLine?: boolean
13669
+ }[]
13670
+ // ----- perfectionist/sort-enums -----
13671
+ type PerfectionistSortEnums = []|[{
13672
+
13673
+ fallbackSort?: {
13674
+
13675
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13676
+
13677
+ order?: ("asc" | "desc")
13678
+ }
13679
+
13680
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13681
+
13682
+ specialCharacters?: ("remove" | "trim" | "keep")
13683
+
13684
+ ignoreCase?: boolean
13685
+
13686
+ alphabet?: string
13687
+
13688
+ locales?: (string | string[])
13689
+
13690
+ order?: ("asc" | "desc")
13691
+
13692
+ customGroups?: ({
13693
+
13694
+ fallbackSort?: {
13695
+
13696
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13697
+
13698
+ order?: ("asc" | "desc")
13699
+ }
13700
+
13701
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13702
+
13703
+ groupName: string
13704
+ newlinesInside?: ("ignore" | number)
13705
+
13706
+ order?: ("asc" | "desc")
13707
+
13708
+ anyOf: [{
13709
+
13710
+ elementNamePattern?: (({
13711
+
13712
+ pattern: string
13713
+
13714
+ flags?: string
13715
+ } | string)[] | ({
13716
+
13717
+ pattern: string
13718
+
13719
+ flags?: string
13720
+ } | string))
13721
+
13722
+ elementValuePattern?: (({
13723
+
13724
+ pattern: string
13725
+
13726
+ flags?: string
13727
+ } | string)[] | ({
13728
+
13729
+ pattern: string
13730
+
13731
+ flags?: string
13732
+ } | string))
13733
+ }, ...({
13734
+
13735
+ elementNamePattern?: (({
13736
+
13737
+ pattern: string
13738
+
13739
+ flags?: string
13740
+ } | string)[] | ({
13741
+
13742
+ pattern: string
13743
+
13744
+ flags?: string
13745
+ } | string))
13746
+
13747
+ elementValuePattern?: (({
13748
+
13749
+ pattern: string
13750
+
13751
+ flags?: string
13752
+ } | string)[] | ({
13753
+
13754
+ pattern: string
13755
+
13756
+ flags?: string
13757
+ } | string))
13758
+ })[]]
13759
+ } | {
13760
+
13761
+ fallbackSort?: {
13762
+
13763
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13764
+
13765
+ order?: ("asc" | "desc")
13766
+ }
13767
+
13768
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13769
+
13770
+ groupName: string
13771
+ newlinesInside?: ("ignore" | number)
13772
+
13773
+ order?: ("asc" | "desc")
13774
+
13775
+ elementNamePattern?: (({
13776
+
13777
+ pattern: string
13778
+
13779
+ flags?: string
13780
+ } | string)[] | ({
13781
+
13782
+ pattern: string
13783
+
13784
+ flags?: string
13785
+ } | string))
13786
+
13787
+ elementValuePattern?: (({
13788
+
13789
+ pattern: string
13790
+
13791
+ flags?: string
13792
+ } | string)[] | ({
13793
+
13794
+ pattern: string
13795
+
13796
+ flags?: string
13797
+ } | string))
13798
+ })[]
13799
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
13800
+
13801
+ groups?: (string | [string, ...(string)[]] | {
13802
+ newlinesBetween: ("ignore" | number)
13803
+ } | {
13804
+ group: (string | [string, ...(string)[]])
13805
+
13806
+ fallbackSort?: {
13807
+
13808
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13809
+
13810
+ order?: ("asc" | "desc")
13811
+ }
13812
+
13813
+ commentAbove?: string
13814
+
13815
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13816
+ newlinesInside?: ("ignore" | number)
13817
+
13818
+ order?: ("asc" | "desc")
13819
+ })[]
13820
+ newlinesBetween?: ("ignore" | number)
13821
+
13822
+ sortByValue?: ("always" | "ifNumericEnum" | "never")
13823
+
13824
+ useExperimentalDependencyDetection?: boolean
13825
+
13826
+ partitionByComment?: (boolean | (({
13827
+
13828
+ pattern: string
13829
+
13830
+ flags?: string
13831
+ } | string)[] | ({
13832
+
13833
+ pattern: string
13834
+
13835
+ flags?: string
13836
+ } | string)) | {
13837
+
13838
+ block?: (boolean | (({
13839
+
13840
+ pattern: string
13841
+
13842
+ flags?: string
13843
+ } | string)[] | ({
13844
+
13845
+ pattern: string
13846
+
13847
+ flags?: string
13848
+ } | string)))
13849
+
13850
+ line?: (boolean | (({
13851
+
13852
+ pattern: string
13853
+
13854
+ flags?: string
13855
+ } | string)[] | ({
13856
+
13857
+ pattern: string
13858
+
13859
+ flags?: string
13860
+ } | string)))
13861
+ })
13862
+
13863
+ partitionByNewLine?: boolean
13864
+ }]
13865
+ // ----- perfectionist/sort-export-attributes -----
13866
+ type PerfectionistSortExportAttributes = {
13867
+
13868
+ fallbackSort?: {
13869
+
13870
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13871
+
13872
+ order?: ("asc" | "desc")
13873
+ }
13874
+
13875
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13876
+
13877
+ specialCharacters?: ("remove" | "trim" | "keep")
13878
+
13879
+ ignoreCase?: boolean
13880
+
13881
+ alphabet?: string
13882
+
13883
+ locales?: (string | string[])
13884
+
13885
+ order?: ("asc" | "desc")
13886
+
13887
+ customGroups?: ({
13888
+
13889
+ fallbackSort?: {
13890
+
13891
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13892
+
13893
+ order?: ("asc" | "desc")
13894
+ }
13895
+
13896
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13897
+
13898
+ groupName: string
13899
+ newlinesInside?: ("ignore" | number)
13900
+
13901
+ order?: ("asc" | "desc")
13902
+
13903
+ anyOf: [{
13904
+
13905
+ elementNamePattern?: (({
13906
+
13907
+ pattern: string
13908
+
13909
+ flags?: string
13910
+ } | string)[] | ({
13911
+
13912
+ pattern: string
13913
+
13914
+ flags?: string
13915
+ } | string))
13916
+ }, ...({
13917
+
13918
+ elementNamePattern?: (({
13919
+
13920
+ pattern: string
13921
+
13922
+ flags?: string
13923
+ } | string)[] | ({
13924
+
13925
+ pattern: string
13926
+
13927
+ flags?: string
13928
+ } | string))
13929
+ })[]]
13930
+ } | {
13931
+
13932
+ fallbackSort?: {
13933
+
13934
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13935
+
13936
+ order?: ("asc" | "desc")
13937
+ }
13938
+
13939
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13940
+
13941
+ groupName: string
13942
+ newlinesInside?: ("ignore" | number)
13943
+
13944
+ order?: ("asc" | "desc")
13945
+
13946
+ elementNamePattern?: (({
13947
+
13948
+ pattern: string
13949
+
13950
+ flags?: string
13951
+ } | string)[] | ({
13952
+
13953
+ pattern: string
13954
+
13955
+ flags?: string
13956
+ } | string))
13957
+ })[]
13958
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
13959
+
13960
+ groups?: (string | [string, ...(string)[]] | {
13961
+ newlinesBetween: ("ignore" | number)
13962
+ } | {
13963
+ group: (string | [string, ...(string)[]])
13964
+
13965
+ fallbackSort?: {
13966
+
13967
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13968
+
13969
+ order?: ("asc" | "desc")
13970
+ }
13971
+
13972
+ commentAbove?: string
13973
+
13974
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13975
+ newlinesInside?: ("ignore" | number)
13976
+
13977
+ order?: ("asc" | "desc")
13978
+ })[]
13979
+ newlinesBetween?: ("ignore" | number)
13980
+
13981
+ partitionByComment?: (boolean | (({
13982
+
13983
+ pattern: string
13984
+
13985
+ flags?: string
13986
+ } | string)[] | ({
13987
+
13988
+ pattern: string
13989
+
13990
+ flags?: string
13991
+ } | string)) | {
13992
+
13993
+ block?: (boolean | (({
13994
+
13995
+ pattern: string
13996
+
13997
+ flags?: string
13998
+ } | string)[] | ({
13999
+
14000
+ pattern: string
14001
+
14002
+ flags?: string
14003
+ } | string)))
14004
+
14005
+ line?: (boolean | (({
14006
+
14007
+ pattern: string
14008
+
14009
+ flags?: string
14010
+ } | string)[] | ({
14011
+
14012
+ pattern: string
14013
+
14014
+ flags?: string
14015
+ } | string)))
14016
+ })
14017
+
14018
+ partitionByNewLine?: boolean
14019
+ }[]
14020
+ // ----- perfectionist/sort-exports -----
14021
+ type PerfectionistSortExports = {
14022
+
14023
+ fallbackSort?: {
14024
+
14025
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14026
+
14027
+ order?: ("asc" | "desc")
14028
+ }
14029
+
14030
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14031
+
14032
+ specialCharacters?: ("remove" | "trim" | "keep")
14033
+
14034
+ ignoreCase?: boolean
14035
+
14036
+ alphabet?: string
14037
+
14038
+ locales?: (string | string[])
14039
+
14040
+ order?: ("asc" | "desc")
14041
+
14042
+ customGroups?: ({
14043
+
14044
+ fallbackSort?: {
14045
+
14046
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14047
+
14048
+ order?: ("asc" | "desc")
14049
+ }
14050
+
14051
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14052
+
14053
+ groupName: string
14054
+ newlinesInside?: ("ignore" | number)
14055
+
14056
+ order?: ("asc" | "desc")
14057
+
14058
+ anyOf: [{
14059
+
14060
+ elementNamePattern?: (({
14061
+
14062
+ pattern: string
14063
+
14064
+ flags?: string
14065
+ } | string)[] | ({
14066
+
14067
+ pattern: string
14068
+
14069
+ flags?: string
14070
+ } | string))
14071
+
14072
+ modifiers?: ("value" | "type" | "named" | "wildcard" | "multiline" | "singleline")[]
14073
+
14074
+ selector?: "export"
14075
+ }, ...({
14076
+
14077
+ elementNamePattern?: (({
14078
+
14079
+ pattern: string
14080
+
14081
+ flags?: string
14082
+ } | string)[] | ({
14083
+
14084
+ pattern: string
14085
+
14086
+ flags?: string
14087
+ } | string))
14088
+
14089
+ modifiers?: ("value" | "type" | "named" | "wildcard" | "multiline" | "singleline")[]
14090
+
14091
+ selector?: "export"
14092
+ })[]]
14093
+ } | {
14094
+
14095
+ fallbackSort?: {
14096
+
14097
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14098
+
14099
+ order?: ("asc" | "desc")
14100
+ }
14101
+
14102
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14103
+
14104
+ groupName: string
14105
+ newlinesInside?: ("ignore" | number)
14106
+
14107
+ order?: ("asc" | "desc")
14108
+
14109
+ elementNamePattern?: (({
14110
+
14111
+ pattern: string
14112
+
14113
+ flags?: string
14114
+ } | string)[] | ({
14115
+
14116
+ pattern: string
14117
+
14118
+ flags?: string
14119
+ } | string))
14120
+
14121
+ modifiers?: ("value" | "type" | "named" | "wildcard" | "multiline" | "singleline")[]
14122
+
14123
+ selector?: "export"
14124
+ })[]
14125
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
14126
+
14127
+ groups?: (string | [string, ...(string)[]] | {
14128
+ newlinesBetween: ("ignore" | number)
14129
+ } | {
14130
+ group: (string | [string, ...(string)[]])
14131
+
14132
+ fallbackSort?: {
14133
+
14134
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14135
+
14136
+ order?: ("asc" | "desc")
14137
+ }
14138
+
14139
+ commentAbove?: string
14140
+
14141
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14142
+ newlinesInside?: ("ignore" | number)
14143
+
14144
+ order?: ("asc" | "desc")
14145
+ })[]
14146
+ newlinesBetween?: ("ignore" | number)
14147
+
14148
+ partitionByComment?: (boolean | (({
14149
+
14150
+ pattern: string
14151
+
14152
+ flags?: string
14153
+ } | string)[] | ({
14154
+
14155
+ pattern: string
14156
+
14157
+ flags?: string
14158
+ } | string)) | {
14159
+
14160
+ block?: (boolean | (({
14161
+
14162
+ pattern: string
14163
+
14164
+ flags?: string
14165
+ } | string)[] | ({
14166
+
14167
+ pattern: string
14168
+
14169
+ flags?: string
14170
+ } | string)))
14171
+
14172
+ line?: (boolean | (({
14173
+
14174
+ pattern: string
14175
+
14176
+ flags?: string
14177
+ } | string)[] | ({
14178
+
14179
+ pattern: string
14180
+
14181
+ flags?: string
14182
+ } | string)))
14183
+ })
14184
+
14185
+ partitionByNewLine?: boolean
14186
+ }[]
14187
+ // ----- perfectionist/sort-heritage-clauses -----
14188
+ type PerfectionistSortHeritageClauses = {
14189
+
14190
+ fallbackSort?: {
14191
+
14192
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14193
+
14194
+ order?: ("asc" | "desc")
14195
+ }
14196
+
14197
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14198
+
14199
+ specialCharacters?: ("remove" | "trim" | "keep")
14200
+
14201
+ ignoreCase?: boolean
14202
+
14203
+ alphabet?: string
14204
+
14205
+ locales?: (string | string[])
14206
+
14207
+ order?: ("asc" | "desc")
14208
+
14209
+ customGroups?: ({
14210
+
14211
+ fallbackSort?: {
14212
+
14213
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14214
+
14215
+ order?: ("asc" | "desc")
14216
+ }
14217
+
14218
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14219
+
14220
+ groupName: string
14221
+ newlinesInside?: ("ignore" | number)
14222
+
14223
+ order?: ("asc" | "desc")
14224
+
14225
+ anyOf: [{
14226
+
14227
+ elementNamePattern?: (({
14228
+
14229
+ pattern: string
14230
+
14231
+ flags?: string
14232
+ } | string)[] | ({
14233
+
14234
+ pattern: string
14235
+
14236
+ flags?: string
14237
+ } | string))
14238
+ }, ...({
14239
+
14240
+ elementNamePattern?: (({
14241
+
14242
+ pattern: string
14243
+
14244
+ flags?: string
14245
+ } | string)[] | ({
14246
+
14247
+ pattern: string
14248
+
14249
+ flags?: string
14250
+ } | string))
14251
+ })[]]
14252
+ } | {
14253
+
14254
+ fallbackSort?: {
14255
+
14256
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14257
+
14258
+ order?: ("asc" | "desc")
14259
+ }
14260
+
14261
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14262
+
14263
+ groupName: string
14264
+ newlinesInside?: ("ignore" | number)
14265
+
14266
+ order?: ("asc" | "desc")
14267
+
14268
+ elementNamePattern?: (({
13518
14269
 
13519
14270
  pattern: string
13520
14271
 
@@ -13525,11 +14276,31 @@ type PerfectionistSortEnums = []|[{
13525
14276
 
13526
14277
  flags?: string
13527
14278
  } | string))
13528
- })[])
14279
+ })[]
14280
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
13529
14281
 
13530
- forceNumericSort?: boolean
14282
+ groups?: (string | [string, ...(string)[]] | {
14283
+ newlinesBetween: ("ignore" | number)
14284
+ } | {
14285
+ group: (string | [string, ...(string)[]])
14286
+
14287
+ fallbackSort?: {
14288
+
14289
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14290
+
14291
+ order?: ("asc" | "desc")
14292
+ }
14293
+
14294
+ commentAbove?: string
14295
+
14296
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14297
+ newlinesInside?: ("ignore" | number)
14298
+
14299
+ order?: ("asc" | "desc")
14300
+ })[]
14301
+ newlinesBetween?: ("ignore" | number)
13531
14302
 
13532
- sortByValue?: boolean
14303
+ partitionByNewLine?: boolean
13533
14304
 
13534
14305
  partitionByComment?: (boolean | (({
13535
14306
 
@@ -13567,26 +14338,19 @@ type PerfectionistSortEnums = []|[{
13567
14338
  flags?: string
13568
14339
  } | string)))
13569
14340
  })
13570
-
13571
- partitionByNewLine?: boolean
13572
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13573
-
13574
- groups?: (string | string[] | {
13575
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13576
-
13577
- commentAbove?: string
13578
- })[]
13579
- }]
13580
- // ----- perfectionist/sort-exports -----
13581
- type PerfectionistSortExports = {
14341
+ }[]
14342
+ // ----- perfectionist/sort-import-attributes -----
14343
+ type PerfectionistSortImportAttributes = {
13582
14344
 
13583
14345
  fallbackSort?: {
13584
14346
 
13585
- order?: ("asc" | "desc")
14347
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13586
14348
 
13587
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14349
+ order?: ("asc" | "desc")
13588
14350
  }
13589
14351
 
14352
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14353
+
13590
14354
  specialCharacters?: ("remove" | "trim" | "keep")
13591
14355
 
13592
14356
  ignoreCase?: boolean
@@ -13597,30 +14361,36 @@ type PerfectionistSortExports = {
13597
14361
 
13598
14362
  order?: ("asc" | "desc")
13599
14363
 
13600
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13601
-
13602
- groupKind?: ("mixed" | "values-first" | "types-first")
13603
-
13604
14364
  customGroups?: ({
13605
- newlinesInside?: (("always" | "never") | number)
13606
14365
 
13607
14366
  fallbackSort?: {
13608
14367
 
13609
- order?: ("asc" | "desc")
14368
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13610
14369
 
13611
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14370
+ order?: ("asc" | "desc")
13612
14371
  }
13613
14372
 
14373
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14374
+
13614
14375
  groupName: string
14376
+ newlinesInside?: ("ignore" | number)
13615
14377
 
13616
14378
  order?: ("asc" | "desc")
13617
14379
 
13618
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13619
- anyOf?: {
13620
-
13621
- modifiers?: ("value" | "type")[]
14380
+ anyOf: [{
13622
14381
 
13623
- selector?: "export"
14382
+ elementNamePattern?: (({
14383
+
14384
+ pattern: string
14385
+
14386
+ flags?: string
14387
+ } | string)[] | ({
14388
+
14389
+ pattern: string
14390
+
14391
+ flags?: string
14392
+ } | string))
14393
+ }, ...({
13624
14394
 
13625
14395
  elementNamePattern?: (({
13626
14396
 
@@ -13633,27 +14403,23 @@ type PerfectionistSortExports = {
13633
14403
 
13634
14404
  flags?: string
13635
14405
  } | string))
13636
- }[]
14406
+ })[]]
13637
14407
  } | {
13638
- newlinesInside?: (("always" | "never") | number)
13639
14408
 
13640
14409
  fallbackSort?: {
13641
14410
 
13642
- order?: ("asc" | "desc")
14411
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13643
14412
 
13644
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14413
+ order?: ("asc" | "desc")
13645
14414
  }
13646
14415
 
14416
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14417
+
13647
14418
  groupName: string
14419
+ newlinesInside?: ("ignore" | number)
13648
14420
 
13649
14421
  order?: ("asc" | "desc")
13650
14422
 
13651
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13652
-
13653
- modifiers?: ("value" | "type")[]
13654
-
13655
- selector?: "export"
13656
-
13657
14423
  elementNamePattern?: (({
13658
14424
 
13659
14425
  pattern: string
@@ -13666,6 +14432,28 @@ type PerfectionistSortExports = {
13666
14432
  flags?: string
13667
14433
  } | string))
13668
14434
  })[]
14435
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
14436
+
14437
+ groups?: (string | [string, ...(string)[]] | {
14438
+ newlinesBetween: ("ignore" | number)
14439
+ } | {
14440
+ group: (string | [string, ...(string)[]])
14441
+
14442
+ fallbackSort?: {
14443
+
14444
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14445
+
14446
+ order?: ("asc" | "desc")
14447
+ }
14448
+
14449
+ commentAbove?: string
14450
+
14451
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14452
+ newlinesInside?: ("ignore" | number)
14453
+
14454
+ order?: ("asc" | "desc")
14455
+ })[]
14456
+ newlinesBetween?: ("ignore" | number)
13669
14457
 
13670
14458
  partitionByComment?: (boolean | (({
13671
14459
 
@@ -13705,56 +14493,20 @@ type PerfectionistSortExports = {
13705
14493
  })
13706
14494
 
13707
14495
  partitionByNewLine?: boolean
13708
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13709
-
13710
- groups?: (string | string[] | {
13711
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13712
-
13713
- commentAbove?: string
13714
- })[]
13715
14496
  }[]
13716
- // ----- perfectionist/sort-heritage-clauses -----
13717
- type PerfectionistSortHeritageClauses = []|[{
13718
-
13719
- fallbackSort?: {
13720
-
13721
- order?: ("asc" | "desc")
13722
-
13723
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13724
- }
13725
-
13726
- specialCharacters?: ("remove" | "trim" | "keep")
13727
-
13728
- ignoreCase?: boolean
13729
-
13730
- alphabet?: string
13731
-
13732
- locales?: (string | string[])
13733
-
13734
- order?: ("asc" | "desc")
13735
-
13736
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13737
-
13738
- customGroups?: {
13739
- [k: string]: (string | string[]) | undefined
13740
- }
13741
-
13742
- groups?: (string | string[] | {
13743
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13744
-
13745
- commentAbove?: string
13746
- })[]
13747
- }]
13748
14497
  // ----- perfectionist/sort-imports -----
13749
14498
  type PerfectionistSortImports = {
13750
14499
 
13751
14500
  fallbackSort?: {
13752
14501
 
13753
- order?: ("asc" | "desc")
14502
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first")
13754
14503
 
13755
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14504
+ order?: ("asc" | "desc")
14505
+ sortBy?: ("specifier" | "path")
13756
14506
  }
13757
14507
 
14508
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first")
14509
+
13758
14510
  specialCharacters?: ("remove" | "trim" | "keep")
13759
14511
 
13760
14512
  ignoreCase?: boolean
@@ -13764,39 +14516,29 @@ type PerfectionistSortImports = {
13764
14516
  locales?: (string | string[])
13765
14517
 
13766
14518
  order?: ("asc" | "desc")
14519
+ sortBy?: ("specifier" | "path")
13767
14520
 
13768
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13769
14521
  customGroups?: ({
13770
14522
 
13771
- value?: {
13772
- [k: string]: (string | string[]) | undefined
13773
- }
13774
-
13775
- type?: {
13776
- [k: string]: (string | string[]) | undefined
13777
- }
13778
- } | ({
13779
- newlinesInside?: (("always" | "never") | number)
13780
-
13781
14523
  fallbackSort?: {
13782
14524
 
13783
- order?: ("asc" | "desc")
14525
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first")
13784
14526
 
13785
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14527
+ order?: ("asc" | "desc")
14528
+ sortBy?: ("specifier" | "path")
13786
14529
  }
13787
14530
 
14531
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first")
14532
+
13788
14533
  groupName: string
14534
+ newlinesInside?: ("ignore" | number)
13789
14535
 
13790
14536
  order?: ("asc" | "desc")
14537
+ sortBy?: ("specifier" | "path")
13791
14538
 
13792
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13793
- anyOf?: {
13794
-
13795
- modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[]
13796
-
13797
- selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type")
14539
+ anyOf: [{
13798
14540
 
13799
- elementValuePattern?: (({
14541
+ elementNamePattern?: (({
13800
14542
 
13801
14543
  pattern: string
13802
14544
 
@@ -13808,6 +14550,11 @@ type PerfectionistSortImports = {
13808
14550
  flags?: string
13809
14551
  } | string))
13810
14552
 
14553
+ modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[]
14554
+
14555
+ selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type")
14556
+ }, ...({
14557
+
13811
14558
  elementNamePattern?: (({
13812
14559
 
13813
14560
  pattern: string
@@ -13819,28 +14566,30 @@ type PerfectionistSortImports = {
13819
14566
 
13820
14567
  flags?: string
13821
14568
  } | string))
13822
- }[]
14569
+
14570
+ modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[]
14571
+
14572
+ selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type")
14573
+ })[]]
13823
14574
  } | {
13824
- newlinesInside?: (("always" | "never") | number)
13825
14575
 
13826
14576
  fallbackSort?: {
13827
14577
 
13828
- order?: ("asc" | "desc")
14578
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first")
13829
14579
 
13830
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14580
+ order?: ("asc" | "desc")
14581
+ sortBy?: ("specifier" | "path")
13831
14582
  }
13832
14583
 
14584
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first")
14585
+
13833
14586
  groupName: string
14587
+ newlinesInside?: ("ignore" | number)
13834
14588
 
13835
14589
  order?: ("asc" | "desc")
14590
+ sortBy?: ("specifier" | "path")
13836
14591
 
13837
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13838
-
13839
- modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[]
13840
-
13841
- selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type")
13842
-
13843
- elementValuePattern?: (({
14592
+ elementNamePattern?: (({
13844
14593
 
13845
14594
  pattern: string
13846
14595
 
@@ -13852,18 +14601,34 @@ type PerfectionistSortImports = {
13852
14601
  flags?: string
13853
14602
  } | string))
13854
14603
 
13855
- elementNamePattern?: (({
13856
-
13857
- pattern: string
13858
-
13859
- flags?: string
13860
- } | string)[] | ({
14604
+ modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[]
14605
+
14606
+ selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type")
14607
+ })[]
14608
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
14609
+
14610
+ groups?: (string | [string, ...(string)[]] | {
14611
+ newlinesBetween: ("ignore" | number)
14612
+ } | {
14613
+ group: (string | [string, ...(string)[]])
14614
+
14615
+ fallbackSort?: {
13861
14616
 
13862
- pattern: string
14617
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first")
13863
14618
 
13864
- flags?: string
13865
- } | string))
13866
- })[])
14619
+ order?: ("asc" | "desc")
14620
+ sortBy?: ("specifier" | "path")
14621
+ }
14622
+
14623
+ commentAbove?: string
14624
+
14625
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first")
14626
+ newlinesInside?: ("ignore" | number)
14627
+
14628
+ order?: ("asc" | "desc")
14629
+ sortBy?: ("specifier" | "path")
14630
+ })[]
14631
+ newlinesBetween?: ("ignore" | number)
13867
14632
  tsconfig?: {
13868
14633
 
13869
14634
  rootDir: string
@@ -13877,7 +14642,7 @@ type PerfectionistSortImports = {
13877
14642
 
13878
14643
  environment?: ("node" | "bun")
13879
14644
 
13880
- tsconfigRootDir?: string
14645
+ useExperimentalDependencyDetection?: boolean
13881
14646
 
13882
14647
  partitionByComment?: (boolean | (({
13883
14648
 
@@ -13917,7 +14682,6 @@ type PerfectionistSortImports = {
13917
14682
  })
13918
14683
 
13919
14684
  partitionByNewLine?: boolean
13920
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13921
14685
 
13922
14686
  internalPattern?: (({
13923
14687
 
@@ -13930,24 +14694,20 @@ type PerfectionistSortImports = {
13930
14694
 
13931
14695
  flags?: string
13932
14696
  } | string))
13933
-
13934
- groups?: (string | string[] | {
13935
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13936
-
13937
- commentAbove?: string
13938
- })[]
13939
14697
  }[]
13940
14698
  // ----- perfectionist/sort-interfaces -----
13941
14699
  type PerfectionistSortInterfaces = {
13942
14700
 
13943
14701
  fallbackSort?: {
13944
14702
 
13945
- order?: ("asc" | "desc")
14703
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13946
14704
 
13947
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14705
+ order?: ("asc" | "desc")
13948
14706
  sortBy?: ("name" | "value")
13949
14707
  }
13950
14708
 
14709
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14710
+
13951
14711
  specialCharacters?: ("remove" | "trim" | "keep")
13952
14712
 
13953
14713
  ignoreCase?: boolean
@@ -13957,31 +14717,43 @@ type PerfectionistSortInterfaces = {
13957
14717
  locales?: (string | string[])
13958
14718
 
13959
14719
  order?: ("asc" | "desc")
14720
+ sortBy?: ("name" | "value")
13960
14721
 
13961
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13962
14722
  customGroups?: ({
13963
- [k: string]: (string | string[]) | undefined
13964
- } | ({
13965
- newlinesInside?: (("always" | "never") | number)
13966
14723
 
13967
14724
  fallbackSort?: {
13968
14725
 
13969
- order?: ("asc" | "desc")
14726
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13970
14727
 
13971
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14728
+ order?: ("asc" | "desc")
13972
14729
  sortBy?: ("name" | "value")
13973
14730
  }
13974
14731
 
14732
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14733
+
13975
14734
  groupName: string
14735
+ newlinesInside?: ("ignore" | number)
13976
14736
 
13977
14737
  order?: ("asc" | "desc")
14738
+ sortBy?: ("name" | "value")
13978
14739
 
13979
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13980
- anyOf?: {
14740
+ anyOf: [{
14741
+
14742
+ elementNamePattern?: (({
14743
+
14744
+ pattern: string
14745
+
14746
+ flags?: string
14747
+ } | string)[] | ({
14748
+
14749
+ pattern: string
14750
+
14751
+ flags?: string
14752
+ } | string))
13981
14753
 
13982
14754
  modifiers?: ("optional" | "required" | "multiline")[]
13983
14755
 
13984
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
14756
+ selector?: ("index-signature" | "member" | "method" | "property")
13985
14757
 
13986
14758
  elementValuePattern?: (({
13987
14759
 
@@ -13994,6 +14766,7 @@ type PerfectionistSortInterfaces = {
13994
14766
 
13995
14767
  flags?: string
13996
14768
  } | string))
14769
+ }, ...({
13997
14770
 
13998
14771
  elementNamePattern?: (({
13999
14772
 
@@ -14006,28 +14779,56 @@ type PerfectionistSortInterfaces = {
14006
14779
 
14007
14780
  flags?: string
14008
14781
  } | string))
14009
- sortBy?: ("name" | "value")
14010
- }[]
14782
+
14783
+ modifiers?: ("optional" | "required" | "multiline")[]
14784
+
14785
+ selector?: ("index-signature" | "member" | "method" | "property")
14786
+
14787
+ elementValuePattern?: (({
14788
+
14789
+ pattern: string
14790
+
14791
+ flags?: string
14792
+ } | string)[] | ({
14793
+
14794
+ pattern: string
14795
+
14796
+ flags?: string
14797
+ } | string))
14798
+ })[]]
14011
14799
  } | {
14012
- newlinesInside?: (("always" | "never") | number)
14013
14800
 
14014
14801
  fallbackSort?: {
14015
14802
 
14016
- order?: ("asc" | "desc")
14803
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14804
+
14805
+ order?: ("asc" | "desc")
14806
+ sortBy?: ("name" | "value")
14807
+ }
14808
+
14809
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14810
+
14811
+ groupName: string
14812
+ newlinesInside?: ("ignore" | number)
14813
+
14814
+ order?: ("asc" | "desc")
14815
+ sortBy?: ("name" | "value")
14816
+
14817
+ elementNamePattern?: (({
14818
+
14819
+ pattern: string
14820
+
14821
+ flags?: string
14822
+ } | string)[] | ({
14823
+
14824
+ pattern: string
14017
14825
 
14018
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14019
- sortBy?: ("name" | "value")
14020
- }
14021
-
14022
- groupName: string
14023
-
14024
- order?: ("asc" | "desc")
14025
-
14026
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14826
+ flags?: string
14827
+ } | string))
14027
14828
 
14028
14829
  modifiers?: ("optional" | "required" | "multiline")[]
14029
14830
 
14030
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
14831
+ selector?: ("index-signature" | "member" | "method" | "property")
14031
14832
 
14032
14833
  elementValuePattern?: (({
14033
14834
 
@@ -14040,8 +14841,35 @@ type PerfectionistSortInterfaces = {
14040
14841
 
14041
14842
  flags?: string
14042
14843
  } | string))
14844
+ })[]
14845
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
14846
+
14847
+ groups?: (string | [string, ...(string)[]] | {
14848
+ newlinesBetween: ("ignore" | number)
14849
+ } | {
14850
+ group: (string | [string, ...(string)[]])
14043
14851
 
14044
- elementNamePattern?: (({
14852
+ fallbackSort?: {
14853
+
14854
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14855
+
14856
+ order?: ("asc" | "desc")
14857
+ sortBy?: ("name" | "value")
14858
+ }
14859
+
14860
+ commentAbove?: string
14861
+
14862
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14863
+ newlinesInside?: ("ignore" | number)
14864
+
14865
+ order?: ("asc" | "desc")
14866
+ sortBy?: ("name" | "value")
14867
+ })[]
14868
+ newlinesBetween?: ("ignore" | number)
14869
+
14870
+ useConfigurationIf?: {
14871
+
14872
+ allNamesMatchPattern?: (({
14045
14873
 
14046
14874
  pattern: string
14047
14875
 
@@ -14052,19 +14880,17 @@ type PerfectionistSortInterfaces = {
14052
14880
 
14053
14881
  flags?: string
14054
14882
  } | string))
14055
- sortBy?: ("name" | "value")
14056
- })[])
14057
-
14058
- groupKind?: ("mixed" | "required-first" | "optional-first")
14059
-
14060
- useConfigurationIf?: {
14061
14883
 
14062
- allNamesMatchPattern?: (({
14884
+ hasNumericKeysOnly?: boolean
14885
+
14886
+ declarationCommentMatchesPattern?: (({
14887
+ scope?: ("shallow" | "deep")
14063
14888
 
14064
14889
  pattern: string
14065
14890
 
14066
14891
  flags?: string
14067
14892
  } | string)[] | ({
14893
+ scope?: ("shallow" | "deep")
14068
14894
 
14069
14895
  pattern: string
14070
14896
 
@@ -14072,11 +14898,13 @@ type PerfectionistSortInterfaces = {
14072
14898
  } | string))
14073
14899
 
14074
14900
  declarationMatchesPattern?: (({
14901
+ scope?: ("shallow" | "deep")
14075
14902
 
14076
14903
  pattern: string
14077
14904
 
14078
14905
  flags?: string
14079
14906
  } | string)[] | ({
14907
+ scope?: ("shallow" | "deep")
14080
14908
 
14081
14909
  pattern: string
14082
14910
 
@@ -14122,37 +14950,19 @@ type PerfectionistSortInterfaces = {
14122
14950
  })
14123
14951
 
14124
14952
  partitionByNewLine?: boolean
14125
- newlinesBetween?: (("ignore" | "always" | "never") | number)
14126
-
14127
- ignorePattern?: (({
14128
-
14129
- pattern: string
14130
-
14131
- flags?: string
14132
- } | string)[] | ({
14133
-
14134
- pattern: string
14135
-
14136
- flags?: string
14137
- } | string))
14138
- sortBy?: ("name" | "value")
14139
-
14140
- groups?: (string | string[] | {
14141
- newlinesBetween?: (("ignore" | "always" | "never") | number)
14142
-
14143
- commentAbove?: string
14144
- })[]
14145
14953
  }[]
14146
14954
  // ----- perfectionist/sort-intersection-types -----
14147
14955
  type PerfectionistSortIntersectionTypes = {
14148
14956
 
14149
14957
  fallbackSort?: {
14150
14958
 
14151
- order?: ("asc" | "desc")
14959
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14152
14960
 
14153
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14961
+ order?: ("asc" | "desc")
14154
14962
  }
14155
14963
 
14964
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14965
+
14156
14966
  specialCharacters?: ("remove" | "trim" | "keep")
14157
14967
 
14158
14968
  ignoreCase?: boolean
@@ -14163,26 +14973,38 @@ type PerfectionistSortIntersectionTypes = {
14163
14973
 
14164
14974
  order?: ("asc" | "desc")
14165
14975
 
14166
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14167
-
14168
14976
  customGroups?: ({
14169
- newlinesInside?: (("always" | "never") | number)
14170
14977
 
14171
14978
  fallbackSort?: {
14172
14979
 
14173
- order?: ("asc" | "desc")
14980
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14174
14981
 
14175
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14982
+ order?: ("asc" | "desc")
14176
14983
  }
14177
14984
 
14985
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14986
+
14178
14987
  groupName: string
14988
+ newlinesInside?: ("ignore" | number)
14179
14989
 
14180
14990
  order?: ("asc" | "desc")
14181
14991
 
14182
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14183
- anyOf?: {
14992
+ anyOf: [{
14993
+
14994
+ elementNamePattern?: (({
14995
+
14996
+ pattern: string
14997
+
14998
+ flags?: string
14999
+ } | string)[] | ({
15000
+
15001
+ pattern: string
15002
+
15003
+ flags?: string
15004
+ } | string))
14184
15005
 
14185
15006
  selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
15007
+ }, ...({
14186
15008
 
14187
15009
  elementNamePattern?: (({
14188
15010
 
@@ -14195,25 +15017,25 @@ type PerfectionistSortIntersectionTypes = {
14195
15017
 
14196
15018
  flags?: string
14197
15019
  } | string))
14198
- }[]
15020
+
15021
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
15022
+ })[]]
14199
15023
  } | {
14200
- newlinesInside?: (("always" | "never") | number)
14201
15024
 
14202
15025
  fallbackSort?: {
14203
15026
 
14204
- order?: ("asc" | "desc")
15027
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14205
15028
 
14206
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15029
+ order?: ("asc" | "desc")
14207
15030
  }
14208
15031
 
15032
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15033
+
14209
15034
  groupName: string
15035
+ newlinesInside?: ("ignore" | number)
14210
15036
 
14211
15037
  order?: ("asc" | "desc")
14212
15038
 
14213
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14214
-
14215
- selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
14216
-
14217
15039
  elementNamePattern?: (({
14218
15040
 
14219
15041
  pattern: string
@@ -14225,7 +15047,31 @@ type PerfectionistSortIntersectionTypes = {
14225
15047
 
14226
15048
  flags?: string
14227
15049
  } | string))
15050
+
15051
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
15052
+ })[]
15053
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
15054
+
15055
+ groups?: (string | [string, ...(string)[]] | {
15056
+ newlinesBetween: ("ignore" | number)
15057
+ } | {
15058
+ group: (string | [string, ...(string)[]])
15059
+
15060
+ fallbackSort?: {
15061
+
15062
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15063
+
15064
+ order?: ("asc" | "desc")
15065
+ }
15066
+
15067
+ commentAbove?: string
15068
+
15069
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15070
+ newlinesInside?: ("ignore" | number)
15071
+
15072
+ order?: ("asc" | "desc")
14228
15073
  })[]
15074
+ newlinesBetween?: ("ignore" | number)
14229
15075
 
14230
15076
  partitionByComment?: (boolean | (({
14231
15077
 
@@ -14265,24 +15111,19 @@ type PerfectionistSortIntersectionTypes = {
14265
15111
  })
14266
15112
 
14267
15113
  partitionByNewLine?: boolean
14268
- newlinesBetween?: (("ignore" | "always" | "never") | number)
14269
-
14270
- groups?: (string | string[] | {
14271
- newlinesBetween?: (("ignore" | "always" | "never") | number)
14272
-
14273
- commentAbove?: string
14274
- })[]
14275
15114
  }[]
14276
15115
  // ----- perfectionist/sort-jsx-props -----
14277
15116
  type PerfectionistSortJsxProps = {
14278
15117
 
14279
15118
  fallbackSort?: {
14280
15119
 
14281
- order?: ("asc" | "desc")
15120
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14282
15121
 
14283
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15122
+ order?: ("asc" | "desc")
14284
15123
  }
14285
15124
 
15125
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15126
+
14286
15127
  specialCharacters?: ("remove" | "trim" | "keep")
14287
15128
 
14288
15129
  ignoreCase?: boolean
@@ -14293,29 +15134,39 @@ type PerfectionistSortJsxProps = {
14293
15134
 
14294
15135
  order?: ("asc" | "desc")
14295
15136
 
14296
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14297
15137
  customGroups?: ({
14298
- [k: string]: (string | string[]) | undefined
14299
- } | ({
14300
- newlinesInside?: (("always" | "never") | number)
14301
15138
 
14302
15139
  fallbackSort?: {
14303
15140
 
14304
- order?: ("asc" | "desc")
15141
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14305
15142
 
14306
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15143
+ order?: ("asc" | "desc")
14307
15144
  }
14308
15145
 
15146
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15147
+
14309
15148
  groupName: string
15149
+ newlinesInside?: ("ignore" | number)
14310
15150
 
14311
15151
  order?: ("asc" | "desc")
14312
15152
 
14313
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14314
- anyOf?: {
15153
+ anyOf: [{
15154
+
15155
+ elementNamePattern?: (({
15156
+
15157
+ pattern: string
15158
+
15159
+ flags?: string
15160
+ } | string)[] | ({
15161
+
15162
+ pattern: string
15163
+
15164
+ flags?: string
15165
+ } | string))
14315
15166
 
14316
15167
  modifiers?: ("shorthand" | "multiline")[]
14317
15168
 
14318
- selector?: ("multiline" | "prop" | "shorthand")
15169
+ selector?: "prop"
14319
15170
 
14320
15171
  elementValuePattern?: (({
14321
15172
 
@@ -14328,6 +15179,7 @@ type PerfectionistSortJsxProps = {
14328
15179
 
14329
15180
  flags?: string
14330
15181
  } | string))
15182
+ }, ...({
14331
15183
 
14332
15184
  elementNamePattern?: (({
14333
15185
 
@@ -14340,28 +15192,40 @@ type PerfectionistSortJsxProps = {
14340
15192
 
14341
15193
  flags?: string
14342
15194
  } | string))
14343
- }[]
15195
+
15196
+ modifiers?: ("shorthand" | "multiline")[]
15197
+
15198
+ selector?: "prop"
15199
+
15200
+ elementValuePattern?: (({
15201
+
15202
+ pattern: string
15203
+
15204
+ flags?: string
15205
+ } | string)[] | ({
15206
+
15207
+ pattern: string
15208
+
15209
+ flags?: string
15210
+ } | string))
15211
+ })[]]
14344
15212
  } | {
14345
- newlinesInside?: (("always" | "never") | number)
14346
15213
 
14347
15214
  fallbackSort?: {
14348
15215
 
14349
- order?: ("asc" | "desc")
15216
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14350
15217
 
14351
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15218
+ order?: ("asc" | "desc")
14352
15219
  }
14353
15220
 
15221
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15222
+
14354
15223
  groupName: string
15224
+ newlinesInside?: ("ignore" | number)
14355
15225
 
14356
15226
  order?: ("asc" | "desc")
14357
15227
 
14358
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14359
-
14360
- modifiers?: ("shorthand" | "multiline")[]
14361
-
14362
- selector?: ("multiline" | "prop" | "shorthand")
14363
-
14364
- elementValuePattern?: (({
15228
+ elementNamePattern?: (({
14365
15229
 
14366
15230
  pattern: string
14367
15231
 
@@ -14373,7 +15237,11 @@ type PerfectionistSortJsxProps = {
14373
15237
  flags?: string
14374
15238
  } | string))
14375
15239
 
14376
- elementNamePattern?: (({
15240
+ modifiers?: ("shorthand" | "multiline")[]
15241
+
15242
+ selector?: "prop"
15243
+
15244
+ elementValuePattern?: (({
14377
15245
 
14378
15246
  pattern: string
14379
15247
 
@@ -14384,7 +15252,29 @@ type PerfectionistSortJsxProps = {
14384
15252
 
14385
15253
  flags?: string
14386
15254
  } | string))
14387
- })[])
15255
+ })[]
15256
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
15257
+
15258
+ groups?: (string | [string, ...(string)[]] | {
15259
+ newlinesBetween: ("ignore" | number)
15260
+ } | {
15261
+ group: (string | [string, ...(string)[]])
15262
+
15263
+ fallbackSort?: {
15264
+
15265
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15266
+
15267
+ order?: ("asc" | "desc")
15268
+ }
15269
+
15270
+ commentAbove?: string
15271
+
15272
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15273
+ newlinesInside?: ("ignore" | number)
15274
+
15275
+ order?: ("asc" | "desc")
15276
+ })[]
15277
+ newlinesBetween?: ("ignore" | number)
14388
15278
 
14389
15279
  useConfigurationIf?: {
14390
15280
 
@@ -14414,36 +15304,19 @@ type PerfectionistSortJsxProps = {
14414
15304
  }
14415
15305
 
14416
15306
  partitionByNewLine?: boolean
14417
- newlinesBetween?: (("ignore" | "always" | "never") | number)
14418
-
14419
- ignorePattern?: (({
14420
-
14421
- pattern: string
14422
-
14423
- flags?: string
14424
- } | string)[] | ({
14425
-
14426
- pattern: string
14427
-
14428
- flags?: string
14429
- } | string))
14430
-
14431
- groups?: (string | string[] | {
14432
- newlinesBetween?: (("ignore" | "always" | "never") | number)
14433
-
14434
- commentAbove?: string
14435
- })[]
14436
15307
  }[]
14437
15308
  // ----- perfectionist/sort-maps -----
14438
15309
  type PerfectionistSortMaps = {
14439
15310
 
14440
15311
  fallbackSort?: {
14441
15312
 
14442
- order?: ("asc" | "desc")
15313
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14443
15314
 
14444
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15315
+ order?: ("asc" | "desc")
14445
15316
  }
14446
15317
 
15318
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15319
+
14447
15320
  specialCharacters?: ("remove" | "trim" | "keep")
14448
15321
 
14449
15322
  ignoreCase?: boolean
@@ -14454,24 +15327,36 @@ type PerfectionistSortMaps = {
14454
15327
 
14455
15328
  order?: ("asc" | "desc")
14456
15329
 
14457
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14458
-
14459
15330
  customGroups?: ({
14460
- newlinesInside?: (("always" | "never") | number)
14461
15331
 
14462
15332
  fallbackSort?: {
14463
15333
 
14464
- order?: ("asc" | "desc")
15334
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14465
15335
 
14466
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15336
+ order?: ("asc" | "desc")
14467
15337
  }
14468
15338
 
15339
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15340
+
14469
15341
  groupName: string
15342
+ newlinesInside?: ("ignore" | number)
14470
15343
 
14471
15344
  order?: ("asc" | "desc")
14472
15345
 
14473
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14474
- anyOf?: {
15346
+ anyOf: [{
15347
+
15348
+ elementNamePattern?: (({
15349
+
15350
+ pattern: string
15351
+
15352
+ flags?: string
15353
+ } | string)[] | ({
15354
+
15355
+ pattern: string
15356
+
15357
+ flags?: string
15358
+ } | string))
15359
+ }, ...({
14475
15360
 
14476
15361
  elementNamePattern?: (({
14477
15362
 
@@ -14484,23 +15369,23 @@ type PerfectionistSortMaps = {
14484
15369
 
14485
15370
  flags?: string
14486
15371
  } | string))
14487
- }[]
15372
+ })[]]
14488
15373
  } | {
14489
- newlinesInside?: (("always" | "never") | number)
14490
15374
 
14491
15375
  fallbackSort?: {
14492
15376
 
14493
- order?: ("asc" | "desc")
15377
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14494
15378
 
14495
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15379
+ order?: ("asc" | "desc")
14496
15380
  }
14497
15381
 
15382
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15383
+
14498
15384
  groupName: string
15385
+ newlinesInside?: ("ignore" | number)
14499
15386
 
14500
15387
  order?: ("asc" | "desc")
14501
15388
 
14502
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14503
-
14504
15389
  elementNamePattern?: (({
14505
15390
 
14506
15391
  pattern: string
@@ -14513,6 +15398,28 @@ type PerfectionistSortMaps = {
14513
15398
  flags?: string
14514
15399
  } | string))
14515
15400
  })[]
15401
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
15402
+
15403
+ groups?: (string | [string, ...(string)[]] | {
15404
+ newlinesBetween: ("ignore" | number)
15405
+ } | {
15406
+ group: (string | [string, ...(string)[]])
15407
+
15408
+ fallbackSort?: {
15409
+
15410
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15411
+
15412
+ order?: ("asc" | "desc")
15413
+ }
15414
+
15415
+ commentAbove?: string
15416
+
15417
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15418
+ newlinesInside?: ("ignore" | number)
15419
+
15420
+ order?: ("asc" | "desc")
15421
+ })[]
15422
+ newlinesBetween?: ("ignore" | number)
14516
15423
 
14517
15424
  useConfigurationIf?: {
14518
15425
 
@@ -14567,24 +15474,19 @@ type PerfectionistSortMaps = {
14567
15474
  })
14568
15475
 
14569
15476
  partitionByNewLine?: boolean
14570
- newlinesBetween?: (("ignore" | "always" | "never") | number)
14571
-
14572
- groups?: (string | string[] | {
14573
- newlinesBetween?: (("ignore" | "always" | "never") | number)
14574
-
14575
- commentAbove?: string
14576
- })[]
14577
15477
  }[]
14578
15478
  // ----- perfectionist/sort-modules -----
14579
15479
  type PerfectionistSortModules = []|[{
14580
15480
 
14581
15481
  fallbackSort?: {
14582
15482
 
14583
- order?: ("asc" | "desc")
15483
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage")
14584
15484
 
14585
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15485
+ order?: ("asc" | "desc")
14586
15486
  }
14587
15487
 
15488
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage")
15489
+
14588
15490
  specialCharacters?: ("remove" | "trim" | "keep")
14589
15491
 
14590
15492
  ignoreCase?: boolean
@@ -14595,24 +15497,35 @@ type PerfectionistSortModules = []|[{
14595
15497
 
14596
15498
  order?: ("asc" | "desc")
14597
15499
 
14598
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14599
-
14600
15500
  customGroups?: ({
14601
- newlinesInside?: (("always" | "never") | number)
14602
15501
 
14603
15502
  fallbackSort?: {
14604
15503
 
14605
- order?: ("asc" | "desc")
15504
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage")
14606
15505
 
14607
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15506
+ order?: ("asc" | "desc")
14608
15507
  }
14609
15508
 
15509
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage")
15510
+
14610
15511
  groupName: string
15512
+ newlinesInside?: ("ignore" | number)
14611
15513
 
14612
15514
  order?: ("asc" | "desc")
14613
15515
 
14614
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14615
- anyOf?: {
15516
+ anyOf: [{
15517
+
15518
+ elementNamePattern?: (({
15519
+
15520
+ pattern: string
15521
+
15522
+ flags?: string
15523
+ } | string)[] | ({
15524
+
15525
+ pattern: string
15526
+
15527
+ flags?: string
15528
+ } | string))
14616
15529
 
14617
15530
  modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
14618
15531
 
@@ -14629,8 +15542,25 @@ type PerfectionistSortModules = []|[{
14629
15542
 
14630
15543
  flags?: string
14631
15544
  } | string))
15545
+ }, ...({
15546
+
15547
+ elementNamePattern?: (({
15548
+
15549
+ pattern: string
15550
+
15551
+ flags?: string
15552
+ } | string)[] | ({
15553
+
15554
+ pattern: string
15555
+
15556
+ flags?: string
15557
+ } | string))
15558
+
15559
+ modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
15560
+
15561
+ selector?: ("enum" | "function" | "interface" | "type" | "class")
14632
15562
 
14633
- elementNamePattern?: (({
15563
+ decoratorNamePattern?: (({
14634
15564
 
14635
15565
  pattern: string
14636
15566
 
@@ -14641,28 +15571,24 @@ type PerfectionistSortModules = []|[{
14641
15571
 
14642
15572
  flags?: string
14643
15573
  } | string))
14644
- }[]
15574
+ })[]]
14645
15575
  } | {
14646
- newlinesInside?: (("always" | "never") | number)
14647
15576
 
14648
15577
  fallbackSort?: {
14649
15578
 
14650
- order?: ("asc" | "desc")
15579
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage")
14651
15580
 
14652
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15581
+ order?: ("asc" | "desc")
14653
15582
  }
14654
15583
 
15584
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage")
15585
+
14655
15586
  groupName: string
15587
+ newlinesInside?: ("ignore" | number)
14656
15588
 
14657
15589
  order?: ("asc" | "desc")
14658
15590
 
14659
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14660
-
14661
- modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
14662
-
14663
- selector?: ("enum" | "function" | "interface" | "type" | "class")
14664
-
14665
- decoratorNamePattern?: (({
15591
+ elementNamePattern?: (({
14666
15592
 
14667
15593
  pattern: string
14668
15594
 
@@ -14674,7 +15600,11 @@ type PerfectionistSortModules = []|[{
14674
15600
  flags?: string
14675
15601
  } | string))
14676
15602
 
14677
- elementNamePattern?: (({
15603
+ modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
15604
+
15605
+ selector?: ("enum" | "function" | "interface" | "type" | "class")
15606
+
15607
+ decoratorNamePattern?: (({
14678
15608
 
14679
15609
  pattern: string
14680
15610
 
@@ -14686,6 +15616,30 @@ type PerfectionistSortModules = []|[{
14686
15616
  flags?: string
14687
15617
  } | string))
14688
15618
  })[]
15619
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
15620
+
15621
+ groups?: (string | [string, ...(string)[]] | {
15622
+ newlinesBetween: ("ignore" | number)
15623
+ } | {
15624
+ group: (string | [string, ...(string)[]])
15625
+
15626
+ fallbackSort?: {
15627
+
15628
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage")
15629
+
15630
+ order?: ("asc" | "desc")
15631
+ }
15632
+
15633
+ commentAbove?: string
15634
+
15635
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage")
15636
+ newlinesInside?: ("ignore" | number)
15637
+
15638
+ order?: ("asc" | "desc")
15639
+ })[]
15640
+ newlinesBetween?: ("ignore" | number)
15641
+
15642
+ useExperimentalDependencyDetection?: boolean
14689
15643
 
14690
15644
  partitionByComment?: (boolean | (({
14691
15645
 
@@ -14725,24 +15679,19 @@ type PerfectionistSortModules = []|[{
14725
15679
  })
14726
15680
 
14727
15681
  partitionByNewLine?: boolean
14728
- newlinesBetween?: (("ignore" | "always" | "never") | number)
14729
-
14730
- groups?: (string | string[] | {
14731
- newlinesBetween?: (("ignore" | "always" | "never") | number)
14732
-
14733
- commentAbove?: string
14734
- })[]
14735
15682
  }]
14736
15683
  // ----- perfectionist/sort-named-exports -----
14737
15684
  type PerfectionistSortNamedExports = {
14738
15685
 
14739
15686
  fallbackSort?: {
14740
15687
 
14741
- order?: ("asc" | "desc")
15688
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14742
15689
 
14743
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15690
+ order?: ("asc" | "desc")
14744
15691
  }
14745
15692
 
15693
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15694
+
14746
15695
  specialCharacters?: ("remove" | "trim" | "keep")
14747
15696
 
14748
15697
  ignoreCase?: boolean
@@ -14753,32 +15702,40 @@ type PerfectionistSortNamedExports = {
14753
15702
 
14754
15703
  order?: ("asc" | "desc")
14755
15704
 
14756
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14757
-
14758
- groupKind?: ("mixed" | "values-first" | "types-first")
14759
-
14760
- ignoreAlias?: boolean
14761
-
14762
15705
  customGroups?: ({
14763
- newlinesInside?: (("always" | "never") | number)
14764
15706
 
14765
15707
  fallbackSort?: {
14766
15708
 
14767
- order?: ("asc" | "desc")
15709
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14768
15710
 
14769
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15711
+ order?: ("asc" | "desc")
14770
15712
  }
14771
15713
 
15714
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15715
+
14772
15716
  groupName: string
15717
+ newlinesInside?: ("ignore" | number)
14773
15718
 
14774
15719
  order?: ("asc" | "desc")
14775
15720
 
14776
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14777
- anyOf?: {
15721
+ anyOf: [{
15722
+
15723
+ elementNamePattern?: (({
15724
+
15725
+ pattern: string
15726
+
15727
+ flags?: string
15728
+ } | string)[] | ({
15729
+
15730
+ pattern: string
15731
+
15732
+ flags?: string
15733
+ } | string))
14778
15734
 
14779
15735
  modifiers?: ("value" | "type")[]
14780
15736
 
14781
15737
  selector?: "export"
15738
+ }, ...({
14782
15739
 
14783
15740
  elementNamePattern?: (({
14784
15741
 
@@ -14791,27 +15748,27 @@ type PerfectionistSortNamedExports = {
14791
15748
 
14792
15749
  flags?: string
14793
15750
  } | string))
14794
- }[]
15751
+
15752
+ modifiers?: ("value" | "type")[]
15753
+
15754
+ selector?: "export"
15755
+ })[]]
14795
15756
  } | {
14796
- newlinesInside?: (("always" | "never") | number)
14797
15757
 
14798
15758
  fallbackSort?: {
14799
15759
 
14800
- order?: ("asc" | "desc")
15760
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14801
15761
 
14802
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15762
+ order?: ("asc" | "desc")
14803
15763
  }
14804
15764
 
15765
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15766
+
14805
15767
  groupName: string
15768
+ newlinesInside?: ("ignore" | number)
14806
15769
 
14807
15770
  order?: ("asc" | "desc")
14808
15771
 
14809
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14810
-
14811
- modifiers?: ("value" | "type")[]
14812
-
14813
- selector?: "export"
14814
-
14815
15772
  elementNamePattern?: (({
14816
15773
 
14817
15774
  pattern: string
@@ -14823,7 +15780,35 @@ type PerfectionistSortNamedExports = {
14823
15780
 
14824
15781
  flags?: string
14825
15782
  } | string))
15783
+
15784
+ modifiers?: ("value" | "type")[]
15785
+
15786
+ selector?: "export"
15787
+ })[]
15788
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
15789
+
15790
+ groups?: (string | [string, ...(string)[]] | {
15791
+ newlinesBetween: ("ignore" | number)
15792
+ } | {
15793
+ group: (string | [string, ...(string)[]])
15794
+
15795
+ fallbackSort?: {
15796
+
15797
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15798
+
15799
+ order?: ("asc" | "desc")
15800
+ }
15801
+
15802
+ commentAbove?: string
15803
+
15804
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15805
+ newlinesInside?: ("ignore" | number)
15806
+
15807
+ order?: ("asc" | "desc")
14826
15808
  })[]
15809
+ newlinesBetween?: ("ignore" | number)
15810
+
15811
+ ignoreAlias?: boolean
14827
15812
 
14828
15813
  partitionByComment?: (boolean | (({
14829
15814
 
@@ -14863,24 +15848,19 @@ type PerfectionistSortNamedExports = {
14863
15848
  })
14864
15849
 
14865
15850
  partitionByNewLine?: boolean
14866
- newlinesBetween?: (("ignore" | "always" | "never") | number)
14867
-
14868
- groups?: (string | string[] | {
14869
- newlinesBetween?: (("ignore" | "always" | "never") | number)
14870
-
14871
- commentAbove?: string
14872
- })[]
14873
15851
  }[]
14874
15852
  // ----- perfectionist/sort-named-imports -----
14875
15853
  type PerfectionistSortNamedImports = {
14876
15854
 
14877
15855
  fallbackSort?: {
14878
15856
 
14879
- order?: ("asc" | "desc")
15857
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14880
15858
 
14881
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15859
+ order?: ("asc" | "desc")
14882
15860
  }
14883
15861
 
15862
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15863
+
14884
15864
  specialCharacters?: ("remove" | "trim" | "keep")
14885
15865
 
14886
15866
  ignoreCase?: boolean
@@ -14891,32 +15871,40 @@ type PerfectionistSortNamedImports = {
14891
15871
 
14892
15872
  order?: ("asc" | "desc")
14893
15873
 
14894
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14895
-
14896
- groupKind?: ("mixed" | "values-first" | "types-first")
14897
-
14898
- ignoreAlias?: boolean
14899
-
14900
15874
  customGroups?: ({
14901
- newlinesInside?: (("always" | "never") | number)
14902
15875
 
14903
15876
  fallbackSort?: {
14904
15877
 
14905
- order?: ("asc" | "desc")
15878
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14906
15879
 
14907
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15880
+ order?: ("asc" | "desc")
14908
15881
  }
14909
15882
 
15883
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15884
+
14910
15885
  groupName: string
15886
+ newlinesInside?: ("ignore" | number)
14911
15887
 
14912
15888
  order?: ("asc" | "desc")
14913
15889
 
14914
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14915
- anyOf?: {
15890
+ anyOf: [{
15891
+
15892
+ elementNamePattern?: (({
15893
+
15894
+ pattern: string
15895
+
15896
+ flags?: string
15897
+ } | string)[] | ({
15898
+
15899
+ pattern: string
15900
+
15901
+ flags?: string
15902
+ } | string))
14916
15903
 
14917
15904
  modifiers?: ("value" | "type")[]
14918
15905
 
14919
15906
  selector?: "import"
15907
+ }, ...({
14920
15908
 
14921
15909
  elementNamePattern?: (({
14922
15910
 
@@ -14929,27 +15917,27 @@ type PerfectionistSortNamedImports = {
14929
15917
 
14930
15918
  flags?: string
14931
15919
  } | string))
14932
- }[]
15920
+
15921
+ modifiers?: ("value" | "type")[]
15922
+
15923
+ selector?: "import"
15924
+ })[]]
14933
15925
  } | {
14934
- newlinesInside?: (("always" | "never") | number)
14935
15926
 
14936
15927
  fallbackSort?: {
14937
15928
 
14938
- order?: ("asc" | "desc")
15929
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14939
15930
 
14940
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15931
+ order?: ("asc" | "desc")
14941
15932
  }
14942
15933
 
15934
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15935
+
14943
15936
  groupName: string
15937
+ newlinesInside?: ("ignore" | number)
14944
15938
 
14945
15939
  order?: ("asc" | "desc")
14946
15940
 
14947
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14948
-
14949
- modifiers?: ("value" | "type")[]
14950
-
14951
- selector?: "import"
14952
-
14953
15941
  elementNamePattern?: (({
14954
15942
 
14955
15943
  pattern: string
@@ -14961,7 +15949,35 @@ type PerfectionistSortNamedImports = {
14961
15949
 
14962
15950
  flags?: string
14963
15951
  } | string))
15952
+
15953
+ modifiers?: ("value" | "type")[]
15954
+
15955
+ selector?: "import"
15956
+ })[]
15957
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
15958
+
15959
+ groups?: (string | [string, ...(string)[]] | {
15960
+ newlinesBetween: ("ignore" | number)
15961
+ } | {
15962
+ group: (string | [string, ...(string)[]])
15963
+
15964
+ fallbackSort?: {
15965
+
15966
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15967
+
15968
+ order?: ("asc" | "desc")
15969
+ }
15970
+
15971
+ commentAbove?: string
15972
+
15973
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15974
+ newlinesInside?: ("ignore" | number)
15975
+
15976
+ order?: ("asc" | "desc")
14964
15977
  })[]
15978
+ newlinesBetween?: ("ignore" | number)
15979
+
15980
+ ignoreAlias?: boolean
14965
15981
 
14966
15982
  partitionByComment?: (boolean | (({
14967
15983
 
@@ -15001,25 +16017,20 @@ type PerfectionistSortNamedImports = {
15001
16017
  })
15002
16018
 
15003
16019
  partitionByNewLine?: boolean
15004
- newlinesBetween?: (("ignore" | "always" | "never") | number)
15005
-
15006
- groups?: (string | string[] | {
15007
- newlinesBetween?: (("ignore" | "always" | "never") | number)
15008
-
15009
- commentAbove?: string
15010
- })[]
15011
16020
  }[]
15012
16021
  // ----- perfectionist/sort-object-types -----
15013
16022
  type PerfectionistSortObjectTypes = {
15014
16023
 
15015
16024
  fallbackSort?: {
15016
16025
 
15017
- order?: ("asc" | "desc")
16026
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15018
16027
 
15019
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16028
+ order?: ("asc" | "desc")
15020
16029
  sortBy?: ("name" | "value")
15021
16030
  }
15022
16031
 
16032
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16033
+
15023
16034
  specialCharacters?: ("remove" | "trim" | "keep")
15024
16035
 
15025
16036
  ignoreCase?: boolean
@@ -15029,31 +16040,43 @@ type PerfectionistSortObjectTypes = {
15029
16040
  locales?: (string | string[])
15030
16041
 
15031
16042
  order?: ("asc" | "desc")
16043
+ sortBy?: ("name" | "value")
15032
16044
 
15033
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15034
16045
  customGroups?: ({
15035
- [k: string]: (string | string[]) | undefined
15036
- } | ({
15037
- newlinesInside?: (("always" | "never") | number)
15038
16046
 
15039
16047
  fallbackSort?: {
15040
16048
 
15041
- order?: ("asc" | "desc")
16049
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15042
16050
 
15043
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16051
+ order?: ("asc" | "desc")
15044
16052
  sortBy?: ("name" | "value")
15045
16053
  }
15046
16054
 
16055
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16056
+
15047
16057
  groupName: string
16058
+ newlinesInside?: ("ignore" | number)
15048
16059
 
15049
16060
  order?: ("asc" | "desc")
16061
+ sortBy?: ("name" | "value")
15050
16062
 
15051
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15052
- anyOf?: {
16063
+ anyOf: [{
16064
+
16065
+ elementNamePattern?: (({
16066
+
16067
+ pattern: string
16068
+
16069
+ flags?: string
16070
+ } | string)[] | ({
16071
+
16072
+ pattern: string
16073
+
16074
+ flags?: string
16075
+ } | string))
15053
16076
 
15054
16077
  modifiers?: ("optional" | "required" | "multiline")[]
15055
16078
 
15056
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
16079
+ selector?: ("index-signature" | "member" | "method" | "property")
15057
16080
 
15058
16081
  elementValuePattern?: (({
15059
16082
 
@@ -15066,6 +16089,7 @@ type PerfectionistSortObjectTypes = {
15066
16089
 
15067
16090
  flags?: string
15068
16091
  } | string))
16092
+ }, ...({
15069
16093
 
15070
16094
  elementNamePattern?: (({
15071
16095
 
@@ -15078,28 +16102,56 @@ type PerfectionistSortObjectTypes = {
15078
16102
 
15079
16103
  flags?: string
15080
16104
  } | string))
15081
- sortBy?: ("name" | "value")
15082
- }[]
16105
+
16106
+ modifiers?: ("optional" | "required" | "multiline")[]
16107
+
16108
+ selector?: ("index-signature" | "member" | "method" | "property")
16109
+
16110
+ elementValuePattern?: (({
16111
+
16112
+ pattern: string
16113
+
16114
+ flags?: string
16115
+ } | string)[] | ({
16116
+
16117
+ pattern: string
16118
+
16119
+ flags?: string
16120
+ } | string))
16121
+ })[]]
15083
16122
  } | {
15084
- newlinesInside?: (("always" | "never") | number)
15085
16123
 
15086
16124
  fallbackSort?: {
15087
16125
 
15088
- order?: ("asc" | "desc")
16126
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15089
16127
 
15090
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16128
+ order?: ("asc" | "desc")
15091
16129
  sortBy?: ("name" | "value")
15092
16130
  }
15093
16131
 
16132
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16133
+
15094
16134
  groupName: string
16135
+ newlinesInside?: ("ignore" | number)
15095
16136
 
15096
16137
  order?: ("asc" | "desc")
16138
+ sortBy?: ("name" | "value")
15097
16139
 
15098
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16140
+ elementNamePattern?: (({
16141
+
16142
+ pattern: string
16143
+
16144
+ flags?: string
16145
+ } | string)[] | ({
16146
+
16147
+ pattern: string
16148
+
16149
+ flags?: string
16150
+ } | string))
15099
16151
 
15100
16152
  modifiers?: ("optional" | "required" | "multiline")[]
15101
16153
 
15102
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
16154
+ selector?: ("index-signature" | "member" | "method" | "property")
15103
16155
 
15104
16156
  elementValuePattern?: (({
15105
16157
 
@@ -15112,8 +16164,35 @@ type PerfectionistSortObjectTypes = {
15112
16164
 
15113
16165
  flags?: string
15114
16166
  } | string))
16167
+ })[]
16168
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
16169
+
16170
+ groups?: (string | [string, ...(string)[]] | {
16171
+ newlinesBetween: ("ignore" | number)
16172
+ } | {
16173
+ group: (string | [string, ...(string)[]])
15115
16174
 
15116
- elementNamePattern?: (({
16175
+ fallbackSort?: {
16176
+
16177
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16178
+
16179
+ order?: ("asc" | "desc")
16180
+ sortBy?: ("name" | "value")
16181
+ }
16182
+
16183
+ commentAbove?: string
16184
+
16185
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16186
+ newlinesInside?: ("ignore" | number)
16187
+
16188
+ order?: ("asc" | "desc")
16189
+ sortBy?: ("name" | "value")
16190
+ })[]
16191
+ newlinesBetween?: ("ignore" | number)
16192
+
16193
+ useConfigurationIf?: {
16194
+
16195
+ allNamesMatchPattern?: (({
15117
16196
 
15118
16197
  pattern: string
15119
16198
 
@@ -15124,19 +16203,17 @@ type PerfectionistSortObjectTypes = {
15124
16203
 
15125
16204
  flags?: string
15126
16205
  } | string))
15127
- sortBy?: ("name" | "value")
15128
- })[])
15129
-
15130
- groupKind?: ("mixed" | "required-first" | "optional-first")
15131
-
15132
- useConfigurationIf?: {
15133
16206
 
15134
- allNamesMatchPattern?: (({
16207
+ hasNumericKeysOnly?: boolean
16208
+
16209
+ declarationCommentMatchesPattern?: (({
16210
+ scope?: ("shallow" | "deep")
15135
16211
 
15136
16212
  pattern: string
15137
16213
 
15138
16214
  flags?: string
15139
16215
  } | string)[] | ({
16216
+ scope?: ("shallow" | "deep")
15140
16217
 
15141
16218
  pattern: string
15142
16219
 
@@ -15144,11 +16221,13 @@ type PerfectionistSortObjectTypes = {
15144
16221
  } | string))
15145
16222
 
15146
16223
  declarationMatchesPattern?: (({
16224
+ scope?: ("shallow" | "deep")
15147
16225
 
15148
16226
  pattern: string
15149
16227
 
15150
16228
  flags?: string
15151
16229
  } | string)[] | ({
16230
+ scope?: ("shallow" | "deep")
15152
16231
 
15153
16232
  pattern: string
15154
16233
 
@@ -15194,37 +16273,20 @@ type PerfectionistSortObjectTypes = {
15194
16273
  })
15195
16274
 
15196
16275
  partitionByNewLine?: boolean
15197
- newlinesBetween?: (("ignore" | "always" | "never") | number)
15198
-
15199
- ignorePattern?: (({
15200
-
15201
- pattern: string
15202
-
15203
- flags?: string
15204
- } | string)[] | ({
15205
-
15206
- pattern: string
15207
-
15208
- flags?: string
15209
- } | string))
15210
- sortBy?: ("name" | "value")
15211
-
15212
- groups?: (string | string[] | {
15213
- newlinesBetween?: (("ignore" | "always" | "never") | number)
15214
-
15215
- commentAbove?: string
15216
- })[]
15217
16276
  }[]
15218
16277
  // ----- perfectionist/sort-objects -----
15219
16278
  type PerfectionistSortObjects = {
15220
16279
 
15221
16280
  fallbackSort?: {
15222
16281
 
15223
- order?: ("asc" | "desc")
16282
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15224
16283
 
15225
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16284
+ order?: ("asc" | "desc")
16285
+ sortBy?: ("name" | "value")
15226
16286
  }
15227
16287
 
16288
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16289
+
15228
16290
  specialCharacters?: ("remove" | "trim" | "keep")
15229
16291
 
15230
16292
  ignoreCase?: boolean
@@ -15234,35 +16296,43 @@ type PerfectionistSortObjects = {
15234
16296
  locales?: (string | string[])
15235
16297
 
15236
16298
  order?: ("asc" | "desc")
16299
+ sortBy?: ("name" | "value")
15237
16300
 
15238
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15239
-
15240
- destructuredObjects?: (boolean | {
15241
-
15242
- groups?: boolean
15243
- })
15244
16301
  customGroups?: ({
15245
- [k: string]: (string | string[]) | undefined
15246
- } | ({
15247
- newlinesInside?: (("always" | "never") | number)
15248
16302
 
15249
16303
  fallbackSort?: {
15250
16304
 
15251
- order?: ("asc" | "desc")
16305
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15252
16306
 
15253
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16307
+ order?: ("asc" | "desc")
16308
+ sortBy?: ("name" | "value")
15254
16309
  }
15255
16310
 
16311
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16312
+
15256
16313
  groupName: string
16314
+ newlinesInside?: ("ignore" | number)
15257
16315
 
15258
16316
  order?: ("asc" | "desc")
16317
+ sortBy?: ("name" | "value")
15259
16318
 
15260
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15261
- anyOf?: {
16319
+ anyOf: [{
15262
16320
 
15263
- modifiers?: ("optional" | "required" | "multiline")[]
16321
+ elementNamePattern?: (({
16322
+
16323
+ pattern: string
16324
+
16325
+ flags?: string
16326
+ } | string)[] | ({
16327
+
16328
+ pattern: string
16329
+
16330
+ flags?: string
16331
+ } | string))
16332
+
16333
+ modifiers?: ("multiline")[]
15264
16334
 
15265
- selector?: ("member" | "method" | "multiline" | "property")
16335
+ selector?: ("member" | "method" | "property")
15266
16336
 
15267
16337
  elementValuePattern?: (({
15268
16338
 
@@ -15275,6 +16345,7 @@ type PerfectionistSortObjects = {
15275
16345
 
15276
16346
  flags?: string
15277
16347
  } | string))
16348
+ }, ...({
15278
16349
 
15279
16350
  elementNamePattern?: (({
15280
16351
 
@@ -15287,26 +16358,56 @@ type PerfectionistSortObjects = {
15287
16358
 
15288
16359
  flags?: string
15289
16360
  } | string))
15290
- }[]
16361
+
16362
+ modifiers?: ("multiline")[]
16363
+
16364
+ selector?: ("member" | "method" | "property")
16365
+
16366
+ elementValuePattern?: (({
16367
+
16368
+ pattern: string
16369
+
16370
+ flags?: string
16371
+ } | string)[] | ({
16372
+
16373
+ pattern: string
16374
+
16375
+ flags?: string
16376
+ } | string))
16377
+ })[]]
15291
16378
  } | {
15292
- newlinesInside?: (("always" | "never") | number)
15293
16379
 
15294
16380
  fallbackSort?: {
15295
16381
 
15296
- order?: ("asc" | "desc")
16382
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15297
16383
 
15298
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16384
+ order?: ("asc" | "desc")
16385
+ sortBy?: ("name" | "value")
15299
16386
  }
15300
16387
 
16388
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16389
+
15301
16390
  groupName: string
16391
+ newlinesInside?: ("ignore" | number)
15302
16392
 
15303
16393
  order?: ("asc" | "desc")
16394
+ sortBy?: ("name" | "value")
15304
16395
 
15305
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16396
+ elementNamePattern?: (({
16397
+
16398
+ pattern: string
16399
+
16400
+ flags?: string
16401
+ } | string)[] | ({
16402
+
16403
+ pattern: string
16404
+
16405
+ flags?: string
16406
+ } | string))
15306
16407
 
15307
- modifiers?: ("optional" | "required" | "multiline")[]
16408
+ modifiers?: ("multiline")[]
15308
16409
 
15309
- selector?: ("member" | "method" | "multiline" | "property")
16410
+ selector?: ("member" | "method" | "property")
15310
16411
 
15311
16412
  elementValuePattern?: (({
15312
16413
 
@@ -15319,8 +16420,35 @@ type PerfectionistSortObjects = {
15319
16420
 
15320
16421
  flags?: string
15321
16422
  } | string))
16423
+ })[]
16424
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
16425
+
16426
+ groups?: (string | [string, ...(string)[]] | {
16427
+ newlinesBetween: ("ignore" | number)
16428
+ } | {
16429
+ group: (string | [string, ...(string)[]])
15322
16430
 
15323
- elementNamePattern?: (({
16431
+ fallbackSort?: {
16432
+
16433
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16434
+
16435
+ order?: ("asc" | "desc")
16436
+ sortBy?: ("name" | "value")
16437
+ }
16438
+
16439
+ commentAbove?: string
16440
+
16441
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16442
+ newlinesInside?: ("ignore" | number)
16443
+
16444
+ order?: ("asc" | "desc")
16445
+ sortBy?: ("name" | "value")
16446
+ })[]
16447
+ newlinesBetween?: ("ignore" | number)
16448
+
16449
+ useConfigurationIf?: {
16450
+
16451
+ allNamesMatchPattern?: (({
15324
16452
 
15325
16453
  pattern: string
15326
16454
 
@@ -15331,16 +16459,19 @@ type PerfectionistSortObjects = {
15331
16459
 
15332
16460
  flags?: string
15333
16461
  } | string))
15334
- })[])
15335
-
15336
- useConfigurationIf?: {
15337
16462
 
15338
- allNamesMatchPattern?: (({
16463
+ objectType?: ("destructured" | "non-destructured")
16464
+
16465
+ hasNumericKeysOnly?: boolean
16466
+
16467
+ declarationCommentMatchesPattern?: (({
16468
+ scope?: ("shallow" | "deep")
15339
16469
 
15340
16470
  pattern: string
15341
16471
 
15342
16472
  flags?: string
15343
16473
  } | string)[] | ({
16474
+ scope?: ("shallow" | "deep")
15344
16475
 
15345
16476
  pattern: string
15346
16477
 
@@ -15348,11 +16479,27 @@ type PerfectionistSortObjects = {
15348
16479
  } | string))
15349
16480
 
15350
16481
  callingFunctionNamePattern?: (({
16482
+ scope?: ("shallow" | "deep")
16483
+
16484
+ pattern: string
16485
+
16486
+ flags?: string
16487
+ } | string)[] | ({
16488
+ scope?: ("shallow" | "deep")
16489
+
16490
+ pattern: string
16491
+
16492
+ flags?: string
16493
+ } | string))
16494
+
16495
+ declarationMatchesPattern?: (({
16496
+ scope?: ("shallow" | "deep")
15351
16497
 
15352
16498
  pattern: string
15353
16499
 
15354
16500
  flags?: string
15355
16501
  } | string)[] | ({
16502
+ scope?: ("shallow" | "deep")
15356
16503
 
15357
16504
  pattern: string
15358
16505
 
@@ -15360,12 +16507,10 @@ type PerfectionistSortObjects = {
15360
16507
  } | string))
15361
16508
  }
15362
16509
 
15363
- destructureOnly?: boolean
15364
-
15365
- objectDeclarations?: boolean
15366
-
15367
16510
  styledComponents?: boolean
15368
16511
 
16512
+ useExperimentalDependencyDetection?: boolean
16513
+
15369
16514
  partitionByComment?: (boolean | (({
15370
16515
 
15371
16516
  pattern: string
@@ -15404,36 +16549,19 @@ type PerfectionistSortObjects = {
15404
16549
  })
15405
16550
 
15406
16551
  partitionByNewLine?: boolean
15407
- newlinesBetween?: (("ignore" | "always" | "never") | number)
15408
-
15409
- ignorePattern?: (({
15410
-
15411
- pattern: string
15412
-
15413
- flags?: string
15414
- } | string)[] | ({
15415
-
15416
- pattern: string
15417
-
15418
- flags?: string
15419
- } | string))
15420
-
15421
- groups?: (string | string[] | {
15422
- newlinesBetween?: (("ignore" | "always" | "never") | number)
15423
-
15424
- commentAbove?: string
15425
- })[]
15426
16552
  }[]
15427
16553
  // ----- perfectionist/sort-sets -----
15428
16554
  type PerfectionistSortSets = {
15429
16555
 
15430
16556
  fallbackSort?: {
15431
16557
 
15432
- order?: ("asc" | "desc")
16558
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15433
16559
 
15434
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16560
+ order?: ("asc" | "desc")
15435
16561
  }
15436
16562
 
16563
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16564
+
15437
16565
  specialCharacters?: ("remove" | "trim" | "keep")
15438
16566
 
15439
16567
  ignoreCase?: boolean
@@ -15444,28 +16572,38 @@ type PerfectionistSortSets = {
15444
16572
 
15445
16573
  order?: ("asc" | "desc")
15446
16574
 
15447
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15448
-
15449
- groupKind?: ("mixed" | "literals-first" | "spreads-first")
15450
-
15451
16575
  customGroups?: ({
15452
- newlinesInside?: (("always" | "never") | number)
15453
16576
 
15454
16577
  fallbackSort?: {
15455
16578
 
15456
- order?: ("asc" | "desc")
16579
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15457
16580
 
15458
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16581
+ order?: ("asc" | "desc")
15459
16582
  }
15460
16583
 
16584
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16585
+
15461
16586
  groupName: string
16587
+ newlinesInside?: ("ignore" | number)
15462
16588
 
15463
16589
  order?: ("asc" | "desc")
15464
16590
 
15465
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15466
- anyOf?: {
16591
+ anyOf: [{
16592
+
16593
+ elementNamePattern?: (({
16594
+
16595
+ pattern: string
16596
+
16597
+ flags?: string
16598
+ } | string)[] | ({
16599
+
16600
+ pattern: string
16601
+
16602
+ flags?: string
16603
+ } | string))
15467
16604
 
15468
- selector?: ("literal" | "spread")
16605
+ selector?: "literal"
16606
+ }, ...({
15469
16607
 
15470
16608
  elementNamePattern?: (({
15471
16609
 
@@ -15478,25 +16616,25 @@ type PerfectionistSortSets = {
15478
16616
 
15479
16617
  flags?: string
15480
16618
  } | string))
15481
- }[]
16619
+
16620
+ selector?: "literal"
16621
+ })[]]
15482
16622
  } | {
15483
- newlinesInside?: (("always" | "never") | number)
15484
16623
 
15485
16624
  fallbackSort?: {
15486
16625
 
15487
- order?: ("asc" | "desc")
16626
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15488
16627
 
15489
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16628
+ order?: ("asc" | "desc")
15490
16629
  }
15491
16630
 
16631
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16632
+
15492
16633
  groupName: string
16634
+ newlinesInside?: ("ignore" | number)
15493
16635
 
15494
16636
  order?: ("asc" | "desc")
15495
16637
 
15496
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15497
-
15498
- selector?: ("literal" | "spread")
15499
-
15500
16638
  elementNamePattern?: (({
15501
16639
 
15502
16640
  pattern: string
@@ -15508,7 +16646,31 @@ type PerfectionistSortSets = {
15508
16646
 
15509
16647
  flags?: string
15510
16648
  } | string))
16649
+
16650
+ selector?: "literal"
16651
+ })[]
16652
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
16653
+
16654
+ groups?: (string | [string, ...(string)[]] | {
16655
+ newlinesBetween: ("ignore" | number)
16656
+ } | {
16657
+ group: (string | [string, ...(string)[]])
16658
+
16659
+ fallbackSort?: {
16660
+
16661
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16662
+
16663
+ order?: ("asc" | "desc")
16664
+ }
16665
+
16666
+ commentAbove?: string
16667
+
16668
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16669
+ newlinesInside?: ("ignore" | number)
16670
+
16671
+ order?: ("asc" | "desc")
15511
16672
  })[]
16673
+ newlinesBetween?: ("ignore" | number)
15512
16674
 
15513
16675
  useConfigurationIf?: {
15514
16676
 
@@ -15563,24 +16725,19 @@ type PerfectionistSortSets = {
15563
16725
  })
15564
16726
 
15565
16727
  partitionByNewLine?: boolean
15566
- newlinesBetween?: (("ignore" | "always" | "never") | number)
15567
-
15568
- groups?: (string | string[] | {
15569
- newlinesBetween?: (("ignore" | "always" | "never") | number)
15570
-
15571
- commentAbove?: string
15572
- })[]
15573
16728
  }[]
15574
16729
  // ----- perfectionist/sort-switch-case -----
15575
16730
  type PerfectionistSortSwitchCase = []|[{
15576
16731
 
15577
16732
  fallbackSort?: {
15578
16733
 
15579
- order?: ("asc" | "desc")
16734
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15580
16735
 
15581
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16736
+ order?: ("asc" | "desc")
15582
16737
  }
15583
16738
 
16739
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16740
+
15584
16741
  specialCharacters?: ("remove" | "trim" | "keep")
15585
16742
 
15586
16743
  ignoreCase?: boolean
@@ -15590,19 +16747,19 @@ type PerfectionistSortSwitchCase = []|[{
15590
16747
  locales?: (string | string[])
15591
16748
 
15592
16749
  order?: ("asc" | "desc")
15593
-
15594
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15595
16750
  }]
15596
16751
  // ----- perfectionist/sort-union-types -----
15597
16752
  type PerfectionistSortUnionTypes = {
15598
16753
 
15599
16754
  fallbackSort?: {
15600
16755
 
15601
- order?: ("asc" | "desc")
16756
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15602
16757
 
15603
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16758
+ order?: ("asc" | "desc")
15604
16759
  }
15605
16760
 
16761
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16762
+
15606
16763
  specialCharacters?: ("remove" | "trim" | "keep")
15607
16764
 
15608
16765
  ignoreCase?: boolean
@@ -15613,26 +16770,38 @@ type PerfectionistSortUnionTypes = {
15613
16770
 
15614
16771
  order?: ("asc" | "desc")
15615
16772
 
15616
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15617
-
15618
16773
  customGroups?: ({
15619
- newlinesInside?: (("always" | "never") | number)
15620
16774
 
15621
16775
  fallbackSort?: {
15622
16776
 
15623
- order?: ("asc" | "desc")
16777
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15624
16778
 
15625
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16779
+ order?: ("asc" | "desc")
15626
16780
  }
15627
16781
 
16782
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16783
+
15628
16784
  groupName: string
16785
+ newlinesInside?: ("ignore" | number)
15629
16786
 
15630
16787
  order?: ("asc" | "desc")
15631
16788
 
15632
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15633
- anyOf?: {
16789
+ anyOf: [{
16790
+
16791
+ elementNamePattern?: (({
16792
+
16793
+ pattern: string
16794
+
16795
+ flags?: string
16796
+ } | string)[] | ({
16797
+
16798
+ pattern: string
16799
+
16800
+ flags?: string
16801
+ } | string))
15634
16802
 
15635
16803
  selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
16804
+ }, ...({
15636
16805
 
15637
16806
  elementNamePattern?: (({
15638
16807
 
@@ -15645,25 +16814,25 @@ type PerfectionistSortUnionTypes = {
15645
16814
 
15646
16815
  flags?: string
15647
16816
  } | string))
15648
- }[]
16817
+
16818
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
16819
+ })[]]
15649
16820
  } | {
15650
- newlinesInside?: (("always" | "never") | number)
15651
16821
 
15652
16822
  fallbackSort?: {
15653
16823
 
15654
- order?: ("asc" | "desc")
16824
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15655
16825
 
15656
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16826
+ order?: ("asc" | "desc")
15657
16827
  }
15658
16828
 
16829
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16830
+
15659
16831
  groupName: string
16832
+ newlinesInside?: ("ignore" | number)
15660
16833
 
15661
16834
  order?: ("asc" | "desc")
15662
16835
 
15663
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15664
-
15665
- selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
15666
-
15667
16836
  elementNamePattern?: (({
15668
16837
 
15669
16838
  pattern: string
@@ -15675,7 +16844,31 @@ type PerfectionistSortUnionTypes = {
15675
16844
 
15676
16845
  flags?: string
15677
16846
  } | string))
16847
+
16848
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
16849
+ })[]
16850
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
16851
+
16852
+ groups?: (string | [string, ...(string)[]] | {
16853
+ newlinesBetween: ("ignore" | number)
16854
+ } | {
16855
+ group: (string | [string, ...(string)[]])
16856
+
16857
+ fallbackSort?: {
16858
+
16859
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16860
+
16861
+ order?: ("asc" | "desc")
16862
+ }
16863
+
16864
+ commentAbove?: string
16865
+
16866
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16867
+ newlinesInside?: ("ignore" | number)
16868
+
16869
+ order?: ("asc" | "desc")
15678
16870
  })[]
16871
+ newlinesBetween?: ("ignore" | number)
15679
16872
 
15680
16873
  partitionByComment?: (boolean | (({
15681
16874
 
@@ -15715,24 +16908,19 @@ type PerfectionistSortUnionTypes = {
15715
16908
  })
15716
16909
 
15717
16910
  partitionByNewLine?: boolean
15718
- newlinesBetween?: (("ignore" | "always" | "never") | number)
15719
-
15720
- groups?: (string | string[] | {
15721
- newlinesBetween?: (("ignore" | "always" | "never") | number)
15722
-
15723
- commentAbove?: string
15724
- })[]
15725
16911
  }[]
15726
16912
  // ----- perfectionist/sort-variable-declarations -----
15727
16913
  type PerfectionistSortVariableDeclarations = []|[{
15728
16914
 
15729
16915
  fallbackSort?: {
15730
16916
 
15731
- order?: ("asc" | "desc")
16917
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15732
16918
 
15733
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16919
+ order?: ("asc" | "desc")
15734
16920
  }
15735
16921
 
16922
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16923
+
15736
16924
  specialCharacters?: ("remove" | "trim" | "keep")
15737
16925
 
15738
16926
  ignoreCase?: boolean
@@ -15743,26 +16931,38 @@ type PerfectionistSortVariableDeclarations = []|[{
15743
16931
 
15744
16932
  order?: ("asc" | "desc")
15745
16933
 
15746
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15747
-
15748
16934
  customGroups?: ({
15749
- newlinesInside?: (("always" | "never") | number)
15750
16935
 
15751
16936
  fallbackSort?: {
15752
16937
 
15753
- order?: ("asc" | "desc")
16938
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15754
16939
 
15755
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16940
+ order?: ("asc" | "desc")
15756
16941
  }
15757
16942
 
16943
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16944
+
15758
16945
  groupName: string
16946
+ newlinesInside?: ("ignore" | number)
15759
16947
 
15760
16948
  order?: ("asc" | "desc")
15761
16949
 
15762
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15763
- anyOf?: {
16950
+ anyOf: [{
16951
+
16952
+ elementNamePattern?: (({
16953
+
16954
+ pattern: string
16955
+
16956
+ flags?: string
16957
+ } | string)[] | ({
16958
+
16959
+ pattern: string
16960
+
16961
+ flags?: string
16962
+ } | string))
15764
16963
 
15765
16964
  selector?: ("initialized" | "uninitialized")
16965
+ }, ...({
15766
16966
 
15767
16967
  elementNamePattern?: (({
15768
16968
 
@@ -15775,25 +16975,25 @@ type PerfectionistSortVariableDeclarations = []|[{
15775
16975
 
15776
16976
  flags?: string
15777
16977
  } | string))
15778
- }[]
16978
+
16979
+ selector?: ("initialized" | "uninitialized")
16980
+ })[]]
15779
16981
  } | {
15780
- newlinesInside?: (("always" | "never") | number)
15781
16982
 
15782
16983
  fallbackSort?: {
15783
16984
 
15784
- order?: ("asc" | "desc")
16985
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15785
16986
 
15786
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16987
+ order?: ("asc" | "desc")
15787
16988
  }
15788
16989
 
16990
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16991
+
15789
16992
  groupName: string
16993
+ newlinesInside?: ("ignore" | number)
15790
16994
 
15791
16995
  order?: ("asc" | "desc")
15792
16996
 
15793
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15794
-
15795
- selector?: ("initialized" | "uninitialized")
15796
-
15797
16997
  elementNamePattern?: (({
15798
16998
 
15799
16999
  pattern: string
@@ -15805,7 +17005,33 @@ type PerfectionistSortVariableDeclarations = []|[{
15805
17005
 
15806
17006
  flags?: string
15807
17007
  } | string))
17008
+
17009
+ selector?: ("initialized" | "uninitialized")
17010
+ })[]
17011
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
17012
+
17013
+ groups?: (string | [string, ...(string)[]] | {
17014
+ newlinesBetween: ("ignore" | number)
17015
+ } | {
17016
+ group: (string | [string, ...(string)[]])
17017
+
17018
+ fallbackSort?: {
17019
+
17020
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
17021
+
17022
+ order?: ("asc" | "desc")
17023
+ }
17024
+
17025
+ commentAbove?: string
17026
+
17027
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
17028
+ newlinesInside?: ("ignore" | number)
17029
+
17030
+ order?: ("asc" | "desc")
15808
17031
  })[]
17032
+ newlinesBetween?: ("ignore" | number)
17033
+
17034
+ useExperimentalDependencyDetection?: boolean
15809
17035
 
15810
17036
  partitionByComment?: (boolean | (({
15811
17037
 
@@ -15845,13 +17071,6 @@ type PerfectionistSortVariableDeclarations = []|[{
15845
17071
  })
15846
17072
 
15847
17073
  partitionByNewLine?: boolean
15848
- newlinesBetween?: (("ignore" | "always" | "never") | number)
15849
-
15850
- groups?: (string | string[] | {
15851
- newlinesBetween?: (("ignore" | "always" | "never") | number)
15852
-
15853
- commentAbove?: string
15854
- })[]
15855
17074
  }]
15856
17075
  // ----- pnpm/json-enforce-catalog -----
15857
17076
  type PnpmJsonEnforceCatalog = []|[{
@@ -16747,6 +17966,11 @@ type UnusedImportsNoUnusedImports = []|[(("all" | "local") | {
16747
17966
 
16748
17967
  destructuredArrayIgnorePattern?: string
16749
17968
 
17969
+ enableAutofixRemoval?: {
17970
+
17971
+ imports?: boolean
17972
+ }
17973
+
16750
17974
  ignoreClassWithStaticInitBlock?: boolean
16751
17975
 
16752
17976
  ignoreRestSiblings?: boolean
@@ -16772,6 +17996,11 @@ type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
16772
17996
 
16773
17997
  destructuredArrayIgnorePattern?: string
16774
17998
 
17999
+ enableAutofixRemoval?: {
18000
+
18001
+ imports?: boolean
18002
+ }
18003
+
16775
18004
  ignoreClassWithStaticInitBlock?: boolean
16776
18005
 
16777
18006
  ignoreRestSiblings?: boolean