@bfra.me/eslint-config 0.47.7 → 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
@@ -4526,12 +4557,12 @@ export interface Rules {
4526
4557
  */
4527
4558
  'radix'?: Linter.RuleEntry<Radix>
4528
4559
  /**
4529
- * Disallows 'dangerouslySetInnerHTML'.
4560
+ * Disallows DOM elements from using 'dangerouslySetInnerHTML'.
4530
4561
  * @see https://eslint-react.xyz/docs/rules/dom-no-dangerously-set-innerhtml
4531
4562
  */
4532
4563
  'react-dom/no-dangerously-set-innerhtml'?: Linter.RuleEntry<[]>
4533
4564
  /**
4534
- * Disallows 'dangerouslySetInnerHTML' and 'children' at the same time.
4565
+ * Disallows DOM elements from using 'dangerouslySetInnerHTML' and 'children' at the same time.
4535
4566
  * @see https://eslint-react.xyz/docs/rules/dom-no-dangerously-set-innerhtml-with-children
4536
4567
  */
4537
4568
  'react-dom/no-dangerously-set-innerhtml-with-children'?: Linter.RuleEntry<[]>
@@ -4546,17 +4577,17 @@ export interface Rules {
4546
4577
  */
4547
4578
  'react-dom/no-flush-sync'?: Linter.RuleEntry<[]>
4548
4579
  /**
4549
- * Replaces usage of 'ReactDom.hydrate()' with 'hydrateRoot()'.
4580
+ * Replaces usage of 'ReactDOM.hydrate()' with 'hydrateRoot()'.
4550
4581
  * @see https://eslint-react.xyz/docs/rules/dom-no-hydrate
4551
4582
  */
4552
4583
  'react-dom/no-hydrate'?: Linter.RuleEntry<[]>
4553
4584
  /**
4554
- * Enforces explicit 'type' attribute for 'button' elements.
4585
+ * Enforces an explicit 'type' attribute for 'button' elements.
4555
4586
  * @see https://eslint-react.xyz/docs/rules/dom-no-missing-button-type
4556
4587
  */
4557
4588
  'react-dom/no-missing-button-type'?: Linter.RuleEntry<[]>
4558
4589
  /**
4559
- * Enforces explicit 'sandbox' attribute for 'iframe' elements.
4590
+ * Enforces an explicit 'sandbox' attribute for 'iframe' elements.
4560
4591
  * @see https://eslint-react.xyz/docs/rules/dom-no-missing-iframe-sandbox
4561
4592
  */
4562
4593
  'react-dom/no-missing-iframe-sandbox'?: Linter.RuleEntry<[]>
@@ -4566,7 +4597,7 @@ export interface Rules {
4566
4597
  */
4567
4598
  'react-dom/no-namespace'?: Linter.RuleEntry<[]>
4568
4599
  /**
4569
- * Replaces usage of 'ReactDom.render()' with 'createRoot(node).render()'.
4600
+ * Replaces usage of 'ReactDOM.render()' with 'createRoot(node).render()'.
4570
4601
  * @see https://eslint-react.xyz/docs/rules/dom-no-render
4571
4602
  */
4572
4603
  'react-dom/no-render'?: Linter.RuleEntry<[]>
@@ -4586,12 +4617,12 @@ export interface Rules {
4586
4617
  */
4587
4618
  'react-dom/no-string-style-prop'?: Linter.RuleEntry<[]>
4588
4619
  /**
4589
- * Disallows unknown 'DOM' property.
4620
+ * Disallows unknown 'DOM' properties.
4590
4621
  * @see https://eslint-react.xyz/docs/rules/dom-no-unknown-property
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<[]>
@@ -4611,12 +4642,12 @@ export interface Rules {
4611
4642
  */
4612
4643
  'react-dom/no-void-elements-with-children'?: Linter.RuleEntry<[]>
4613
4644
  /**
4614
- * Enforces React DOM is imported via a namespace import.
4645
+ * Enforces importing React DOM via a namespace import.
4615
4646
  * @see https://eslint-react.xyz/docs/rules/dom-prefer-namespace-import
4616
4647
  */
4617
4648
  'react-dom/prefer-namespace-import'?: Linter.RuleEntry<[]>
4618
4649
  /**
4619
- * Disallows **direct** calls to the 'set' function of 'useState' in 'useEffect'.
4650
+ * Disallows direct calls to the ['set' function](https://react.dev/reference/react/useState#setstate) of 'useState' in 'useEffect'.
4620
4651
  * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-effect
4621
4652
  */
4622
4653
  'react-hooks-extra/no-direct-set-state-in-use-effect'?: Linter.RuleEntry<[]>
@@ -4749,7 +4780,7 @@ export interface Rules {
4749
4780
  */
4750
4781
  'react-naming-convention/context-name'?: Linter.RuleEntry<[]>
4751
4782
  /**
4752
- * Enforces consistent file naming conventions.
4783
+ * Enforces consistent file-naming conventions.
4753
4784
  * @see https://eslint-react.xyz/docs/rules/naming-convention-filename
4754
4785
  */
4755
4786
  'react-naming-convention/filename'?: Linter.RuleEntry<ReactNamingConventionFilename>
@@ -4759,7 +4790,12 @@ export interface Rules {
4759
4790
  */
4760
4791
  'react-naming-convention/filename-extension'?: Linter.RuleEntry<ReactNamingConventionFilenameExtension>
4761
4792
  /**
4762
- * Enforces that variables assigned from useRef calls have names ending with 'Ref'.
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<[]>
4797
+ /**
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
4764
4800
  */
4765
4801
  'react-naming-convention/ref-name'?: Linter.RuleEntry<[]>
@@ -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.
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
@@ -6556,7 +6597,7 @@ export interface Rules {
6556
6597
  * disallow conditional expects
6557
6598
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-conditional-expect.md
6558
6599
  */
6559
- 'vitest/no-conditional-expect'?: Linter.RuleEntry<[]>
6600
+ 'vitest/no-conditional-expect'?: Linter.RuleEntry<VitestNoConditionalExpect>
6560
6601
  /**
6561
6602
  * disallow conditional tests
6562
6603
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-conditional-in-test.md
@@ -6868,6 +6909,11 @@ export interface Rules {
6868
6909
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-mock-type-parameters.md
6869
6910
  */
6870
6911
  'vitest/require-mock-type-parameters'?: Linter.RuleEntry<VitestRequireMockTypeParameters>
6912
+ /**
6913
+ * require tests to declare a timeout
6914
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-test-timeout.md
6915
+ */
6916
+ 'vitest/require-test-timeout'?: Linter.RuleEntry<[]>
6871
6917
  /**
6872
6918
  * require toThrow() to be called with an error message
6873
6919
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-to-throw-message.md
@@ -7254,15 +7300,25 @@ type StylisticCurlyNewline = []|[(("always" | "never") | {
7254
7300
  type StylisticDotLocation = []|[("object" | "property")]
7255
7301
  // ----- @stylistic/eol-last -----
7256
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
+ }]
7257
7313
  // ----- @stylistic/exp-list-style -----
7258
7314
  type StylisticExpListStyle = []|[{
7259
7315
  singleLine?: _StylisticExpListStyle_SingleLineConfig
7260
7316
  multiLine?: _StylisticExpListStyle_MultiLineConfig
7261
7317
  overrides?: {
7318
+ "()"?: _StylisticExpListStyle_BaseConfig
7262
7319
  "[]"?: _StylisticExpListStyle_BaseConfig
7263
7320
  "{}"?: _StylisticExpListStyle_BaseConfig
7264
7321
  "<>"?: _StylisticExpListStyle_BaseConfig
7265
- "()"?: _StylisticExpListStyle_BaseConfig
7266
7322
  ArrayExpression?: _StylisticExpListStyle_BaseConfig
7267
7323
  ArrayPattern?: _StylisticExpListStyle_BaseConfig
7268
7324
  ArrowFunctionExpression?: _StylisticExpListStyle_BaseConfig
@@ -7270,21 +7326,22 @@ type StylisticExpListStyle = []|[{
7270
7326
  ExportNamedDeclaration?: _StylisticExpListStyle_BaseConfig
7271
7327
  FunctionDeclaration?: _StylisticExpListStyle_BaseConfig
7272
7328
  FunctionExpression?: _StylisticExpListStyle_BaseConfig
7273
- ImportDeclaration?: _StylisticExpListStyle_BaseConfig
7329
+ IfStatement?: _StylisticExpListStyle_BaseConfig
7274
7330
  ImportAttributes?: _StylisticExpListStyle_BaseConfig
7331
+ ImportDeclaration?: _StylisticExpListStyle_BaseConfig
7332
+ JSONArrayExpression?: _StylisticExpListStyle_BaseConfig
7333
+ JSONObjectExpression?: _StylisticExpListStyle_BaseConfig
7275
7334
  NewExpression?: _StylisticExpListStyle_BaseConfig
7276
7335
  ObjectExpression?: _StylisticExpListStyle_BaseConfig
7277
7336
  ObjectPattern?: _StylisticExpListStyle_BaseConfig
7278
7337
  TSDeclareFunction?: _StylisticExpListStyle_BaseConfig
7338
+ TSEnumBody?: _StylisticExpListStyle_BaseConfig
7279
7339
  TSFunctionType?: _StylisticExpListStyle_BaseConfig
7280
7340
  TSInterfaceBody?: _StylisticExpListStyle_BaseConfig
7281
- TSEnumBody?: _StylisticExpListStyle_BaseConfig
7282
7341
  TSTupleType?: _StylisticExpListStyle_BaseConfig
7283
7342
  TSTypeLiteral?: _StylisticExpListStyle_BaseConfig
7284
7343
  TSTypeParameterDeclaration?: _StylisticExpListStyle_BaseConfig
7285
7344
  TSTypeParameterInstantiation?: _StylisticExpListStyle_BaseConfig
7286
- JSONArrayExpression?: _StylisticExpListStyle_BaseConfig
7287
- JSONObjectExpression?: _StylisticExpListStyle_BaseConfig
7288
7345
  }
7289
7346
  }]
7290
7347
  interface _StylisticExpListStyle_SingleLineConfig {
@@ -8297,7 +8354,7 @@ type StylisticTypeAnnotationSpacing = []|[{
8297
8354
  after?: boolean
8298
8355
  overrides?: {
8299
8356
  colon?: _StylisticTypeAnnotationSpacing_SpacingConfig
8300
- arrow?: _StylisticTypeAnnotationSpacing_SpacingConfig
8357
+ arrow?: ("ignore" | _StylisticTypeAnnotationSpacing_SpacingConfig)
8301
8358
  variable?: _StylisticTypeAnnotationSpacing_SpacingConfig
8302
8359
  parameter?: _StylisticTypeAnnotationSpacing_SpacingConfig
8303
8360
  property?: _StylisticTypeAnnotationSpacing_SpacingConfig
@@ -9177,6 +9234,11 @@ type TypescriptEslintNoUnusedVars = []|[(("all" | "local") | {
9177
9234
 
9178
9235
  destructuredArrayIgnorePattern?: string
9179
9236
 
9237
+ enableAutofixRemoval?: {
9238
+
9239
+ imports?: boolean
9240
+ }
9241
+
9180
9242
  ignoreClassWithStaticInitBlock?: boolean
9181
9243
 
9182
9244
  ignoreRestSiblings?: boolean
@@ -9206,6 +9268,11 @@ type TypescriptEslintNoUseBeforeDefine = []|[("nofunc" | {
9206
9268
 
9207
9269
  variables?: boolean
9208
9270
  })]
9271
+ // ----- @typescript-eslint/no-useless-default-assignment -----
9272
+ type TypescriptEslintNoUselessDefaultAssignment = []|[{
9273
+
9274
+ allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
9275
+ }]
9209
9276
  // ----- @typescript-eslint/no-var-requires -----
9210
9277
  type TypescriptEslintNoVarRequires = []|[{
9211
9278
 
@@ -9461,6 +9528,11 @@ type TypescriptEslintStrictBooleanExpressions = []|[{
9461
9528
 
9462
9529
  allowString?: boolean
9463
9530
  }]
9531
+ // ----- @typescript-eslint/strict-void-return -----
9532
+ type TypescriptEslintStrictVoidReturn = []|[{
9533
+
9534
+ allowReturnAny?: boolean
9535
+ }]
9464
9536
  // ----- @typescript-eslint/switch-exhaustiveness-check -----
9465
9537
  type TypescriptEslintSwitchExhaustivenessCheck = []|[{
9466
9538
 
@@ -10708,6 +10780,8 @@ type JsdocRequireHyphenBeforeParamDescription = []|[("always" | "never")]|[("alw
10708
10780
  // ----- jsdoc/require-jsdoc -----
10709
10781
  type JsdocRequireJsdoc = []|[{
10710
10782
 
10783
+ checkAllFunctionExpressions?: boolean
10784
+
10711
10785
  checkConstructors?: boolean
10712
10786
 
10713
10787
  checkGetters?: (boolean | "no-setter")
@@ -12859,12 +12933,16 @@ type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
12859
12933
  type NodePreferGlobalBuffer = []|[("always" | "never")]
12860
12934
  // ----- node/prefer-global/console -----
12861
12935
  type NodePreferGlobalConsole = []|[("always" | "never")]
12936
+ // ----- node/prefer-global/crypto -----
12937
+ type NodePreferGlobalCrypto = []|[("always" | "never")]
12862
12938
  // ----- node/prefer-global/process -----
12863
12939
  type NodePreferGlobalProcess = []|[("always" | "never")]
12864
12940
  // ----- node/prefer-global/text-decoder -----
12865
12941
  type NodePreferGlobalTextDecoder = []|[("always" | "never")]
12866
12942
  // ----- node/prefer-global/text-encoder -----
12867
12943
  type NodePreferGlobalTextEncoder = []|[("always" | "never")]
12944
+ // ----- node/prefer-global/timers -----
12945
+ type NodePreferGlobalTimers = []|[("always" | "never")]
12868
12946
  // ----- node/prefer-global/url -----
12869
12947
  type NodePreferGlobalUrl = []|[("always" | "never")]
12870
12948
  // ----- node/prefer-global/url-search-params -----
@@ -13000,11 +13078,13 @@ type PerfectionistSortArrayIncludes = {
13000
13078
 
13001
13079
  fallbackSort?: {
13002
13080
 
13003
- order?: ("asc" | "desc")
13081
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13004
13082
 
13005
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13083
+ order?: ("asc" | "desc")
13006
13084
  }
13007
13085
 
13086
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13087
+
13008
13088
  specialCharacters?: ("remove" | "trim" | "keep")
13009
13089
 
13010
13090
  ignoreCase?: boolean
@@ -13015,28 +13095,38 @@ type PerfectionistSortArrayIncludes = {
13015
13095
 
13016
13096
  order?: ("asc" | "desc")
13017
13097
 
13018
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13019
-
13020
- groupKind?: ("mixed" | "literals-first" | "spreads-first")
13021
-
13022
13098
  customGroups?: ({
13023
- newlinesInside?: (("always" | "never") | number)
13024
13099
 
13025
13100
  fallbackSort?: {
13026
13101
 
13027
- order?: ("asc" | "desc")
13102
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13028
13103
 
13029
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13104
+ order?: ("asc" | "desc")
13030
13105
  }
13031
13106
 
13107
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13108
+
13032
13109
  groupName: string
13110
+ newlinesInside?: ("ignore" | number)
13033
13111
 
13034
13112
  order?: ("asc" | "desc")
13035
13113
 
13036
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13037
- anyOf?: {
13114
+ anyOf: [{
13115
+
13116
+ elementNamePattern?: (({
13117
+
13118
+ pattern: string
13119
+
13120
+ flags?: string
13121
+ } | string)[] | ({
13122
+
13123
+ pattern: string
13124
+
13125
+ flags?: string
13126
+ } | string))
13038
13127
 
13039
- selector?: ("literal" | "spread")
13128
+ selector?: "literal"
13129
+ }, ...({
13040
13130
 
13041
13131
  elementNamePattern?: (({
13042
13132
 
@@ -13049,25 +13139,25 @@ type PerfectionistSortArrayIncludes = {
13049
13139
 
13050
13140
  flags?: string
13051
13141
  } | string))
13052
- }[]
13142
+
13143
+ selector?: "literal"
13144
+ })[]]
13053
13145
  } | {
13054
- newlinesInside?: (("always" | "never") | number)
13055
13146
 
13056
13147
  fallbackSort?: {
13057
13148
 
13058
- order?: ("asc" | "desc")
13149
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13059
13150
 
13060
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13151
+ order?: ("asc" | "desc")
13061
13152
  }
13062
13153
 
13154
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13155
+
13063
13156
  groupName: string
13157
+ newlinesInside?: ("ignore" | number)
13064
13158
 
13065
13159
  order?: ("asc" | "desc")
13066
13160
 
13067
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13068
-
13069
- selector?: ("literal" | "spread")
13070
-
13071
13161
  elementNamePattern?: (({
13072
13162
 
13073
13163
  pattern: string
@@ -13079,7 +13169,31 @@ type PerfectionistSortArrayIncludes = {
13079
13169
 
13080
13170
  flags?: string
13081
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")
13082
13195
  })[]
13196
+ newlinesBetween?: ("ignore" | number)
13083
13197
 
13084
13198
  useConfigurationIf?: {
13085
13199
 
@@ -13134,24 +13248,19 @@ type PerfectionistSortArrayIncludes = {
13134
13248
  })
13135
13249
 
13136
13250
  partitionByNewLine?: boolean
13137
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13138
-
13139
- groups?: (string | string[] | {
13140
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13141
-
13142
- commentAbove?: string
13143
- })[]
13144
13251
  }[]
13145
13252
  // ----- perfectionist/sort-classes -----
13146
13253
  type PerfectionistSortClasses = []|[{
13147
13254
 
13148
13255
  fallbackSort?: {
13149
13256
 
13150
- order?: ("asc" | "desc")
13257
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13151
13258
 
13152
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13259
+ order?: ("asc" | "desc")
13153
13260
  }
13154
13261
 
13262
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13263
+
13155
13264
  specialCharacters?: ("remove" | "trim" | "keep")
13156
13265
 
13157
13266
  ignoreCase?: boolean
@@ -13162,24 +13271,35 @@ type PerfectionistSortClasses = []|[{
13162
13271
 
13163
13272
  order?: ("asc" | "desc")
13164
13273
 
13165
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13166
-
13167
13274
  customGroups?: ({
13168
- newlinesInside?: (("always" | "never") | number)
13169
13275
 
13170
13276
  fallbackSort?: {
13171
13277
 
13172
- order?: ("asc" | "desc")
13278
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13173
13279
 
13174
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13280
+ order?: ("asc" | "desc")
13175
13281
  }
13176
13282
 
13283
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13284
+
13177
13285
  groupName: string
13286
+ newlinesInside?: ("ignore" | number)
13178
13287
 
13179
13288
  order?: ("asc" | "desc")
13180
13289
 
13181
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13182
- 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))
13183
13303
 
13184
13304
  modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
13185
13305
 
@@ -13208,6 +13328,7 @@ type PerfectionistSortClasses = []|[{
13208
13328
 
13209
13329
  flags?: string
13210
13330
  } | string))
13331
+ }, ...({
13211
13332
 
13212
13333
  elementNamePattern?: (({
13213
13334
 
@@ -13220,28 +13341,52 @@ type PerfectionistSortClasses = []|[{
13220
13341
 
13221
13342
  flags?: string
13222
13343
  } | string))
13223
- }[]
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
+ })[]]
13224
13373
  } | {
13225
- newlinesInside?: (("always" | "never") | number)
13226
13374
 
13227
13375
  fallbackSort?: {
13228
13376
 
13229
- order?: ("asc" | "desc")
13377
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13230
13378
 
13231
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13379
+ order?: ("asc" | "desc")
13232
13380
  }
13233
13381
 
13382
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13383
+
13234
13384
  groupName: string
13385
+ newlinesInside?: ("ignore" | number)
13235
13386
 
13236
13387
  order?: ("asc" | "desc")
13237
13388
 
13238
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13239
-
13240
- modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
13241
-
13242
- selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
13243
-
13244
- decoratorNamePattern?: (({
13389
+ elementNamePattern?: (({
13245
13390
 
13246
13391
  pattern: string
13247
13392
 
@@ -13253,7 +13398,11 @@ type PerfectionistSortClasses = []|[{
13253
13398
  flags?: string
13254
13399
  } | string))
13255
13400
 
13256
- 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?: (({
13257
13406
 
13258
13407
  pattern: string
13259
13408
 
@@ -13265,7 +13414,7 @@ type PerfectionistSortClasses = []|[{
13265
13414
  flags?: string
13266
13415
  } | string))
13267
13416
 
13268
- elementNamePattern?: (({
13417
+ elementValuePattern?: (({
13269
13418
 
13270
13419
  pattern: string
13271
13420
 
@@ -13277,6 +13426,30 @@ type PerfectionistSortClasses = []|[{
13277
13426
  flags?: string
13278
13427
  } | string))
13279
13428
  })[]
13429
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
13430
+
13431
+ groups?: (string | [string, ...(string)[]] | {
13432
+ newlinesBetween: ("ignore" | number)
13433
+ } | {
13434
+ group: (string | [string, ...(string)[]])
13435
+
13436
+ fallbackSort?: {
13437
+
13438
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13439
+
13440
+ order?: ("asc" | "desc")
13441
+ }
13442
+
13443
+ commentAbove?: string
13444
+
13445
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13446
+ newlinesInside?: ("ignore" | number)
13447
+
13448
+ order?: ("asc" | "desc")
13449
+ })[]
13450
+ newlinesBetween?: ("ignore" | number)
13451
+
13452
+ useExperimentalDependencyDetection?: boolean
13280
13453
 
13281
13454
  ignoreCallbackDependenciesPatterns?: (({
13282
13455
 
@@ -13328,24 +13501,19 @@ type PerfectionistSortClasses = []|[{
13328
13501
  })
13329
13502
 
13330
13503
  partitionByNewLine?: boolean
13331
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13332
-
13333
- groups?: (string | string[] | {
13334
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13335
-
13336
- commentAbove?: string
13337
- })[]
13338
13504
  }]
13339
13505
  // ----- perfectionist/sort-decorators -----
13340
- type PerfectionistSortDecorators = []|[{
13506
+ type PerfectionistSortDecorators = {
13341
13507
 
13342
13508
  fallbackSort?: {
13343
13509
 
13344
- order?: ("asc" | "desc")
13510
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13345
13511
 
13346
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13512
+ order?: ("asc" | "desc")
13347
13513
  }
13348
13514
 
13515
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13516
+
13349
13517
  specialCharacters?: ("remove" | "trim" | "keep")
13350
13518
 
13351
13519
  ignoreCase?: boolean
@@ -13356,7 +13524,99 @@ type PerfectionistSortDecorators = []|[{
13356
13524
 
13357
13525
  order?: ("asc" | "desc")
13358
13526
 
13359
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13527
+ customGroups?: ({
13528
+
13529
+ fallbackSort?: {
13530
+
13531
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13532
+
13533
+ order?: ("asc" | "desc")
13534
+ }
13535
+
13536
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13537
+
13538
+ groupName: string
13539
+ newlinesInside?: ("ignore" | number)
13540
+
13541
+ order?: ("asc" | "desc")
13542
+
13543
+ anyOf: [{
13544
+
13545
+ elementNamePattern?: (({
13546
+
13547
+ pattern: string
13548
+
13549
+ flags?: string
13550
+ } | string)[] | ({
13551
+
13552
+ pattern: string
13553
+
13554
+ flags?: string
13555
+ } | string))
13556
+ }, ...({
13557
+
13558
+ elementNamePattern?: (({
13559
+
13560
+ pattern: string
13561
+
13562
+ flags?: string
13563
+ } | string)[] | ({
13564
+
13565
+ pattern: string
13566
+
13567
+ flags?: string
13568
+ } | string))
13569
+ })[]]
13570
+ } | {
13571
+
13572
+ fallbackSort?: {
13573
+
13574
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13575
+
13576
+ order?: ("asc" | "desc")
13577
+ }
13578
+
13579
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13580
+
13581
+ groupName: string
13582
+ newlinesInside?: ("ignore" | number)
13583
+
13584
+ order?: ("asc" | "desc")
13585
+
13586
+ elementNamePattern?: (({
13587
+
13588
+ pattern: string
13589
+
13590
+ flags?: string
13591
+ } | string)[] | ({
13592
+
13593
+ pattern: string
13594
+
13595
+ flags?: string
13596
+ } | string))
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)
13360
13620
 
13361
13621
  sortOnParameters?: boolean
13362
13622
 
@@ -13405,26 +13665,537 @@ type PerfectionistSortDecorators = []|[{
13405
13665
  } | string)))
13406
13666
  })
13407
13667
 
13408
- customGroups?: {
13409
- [k: string]: (string | string[]) | undefined
13410
- }
13668
+ partitionByNewLine?: boolean
13669
+ }[]
13670
+ // ----- perfectionist/sort-enums -----
13671
+ type PerfectionistSortEnums = []|[{
13411
13672
 
13412
- groups?: (string | string[] | {
13413
- newlinesBetween?: (("ignore" | "always" | "never") | number)
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)))
13414
14171
 
13415
- commentAbove?: string
13416
- })[]
13417
- }]
13418
- // ----- perfectionist/sort-enums -----
13419
- type PerfectionistSortEnums = []|[{
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 = {
13420
14189
 
13421
14190
  fallbackSort?: {
13422
14191
 
13423
- order?: ("asc" | "desc")
14192
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13424
14193
 
13425
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14194
+ order?: ("asc" | "desc")
13426
14195
  }
13427
14196
 
14197
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14198
+
13428
14199
  specialCharacters?: ("remove" | "trim" | "keep")
13429
14200
 
13430
14201
  ignoreCase?: boolean
@@ -13435,27 +14206,25 @@ type PerfectionistSortEnums = []|[{
13435
14206
 
13436
14207
  order?: ("asc" | "desc")
13437
14208
 
13438
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13439
14209
  customGroups?: ({
13440
- [k: string]: (string | string[]) | undefined
13441
- } | ({
13442
- newlinesInside?: (("always" | "never") | number)
13443
14210
 
13444
14211
  fallbackSort?: {
13445
14212
 
13446
- order?: ("asc" | "desc")
14213
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13447
14214
 
13448
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14215
+ order?: ("asc" | "desc")
13449
14216
  }
13450
14217
 
14218
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14219
+
13451
14220
  groupName: string
14221
+ newlinesInside?: ("ignore" | number)
13452
14222
 
13453
14223
  order?: ("asc" | "desc")
13454
14224
 
13455
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13456
- anyOf?: {
14225
+ anyOf: [{
13457
14226
 
13458
- elementValuePattern?: (({
14227
+ elementNamePattern?: (({
13459
14228
 
13460
14229
  pattern: string
13461
14230
 
@@ -13466,6 +14235,7 @@ type PerfectionistSortEnums = []|[{
13466
14235
 
13467
14236
  flags?: string
13468
14237
  } | string))
14238
+ }, ...({
13469
14239
 
13470
14240
  elementNamePattern?: (({
13471
14241
 
@@ -13478,24 +14248,24 @@ type PerfectionistSortEnums = []|[{
13478
14248
 
13479
14249
  flags?: string
13480
14250
  } | string))
13481
- }[]
14251
+ })[]]
13482
14252
  } | {
13483
- newlinesInside?: (("always" | "never") | number)
13484
14253
 
13485
14254
  fallbackSort?: {
13486
14255
 
13487
- order?: ("asc" | "desc")
14256
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13488
14257
 
13489
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14258
+ order?: ("asc" | "desc")
13490
14259
  }
13491
14260
 
14261
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14262
+
13492
14263
  groupName: string
14264
+ newlinesInside?: ("ignore" | number)
13493
14265
 
13494
14266
  order?: ("asc" | "desc")
13495
14267
 
13496
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13497
-
13498
- elementValuePattern?: (({
14268
+ elementNamePattern?: (({
13499
14269
 
13500
14270
  pattern: string
13501
14271
 
@@ -13506,23 +14276,31 @@ type PerfectionistSortEnums = []|[{
13506
14276
 
13507
14277
  flags?: string
13508
14278
  } | string))
14279
+ })[]
14280
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
14281
+
14282
+ groups?: (string | [string, ...(string)[]] | {
14283
+ newlinesBetween: ("ignore" | number)
14284
+ } | {
14285
+ group: (string | [string, ...(string)[]])
13509
14286
 
13510
- elementNamePattern?: (({
13511
-
13512
- pattern: string
13513
-
13514
- flags?: string
13515
- } | string)[] | ({
14287
+ fallbackSort?: {
13516
14288
 
13517
- pattern: string
14289
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13518
14290
 
13519
- flags?: string
13520
- } | string))
13521
- })[])
13522
-
13523
- forceNumericSort?: boolean
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)
13524
14302
 
13525
- sortByValue?: boolean
14303
+ partitionByNewLine?: boolean
13526
14304
 
13527
14305
  partitionByComment?: (boolean | (({
13528
14306
 
@@ -13560,26 +14338,19 @@ type PerfectionistSortEnums = []|[{
13560
14338
  flags?: string
13561
14339
  } | string)))
13562
14340
  })
13563
-
13564
- partitionByNewLine?: boolean
13565
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13566
-
13567
- groups?: (string | string[] | {
13568
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13569
-
13570
- commentAbove?: string
13571
- })[]
13572
- }]
13573
- // ----- perfectionist/sort-exports -----
13574
- type PerfectionistSortExports = {
14341
+ }[]
14342
+ // ----- perfectionist/sort-import-attributes -----
14343
+ type PerfectionistSortImportAttributes = {
13575
14344
 
13576
14345
  fallbackSort?: {
13577
14346
 
13578
- order?: ("asc" | "desc")
14347
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13579
14348
 
13580
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14349
+ order?: ("asc" | "desc")
13581
14350
  }
13582
14351
 
14352
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14353
+
13583
14354
  specialCharacters?: ("remove" | "trim" | "keep")
13584
14355
 
13585
14356
  ignoreCase?: boolean
@@ -13590,30 +14361,36 @@ type PerfectionistSortExports = {
13590
14361
 
13591
14362
  order?: ("asc" | "desc")
13592
14363
 
13593
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13594
-
13595
- groupKind?: ("mixed" | "values-first" | "types-first")
13596
-
13597
14364
  customGroups?: ({
13598
- newlinesInside?: (("always" | "never") | number)
13599
14365
 
13600
14366
  fallbackSort?: {
13601
14367
 
13602
- order?: ("asc" | "desc")
14368
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13603
14369
 
13604
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14370
+ order?: ("asc" | "desc")
13605
14371
  }
13606
14372
 
14373
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14374
+
13607
14375
  groupName: string
14376
+ newlinesInside?: ("ignore" | number)
13608
14377
 
13609
14378
  order?: ("asc" | "desc")
13610
14379
 
13611
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13612
- anyOf?: {
13613
-
13614
- modifiers?: ("value" | "type")[]
14380
+ anyOf: [{
13615
14381
 
13616
- 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
+ }, ...({
13617
14394
 
13618
14395
  elementNamePattern?: (({
13619
14396
 
@@ -13626,27 +14403,23 @@ type PerfectionistSortExports = {
13626
14403
 
13627
14404
  flags?: string
13628
14405
  } | string))
13629
- }[]
14406
+ })[]]
13630
14407
  } | {
13631
- newlinesInside?: (("always" | "never") | number)
13632
14408
 
13633
14409
  fallbackSort?: {
13634
14410
 
13635
- order?: ("asc" | "desc")
14411
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13636
14412
 
13637
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14413
+ order?: ("asc" | "desc")
13638
14414
  }
13639
14415
 
14416
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14417
+
13640
14418
  groupName: string
14419
+ newlinesInside?: ("ignore" | number)
13641
14420
 
13642
14421
  order?: ("asc" | "desc")
13643
14422
 
13644
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13645
-
13646
- modifiers?: ("value" | "type")[]
13647
-
13648
- selector?: "export"
13649
-
13650
14423
  elementNamePattern?: (({
13651
14424
 
13652
14425
  pattern: string
@@ -13659,6 +14432,28 @@ type PerfectionistSortExports = {
13659
14432
  flags?: string
13660
14433
  } | string))
13661
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)
13662
14457
 
13663
14458
  partitionByComment?: (boolean | (({
13664
14459
 
@@ -13698,56 +14493,20 @@ type PerfectionistSortExports = {
13698
14493
  })
13699
14494
 
13700
14495
  partitionByNewLine?: boolean
13701
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13702
-
13703
- groups?: (string | string[] | {
13704
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13705
-
13706
- commentAbove?: string
13707
- })[]
13708
14496
  }[]
13709
- // ----- perfectionist/sort-heritage-clauses -----
13710
- type PerfectionistSortHeritageClauses = []|[{
13711
-
13712
- fallbackSort?: {
13713
-
13714
- order?: ("asc" | "desc")
13715
-
13716
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13717
- }
13718
-
13719
- specialCharacters?: ("remove" | "trim" | "keep")
13720
-
13721
- ignoreCase?: boolean
13722
-
13723
- alphabet?: string
13724
-
13725
- locales?: (string | string[])
13726
-
13727
- order?: ("asc" | "desc")
13728
-
13729
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13730
-
13731
- customGroups?: {
13732
- [k: string]: (string | string[]) | undefined
13733
- }
13734
-
13735
- groups?: (string | string[] | {
13736
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13737
-
13738
- commentAbove?: string
13739
- })[]
13740
- }]
13741
14497
  // ----- perfectionist/sort-imports -----
13742
14498
  type PerfectionistSortImports = {
13743
14499
 
13744
14500
  fallbackSort?: {
13745
14501
 
13746
- order?: ("asc" | "desc")
14502
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first")
13747
14503
 
13748
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14504
+ order?: ("asc" | "desc")
14505
+ sortBy?: ("specifier" | "path")
13749
14506
  }
13750
14507
 
14508
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first")
14509
+
13751
14510
  specialCharacters?: ("remove" | "trim" | "keep")
13752
14511
 
13753
14512
  ignoreCase?: boolean
@@ -13757,39 +14516,29 @@ type PerfectionistSortImports = {
13757
14516
  locales?: (string | string[])
13758
14517
 
13759
14518
  order?: ("asc" | "desc")
14519
+ sortBy?: ("specifier" | "path")
13760
14520
 
13761
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13762
14521
  customGroups?: ({
13763
14522
 
13764
- value?: {
13765
- [k: string]: (string | string[]) | undefined
13766
- }
13767
-
13768
- type?: {
13769
- [k: string]: (string | string[]) | undefined
13770
- }
13771
- } | ({
13772
- newlinesInside?: (("always" | "never") | number)
13773
-
13774
14523
  fallbackSort?: {
13775
14524
 
13776
- order?: ("asc" | "desc")
14525
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first")
13777
14526
 
13778
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14527
+ order?: ("asc" | "desc")
14528
+ sortBy?: ("specifier" | "path")
13779
14529
  }
13780
14530
 
14531
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first")
14532
+
13781
14533
  groupName: string
14534
+ newlinesInside?: ("ignore" | number)
13782
14535
 
13783
14536
  order?: ("asc" | "desc")
14537
+ sortBy?: ("specifier" | "path")
13784
14538
 
13785
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13786
- anyOf?: {
13787
-
13788
- modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[]
13789
-
13790
- selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type")
14539
+ anyOf: [{
13791
14540
 
13792
- elementValuePattern?: (({
14541
+ elementNamePattern?: (({
13793
14542
 
13794
14543
  pattern: string
13795
14544
 
@@ -13801,6 +14550,11 @@ type PerfectionistSortImports = {
13801
14550
  flags?: string
13802
14551
  } | string))
13803
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
+
13804
14558
  elementNamePattern?: (({
13805
14559
 
13806
14560
  pattern: string
@@ -13812,28 +14566,30 @@ type PerfectionistSortImports = {
13812
14566
 
13813
14567
  flags?: string
13814
14568
  } | string))
13815
- }[]
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
+ })[]]
13816
14574
  } | {
13817
- newlinesInside?: (("always" | "never") | number)
13818
14575
 
13819
14576
  fallbackSort?: {
13820
14577
 
13821
- order?: ("asc" | "desc")
14578
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first")
13822
14579
 
13823
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14580
+ order?: ("asc" | "desc")
14581
+ sortBy?: ("specifier" | "path")
13824
14582
  }
13825
14583
 
14584
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first")
14585
+
13826
14586
  groupName: string
14587
+ newlinesInside?: ("ignore" | number)
13827
14588
 
13828
14589
  order?: ("asc" | "desc")
14590
+ sortBy?: ("specifier" | "path")
13829
14591
 
13830
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13831
-
13832
- modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[]
13833
-
13834
- selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type")
13835
-
13836
- elementValuePattern?: (({
14592
+ elementNamePattern?: (({
13837
14593
 
13838
14594
  pattern: string
13839
14595
 
@@ -13845,18 +14601,34 @@ type PerfectionistSortImports = {
13845
14601
  flags?: string
13846
14602
  } | string))
13847
14603
 
13848
- elementNamePattern?: (({
13849
-
13850
- pattern: string
13851
-
13852
- flags?: string
13853
- } | 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?: {
13854
14616
 
13855
- pattern: string
14617
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "type-import-first")
13856
14618
 
13857
- flags?: string
13858
- } | string))
13859
- })[])
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)
13860
14632
  tsconfig?: {
13861
14633
 
13862
14634
  rootDir: string
@@ -13870,7 +14642,7 @@ type PerfectionistSortImports = {
13870
14642
 
13871
14643
  environment?: ("node" | "bun")
13872
14644
 
13873
- tsconfigRootDir?: string
14645
+ useExperimentalDependencyDetection?: boolean
13874
14646
 
13875
14647
  partitionByComment?: (boolean | (({
13876
14648
 
@@ -13910,7 +14682,6 @@ type PerfectionistSortImports = {
13910
14682
  })
13911
14683
 
13912
14684
  partitionByNewLine?: boolean
13913
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13914
14685
 
13915
14686
  internalPattern?: (({
13916
14687
 
@@ -13923,24 +14694,20 @@ type PerfectionistSortImports = {
13923
14694
 
13924
14695
  flags?: string
13925
14696
  } | string))
13926
-
13927
- groups?: (string | string[] | {
13928
- newlinesBetween?: (("ignore" | "always" | "never") | number)
13929
-
13930
- commentAbove?: string
13931
- })[]
13932
14697
  }[]
13933
14698
  // ----- perfectionist/sort-interfaces -----
13934
14699
  type PerfectionistSortInterfaces = {
13935
14700
 
13936
14701
  fallbackSort?: {
13937
14702
 
13938
- order?: ("asc" | "desc")
14703
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13939
14704
 
13940
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14705
+ order?: ("asc" | "desc")
13941
14706
  sortBy?: ("name" | "value")
13942
14707
  }
13943
14708
 
14709
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14710
+
13944
14711
  specialCharacters?: ("remove" | "trim" | "keep")
13945
14712
 
13946
14713
  ignoreCase?: boolean
@@ -13950,31 +14717,43 @@ type PerfectionistSortInterfaces = {
13950
14717
  locales?: (string | string[])
13951
14718
 
13952
14719
  order?: ("asc" | "desc")
14720
+ sortBy?: ("name" | "value")
13953
14721
 
13954
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13955
14722
  customGroups?: ({
13956
- [k: string]: (string | string[]) | undefined
13957
- } | ({
13958
- newlinesInside?: (("always" | "never") | number)
13959
14723
 
13960
14724
  fallbackSort?: {
13961
14725
 
13962
- order?: ("asc" | "desc")
14726
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13963
14727
 
13964
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14728
+ order?: ("asc" | "desc")
13965
14729
  sortBy?: ("name" | "value")
13966
14730
  }
13967
14731
 
14732
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14733
+
13968
14734
  groupName: string
14735
+ newlinesInside?: ("ignore" | number)
13969
14736
 
13970
14737
  order?: ("asc" | "desc")
14738
+ sortBy?: ("name" | "value")
13971
14739
 
13972
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
13973
- 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))
13974
14753
 
13975
14754
  modifiers?: ("optional" | "required" | "multiline")[]
13976
14755
 
13977
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
14756
+ selector?: ("index-signature" | "member" | "method" | "property")
13978
14757
 
13979
14758
  elementValuePattern?: (({
13980
14759
 
@@ -13987,6 +14766,7 @@ type PerfectionistSortInterfaces = {
13987
14766
 
13988
14767
  flags?: string
13989
14768
  } | string))
14769
+ }, ...({
13990
14770
 
13991
14771
  elementNamePattern?: (({
13992
14772
 
@@ -13999,28 +14779,56 @@ type PerfectionistSortInterfaces = {
13999
14779
 
14000
14780
  flags?: string
14001
14781
  } | string))
14002
- sortBy?: ("name" | "value")
14003
- }[]
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
+ })[]]
14004
14799
  } | {
14005
- newlinesInside?: (("always" | "never") | number)
14006
14800
 
14007
14801
  fallbackSort?: {
14008
14802
 
14009
- 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
14010
14825
 
14011
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14012
- sortBy?: ("name" | "value")
14013
- }
14014
-
14015
- groupName: string
14016
-
14017
- order?: ("asc" | "desc")
14018
-
14019
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14826
+ flags?: string
14827
+ } | string))
14020
14828
 
14021
14829
  modifiers?: ("optional" | "required" | "multiline")[]
14022
14830
 
14023
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
14831
+ selector?: ("index-signature" | "member" | "method" | "property")
14024
14832
 
14025
14833
  elementValuePattern?: (({
14026
14834
 
@@ -14033,8 +14841,35 @@ type PerfectionistSortInterfaces = {
14033
14841
 
14034
14842
  flags?: string
14035
14843
  } | string))
14844
+ })[]
14845
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
14846
+
14847
+ groups?: (string | [string, ...(string)[]] | {
14848
+ newlinesBetween: ("ignore" | number)
14849
+ } | {
14850
+ group: (string | [string, ...(string)[]])
14036
14851
 
14037
- 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?: (({
14038
14873
 
14039
14874
  pattern: string
14040
14875
 
@@ -14045,19 +14880,17 @@ type PerfectionistSortInterfaces = {
14045
14880
 
14046
14881
  flags?: string
14047
14882
  } | string))
14048
- sortBy?: ("name" | "value")
14049
- })[])
14050
-
14051
- groupKind?: ("mixed" | "required-first" | "optional-first")
14052
-
14053
- useConfigurationIf?: {
14054
14883
 
14055
- allNamesMatchPattern?: (({
14884
+ hasNumericKeysOnly?: boolean
14885
+
14886
+ declarationCommentMatchesPattern?: (({
14887
+ scope?: ("shallow" | "deep")
14056
14888
 
14057
14889
  pattern: string
14058
14890
 
14059
14891
  flags?: string
14060
14892
  } | string)[] | ({
14893
+ scope?: ("shallow" | "deep")
14061
14894
 
14062
14895
  pattern: string
14063
14896
 
@@ -14065,11 +14898,13 @@ type PerfectionistSortInterfaces = {
14065
14898
  } | string))
14066
14899
 
14067
14900
  declarationMatchesPattern?: (({
14901
+ scope?: ("shallow" | "deep")
14068
14902
 
14069
14903
  pattern: string
14070
14904
 
14071
14905
  flags?: string
14072
14906
  } | string)[] | ({
14907
+ scope?: ("shallow" | "deep")
14073
14908
 
14074
14909
  pattern: string
14075
14910
 
@@ -14115,37 +14950,19 @@ type PerfectionistSortInterfaces = {
14115
14950
  })
14116
14951
 
14117
14952
  partitionByNewLine?: boolean
14118
- newlinesBetween?: (("ignore" | "always" | "never") | number)
14119
-
14120
- ignorePattern?: (({
14121
-
14122
- pattern: string
14123
-
14124
- flags?: string
14125
- } | string)[] | ({
14126
-
14127
- pattern: string
14128
-
14129
- flags?: string
14130
- } | string))
14131
- sortBy?: ("name" | "value")
14132
-
14133
- groups?: (string | string[] | {
14134
- newlinesBetween?: (("ignore" | "always" | "never") | number)
14135
-
14136
- commentAbove?: string
14137
- })[]
14138
14953
  }[]
14139
14954
  // ----- perfectionist/sort-intersection-types -----
14140
14955
  type PerfectionistSortIntersectionTypes = {
14141
14956
 
14142
14957
  fallbackSort?: {
14143
14958
 
14144
- order?: ("asc" | "desc")
14959
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14145
14960
 
14146
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14961
+ order?: ("asc" | "desc")
14147
14962
  }
14148
14963
 
14964
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14965
+
14149
14966
  specialCharacters?: ("remove" | "trim" | "keep")
14150
14967
 
14151
14968
  ignoreCase?: boolean
@@ -14156,26 +14973,38 @@ type PerfectionistSortIntersectionTypes = {
14156
14973
 
14157
14974
  order?: ("asc" | "desc")
14158
14975
 
14159
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14160
-
14161
14976
  customGroups?: ({
14162
- newlinesInside?: (("always" | "never") | number)
14163
14977
 
14164
14978
  fallbackSort?: {
14165
14979
 
14166
- order?: ("asc" | "desc")
14980
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14167
14981
 
14168
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14982
+ order?: ("asc" | "desc")
14169
14983
  }
14170
14984
 
14985
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14986
+
14171
14987
  groupName: string
14988
+ newlinesInside?: ("ignore" | number)
14172
14989
 
14173
14990
  order?: ("asc" | "desc")
14174
14991
 
14175
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14176
- 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))
14177
15005
 
14178
15006
  selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
15007
+ }, ...({
14179
15008
 
14180
15009
  elementNamePattern?: (({
14181
15010
 
@@ -14188,25 +15017,25 @@ type PerfectionistSortIntersectionTypes = {
14188
15017
 
14189
15018
  flags?: string
14190
15019
  } | string))
14191
- }[]
15020
+
15021
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
15022
+ })[]]
14192
15023
  } | {
14193
- newlinesInside?: (("always" | "never") | number)
14194
15024
 
14195
15025
  fallbackSort?: {
14196
15026
 
14197
- order?: ("asc" | "desc")
15027
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14198
15028
 
14199
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15029
+ order?: ("asc" | "desc")
14200
15030
  }
14201
15031
 
15032
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15033
+
14202
15034
  groupName: string
15035
+ newlinesInside?: ("ignore" | number)
14203
15036
 
14204
15037
  order?: ("asc" | "desc")
14205
15038
 
14206
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14207
-
14208
- selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
14209
-
14210
15039
  elementNamePattern?: (({
14211
15040
 
14212
15041
  pattern: string
@@ -14218,7 +15047,31 @@ type PerfectionistSortIntersectionTypes = {
14218
15047
 
14219
15048
  flags?: string
14220
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")
14221
15073
  })[]
15074
+ newlinesBetween?: ("ignore" | number)
14222
15075
 
14223
15076
  partitionByComment?: (boolean | (({
14224
15077
 
@@ -14258,24 +15111,19 @@ type PerfectionistSortIntersectionTypes = {
14258
15111
  })
14259
15112
 
14260
15113
  partitionByNewLine?: boolean
14261
- newlinesBetween?: (("ignore" | "always" | "never") | number)
14262
-
14263
- groups?: (string | string[] | {
14264
- newlinesBetween?: (("ignore" | "always" | "never") | number)
14265
-
14266
- commentAbove?: string
14267
- })[]
14268
15114
  }[]
14269
15115
  // ----- perfectionist/sort-jsx-props -----
14270
15116
  type PerfectionistSortJsxProps = {
14271
15117
 
14272
15118
  fallbackSort?: {
14273
15119
 
14274
- order?: ("asc" | "desc")
15120
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14275
15121
 
14276
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15122
+ order?: ("asc" | "desc")
14277
15123
  }
14278
15124
 
15125
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15126
+
14279
15127
  specialCharacters?: ("remove" | "trim" | "keep")
14280
15128
 
14281
15129
  ignoreCase?: boolean
@@ -14286,29 +15134,39 @@ type PerfectionistSortJsxProps = {
14286
15134
 
14287
15135
  order?: ("asc" | "desc")
14288
15136
 
14289
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14290
15137
  customGroups?: ({
14291
- [k: string]: (string | string[]) | undefined
14292
- } | ({
14293
- newlinesInside?: (("always" | "never") | number)
14294
15138
 
14295
15139
  fallbackSort?: {
14296
15140
 
14297
- order?: ("asc" | "desc")
15141
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14298
15142
 
14299
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15143
+ order?: ("asc" | "desc")
14300
15144
  }
14301
15145
 
15146
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15147
+
14302
15148
  groupName: string
15149
+ newlinesInside?: ("ignore" | number)
14303
15150
 
14304
15151
  order?: ("asc" | "desc")
14305
15152
 
14306
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14307
- 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))
14308
15166
 
14309
15167
  modifiers?: ("shorthand" | "multiline")[]
14310
15168
 
14311
- selector?: ("multiline" | "prop" | "shorthand")
15169
+ selector?: "prop"
14312
15170
 
14313
15171
  elementValuePattern?: (({
14314
15172
 
@@ -14321,6 +15179,7 @@ type PerfectionistSortJsxProps = {
14321
15179
 
14322
15180
  flags?: string
14323
15181
  } | string))
15182
+ }, ...({
14324
15183
 
14325
15184
  elementNamePattern?: (({
14326
15185
 
@@ -14333,28 +15192,40 @@ type PerfectionistSortJsxProps = {
14333
15192
 
14334
15193
  flags?: string
14335
15194
  } | string))
14336
- }[]
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
+ })[]]
14337
15212
  } | {
14338
- newlinesInside?: (("always" | "never") | number)
14339
15213
 
14340
15214
  fallbackSort?: {
14341
15215
 
14342
- order?: ("asc" | "desc")
15216
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14343
15217
 
14344
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15218
+ order?: ("asc" | "desc")
14345
15219
  }
14346
15220
 
15221
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15222
+
14347
15223
  groupName: string
15224
+ newlinesInside?: ("ignore" | number)
14348
15225
 
14349
15226
  order?: ("asc" | "desc")
14350
15227
 
14351
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14352
-
14353
- modifiers?: ("shorthand" | "multiline")[]
14354
-
14355
- selector?: ("multiline" | "prop" | "shorthand")
14356
-
14357
- elementValuePattern?: (({
15228
+ elementNamePattern?: (({
14358
15229
 
14359
15230
  pattern: string
14360
15231
 
@@ -14366,7 +15237,11 @@ type PerfectionistSortJsxProps = {
14366
15237
  flags?: string
14367
15238
  } | string))
14368
15239
 
14369
- elementNamePattern?: (({
15240
+ modifiers?: ("shorthand" | "multiline")[]
15241
+
15242
+ selector?: "prop"
15243
+
15244
+ elementValuePattern?: (({
14370
15245
 
14371
15246
  pattern: string
14372
15247
 
@@ -14377,7 +15252,29 @@ type PerfectionistSortJsxProps = {
14377
15252
 
14378
15253
  flags?: string
14379
15254
  } | string))
14380
- })[])
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)
14381
15278
 
14382
15279
  useConfigurationIf?: {
14383
15280
 
@@ -14407,36 +15304,19 @@ type PerfectionistSortJsxProps = {
14407
15304
  }
14408
15305
 
14409
15306
  partitionByNewLine?: boolean
14410
- newlinesBetween?: (("ignore" | "always" | "never") | number)
14411
-
14412
- ignorePattern?: (({
14413
-
14414
- pattern: string
14415
-
14416
- flags?: string
14417
- } | string)[] | ({
14418
-
14419
- pattern: string
14420
-
14421
- flags?: string
14422
- } | string))
14423
-
14424
- groups?: (string | string[] | {
14425
- newlinesBetween?: (("ignore" | "always" | "never") | number)
14426
-
14427
- commentAbove?: string
14428
- })[]
14429
15307
  }[]
14430
15308
  // ----- perfectionist/sort-maps -----
14431
15309
  type PerfectionistSortMaps = {
14432
15310
 
14433
15311
  fallbackSort?: {
14434
15312
 
14435
- order?: ("asc" | "desc")
15313
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14436
15314
 
14437
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15315
+ order?: ("asc" | "desc")
14438
15316
  }
14439
15317
 
15318
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15319
+
14440
15320
  specialCharacters?: ("remove" | "trim" | "keep")
14441
15321
 
14442
15322
  ignoreCase?: boolean
@@ -14447,24 +15327,36 @@ type PerfectionistSortMaps = {
14447
15327
 
14448
15328
  order?: ("asc" | "desc")
14449
15329
 
14450
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14451
-
14452
15330
  customGroups?: ({
14453
- newlinesInside?: (("always" | "never") | number)
14454
15331
 
14455
15332
  fallbackSort?: {
14456
15333
 
14457
- order?: ("asc" | "desc")
15334
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14458
15335
 
14459
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15336
+ order?: ("asc" | "desc")
14460
15337
  }
14461
15338
 
15339
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15340
+
14462
15341
  groupName: string
15342
+ newlinesInside?: ("ignore" | number)
14463
15343
 
14464
15344
  order?: ("asc" | "desc")
14465
15345
 
14466
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14467
- 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
+ }, ...({
14468
15360
 
14469
15361
  elementNamePattern?: (({
14470
15362
 
@@ -14477,23 +15369,23 @@ type PerfectionistSortMaps = {
14477
15369
 
14478
15370
  flags?: string
14479
15371
  } | string))
14480
- }[]
15372
+ })[]]
14481
15373
  } | {
14482
- newlinesInside?: (("always" | "never") | number)
14483
15374
 
14484
15375
  fallbackSort?: {
14485
15376
 
14486
- order?: ("asc" | "desc")
15377
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14487
15378
 
14488
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15379
+ order?: ("asc" | "desc")
14489
15380
  }
14490
15381
 
15382
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15383
+
14491
15384
  groupName: string
15385
+ newlinesInside?: ("ignore" | number)
14492
15386
 
14493
15387
  order?: ("asc" | "desc")
14494
15388
 
14495
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14496
-
14497
15389
  elementNamePattern?: (({
14498
15390
 
14499
15391
  pattern: string
@@ -14506,6 +15398,28 @@ type PerfectionistSortMaps = {
14506
15398
  flags?: string
14507
15399
  } | string))
14508
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)
14509
15423
 
14510
15424
  useConfigurationIf?: {
14511
15425
 
@@ -14560,24 +15474,19 @@ type PerfectionistSortMaps = {
14560
15474
  })
14561
15475
 
14562
15476
  partitionByNewLine?: boolean
14563
- newlinesBetween?: (("ignore" | "always" | "never") | number)
14564
-
14565
- groups?: (string | string[] | {
14566
- newlinesBetween?: (("ignore" | "always" | "never") | number)
14567
-
14568
- commentAbove?: string
14569
- })[]
14570
15477
  }[]
14571
15478
  // ----- perfectionist/sort-modules -----
14572
15479
  type PerfectionistSortModules = []|[{
14573
15480
 
14574
15481
  fallbackSort?: {
14575
15482
 
14576
- order?: ("asc" | "desc")
15483
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage")
14577
15484
 
14578
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15485
+ order?: ("asc" | "desc")
14579
15486
  }
14580
15487
 
15488
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage")
15489
+
14581
15490
  specialCharacters?: ("remove" | "trim" | "keep")
14582
15491
 
14583
15492
  ignoreCase?: boolean
@@ -14588,24 +15497,35 @@ type PerfectionistSortModules = []|[{
14588
15497
 
14589
15498
  order?: ("asc" | "desc")
14590
15499
 
14591
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14592
-
14593
15500
  customGroups?: ({
14594
- newlinesInside?: (("always" | "never") | number)
14595
15501
 
14596
15502
  fallbackSort?: {
14597
15503
 
14598
- order?: ("asc" | "desc")
15504
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage")
14599
15505
 
14600
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15506
+ order?: ("asc" | "desc")
14601
15507
  }
14602
15508
 
15509
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage")
15510
+
14603
15511
  groupName: string
15512
+ newlinesInside?: ("ignore" | number)
14604
15513
 
14605
15514
  order?: ("asc" | "desc")
14606
15515
 
14607
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14608
- 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))
14609
15529
 
14610
15530
  modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
14611
15531
 
@@ -14622,6 +15542,7 @@ type PerfectionistSortModules = []|[{
14622
15542
 
14623
15543
  flags?: string
14624
15544
  } | string))
15545
+ }, ...({
14625
15546
 
14626
15547
  elementNamePattern?: (({
14627
15548
 
@@ -14634,28 +15555,40 @@ type PerfectionistSortModules = []|[{
14634
15555
 
14635
15556
  flags?: string
14636
15557
  } | string))
14637
- }[]
15558
+
15559
+ modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
15560
+
15561
+ selector?: ("enum" | "function" | "interface" | "type" | "class")
15562
+
15563
+ decoratorNamePattern?: (({
15564
+
15565
+ pattern: string
15566
+
15567
+ flags?: string
15568
+ } | string)[] | ({
15569
+
15570
+ pattern: string
15571
+
15572
+ flags?: string
15573
+ } | string))
15574
+ })[]]
14638
15575
  } | {
14639
- newlinesInside?: (("always" | "never") | number)
14640
15576
 
14641
15577
  fallbackSort?: {
14642
15578
 
14643
- order?: ("asc" | "desc")
15579
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage")
14644
15580
 
14645
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15581
+ order?: ("asc" | "desc")
14646
15582
  }
14647
15583
 
15584
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order" | "usage")
15585
+
14648
15586
  groupName: string
15587
+ newlinesInside?: ("ignore" | number)
14649
15588
 
14650
15589
  order?: ("asc" | "desc")
14651
15590
 
14652
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14653
-
14654
- modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
14655
-
14656
- selector?: ("enum" | "function" | "interface" | "type" | "class")
14657
-
14658
- decoratorNamePattern?: (({
15591
+ elementNamePattern?: (({
14659
15592
 
14660
15593
  pattern: string
14661
15594
 
@@ -14667,7 +15600,11 @@ type PerfectionistSortModules = []|[{
14667
15600
  flags?: string
14668
15601
  } | string))
14669
15602
 
14670
- elementNamePattern?: (({
15603
+ modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
15604
+
15605
+ selector?: ("enum" | "function" | "interface" | "type" | "class")
15606
+
15607
+ decoratorNamePattern?: (({
14671
15608
 
14672
15609
  pattern: string
14673
15610
 
@@ -14679,6 +15616,30 @@ type PerfectionistSortModules = []|[{
14679
15616
  flags?: string
14680
15617
  } | string))
14681
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
14682
15643
 
14683
15644
  partitionByComment?: (boolean | (({
14684
15645
 
@@ -14718,24 +15679,19 @@ type PerfectionistSortModules = []|[{
14718
15679
  })
14719
15680
 
14720
15681
  partitionByNewLine?: boolean
14721
- newlinesBetween?: (("ignore" | "always" | "never") | number)
14722
-
14723
- groups?: (string | string[] | {
14724
- newlinesBetween?: (("ignore" | "always" | "never") | number)
14725
-
14726
- commentAbove?: string
14727
- })[]
14728
15682
  }]
14729
15683
  // ----- perfectionist/sort-named-exports -----
14730
15684
  type PerfectionistSortNamedExports = {
14731
15685
 
14732
15686
  fallbackSort?: {
14733
15687
 
14734
- order?: ("asc" | "desc")
15688
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14735
15689
 
14736
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15690
+ order?: ("asc" | "desc")
14737
15691
  }
14738
15692
 
15693
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15694
+
14739
15695
  specialCharacters?: ("remove" | "trim" | "keep")
14740
15696
 
14741
15697
  ignoreCase?: boolean
@@ -14746,32 +15702,40 @@ type PerfectionistSortNamedExports = {
14746
15702
 
14747
15703
  order?: ("asc" | "desc")
14748
15704
 
14749
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14750
-
14751
- groupKind?: ("mixed" | "values-first" | "types-first")
14752
-
14753
- ignoreAlias?: boolean
14754
-
14755
15705
  customGroups?: ({
14756
- newlinesInside?: (("always" | "never") | number)
14757
15706
 
14758
15707
  fallbackSort?: {
14759
15708
 
14760
- order?: ("asc" | "desc")
15709
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14761
15710
 
14762
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15711
+ order?: ("asc" | "desc")
14763
15712
  }
14764
15713
 
15714
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15715
+
14765
15716
  groupName: string
15717
+ newlinesInside?: ("ignore" | number)
14766
15718
 
14767
15719
  order?: ("asc" | "desc")
14768
15720
 
14769
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14770
- 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))
14771
15734
 
14772
15735
  modifiers?: ("value" | "type")[]
14773
15736
 
14774
15737
  selector?: "export"
15738
+ }, ...({
14775
15739
 
14776
15740
  elementNamePattern?: (({
14777
15741
 
@@ -14784,27 +15748,27 @@ type PerfectionistSortNamedExports = {
14784
15748
 
14785
15749
  flags?: string
14786
15750
  } | string))
14787
- }[]
15751
+
15752
+ modifiers?: ("value" | "type")[]
15753
+
15754
+ selector?: "export"
15755
+ })[]]
14788
15756
  } | {
14789
- newlinesInside?: (("always" | "never") | number)
14790
15757
 
14791
15758
  fallbackSort?: {
14792
15759
 
14793
- order?: ("asc" | "desc")
15760
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14794
15761
 
14795
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15762
+ order?: ("asc" | "desc")
14796
15763
  }
14797
15764
 
15765
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15766
+
14798
15767
  groupName: string
15768
+ newlinesInside?: ("ignore" | number)
14799
15769
 
14800
15770
  order?: ("asc" | "desc")
14801
15771
 
14802
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14803
-
14804
- modifiers?: ("value" | "type")[]
14805
-
14806
- selector?: "export"
14807
-
14808
15772
  elementNamePattern?: (({
14809
15773
 
14810
15774
  pattern: string
@@ -14816,7 +15780,35 @@ type PerfectionistSortNamedExports = {
14816
15780
 
14817
15781
  flags?: string
14818
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")
14819
15808
  })[]
15809
+ newlinesBetween?: ("ignore" | number)
15810
+
15811
+ ignoreAlias?: boolean
14820
15812
 
14821
15813
  partitionByComment?: (boolean | (({
14822
15814
 
@@ -14856,24 +15848,19 @@ type PerfectionistSortNamedExports = {
14856
15848
  })
14857
15849
 
14858
15850
  partitionByNewLine?: boolean
14859
- newlinesBetween?: (("ignore" | "always" | "never") | number)
14860
-
14861
- groups?: (string | string[] | {
14862
- newlinesBetween?: (("ignore" | "always" | "never") | number)
14863
-
14864
- commentAbove?: string
14865
- })[]
14866
15851
  }[]
14867
15852
  // ----- perfectionist/sort-named-imports -----
14868
15853
  type PerfectionistSortNamedImports = {
14869
15854
 
14870
15855
  fallbackSort?: {
14871
15856
 
14872
- order?: ("asc" | "desc")
15857
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14873
15858
 
14874
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15859
+ order?: ("asc" | "desc")
14875
15860
  }
14876
15861
 
15862
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15863
+
14877
15864
  specialCharacters?: ("remove" | "trim" | "keep")
14878
15865
 
14879
15866
  ignoreCase?: boolean
@@ -14884,32 +15871,40 @@ type PerfectionistSortNamedImports = {
14884
15871
 
14885
15872
  order?: ("asc" | "desc")
14886
15873
 
14887
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14888
-
14889
- groupKind?: ("mixed" | "values-first" | "types-first")
14890
-
14891
- ignoreAlias?: boolean
14892
-
14893
15874
  customGroups?: ({
14894
- newlinesInside?: (("always" | "never") | number)
14895
15875
 
14896
15876
  fallbackSort?: {
14897
15877
 
14898
- order?: ("asc" | "desc")
15878
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14899
15879
 
14900
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15880
+ order?: ("asc" | "desc")
14901
15881
  }
14902
15882
 
15883
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15884
+
14903
15885
  groupName: string
15886
+ newlinesInside?: ("ignore" | number)
14904
15887
 
14905
15888
  order?: ("asc" | "desc")
14906
15889
 
14907
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14908
- 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))
14909
15903
 
14910
15904
  modifiers?: ("value" | "type")[]
14911
15905
 
14912
15906
  selector?: "import"
15907
+ }, ...({
14913
15908
 
14914
15909
  elementNamePattern?: (({
14915
15910
 
@@ -14922,27 +15917,27 @@ type PerfectionistSortNamedImports = {
14922
15917
 
14923
15918
  flags?: string
14924
15919
  } | string))
14925
- }[]
15920
+
15921
+ modifiers?: ("value" | "type")[]
15922
+
15923
+ selector?: "import"
15924
+ })[]]
14926
15925
  } | {
14927
- newlinesInside?: (("always" | "never") | number)
14928
15926
 
14929
15927
  fallbackSort?: {
14930
15928
 
14931
- order?: ("asc" | "desc")
15929
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
14932
15930
 
14933
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15931
+ order?: ("asc" | "desc")
14934
15932
  }
14935
15933
 
15934
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15935
+
14936
15936
  groupName: string
15937
+ newlinesInside?: ("ignore" | number)
14937
15938
 
14938
15939
  order?: ("asc" | "desc")
14939
15940
 
14940
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
14941
-
14942
- modifiers?: ("value" | "type")[]
14943
-
14944
- selector?: "import"
14945
-
14946
15941
  elementNamePattern?: (({
14947
15942
 
14948
15943
  pattern: string
@@ -14954,7 +15949,35 @@ type PerfectionistSortNamedImports = {
14954
15949
 
14955
15950
  flags?: string
14956
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")
14957
15977
  })[]
15978
+ newlinesBetween?: ("ignore" | number)
15979
+
15980
+ ignoreAlias?: boolean
14958
15981
 
14959
15982
  partitionByComment?: (boolean | (({
14960
15983
 
@@ -14994,25 +16017,20 @@ type PerfectionistSortNamedImports = {
14994
16017
  })
14995
16018
 
14996
16019
  partitionByNewLine?: boolean
14997
- newlinesBetween?: (("ignore" | "always" | "never") | number)
14998
-
14999
- groups?: (string | string[] | {
15000
- newlinesBetween?: (("ignore" | "always" | "never") | number)
15001
-
15002
- commentAbove?: string
15003
- })[]
15004
16020
  }[]
15005
16021
  // ----- perfectionist/sort-object-types -----
15006
16022
  type PerfectionistSortObjectTypes = {
15007
16023
 
15008
16024
  fallbackSort?: {
15009
16025
 
15010
- order?: ("asc" | "desc")
16026
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15011
16027
 
15012
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16028
+ order?: ("asc" | "desc")
15013
16029
  sortBy?: ("name" | "value")
15014
16030
  }
15015
16031
 
16032
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16033
+
15016
16034
  specialCharacters?: ("remove" | "trim" | "keep")
15017
16035
 
15018
16036
  ignoreCase?: boolean
@@ -15022,31 +16040,43 @@ type PerfectionistSortObjectTypes = {
15022
16040
  locales?: (string | string[])
15023
16041
 
15024
16042
  order?: ("asc" | "desc")
16043
+ sortBy?: ("name" | "value")
15025
16044
 
15026
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15027
16045
  customGroups?: ({
15028
- [k: string]: (string | string[]) | undefined
15029
- } | ({
15030
- newlinesInside?: (("always" | "never") | number)
15031
16046
 
15032
16047
  fallbackSort?: {
15033
16048
 
15034
- order?: ("asc" | "desc")
16049
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15035
16050
 
15036
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16051
+ order?: ("asc" | "desc")
15037
16052
  sortBy?: ("name" | "value")
15038
16053
  }
15039
16054
 
16055
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16056
+
15040
16057
  groupName: string
16058
+ newlinesInside?: ("ignore" | number)
15041
16059
 
15042
16060
  order?: ("asc" | "desc")
16061
+ sortBy?: ("name" | "value")
15043
16062
 
15044
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15045
- 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))
15046
16076
 
15047
16077
  modifiers?: ("optional" | "required" | "multiline")[]
15048
16078
 
15049
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
16079
+ selector?: ("index-signature" | "member" | "method" | "property")
15050
16080
 
15051
16081
  elementValuePattern?: (({
15052
16082
 
@@ -15059,6 +16089,7 @@ type PerfectionistSortObjectTypes = {
15059
16089
 
15060
16090
  flags?: string
15061
16091
  } | string))
16092
+ }, ...({
15062
16093
 
15063
16094
  elementNamePattern?: (({
15064
16095
 
@@ -15071,28 +16102,56 @@ type PerfectionistSortObjectTypes = {
15071
16102
 
15072
16103
  flags?: string
15073
16104
  } | string))
15074
- sortBy?: ("name" | "value")
15075
- }[]
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
+ })[]]
15076
16122
  } | {
15077
- newlinesInside?: (("always" | "never") | number)
15078
16123
 
15079
16124
  fallbackSort?: {
15080
16125
 
15081
- order?: ("asc" | "desc")
16126
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15082
16127
 
15083
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16128
+ order?: ("asc" | "desc")
15084
16129
  sortBy?: ("name" | "value")
15085
16130
  }
15086
16131
 
16132
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16133
+
15087
16134
  groupName: string
16135
+ newlinesInside?: ("ignore" | number)
15088
16136
 
15089
16137
  order?: ("asc" | "desc")
16138
+ sortBy?: ("name" | "value")
15090
16139
 
15091
- 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))
15092
16151
 
15093
16152
  modifiers?: ("optional" | "required" | "multiline")[]
15094
16153
 
15095
- selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
16154
+ selector?: ("index-signature" | "member" | "method" | "property")
15096
16155
 
15097
16156
  elementValuePattern?: (({
15098
16157
 
@@ -15105,8 +16164,35 @@ type PerfectionistSortObjectTypes = {
15105
16164
 
15106
16165
  flags?: string
15107
16166
  } | string))
16167
+ })[]
16168
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
16169
+
16170
+ groups?: (string | [string, ...(string)[]] | {
16171
+ newlinesBetween: ("ignore" | number)
16172
+ } | {
16173
+ group: (string | [string, ...(string)[]])
15108
16174
 
15109
- 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?: (({
15110
16196
 
15111
16197
  pattern: string
15112
16198
 
@@ -15117,19 +16203,17 @@ type PerfectionistSortObjectTypes = {
15117
16203
 
15118
16204
  flags?: string
15119
16205
  } | string))
15120
- sortBy?: ("name" | "value")
15121
- })[])
15122
-
15123
- groupKind?: ("mixed" | "required-first" | "optional-first")
15124
-
15125
- useConfigurationIf?: {
15126
16206
 
15127
- allNamesMatchPattern?: (({
16207
+ hasNumericKeysOnly?: boolean
16208
+
16209
+ declarationCommentMatchesPattern?: (({
16210
+ scope?: ("shallow" | "deep")
15128
16211
 
15129
16212
  pattern: string
15130
16213
 
15131
16214
  flags?: string
15132
16215
  } | string)[] | ({
16216
+ scope?: ("shallow" | "deep")
15133
16217
 
15134
16218
  pattern: string
15135
16219
 
@@ -15137,11 +16221,13 @@ type PerfectionistSortObjectTypes = {
15137
16221
  } | string))
15138
16222
 
15139
16223
  declarationMatchesPattern?: (({
16224
+ scope?: ("shallow" | "deep")
15140
16225
 
15141
16226
  pattern: string
15142
16227
 
15143
16228
  flags?: string
15144
16229
  } | string)[] | ({
16230
+ scope?: ("shallow" | "deep")
15145
16231
 
15146
16232
  pattern: string
15147
16233
 
@@ -15187,37 +16273,20 @@ type PerfectionistSortObjectTypes = {
15187
16273
  })
15188
16274
 
15189
16275
  partitionByNewLine?: boolean
15190
- newlinesBetween?: (("ignore" | "always" | "never") | number)
15191
-
15192
- ignorePattern?: (({
15193
-
15194
- pattern: string
15195
-
15196
- flags?: string
15197
- } | string)[] | ({
15198
-
15199
- pattern: string
15200
-
15201
- flags?: string
15202
- } | string))
15203
- sortBy?: ("name" | "value")
15204
-
15205
- groups?: (string | string[] | {
15206
- newlinesBetween?: (("ignore" | "always" | "never") | number)
15207
-
15208
- commentAbove?: string
15209
- })[]
15210
16276
  }[]
15211
16277
  // ----- perfectionist/sort-objects -----
15212
16278
  type PerfectionistSortObjects = {
15213
16279
 
15214
16280
  fallbackSort?: {
15215
16281
 
15216
- order?: ("asc" | "desc")
16282
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15217
16283
 
15218
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16284
+ order?: ("asc" | "desc")
16285
+ sortBy?: ("name" | "value")
15219
16286
  }
15220
16287
 
16288
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16289
+
15221
16290
  specialCharacters?: ("remove" | "trim" | "keep")
15222
16291
 
15223
16292
  ignoreCase?: boolean
@@ -15227,35 +16296,43 @@ type PerfectionistSortObjects = {
15227
16296
  locales?: (string | string[])
15228
16297
 
15229
16298
  order?: ("asc" | "desc")
16299
+ sortBy?: ("name" | "value")
15230
16300
 
15231
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15232
-
15233
- destructuredObjects?: (boolean | {
15234
-
15235
- groups?: boolean
15236
- })
15237
16301
  customGroups?: ({
15238
- [k: string]: (string | string[]) | undefined
15239
- } | ({
15240
- newlinesInside?: (("always" | "never") | number)
15241
16302
 
15242
16303
  fallbackSort?: {
15243
16304
 
15244
- order?: ("asc" | "desc")
16305
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15245
16306
 
15246
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16307
+ order?: ("asc" | "desc")
16308
+ sortBy?: ("name" | "value")
15247
16309
  }
15248
16310
 
16311
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16312
+
15249
16313
  groupName: string
16314
+ newlinesInside?: ("ignore" | number)
15250
16315
 
15251
16316
  order?: ("asc" | "desc")
16317
+ sortBy?: ("name" | "value")
15252
16318
 
15253
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15254
- anyOf?: {
16319
+ anyOf: [{
15255
16320
 
15256
- 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")[]
15257
16334
 
15258
- selector?: ("member" | "method" | "multiline" | "property")
16335
+ selector?: ("member" | "method" | "property")
15259
16336
 
15260
16337
  elementValuePattern?: (({
15261
16338
 
@@ -15268,6 +16345,7 @@ type PerfectionistSortObjects = {
15268
16345
 
15269
16346
  flags?: string
15270
16347
  } | string))
16348
+ }, ...({
15271
16349
 
15272
16350
  elementNamePattern?: (({
15273
16351
 
@@ -15280,26 +16358,56 @@ type PerfectionistSortObjects = {
15280
16358
 
15281
16359
  flags?: string
15282
16360
  } | string))
15283
- }[]
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
+ })[]]
15284
16378
  } | {
15285
- newlinesInside?: (("always" | "never") | number)
15286
16379
 
15287
16380
  fallbackSort?: {
15288
16381
 
15289
- order?: ("asc" | "desc")
16382
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15290
16383
 
15291
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16384
+ order?: ("asc" | "desc")
16385
+ sortBy?: ("name" | "value")
15292
16386
  }
15293
16387
 
16388
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16389
+
15294
16390
  groupName: string
16391
+ newlinesInside?: ("ignore" | number)
15295
16392
 
15296
16393
  order?: ("asc" | "desc")
16394
+ sortBy?: ("name" | "value")
15297
16395
 
15298
- 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))
15299
16407
 
15300
- modifiers?: ("optional" | "required" | "multiline")[]
16408
+ modifiers?: ("multiline")[]
15301
16409
 
15302
- selector?: ("member" | "method" | "multiline" | "property")
16410
+ selector?: ("member" | "method" | "property")
15303
16411
 
15304
16412
  elementValuePattern?: (({
15305
16413
 
@@ -15312,8 +16420,35 @@ type PerfectionistSortObjects = {
15312
16420
 
15313
16421
  flags?: string
15314
16422
  } | string))
16423
+ })[]
16424
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
16425
+
16426
+ groups?: (string | [string, ...(string)[]] | {
16427
+ newlinesBetween: ("ignore" | number)
16428
+ } | {
16429
+ group: (string | [string, ...(string)[]])
15315
16430
 
15316
- 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?: (({
15317
16452
 
15318
16453
  pattern: string
15319
16454
 
@@ -15324,16 +16459,19 @@ type PerfectionistSortObjects = {
15324
16459
 
15325
16460
  flags?: string
15326
16461
  } | string))
15327
- })[])
15328
-
15329
- useConfigurationIf?: {
15330
16462
 
15331
- allNamesMatchPattern?: (({
16463
+ objectType?: ("destructured" | "non-destructured")
16464
+
16465
+ hasNumericKeysOnly?: boolean
16466
+
16467
+ declarationCommentMatchesPattern?: (({
16468
+ scope?: ("shallow" | "deep")
15332
16469
 
15333
16470
  pattern: string
15334
16471
 
15335
16472
  flags?: string
15336
16473
  } | string)[] | ({
16474
+ scope?: ("shallow" | "deep")
15337
16475
 
15338
16476
  pattern: string
15339
16477
 
@@ -15341,11 +16479,27 @@ type PerfectionistSortObjects = {
15341
16479
  } | string))
15342
16480
 
15343
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")
15344
16497
 
15345
16498
  pattern: string
15346
16499
 
15347
16500
  flags?: string
15348
16501
  } | string)[] | ({
16502
+ scope?: ("shallow" | "deep")
15349
16503
 
15350
16504
  pattern: string
15351
16505
 
@@ -15353,12 +16507,10 @@ type PerfectionistSortObjects = {
15353
16507
  } | string))
15354
16508
  }
15355
16509
 
15356
- destructureOnly?: boolean
15357
-
15358
- objectDeclarations?: boolean
15359
-
15360
16510
  styledComponents?: boolean
15361
16511
 
16512
+ useExperimentalDependencyDetection?: boolean
16513
+
15362
16514
  partitionByComment?: (boolean | (({
15363
16515
 
15364
16516
  pattern: string
@@ -15397,36 +16549,19 @@ type PerfectionistSortObjects = {
15397
16549
  })
15398
16550
 
15399
16551
  partitionByNewLine?: boolean
15400
- newlinesBetween?: (("ignore" | "always" | "never") | number)
15401
-
15402
- ignorePattern?: (({
15403
-
15404
- pattern: string
15405
-
15406
- flags?: string
15407
- } | string)[] | ({
15408
-
15409
- pattern: string
15410
-
15411
- flags?: string
15412
- } | string))
15413
-
15414
- groups?: (string | string[] | {
15415
- newlinesBetween?: (("ignore" | "always" | "never") | number)
15416
-
15417
- commentAbove?: string
15418
- })[]
15419
16552
  }[]
15420
16553
  // ----- perfectionist/sort-sets -----
15421
16554
  type PerfectionistSortSets = {
15422
16555
 
15423
16556
  fallbackSort?: {
15424
16557
 
15425
- order?: ("asc" | "desc")
16558
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15426
16559
 
15427
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16560
+ order?: ("asc" | "desc")
15428
16561
  }
15429
16562
 
16563
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16564
+
15430
16565
  specialCharacters?: ("remove" | "trim" | "keep")
15431
16566
 
15432
16567
  ignoreCase?: boolean
@@ -15437,28 +16572,38 @@ type PerfectionistSortSets = {
15437
16572
 
15438
16573
  order?: ("asc" | "desc")
15439
16574
 
15440
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15441
-
15442
- groupKind?: ("mixed" | "literals-first" | "spreads-first")
15443
-
15444
16575
  customGroups?: ({
15445
- newlinesInside?: (("always" | "never") | number)
15446
16576
 
15447
16577
  fallbackSort?: {
15448
16578
 
15449
- order?: ("asc" | "desc")
16579
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15450
16580
 
15451
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16581
+ order?: ("asc" | "desc")
15452
16582
  }
15453
16583
 
16584
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16585
+
15454
16586
  groupName: string
16587
+ newlinesInside?: ("ignore" | number)
15455
16588
 
15456
16589
  order?: ("asc" | "desc")
15457
16590
 
15458
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15459
- anyOf?: {
16591
+ anyOf: [{
15460
16592
 
15461
- selector?: ("literal" | "spread")
16593
+ elementNamePattern?: (({
16594
+
16595
+ pattern: string
16596
+
16597
+ flags?: string
16598
+ } | string)[] | ({
16599
+
16600
+ pattern: string
16601
+
16602
+ flags?: string
16603
+ } | string))
16604
+
16605
+ selector?: "literal"
16606
+ }, ...({
15462
16607
 
15463
16608
  elementNamePattern?: (({
15464
16609
 
@@ -15471,25 +16616,25 @@ type PerfectionistSortSets = {
15471
16616
 
15472
16617
  flags?: string
15473
16618
  } | string))
15474
- }[]
16619
+
16620
+ selector?: "literal"
16621
+ })[]]
15475
16622
  } | {
15476
- newlinesInside?: (("always" | "never") | number)
15477
16623
 
15478
16624
  fallbackSort?: {
15479
16625
 
15480
- order?: ("asc" | "desc")
16626
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15481
16627
 
15482
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16628
+ order?: ("asc" | "desc")
15483
16629
  }
15484
16630
 
16631
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16632
+
15485
16633
  groupName: string
16634
+ newlinesInside?: ("ignore" | number)
15486
16635
 
15487
16636
  order?: ("asc" | "desc")
15488
16637
 
15489
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15490
-
15491
- selector?: ("literal" | "spread")
15492
-
15493
16638
  elementNamePattern?: (({
15494
16639
 
15495
16640
  pattern: string
@@ -15501,7 +16646,31 @@ type PerfectionistSortSets = {
15501
16646
 
15502
16647
  flags?: string
15503
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")
15504
16672
  })[]
16673
+ newlinesBetween?: ("ignore" | number)
15505
16674
 
15506
16675
  useConfigurationIf?: {
15507
16676
 
@@ -15556,24 +16725,19 @@ type PerfectionistSortSets = {
15556
16725
  })
15557
16726
 
15558
16727
  partitionByNewLine?: boolean
15559
- newlinesBetween?: (("ignore" | "always" | "never") | number)
15560
-
15561
- groups?: (string | string[] | {
15562
- newlinesBetween?: (("ignore" | "always" | "never") | number)
15563
-
15564
- commentAbove?: string
15565
- })[]
15566
16728
  }[]
15567
16729
  // ----- perfectionist/sort-switch-case -----
15568
16730
  type PerfectionistSortSwitchCase = []|[{
15569
16731
 
15570
16732
  fallbackSort?: {
15571
16733
 
15572
- order?: ("asc" | "desc")
16734
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15573
16735
 
15574
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16736
+ order?: ("asc" | "desc")
15575
16737
  }
15576
16738
 
16739
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16740
+
15577
16741
  specialCharacters?: ("remove" | "trim" | "keep")
15578
16742
 
15579
16743
  ignoreCase?: boolean
@@ -15583,19 +16747,19 @@ type PerfectionistSortSwitchCase = []|[{
15583
16747
  locales?: (string | string[])
15584
16748
 
15585
16749
  order?: ("asc" | "desc")
15586
-
15587
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15588
16750
  }]
15589
16751
  // ----- perfectionist/sort-union-types -----
15590
16752
  type PerfectionistSortUnionTypes = {
15591
16753
 
15592
16754
  fallbackSort?: {
15593
16755
 
15594
- order?: ("asc" | "desc")
16756
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15595
16757
 
15596
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16758
+ order?: ("asc" | "desc")
15597
16759
  }
15598
16760
 
16761
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16762
+
15599
16763
  specialCharacters?: ("remove" | "trim" | "keep")
15600
16764
 
15601
16765
  ignoreCase?: boolean
@@ -15606,26 +16770,38 @@ type PerfectionistSortUnionTypes = {
15606
16770
 
15607
16771
  order?: ("asc" | "desc")
15608
16772
 
15609
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15610
-
15611
16773
  customGroups?: ({
15612
- newlinesInside?: (("always" | "never") | number)
15613
16774
 
15614
16775
  fallbackSort?: {
15615
16776
 
15616
- order?: ("asc" | "desc")
16777
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15617
16778
 
15618
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16779
+ order?: ("asc" | "desc")
15619
16780
  }
15620
16781
 
16782
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16783
+
15621
16784
  groupName: string
16785
+ newlinesInside?: ("ignore" | number)
15622
16786
 
15623
16787
  order?: ("asc" | "desc")
15624
16788
 
15625
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15626
- 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))
15627
16802
 
15628
16803
  selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
16804
+ }, ...({
15629
16805
 
15630
16806
  elementNamePattern?: (({
15631
16807
 
@@ -15638,25 +16814,25 @@ type PerfectionistSortUnionTypes = {
15638
16814
 
15639
16815
  flags?: string
15640
16816
  } | string))
15641
- }[]
16817
+
16818
+ selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
16819
+ })[]]
15642
16820
  } | {
15643
- newlinesInside?: (("always" | "never") | number)
15644
16821
 
15645
16822
  fallbackSort?: {
15646
16823
 
15647
- order?: ("asc" | "desc")
16824
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15648
16825
 
15649
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16826
+ order?: ("asc" | "desc")
15650
16827
  }
15651
16828
 
16829
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16830
+
15652
16831
  groupName: string
16832
+ newlinesInside?: ("ignore" | number)
15653
16833
 
15654
16834
  order?: ("asc" | "desc")
15655
16835
 
15656
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15657
-
15658
- selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
15659
-
15660
16836
  elementNamePattern?: (({
15661
16837
 
15662
16838
  pattern: string
@@ -15668,7 +16844,31 @@ type PerfectionistSortUnionTypes = {
15668
16844
 
15669
16845
  flags?: string
15670
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")
15671
16870
  })[]
16871
+ newlinesBetween?: ("ignore" | number)
15672
16872
 
15673
16873
  partitionByComment?: (boolean | (({
15674
16874
 
@@ -15708,24 +16908,19 @@ type PerfectionistSortUnionTypes = {
15708
16908
  })
15709
16909
 
15710
16910
  partitionByNewLine?: boolean
15711
- newlinesBetween?: (("ignore" | "always" | "never") | number)
15712
-
15713
- groups?: (string | string[] | {
15714
- newlinesBetween?: (("ignore" | "always" | "never") | number)
15715
-
15716
- commentAbove?: string
15717
- })[]
15718
16911
  }[]
15719
16912
  // ----- perfectionist/sort-variable-declarations -----
15720
16913
  type PerfectionistSortVariableDeclarations = []|[{
15721
16914
 
15722
16915
  fallbackSort?: {
15723
16916
 
15724
- order?: ("asc" | "desc")
16917
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15725
16918
 
15726
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16919
+ order?: ("asc" | "desc")
15727
16920
  }
15728
16921
 
16922
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16923
+
15729
16924
  specialCharacters?: ("remove" | "trim" | "keep")
15730
16925
 
15731
16926
  ignoreCase?: boolean
@@ -15736,26 +16931,38 @@ type PerfectionistSortVariableDeclarations = []|[{
15736
16931
 
15737
16932
  order?: ("asc" | "desc")
15738
16933
 
15739
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15740
-
15741
16934
  customGroups?: ({
15742
- newlinesInside?: (("always" | "never") | number)
15743
16935
 
15744
16936
  fallbackSort?: {
15745
16937
 
15746
- order?: ("asc" | "desc")
16938
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15747
16939
 
15748
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16940
+ order?: ("asc" | "desc")
15749
16941
  }
15750
16942
 
16943
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16944
+
15751
16945
  groupName: string
16946
+ newlinesInside?: ("ignore" | number)
15752
16947
 
15753
16948
  order?: ("asc" | "desc")
15754
16949
 
15755
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15756
- 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))
15757
16963
 
15758
16964
  selector?: ("initialized" | "uninitialized")
16965
+ }, ...({
15759
16966
 
15760
16967
  elementNamePattern?: (({
15761
16968
 
@@ -15768,25 +16975,25 @@ type PerfectionistSortVariableDeclarations = []|[{
15768
16975
 
15769
16976
  flags?: string
15770
16977
  } | string))
15771
- }[]
16978
+
16979
+ selector?: ("initialized" | "uninitialized")
16980
+ })[]]
15772
16981
  } | {
15773
- newlinesInside?: (("always" | "never") | number)
15774
16982
 
15775
16983
  fallbackSort?: {
15776
16984
 
15777
- order?: ("asc" | "desc")
16985
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
15778
16986
 
15779
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
16987
+ order?: ("asc" | "desc")
15780
16988
  }
15781
16989
 
16990
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
16991
+
15782
16992
  groupName: string
16993
+ newlinesInside?: ("ignore" | number)
15783
16994
 
15784
16995
  order?: ("asc" | "desc")
15785
16996
 
15786
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
15787
-
15788
- selector?: ("initialized" | "uninitialized")
15789
-
15790
16997
  elementNamePattern?: (({
15791
16998
 
15792
16999
  pattern: string
@@ -15798,7 +17005,33 @@ type PerfectionistSortVariableDeclarations = []|[{
15798
17005
 
15799
17006
  flags?: string
15800
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")
15801
17031
  })[]
17032
+ newlinesBetween?: ("ignore" | number)
17033
+
17034
+ useExperimentalDependencyDetection?: boolean
15802
17035
 
15803
17036
  partitionByComment?: (boolean | (({
15804
17037
 
@@ -15838,13 +17071,6 @@ type PerfectionistSortVariableDeclarations = []|[{
15838
17071
  })
15839
17072
 
15840
17073
  partitionByNewLine?: boolean
15841
- newlinesBetween?: (("ignore" | "always" | "never") | number)
15842
-
15843
- groups?: (string | string[] | {
15844
- newlinesBetween?: (("ignore" | "always" | "never") | number)
15845
-
15846
- commentAbove?: string
15847
- })[]
15848
17074
  }]
15849
17075
  // ----- pnpm/json-enforce-catalog -----
15850
17076
  type PnpmJsonEnforceCatalog = []|[{
@@ -16740,6 +17966,11 @@ type UnusedImportsNoUnusedImports = []|[(("all" | "local") | {
16740
17966
 
16741
17967
  destructuredArrayIgnorePattern?: string
16742
17968
 
17969
+ enableAutofixRemoval?: {
17970
+
17971
+ imports?: boolean
17972
+ }
17973
+
16743
17974
  ignoreClassWithStaticInitBlock?: boolean
16744
17975
 
16745
17976
  ignoreRestSiblings?: boolean
@@ -16765,6 +17996,11 @@ type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
16765
17996
 
16766
17997
  destructuredArrayIgnorePattern?: string
16767
17998
 
17999
+ enableAutofixRemoval?: {
18000
+
18001
+ imports?: boolean
18002
+ }
18003
+
16768
18004
  ignoreClassWithStaticInitBlock?: boolean
16769
18005
 
16770
18006
  ignoreRestSiblings?: boolean
@@ -16820,6 +18056,11 @@ type VitestMaxExpects = []|[{
16820
18056
  type VitestMaxNestedDescribe = []|[{
16821
18057
  max?: number
16822
18058
  }]
18059
+ // ----- vitest/no-conditional-expect -----
18060
+ type VitestNoConditionalExpect = []|[{
18061
+
18062
+ expectAssertions?: boolean
18063
+ }]
16823
18064
  // ----- vitest/no-focused-tests -----
16824
18065
  type VitestNoFocusedTests = []|[{
16825
18066
  fixable?: boolean