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