@lincy/eslint-config 5.4.2 → 5.5.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/README.md +4 -2
- package/dist/index.cjs +72 -8
- package/dist/index.d.cts +1232 -316
- package/dist/index.d.ts +1232 -316
- package/dist/index.js +70 -7
- package/package.json +36 -38
package/dist/index.d.ts
CHANGED
|
@@ -2581,6 +2581,11 @@ interface RuleOptions {
|
|
|
2581
2581
|
* @see https://eslint-react.xyz/docs/rules/dom-no-find-dom-node
|
|
2582
2582
|
*/
|
|
2583
2583
|
'react-dom/no-find-dom-node'?: Linter.RuleEntry<[]>
|
|
2584
|
+
/**
|
|
2585
|
+
* warns against using `flushSync`
|
|
2586
|
+
* @see https://eslint-react.xyz/docs/rules/dom-no-flush-sync
|
|
2587
|
+
*/
|
|
2588
|
+
'react-dom/no-flush-sync'?: Linter.RuleEntry<[]>
|
|
2584
2589
|
/**
|
|
2585
2590
|
* enforce that button component have an explicit 'type' attribute
|
|
2586
2591
|
* @see https://eslint-react.xyz/docs/rules/dom-no-missing-button-type
|
|
@@ -2687,10 +2692,15 @@ interface RuleOptions {
|
|
|
2687
2692
|
*/
|
|
2688
2693
|
'react-hooks/rules-of-hooks'?: Linter.RuleEntry<[]>
|
|
2689
2694
|
/**
|
|
2690
|
-
* enforce
|
|
2695
|
+
* enforce naming convention for components
|
|
2691
2696
|
* @see https://eslint-react.xyz/docs/rules/naming-convention-component-name
|
|
2692
2697
|
*/
|
|
2693
2698
|
'react-naming-convention/component-name'?: Linter.RuleEntry<ReactNamingConventionComponentName>
|
|
2699
|
+
/**
|
|
2700
|
+
* enforce context name to be a valid component name with the suffix 'Context'
|
|
2701
|
+
* @see https://eslint-react.xyz/docs/rules/naming-convention-context-name
|
|
2702
|
+
*/
|
|
2703
|
+
'react-naming-convention/context-name'?: Linter.RuleEntry<[]>
|
|
2694
2704
|
/**
|
|
2695
2705
|
* enforce naming convention for JSX filenames
|
|
2696
2706
|
* @see https://eslint-react.xyz/docs/rules/naming-convention-filename
|
|
@@ -2702,7 +2712,7 @@ interface RuleOptions {
|
|
|
2702
2712
|
*/
|
|
2703
2713
|
'react-naming-convention/filename-extension'?: Linter.RuleEntry<ReactNamingConventionFilenameExtension>
|
|
2704
2714
|
/**
|
|
2705
|
-
* enforce destructuring and symmetric naming of 'useState' hook value and setter
|
|
2715
|
+
* enforce destructuring and symmetric naming of 'useState' hook value and setter
|
|
2706
2716
|
* @see https://eslint-react.xyz/docs/rules/naming-convention-use-state
|
|
2707
2717
|
*/
|
|
2708
2718
|
'react-naming-convention/use-state'?: Linter.RuleEntry<[]>
|
|
@@ -2748,7 +2758,7 @@ interface RuleOptions {
|
|
|
2748
2758
|
*/
|
|
2749
2759
|
'react/jsx-no-duplicate-props'?: Linter.RuleEntry<[]>
|
|
2750
2760
|
/**
|
|
2751
|
-
*
|
|
2761
|
+
* marks variables used in JSX as used
|
|
2752
2762
|
* @see https://eslint-react.xyz/docs/rules/use-jsx-vars
|
|
2753
2763
|
*/
|
|
2754
2764
|
'react/jsx-uses-vars'?: Linter.RuleEntry<[]>
|
|
@@ -2758,7 +2768,7 @@ interface RuleOptions {
|
|
|
2758
2768
|
*/
|
|
2759
2769
|
'react/no-access-state-in-setstate'?: Linter.RuleEntry<[]>
|
|
2760
2770
|
/**
|
|
2761
|
-
* disallow using
|
|
2771
|
+
* disallow using an item's index in the array as its key
|
|
2762
2772
|
* @see https://eslint-react.xyz/docs/rules/no-array-index-key
|
|
2763
2773
|
*/
|
|
2764
2774
|
'react/no-array-index-key'?: Linter.RuleEntry<[]>
|
|
@@ -2818,22 +2828,22 @@ interface RuleOptions {
|
|
|
2818
2828
|
*/
|
|
2819
2829
|
'react/no-complicated-conditional-rendering'?: Linter.RuleEntry<[]>
|
|
2820
2830
|
/**
|
|
2821
|
-
*
|
|
2831
|
+
* replace 'componentWillMount' with 'UNSAFE_componentWillMount'
|
|
2822
2832
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-mount
|
|
2823
2833
|
*/
|
|
2824
2834
|
'react/no-component-will-mount'?: Linter.RuleEntry<[]>
|
|
2825
2835
|
/**
|
|
2826
|
-
*
|
|
2836
|
+
* replace 'componentWillReceiveProps' with 'UNSAFE_componentWillReceiveProps'
|
|
2827
2837
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-receive-props
|
|
2828
2838
|
*/
|
|
2829
2839
|
'react/no-component-will-receive-props'?: Linter.RuleEntry<[]>
|
|
2830
2840
|
/**
|
|
2831
|
-
*
|
|
2841
|
+
* replace 'componentWillUpdate' with 'UNSAFE_componentWillUpdate'
|
|
2832
2842
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-update
|
|
2833
2843
|
*/
|
|
2834
2844
|
'react/no-component-will-update'?: Linter.RuleEntry<[]>
|
|
2835
2845
|
/**
|
|
2836
|
-
*
|
|
2846
|
+
* replace '<Context.Provider>' with '<Context>'
|
|
2837
2847
|
* @see https://eslint-react.xyz/docs/rules/no-context-provider
|
|
2838
2848
|
*/
|
|
2839
2849
|
'react/no-context-provider'?: Linter.RuleEntry<[]>
|
|
@@ -2863,7 +2873,7 @@ interface RuleOptions {
|
|
|
2863
2873
|
*/
|
|
2864
2874
|
'react/no-duplicate-key'?: Linter.RuleEntry<[]>
|
|
2865
2875
|
/**
|
|
2866
|
-
*
|
|
2876
|
+
* replace 'forwardRef' with passing 'ref' as a prop
|
|
2867
2877
|
* @see https://eslint-react.xyz/docs/rules/no-forward-ref
|
|
2868
2878
|
*/
|
|
2869
2879
|
'react/no-forward-ref'?: Linter.RuleEntry<[]>
|
|
@@ -2882,6 +2892,11 @@ interface RuleOptions {
|
|
|
2882
2892
|
* @see https://eslint-react.xyz/docs/rules/no-missing-component-display-name
|
|
2883
2893
|
*/
|
|
2884
2894
|
'react/no-missing-component-display-name'?: Linter.RuleEntry<[]>
|
|
2895
|
+
/**
|
|
2896
|
+
* require 'displayName' for contexts.
|
|
2897
|
+
* @see https://eslint-react.xyz/docs/rules/no-missing-context-display-name
|
|
2898
|
+
*/
|
|
2899
|
+
'react/no-missing-context-display-name'?: Linter.RuleEntry<[]>
|
|
2885
2900
|
/**
|
|
2886
2901
|
* require 'key' when rendering list
|
|
2887
2902
|
* @see https://eslint-react.xyz/docs/rules/no-missing-key
|
|
@@ -2958,12 +2973,12 @@ interface RuleOptions {
|
|
|
2958
2973
|
*/
|
|
2959
2974
|
'react/no-unused-state'?: Linter.RuleEntry<[]>
|
|
2960
2975
|
/**
|
|
2961
|
-
*
|
|
2976
|
+
* replace 'useContext' with 'use'
|
|
2962
2977
|
* @see https://eslint-react.xyz/docs/rules/no-use-context
|
|
2963
2978
|
*/
|
|
2964
2979
|
'react/no-use-context'?: Linter.RuleEntry<[]>
|
|
2965
2980
|
/**
|
|
2966
|
-
* disallow
|
|
2981
|
+
* disallow useless fragments
|
|
2967
2982
|
* @see https://eslint-react.xyz/docs/rules/no-useless-fragment
|
|
2968
2983
|
*/
|
|
2969
2984
|
'react/no-useless-fragment'?: Linter.RuleEntry<ReactNoUselessFragment>
|
|
@@ -2983,17 +2998,17 @@ interface RuleOptions {
|
|
|
2983
2998
|
*/
|
|
2984
2999
|
'react/prefer-read-only-props'?: Linter.RuleEntry<[]>
|
|
2985
3000
|
/**
|
|
2986
|
-
* enforce
|
|
3001
|
+
* enforce the use of shorthand syntax for boolean attributes
|
|
2987
3002
|
* @see https://eslint-react.xyz/docs/rules/prefer-shorthand-boolean
|
|
2988
3003
|
*/
|
|
2989
3004
|
'react/prefer-shorthand-boolean'?: Linter.RuleEntry<[]>
|
|
2990
3005
|
/**
|
|
2991
|
-
* enforce
|
|
3006
|
+
* enforce the use of shorthand syntax for fragments
|
|
2992
3007
|
* @see https://eslint-react.xyz/docs/rules/prefer-shorthand-fragment
|
|
2993
3008
|
*/
|
|
2994
3009
|
'react/prefer-shorthand-fragment'?: Linter.RuleEntry<[]>
|
|
2995
3010
|
/**
|
|
2996
|
-
*
|
|
3011
|
+
* marks variables used in JSX as used
|
|
2997
3012
|
* @see https://eslint-react.xyz/docs/rules/use-jsx-vars
|
|
2998
3013
|
*/
|
|
2999
3014
|
'react/use-jsx-vars'?: Linter.RuleEntry<[]>
|
|
@@ -4660,7 +4675,7 @@ interface RuleOptions {
|
|
|
4660
4675
|
*/
|
|
4661
4676
|
'ts/no-for-in-array'?: Linter.RuleEntry<[]>
|
|
4662
4677
|
/**
|
|
4663
|
-
* Disallow the use of `eval()`-like
|
|
4678
|
+
* Disallow the use of `eval()`-like functions
|
|
4664
4679
|
* @see https://typescript-eslint.io/rules/no-implied-eval
|
|
4665
4680
|
*/
|
|
4666
4681
|
'ts/no-implied-eval'?: Linter.RuleEntry<[]>
|
|
@@ -5954,12 +5969,6 @@ interface RuleOptions {
|
|
|
5954
5969
|
* @see https://eslint.vuejs.org/rules/component-options-name-casing.html
|
|
5955
5970
|
*/
|
|
5956
5971
|
'vue/component-options-name-casing'?: Linter.RuleEntry<VueComponentOptionsNameCasing>
|
|
5957
|
-
/**
|
|
5958
|
-
* enforce order of component top-level elements
|
|
5959
|
-
* @see https://eslint.vuejs.org/rules/component-tags-order.html
|
|
5960
|
-
* @deprecated
|
|
5961
|
-
*/
|
|
5962
|
-
'vue/component-tags-order'?: Linter.RuleEntry<VueComponentTagsOrder>
|
|
5963
5972
|
/**
|
|
5964
5973
|
* enforce specific casing for custom event name
|
|
5965
5974
|
* @see https://eslint.vuejs.org/rules/custom-event-name-casing.html
|
|
@@ -6026,7 +6035,7 @@ interface RuleOptions {
|
|
|
6026
6035
|
*/
|
|
6027
6036
|
'vue/html-closing-bracket-spacing'?: Linter.RuleEntry<VueHtmlClosingBracketSpacing>
|
|
6028
6037
|
/**
|
|
6029
|
-
* enforce unified line
|
|
6038
|
+
* enforce unified line break in HTML comments
|
|
6030
6039
|
* @see https://eslint.vuejs.org/rules/html-comment-content-newline.html
|
|
6031
6040
|
*/
|
|
6032
6041
|
'vue/html-comment-content-newline'?: Linter.RuleEntry<VueHtmlCommentContentNewline>
|
|
@@ -6336,11 +6345,15 @@ interface RuleOptions {
|
|
|
6336
6345
|
*/
|
|
6337
6346
|
'vue/no-extra-parens'?: Linter.RuleEntry<VueNoExtraParens>
|
|
6338
6347
|
/**
|
|
6339
|
-
*
|
|
6340
|
-
* @see https://eslint.vuejs.org/rules/no-
|
|
6341
|
-
|
|
6348
|
+
* Disallow shorthand type conversions in `<template>`
|
|
6349
|
+
* @see https://eslint.vuejs.org/rules/no-implicit-coercion.html
|
|
6350
|
+
*/
|
|
6351
|
+
'vue/no-implicit-coercion'?: Linter.RuleEntry<VueNoImplicitCoercion>
|
|
6352
|
+
/**
|
|
6353
|
+
* disallow importing Vue compiler macros
|
|
6354
|
+
* @see https://eslint.vuejs.org/rules/no-import-compiler-macros.html
|
|
6342
6355
|
*/
|
|
6343
|
-
'vue/no-
|
|
6356
|
+
'vue/no-import-compiler-macros'?: Linter.RuleEntry<[]>
|
|
6344
6357
|
/**
|
|
6345
6358
|
* disallow irregular whitespace in `.vue` files
|
|
6346
6359
|
* @see https://eslint.vuejs.org/rules/no-irregular-whitespace.html
|
|
@@ -6367,12 +6380,12 @@ interface RuleOptions {
|
|
|
6367
6380
|
*/
|
|
6368
6381
|
'vue/no-multi-spaces'?: Linter.RuleEntry<VueNoMultiSpaces>
|
|
6369
6382
|
/**
|
|
6370
|
-
* disallow
|
|
6383
|
+
* disallow passing multiple objects in an array to class
|
|
6371
6384
|
* @see https://eslint.vuejs.org/rules/no-multiple-objects-in-class.html
|
|
6372
6385
|
*/
|
|
6373
6386
|
'vue/no-multiple-objects-in-class'?: Linter.RuleEntry<[]>
|
|
6374
6387
|
/**
|
|
6375
|
-
* disallow
|
|
6388
|
+
* disallow passing multiple arguments to scoped slots
|
|
6376
6389
|
* @see https://eslint.vuejs.org/rules/no-multiple-slot-args.html
|
|
6377
6390
|
*/
|
|
6378
6391
|
'vue/no-multiple-slot-args'?: Linter.RuleEntry<[]>
|
|
@@ -6401,12 +6414,6 @@ interface RuleOptions {
|
|
|
6401
6414
|
* @see https://eslint.vuejs.org/rules/no-ref-as-operand.html
|
|
6402
6415
|
*/
|
|
6403
6416
|
'vue/no-ref-as-operand'?: Linter.RuleEntry<[]>
|
|
6404
|
-
/**
|
|
6405
|
-
* disallow usages of ref objects that can lead to loss of reactivity
|
|
6406
|
-
* @see https://eslint.vuejs.org/rules/no-ref-object-destructure.html
|
|
6407
|
-
* @deprecated
|
|
6408
|
-
*/
|
|
6409
|
-
'vue/no-ref-object-destructure'?: Linter.RuleEntry<[]>
|
|
6410
6417
|
/**
|
|
6411
6418
|
* disallow usages of ref objects that can lead to loss of reactivity
|
|
6412
6419
|
* @see https://eslint.vuejs.org/rules/no-ref-object-reactivity-loss.html
|
|
@@ -6497,12 +6504,6 @@ interface RuleOptions {
|
|
|
6497
6504
|
* @see https://eslint.vuejs.org/rules/no-root-v-if.html
|
|
6498
6505
|
*/
|
|
6499
6506
|
'vue/no-root-v-if'?: Linter.RuleEntry<[]>
|
|
6500
|
-
/**
|
|
6501
|
-
* disallow usages that lose the reactivity of `props` passed to `setup`
|
|
6502
|
-
* @see https://eslint.vuejs.org/rules/no-setup-props-destructure.html
|
|
6503
|
-
* @deprecated
|
|
6504
|
-
*/
|
|
6505
|
-
'vue/no-setup-props-destructure'?: Linter.RuleEntry<[]>
|
|
6506
6507
|
/**
|
|
6507
6508
|
* disallow usages that lose the reactivity of `props` passed to `setup`
|
|
6508
6509
|
* @see https://eslint.vuejs.org/rules/no-setup-props-reactivity-loss.html
|
|
@@ -6636,6 +6637,7 @@ interface RuleOptions {
|
|
|
6636
6637
|
/**
|
|
6637
6638
|
* disallow `key` attribute on `<template v-for>`
|
|
6638
6639
|
* @see https://eslint.vuejs.org/rules/no-v-for-template-key.html
|
|
6640
|
+
* @deprecated
|
|
6639
6641
|
*/
|
|
6640
6642
|
'vue/no-v-for-template-key'?: Linter.RuleEntry<[]>
|
|
6641
6643
|
/**
|
|
@@ -6651,6 +6653,7 @@ interface RuleOptions {
|
|
|
6651
6653
|
/**
|
|
6652
6654
|
* disallow adding an argument to `v-model` used in custom component
|
|
6653
6655
|
* @see https://eslint.vuejs.org/rules/no-v-model-argument.html
|
|
6656
|
+
* @deprecated
|
|
6654
6657
|
*/
|
|
6655
6658
|
'vue/no-v-model-argument'?: Linter.RuleEntry<[]>
|
|
6656
6659
|
/**
|
|
@@ -6883,12 +6886,6 @@ interface RuleOptions {
|
|
|
6883
6886
|
* @see https://eslint.vuejs.org/rules/script-indent.html
|
|
6884
6887
|
*/
|
|
6885
6888
|
'vue/script-indent'?: Linter.RuleEntry<VueScriptIndent>
|
|
6886
|
-
/**
|
|
6887
|
-
* prevent `<script setup>` variables used in `<template>` to be marked as unused
|
|
6888
|
-
* @see https://eslint.vuejs.org/rules/script-setup-uses-vars.html
|
|
6889
|
-
* @deprecated
|
|
6890
|
-
*/
|
|
6891
|
-
'vue/script-setup-uses-vars'?: Linter.RuleEntry<[]>
|
|
6892
6889
|
/**
|
|
6893
6890
|
* require a line break before and after the contents of a singleline element
|
|
6894
6891
|
* @see https://eslint.vuejs.org/rules/singleline-html-element-content-newline.html
|
|
@@ -6959,12 +6956,6 @@ interface RuleOptions {
|
|
|
6959
6956
|
* @see https://eslint.vuejs.org/rules/v-on-event-hyphenation.html
|
|
6960
6957
|
*/
|
|
6961
6958
|
'vue/v-on-event-hyphenation'?: Linter.RuleEntry<VueVOnEventHyphenation>
|
|
6962
|
-
/**
|
|
6963
|
-
* enforce or forbid parentheses after method calls without arguments in `v-on` directives
|
|
6964
|
-
* @see https://eslint.vuejs.org/rules/v-on-function-call.html
|
|
6965
|
-
* @deprecated
|
|
6966
|
-
*/
|
|
6967
|
-
'vue/v-on-function-call'?: Linter.RuleEntry<VueVOnFunctionCall>
|
|
6968
6959
|
/**
|
|
6969
6960
|
* enforce writing style for handlers in `v-on` directives
|
|
6970
6961
|
* @see https://eslint.vuejs.org/rules/v-on-handler-style.html
|
|
@@ -7003,6 +6994,7 @@ interface RuleOptions {
|
|
|
7003
6994
|
/**
|
|
7004
6995
|
* require valid keys in model option
|
|
7005
6996
|
* @see https://eslint.vuejs.org/rules/valid-model-definition.html
|
|
6997
|
+
* @deprecated
|
|
7006
6998
|
*/
|
|
7007
6999
|
'vue/valid-model-definition'?: Linter.RuleEntry<[]>
|
|
7008
7000
|
/**
|
|
@@ -7023,6 +7015,7 @@ interface RuleOptions {
|
|
|
7023
7015
|
/**
|
|
7024
7016
|
* enforce valid `.sync` modifier on `v-bind` directives
|
|
7025
7017
|
* @see https://eslint.vuejs.org/rules/valid-v-bind-sync.html
|
|
7018
|
+
* @deprecated
|
|
7026
7019
|
*/
|
|
7027
7020
|
'vue/valid-v-bind-sync'?: Linter.RuleEntry<[]>
|
|
7028
7021
|
/**
|
|
@@ -9829,6 +9822,14 @@ type PaddingLineBetweenStatements = {
|
|
|
9829
9822
|
// ----- perfectionist/sort-array-includes -----
|
|
9830
9823
|
type PerfectionistSortArrayIncludes = {
|
|
9831
9824
|
|
|
9825
|
+
fallbackSort?: {
|
|
9826
|
+
|
|
9827
|
+
order?: ("asc" | "desc")
|
|
9828
|
+
|
|
9829
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9830
|
+
[k: string]: unknown | undefined
|
|
9831
|
+
}
|
|
9832
|
+
|
|
9832
9833
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9833
9834
|
|
|
9834
9835
|
ignoreCase?: boolean
|
|
@@ -9839,47 +9840,99 @@ type PerfectionistSortArrayIncludes = {
|
|
|
9839
9840
|
|
|
9840
9841
|
order?: ("asc" | "desc")
|
|
9841
9842
|
|
|
9843
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9844
|
+
|
|
9842
9845
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
9843
9846
|
|
|
9844
9847
|
customGroups?: ({
|
|
9845
9848
|
|
|
9846
|
-
|
|
9849
|
+
newlinesInside?: ("always" | "never")
|
|
9847
9850
|
|
|
9848
|
-
|
|
9851
|
+
fallbackSort?: {
|
|
9852
|
+
|
|
9853
|
+
order?: ("asc" | "desc")
|
|
9854
|
+
|
|
9855
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9856
|
+
[k: string]: unknown | undefined
|
|
9857
|
+
}
|
|
9849
9858
|
|
|
9850
|
-
|
|
9859
|
+
groupName?: string
|
|
9851
9860
|
|
|
9852
|
-
|
|
9861
|
+
order?: ("asc" | "desc")
|
|
9862
|
+
|
|
9863
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9853
9864
|
anyOf?: {
|
|
9854
9865
|
|
|
9855
9866
|
selector?: ("literal" | "spread")
|
|
9856
9867
|
|
|
9857
|
-
elementNamePattern?:
|
|
9868
|
+
elementNamePattern?: (({
|
|
9869
|
+
pattern?: string
|
|
9870
|
+
flags?: string
|
|
9871
|
+
} | string)[] | ({
|
|
9872
|
+
pattern?: string
|
|
9873
|
+
flags?: string
|
|
9874
|
+
} | string))
|
|
9858
9875
|
}[]
|
|
9859
9876
|
} | {
|
|
9860
9877
|
|
|
9861
|
-
|
|
9878
|
+
newlinesInside?: ("always" | "never")
|
|
9879
|
+
|
|
9880
|
+
fallbackSort?: {
|
|
9881
|
+
|
|
9882
|
+
order?: ("asc" | "desc")
|
|
9883
|
+
|
|
9884
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9885
|
+
[k: string]: unknown | undefined
|
|
9886
|
+
}
|
|
9862
9887
|
|
|
9863
|
-
|
|
9888
|
+
groupName?: string
|
|
9864
9889
|
|
|
9865
|
-
order?: ("
|
|
9890
|
+
order?: ("asc" | "desc")
|
|
9866
9891
|
|
|
9867
|
-
|
|
9892
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9868
9893
|
|
|
9869
9894
|
selector?: ("literal" | "spread")
|
|
9870
9895
|
|
|
9871
|
-
elementNamePattern?:
|
|
9896
|
+
elementNamePattern?: (({
|
|
9897
|
+
pattern?: string
|
|
9898
|
+
flags?: string
|
|
9899
|
+
} | string)[] | ({
|
|
9900
|
+
pattern?: string
|
|
9901
|
+
flags?: string
|
|
9902
|
+
} | string))
|
|
9872
9903
|
})[]
|
|
9873
9904
|
useConfigurationIf?: {
|
|
9874
|
-
|
|
9905
|
+
|
|
9906
|
+
allNamesMatchPattern?: (({
|
|
9907
|
+
pattern?: string
|
|
9908
|
+
flags?: string
|
|
9909
|
+
} | string)[] | ({
|
|
9910
|
+
pattern?: string
|
|
9911
|
+
flags?: string
|
|
9912
|
+
} | string))
|
|
9875
9913
|
}
|
|
9876
9914
|
|
|
9877
|
-
|
|
9878
|
-
|
|
9879
|
-
|
|
9880
|
-
|
|
9881
|
-
|
|
9882
|
-
|
|
9915
|
+
partitionByComment?: (boolean | (({
|
|
9916
|
+
pattern?: string
|
|
9917
|
+
flags?: string
|
|
9918
|
+
} | string)[] | ({
|
|
9919
|
+
pattern?: string
|
|
9920
|
+
flags?: string
|
|
9921
|
+
} | string)) | {
|
|
9922
|
+
block?: (boolean | (({
|
|
9923
|
+
pattern?: string
|
|
9924
|
+
flags?: string
|
|
9925
|
+
} | string)[] | ({
|
|
9926
|
+
pattern?: string
|
|
9927
|
+
flags?: string
|
|
9928
|
+
} | string)))
|
|
9929
|
+
line?: (boolean | (({
|
|
9930
|
+
pattern?: string
|
|
9931
|
+
flags?: string
|
|
9932
|
+
} | string)[] | ({
|
|
9933
|
+
pattern?: string
|
|
9934
|
+
flags?: string
|
|
9935
|
+
} | string)))
|
|
9883
9936
|
})
|
|
9884
9937
|
|
|
9885
9938
|
partitionByNewLine?: boolean
|
|
@@ -9889,12 +9942,19 @@ type PerfectionistSortArrayIncludes = {
|
|
|
9889
9942
|
groups?: (string | string[] | {
|
|
9890
9943
|
|
|
9891
9944
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9892
|
-
[k: string]: unknown | undefined
|
|
9893
9945
|
})[]
|
|
9894
9946
|
}[]
|
|
9895
9947
|
// ----- perfectionist/sort-classes -----
|
|
9896
9948
|
type PerfectionistSortClasses = []|[{
|
|
9897
9949
|
|
|
9950
|
+
fallbackSort?: {
|
|
9951
|
+
|
|
9952
|
+
order?: ("asc" | "desc")
|
|
9953
|
+
|
|
9954
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9955
|
+
[k: string]: unknown | undefined
|
|
9956
|
+
}
|
|
9957
|
+
|
|
9898
9958
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9899
9959
|
|
|
9900
9960
|
ignoreCase?: boolean
|
|
@@ -9905,71 +9965,153 @@ type PerfectionistSortClasses = []|[{
|
|
|
9905
9965
|
|
|
9906
9966
|
order?: ("asc" | "desc")
|
|
9907
9967
|
|
|
9908
|
-
|
|
9968
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9909
9969
|
|
|
9910
9970
|
customGroups?: ({
|
|
9911
9971
|
|
|
9912
|
-
|
|
9972
|
+
newlinesInside?: ("always" | "never")
|
|
9913
9973
|
|
|
9914
|
-
|
|
9974
|
+
fallbackSort?: {
|
|
9975
|
+
|
|
9976
|
+
order?: ("asc" | "desc")
|
|
9977
|
+
|
|
9978
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9979
|
+
[k: string]: unknown | undefined
|
|
9980
|
+
}
|
|
9915
9981
|
|
|
9916
|
-
|
|
9982
|
+
groupName?: string
|
|
9917
9983
|
|
|
9918
|
-
|
|
9984
|
+
order?: ("asc" | "desc")
|
|
9985
|
+
|
|
9986
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9919
9987
|
anyOf?: {
|
|
9920
9988
|
|
|
9921
|
-
decoratorNamePattern?: string
|
|
9922
|
-
|
|
9923
9989
|
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
9924
9990
|
|
|
9925
9991
|
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
9926
9992
|
|
|
9927
|
-
|
|
9993
|
+
decoratorNamePattern?: (({
|
|
9994
|
+
pattern?: string
|
|
9995
|
+
flags?: string
|
|
9996
|
+
} | string)[] | ({
|
|
9997
|
+
pattern?: string
|
|
9998
|
+
flags?: string
|
|
9999
|
+
} | string))
|
|
9928
10000
|
|
|
9929
|
-
|
|
10001
|
+
elementValuePattern?: (({
|
|
10002
|
+
pattern?: string
|
|
10003
|
+
flags?: string
|
|
10004
|
+
} | string)[] | ({
|
|
10005
|
+
pattern?: string
|
|
10006
|
+
flags?: string
|
|
10007
|
+
} | string))
|
|
10008
|
+
|
|
10009
|
+
elementNamePattern?: (({
|
|
10010
|
+
pattern?: string
|
|
10011
|
+
flags?: string
|
|
10012
|
+
} | string)[] | ({
|
|
10013
|
+
pattern?: string
|
|
10014
|
+
flags?: string
|
|
10015
|
+
} | string))
|
|
9930
10016
|
}[]
|
|
9931
10017
|
} | {
|
|
9932
10018
|
|
|
9933
|
-
|
|
10019
|
+
newlinesInside?: ("always" | "never")
|
|
9934
10020
|
|
|
9935
|
-
|
|
10021
|
+
fallbackSort?: {
|
|
10022
|
+
|
|
10023
|
+
order?: ("asc" | "desc")
|
|
10024
|
+
|
|
10025
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10026
|
+
[k: string]: unknown | undefined
|
|
10027
|
+
}
|
|
9936
10028
|
|
|
9937
|
-
|
|
10029
|
+
groupName?: string
|
|
9938
10030
|
|
|
9939
|
-
|
|
10031
|
+
order?: ("asc" | "desc")
|
|
9940
10032
|
|
|
9941
|
-
|
|
10033
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9942
10034
|
|
|
9943
10035
|
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
9944
10036
|
|
|
9945
10037
|
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
9946
10038
|
|
|
9947
|
-
|
|
10039
|
+
decoratorNamePattern?: (({
|
|
10040
|
+
pattern?: string
|
|
10041
|
+
flags?: string
|
|
10042
|
+
} | string)[] | ({
|
|
10043
|
+
pattern?: string
|
|
10044
|
+
flags?: string
|
|
10045
|
+
} | string))
|
|
9948
10046
|
|
|
9949
|
-
|
|
10047
|
+
elementValuePattern?: (({
|
|
10048
|
+
pattern?: string
|
|
10049
|
+
flags?: string
|
|
10050
|
+
} | string)[] | ({
|
|
10051
|
+
pattern?: string
|
|
10052
|
+
flags?: string
|
|
10053
|
+
} | string))
|
|
10054
|
+
|
|
10055
|
+
elementNamePattern?: (({
|
|
10056
|
+
pattern?: string
|
|
10057
|
+
flags?: string
|
|
10058
|
+
} | string)[] | ({
|
|
10059
|
+
pattern?: string
|
|
10060
|
+
flags?: string
|
|
10061
|
+
} | string))
|
|
9950
10062
|
})[]
|
|
9951
10063
|
|
|
9952
|
-
|
|
9953
|
-
|
|
9954
|
-
|
|
9955
|
-
|
|
10064
|
+
ignoreCallbackDependenciesPatterns?: (({
|
|
10065
|
+
pattern?: string
|
|
10066
|
+
flags?: string
|
|
10067
|
+
} | string)[] | ({
|
|
10068
|
+
pattern?: string
|
|
10069
|
+
flags?: string
|
|
10070
|
+
} | string))
|
|
10071
|
+
|
|
10072
|
+
partitionByComment?: (boolean | (({
|
|
10073
|
+
pattern?: string
|
|
10074
|
+
flags?: string
|
|
10075
|
+
} | string)[] | ({
|
|
10076
|
+
pattern?: string
|
|
10077
|
+
flags?: string
|
|
10078
|
+
} | string)) | {
|
|
10079
|
+
block?: (boolean | (({
|
|
10080
|
+
pattern?: string
|
|
10081
|
+
flags?: string
|
|
10082
|
+
} | string)[] | ({
|
|
10083
|
+
pattern?: string
|
|
10084
|
+
flags?: string
|
|
10085
|
+
} | string)))
|
|
10086
|
+
line?: (boolean | (({
|
|
10087
|
+
pattern?: string
|
|
10088
|
+
flags?: string
|
|
10089
|
+
} | string)[] | ({
|
|
10090
|
+
pattern?: string
|
|
10091
|
+
flags?: string
|
|
10092
|
+
} | string)))
|
|
9956
10093
|
})
|
|
9957
10094
|
|
|
9958
10095
|
partitionByNewLine?: boolean
|
|
9959
10096
|
|
|
9960
10097
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9961
10098
|
|
|
9962
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
9963
|
-
|
|
9964
10099
|
groups?: (string | string[] | {
|
|
9965
10100
|
|
|
9966
10101
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9967
|
-
[k: string]: unknown | undefined
|
|
9968
10102
|
})[]
|
|
9969
10103
|
}]
|
|
9970
10104
|
// ----- perfectionist/sort-decorators -----
|
|
9971
10105
|
type PerfectionistSortDecorators = []|[{
|
|
9972
10106
|
|
|
10107
|
+
fallbackSort?: {
|
|
10108
|
+
|
|
10109
|
+
order?: ("asc" | "desc")
|
|
10110
|
+
|
|
10111
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10112
|
+
[k: string]: unknown | undefined
|
|
10113
|
+
}
|
|
10114
|
+
|
|
9973
10115
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9974
10116
|
|
|
9975
10117
|
ignoreCase?: boolean
|
|
@@ -9980,6 +10122,8 @@ type PerfectionistSortDecorators = []|[{
|
|
|
9980
10122
|
|
|
9981
10123
|
order?: ("asc" | "desc")
|
|
9982
10124
|
|
|
10125
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10126
|
+
|
|
9983
10127
|
sortOnParameters?: boolean
|
|
9984
10128
|
|
|
9985
10129
|
sortOnProperties?: boolean
|
|
@@ -9990,27 +10134,49 @@ type PerfectionistSortDecorators = []|[{
|
|
|
9990
10134
|
|
|
9991
10135
|
sortOnClasses?: boolean
|
|
9992
10136
|
|
|
9993
|
-
partitionByComment?: (
|
|
9994
|
-
|
|
9995
|
-
|
|
9996
|
-
|
|
10137
|
+
partitionByComment?: (boolean | (({
|
|
10138
|
+
pattern?: string
|
|
10139
|
+
flags?: string
|
|
10140
|
+
} | string)[] | ({
|
|
10141
|
+
pattern?: string
|
|
10142
|
+
flags?: string
|
|
10143
|
+
} | string)) | {
|
|
10144
|
+
block?: (boolean | (({
|
|
10145
|
+
pattern?: string
|
|
10146
|
+
flags?: string
|
|
10147
|
+
} | string)[] | ({
|
|
10148
|
+
pattern?: string
|
|
10149
|
+
flags?: string
|
|
10150
|
+
} | string)))
|
|
10151
|
+
line?: (boolean | (({
|
|
10152
|
+
pattern?: string
|
|
10153
|
+
flags?: string
|
|
10154
|
+
} | string)[] | ({
|
|
10155
|
+
pattern?: string
|
|
10156
|
+
flags?: string
|
|
10157
|
+
} | string)))
|
|
9997
10158
|
})
|
|
9998
10159
|
|
|
9999
10160
|
customGroups?: {
|
|
10000
10161
|
[k: string]: (string | string[]) | undefined
|
|
10001
10162
|
}
|
|
10002
10163
|
|
|
10003
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10004
|
-
|
|
10005
10164
|
groups?: (string | string[] | {
|
|
10006
10165
|
|
|
10007
10166
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10008
|
-
[k: string]: unknown | undefined
|
|
10009
10167
|
})[]
|
|
10010
10168
|
}]
|
|
10011
10169
|
// ----- perfectionist/sort-enums -----
|
|
10012
10170
|
type PerfectionistSortEnums = []|[{
|
|
10013
10171
|
|
|
10172
|
+
fallbackSort?: {
|
|
10173
|
+
|
|
10174
|
+
order?: ("asc" | "desc")
|
|
10175
|
+
|
|
10176
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10177
|
+
[k: string]: unknown | undefined
|
|
10178
|
+
}
|
|
10179
|
+
|
|
10014
10180
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10015
10181
|
|
|
10016
10182
|
ignoreCase?: boolean
|
|
@@ -10021,62 +10187,126 @@ type PerfectionistSortEnums = []|[{
|
|
|
10021
10187
|
|
|
10022
10188
|
order?: ("asc" | "desc")
|
|
10023
10189
|
|
|
10190
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10191
|
+
|
|
10024
10192
|
forceNumericSort?: boolean
|
|
10025
10193
|
customGroups?: ({
|
|
10026
10194
|
[k: string]: (string | string[]) | undefined
|
|
10027
10195
|
} | ({
|
|
10028
10196
|
|
|
10029
|
-
|
|
10197
|
+
newlinesInside?: ("always" | "never")
|
|
10198
|
+
|
|
10199
|
+
fallbackSort?: {
|
|
10200
|
+
|
|
10201
|
+
order?: ("asc" | "desc")
|
|
10202
|
+
|
|
10203
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10204
|
+
[k: string]: unknown | undefined
|
|
10205
|
+
}
|
|
10030
10206
|
|
|
10031
|
-
|
|
10207
|
+
groupName?: string
|
|
10032
10208
|
|
|
10033
|
-
order?: ("
|
|
10209
|
+
order?: ("asc" | "desc")
|
|
10034
10210
|
|
|
10035
|
-
|
|
10211
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10036
10212
|
anyOf?: {
|
|
10037
10213
|
|
|
10038
|
-
elementValuePattern?:
|
|
10214
|
+
elementValuePattern?: (({
|
|
10215
|
+
pattern?: string
|
|
10216
|
+
flags?: string
|
|
10217
|
+
} | string)[] | ({
|
|
10218
|
+
pattern?: string
|
|
10219
|
+
flags?: string
|
|
10220
|
+
} | string))
|
|
10039
10221
|
|
|
10040
|
-
elementNamePattern?:
|
|
10222
|
+
elementNamePattern?: (({
|
|
10223
|
+
pattern?: string
|
|
10224
|
+
flags?: string
|
|
10225
|
+
} | string)[] | ({
|
|
10226
|
+
pattern?: string
|
|
10227
|
+
flags?: string
|
|
10228
|
+
} | string))
|
|
10041
10229
|
}[]
|
|
10042
10230
|
} | {
|
|
10043
10231
|
|
|
10044
|
-
|
|
10232
|
+
newlinesInside?: ("always" | "never")
|
|
10045
10233
|
|
|
10046
|
-
|
|
10234
|
+
fallbackSort?: {
|
|
10235
|
+
|
|
10236
|
+
order?: ("asc" | "desc")
|
|
10237
|
+
|
|
10238
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10239
|
+
[k: string]: unknown | undefined
|
|
10240
|
+
}
|
|
10047
10241
|
|
|
10048
|
-
|
|
10242
|
+
groupName?: string
|
|
10049
10243
|
|
|
10050
|
-
|
|
10244
|
+
order?: ("asc" | "desc")
|
|
10051
10245
|
|
|
10052
|
-
|
|
10246
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10053
10247
|
|
|
10054
|
-
|
|
10248
|
+
elementValuePattern?: (({
|
|
10249
|
+
pattern?: string
|
|
10250
|
+
flags?: string
|
|
10251
|
+
} | string)[] | ({
|
|
10252
|
+
pattern?: string
|
|
10253
|
+
flags?: string
|
|
10254
|
+
} | string))
|
|
10255
|
+
|
|
10256
|
+
elementNamePattern?: (({
|
|
10257
|
+
pattern?: string
|
|
10258
|
+
flags?: string
|
|
10259
|
+
} | string)[] | ({
|
|
10260
|
+
pattern?: string
|
|
10261
|
+
flags?: string
|
|
10262
|
+
} | string))
|
|
10055
10263
|
})[])
|
|
10056
10264
|
|
|
10057
10265
|
sortByValue?: boolean
|
|
10058
10266
|
|
|
10059
|
-
partitionByComment?: (
|
|
10060
|
-
|
|
10061
|
-
|
|
10062
|
-
|
|
10267
|
+
partitionByComment?: (boolean | (({
|
|
10268
|
+
pattern?: string
|
|
10269
|
+
flags?: string
|
|
10270
|
+
} | string)[] | ({
|
|
10271
|
+
pattern?: string
|
|
10272
|
+
flags?: string
|
|
10273
|
+
} | string)) | {
|
|
10274
|
+
block?: (boolean | (({
|
|
10275
|
+
pattern?: string
|
|
10276
|
+
flags?: string
|
|
10277
|
+
} | string)[] | ({
|
|
10278
|
+
pattern?: string
|
|
10279
|
+
flags?: string
|
|
10280
|
+
} | string)))
|
|
10281
|
+
line?: (boolean | (({
|
|
10282
|
+
pattern?: string
|
|
10283
|
+
flags?: string
|
|
10284
|
+
} | string)[] | ({
|
|
10285
|
+
pattern?: string
|
|
10286
|
+
flags?: string
|
|
10287
|
+
} | string)))
|
|
10063
10288
|
})
|
|
10064
10289
|
|
|
10065
10290
|
partitionByNewLine?: boolean
|
|
10066
10291
|
|
|
10067
10292
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10068
10293
|
|
|
10069
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10070
|
-
|
|
10071
10294
|
groups?: (string | string[] | {
|
|
10072
10295
|
|
|
10073
10296
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10074
|
-
[k: string]: unknown | undefined
|
|
10075
10297
|
})[]
|
|
10076
10298
|
}]
|
|
10077
10299
|
// ----- perfectionist/sort-exports -----
|
|
10078
10300
|
type PerfectionistSortExports = []|[{
|
|
10079
10301
|
|
|
10302
|
+
fallbackSort?: {
|
|
10303
|
+
|
|
10304
|
+
order?: ("asc" | "desc")
|
|
10305
|
+
|
|
10306
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10307
|
+
[k: string]: unknown | undefined
|
|
10308
|
+
}
|
|
10309
|
+
|
|
10080
10310
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10081
10311
|
|
|
10082
10312
|
ignoreCase?: boolean
|
|
@@ -10087,21 +10317,46 @@ type PerfectionistSortExports = []|[{
|
|
|
10087
10317
|
|
|
10088
10318
|
order?: ("asc" | "desc")
|
|
10089
10319
|
|
|
10320
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10321
|
+
|
|
10090
10322
|
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
10091
10323
|
|
|
10092
|
-
partitionByComment?: (
|
|
10093
|
-
|
|
10094
|
-
|
|
10095
|
-
|
|
10324
|
+
partitionByComment?: (boolean | (({
|
|
10325
|
+
pattern?: string
|
|
10326
|
+
flags?: string
|
|
10327
|
+
} | string)[] | ({
|
|
10328
|
+
pattern?: string
|
|
10329
|
+
flags?: string
|
|
10330
|
+
} | string)) | {
|
|
10331
|
+
block?: (boolean | (({
|
|
10332
|
+
pattern?: string
|
|
10333
|
+
flags?: string
|
|
10334
|
+
} | string)[] | ({
|
|
10335
|
+
pattern?: string
|
|
10336
|
+
flags?: string
|
|
10337
|
+
} | string)))
|
|
10338
|
+
line?: (boolean | (({
|
|
10339
|
+
pattern?: string
|
|
10340
|
+
flags?: string
|
|
10341
|
+
} | string)[] | ({
|
|
10342
|
+
pattern?: string
|
|
10343
|
+
flags?: string
|
|
10344
|
+
} | string)))
|
|
10096
10345
|
})
|
|
10097
10346
|
|
|
10098
10347
|
partitionByNewLine?: boolean
|
|
10099
|
-
|
|
10100
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10101
10348
|
}]
|
|
10102
10349
|
// ----- perfectionist/sort-heritage-clauses -----
|
|
10103
10350
|
type PerfectionistSortHeritageClauses = []|[{
|
|
10104
10351
|
|
|
10352
|
+
fallbackSort?: {
|
|
10353
|
+
|
|
10354
|
+
order?: ("asc" | "desc")
|
|
10355
|
+
|
|
10356
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10357
|
+
[k: string]: unknown | undefined
|
|
10358
|
+
}
|
|
10359
|
+
|
|
10105
10360
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10106
10361
|
|
|
10107
10362
|
ignoreCase?: boolean
|
|
@@ -10112,22 +10367,29 @@ type PerfectionistSortHeritageClauses = []|[{
|
|
|
10112
10367
|
|
|
10113
10368
|
order?: ("asc" | "desc")
|
|
10114
10369
|
|
|
10370
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10371
|
+
|
|
10115
10372
|
customGroups?: {
|
|
10116
10373
|
[k: string]: (string | string[]) | undefined
|
|
10117
10374
|
}
|
|
10118
10375
|
|
|
10119
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10120
|
-
|
|
10121
10376
|
groups?: (string | string[] | {
|
|
10122
10377
|
|
|
10123
10378
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10124
|
-
[k: string]: unknown | undefined
|
|
10125
10379
|
})[]
|
|
10126
10380
|
}]
|
|
10127
10381
|
// ----- perfectionist/sort-imports -----
|
|
10128
10382
|
type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
|
|
10129
10383
|
type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
10130
10384
|
|
|
10385
|
+
fallbackSort?: {
|
|
10386
|
+
|
|
10387
|
+
order?: ("asc" | "desc")
|
|
10388
|
+
|
|
10389
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10390
|
+
[k: string]: unknown | undefined
|
|
10391
|
+
}
|
|
10392
|
+
|
|
10131
10393
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10132
10394
|
|
|
10133
10395
|
ignoreCase?: boolean
|
|
@@ -10138,6 +10400,8 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
10138
10400
|
|
|
10139
10401
|
order?: ("asc" | "desc")
|
|
10140
10402
|
|
|
10403
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10404
|
+
|
|
10141
10405
|
customGroups?: {
|
|
10142
10406
|
|
|
10143
10407
|
value?: {
|
|
@@ -10149,8 +10413,6 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
10149
10413
|
}
|
|
10150
10414
|
}
|
|
10151
10415
|
|
|
10152
|
-
internalPattern?: string[]
|
|
10153
|
-
|
|
10154
10416
|
maxLineLength?: number
|
|
10155
10417
|
|
|
10156
10418
|
sortSideEffects?: boolean
|
|
@@ -10159,22 +10421,44 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
10159
10421
|
|
|
10160
10422
|
tsconfigRootDir?: string
|
|
10161
10423
|
|
|
10162
|
-
partitionByComment?: (
|
|
10163
|
-
|
|
10164
|
-
|
|
10165
|
-
|
|
10424
|
+
partitionByComment?: (boolean | (({
|
|
10425
|
+
pattern?: string
|
|
10426
|
+
flags?: string
|
|
10427
|
+
} | string)[] | ({
|
|
10428
|
+
pattern?: string
|
|
10429
|
+
flags?: string
|
|
10430
|
+
} | string)) | {
|
|
10431
|
+
block?: (boolean | (({
|
|
10432
|
+
pattern?: string
|
|
10433
|
+
flags?: string
|
|
10434
|
+
} | string)[] | ({
|
|
10435
|
+
pattern?: string
|
|
10436
|
+
flags?: string
|
|
10437
|
+
} | string)))
|
|
10438
|
+
line?: (boolean | (({
|
|
10439
|
+
pattern?: string
|
|
10440
|
+
flags?: string
|
|
10441
|
+
} | string)[] | ({
|
|
10442
|
+
pattern?: string
|
|
10443
|
+
flags?: string
|
|
10444
|
+
} | string)))
|
|
10166
10445
|
})
|
|
10167
10446
|
|
|
10168
10447
|
partitionByNewLine?: boolean
|
|
10169
10448
|
|
|
10170
10449
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10171
10450
|
|
|
10172
|
-
|
|
10451
|
+
internalPattern?: (({
|
|
10452
|
+
pattern?: string
|
|
10453
|
+
flags?: string
|
|
10454
|
+
} | string)[] | ({
|
|
10455
|
+
pattern?: string
|
|
10456
|
+
flags?: string
|
|
10457
|
+
} | string))
|
|
10173
10458
|
|
|
10174
10459
|
groups?: (string | string[] | {
|
|
10175
10460
|
|
|
10176
10461
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10177
|
-
[k: string]: unknown | undefined
|
|
10178
10462
|
})[]
|
|
10179
10463
|
})
|
|
10180
10464
|
type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
|
|
@@ -10187,6 +10471,14 @@ interface _PerfectionistSortImports_IsLineLength {
|
|
|
10187
10471
|
// ----- perfectionist/sort-interfaces -----
|
|
10188
10472
|
type PerfectionistSortInterfaces = {
|
|
10189
10473
|
|
|
10474
|
+
fallbackSort?: {
|
|
10475
|
+
|
|
10476
|
+
order?: ("asc" | "desc")
|
|
10477
|
+
|
|
10478
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10479
|
+
[k: string]: unknown | undefined
|
|
10480
|
+
}
|
|
10481
|
+
|
|
10190
10482
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10191
10483
|
|
|
10192
10484
|
ignoreCase?: boolean
|
|
@@ -10197,70 +10489,163 @@ type PerfectionistSortInterfaces = {
|
|
|
10197
10489
|
|
|
10198
10490
|
order?: ("asc" | "desc")
|
|
10199
10491
|
|
|
10200
|
-
|
|
10201
|
-
useConfigurationIf?: {
|
|
10202
|
-
allNamesMatchPattern?: string
|
|
10203
|
-
declarationMatchesPattern?: string
|
|
10204
|
-
}
|
|
10492
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10205
10493
|
customGroups?: ({
|
|
10206
10494
|
[k: string]: (string | string[]) | undefined
|
|
10207
10495
|
} | ({
|
|
10208
10496
|
|
|
10209
|
-
|
|
10497
|
+
newlinesInside?: ("always" | "never")
|
|
10210
10498
|
|
|
10211
|
-
|
|
10499
|
+
fallbackSort?: {
|
|
10500
|
+
|
|
10501
|
+
order?: ("asc" | "desc")
|
|
10502
|
+
|
|
10503
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10504
|
+
sortBy?: ("name" | "value")
|
|
10505
|
+
[k: string]: unknown | undefined
|
|
10506
|
+
}
|
|
10212
10507
|
|
|
10213
|
-
|
|
10508
|
+
groupName?: string
|
|
10214
10509
|
|
|
10215
|
-
|
|
10510
|
+
order?: ("asc" | "desc")
|
|
10511
|
+
|
|
10512
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10216
10513
|
anyOf?: {
|
|
10217
10514
|
|
|
10218
10515
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
10219
10516
|
|
|
10220
10517
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
10221
10518
|
|
|
10222
|
-
|
|
10519
|
+
elementValuePattern?: (({
|
|
10520
|
+
pattern?: string
|
|
10521
|
+
flags?: string
|
|
10522
|
+
} | string)[] | ({
|
|
10523
|
+
pattern?: string
|
|
10524
|
+
flags?: string
|
|
10525
|
+
} | string))
|
|
10526
|
+
|
|
10527
|
+
elementNamePattern?: (({
|
|
10528
|
+
pattern?: string
|
|
10529
|
+
flags?: string
|
|
10530
|
+
} | string)[] | ({
|
|
10531
|
+
pattern?: string
|
|
10532
|
+
flags?: string
|
|
10533
|
+
} | string))
|
|
10534
|
+
sortBy?: ("name" | "value")
|
|
10223
10535
|
}[]
|
|
10224
10536
|
} | {
|
|
10225
10537
|
|
|
10226
|
-
|
|
10538
|
+
newlinesInside?: ("always" | "never")
|
|
10539
|
+
|
|
10540
|
+
fallbackSort?: {
|
|
10541
|
+
|
|
10542
|
+
order?: ("asc" | "desc")
|
|
10543
|
+
|
|
10544
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10545
|
+
sortBy?: ("name" | "value")
|
|
10546
|
+
[k: string]: unknown | undefined
|
|
10547
|
+
}
|
|
10227
10548
|
|
|
10228
|
-
|
|
10549
|
+
groupName?: string
|
|
10229
10550
|
|
|
10230
|
-
order?: ("
|
|
10551
|
+
order?: ("asc" | "desc")
|
|
10231
10552
|
|
|
10232
|
-
|
|
10553
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10233
10554
|
|
|
10234
10555
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
10235
10556
|
|
|
10236
10557
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
10237
10558
|
|
|
10238
|
-
|
|
10559
|
+
elementValuePattern?: (({
|
|
10560
|
+
pattern?: string
|
|
10561
|
+
flags?: string
|
|
10562
|
+
} | string)[] | ({
|
|
10563
|
+
pattern?: string
|
|
10564
|
+
flags?: string
|
|
10565
|
+
} | string))
|
|
10566
|
+
|
|
10567
|
+
elementNamePattern?: (({
|
|
10568
|
+
pattern?: string
|
|
10569
|
+
flags?: string
|
|
10570
|
+
} | string)[] | ({
|
|
10571
|
+
pattern?: string
|
|
10572
|
+
flags?: string
|
|
10573
|
+
} | string))
|
|
10574
|
+
sortBy?: ("name" | "value")
|
|
10239
10575
|
})[])
|
|
10576
|
+
useConfigurationIf?: {
|
|
10577
|
+
|
|
10578
|
+
allNamesMatchPattern?: (({
|
|
10579
|
+
pattern?: string
|
|
10580
|
+
flags?: string
|
|
10581
|
+
} | string)[] | ({
|
|
10582
|
+
pattern?: string
|
|
10583
|
+
flags?: string
|
|
10584
|
+
} | string))
|
|
10585
|
+
|
|
10586
|
+
declarationMatchesPattern?: (({
|
|
10587
|
+
pattern?: string
|
|
10588
|
+
flags?: string
|
|
10589
|
+
} | string)[] | ({
|
|
10590
|
+
pattern?: string
|
|
10591
|
+
flags?: string
|
|
10592
|
+
} | string))
|
|
10593
|
+
}
|
|
10240
10594
|
|
|
10241
10595
|
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
10242
10596
|
|
|
10243
|
-
|
|
10244
|
-
|
|
10245
|
-
|
|
10246
|
-
|
|
10247
|
-
|
|
10248
|
-
|
|
10597
|
+
partitionByComment?: (boolean | (({
|
|
10598
|
+
pattern?: string
|
|
10599
|
+
flags?: string
|
|
10600
|
+
} | string)[] | ({
|
|
10601
|
+
pattern?: string
|
|
10602
|
+
flags?: string
|
|
10603
|
+
} | string)) | {
|
|
10604
|
+
block?: (boolean | (({
|
|
10605
|
+
pattern?: string
|
|
10606
|
+
flags?: string
|
|
10607
|
+
} | string)[] | ({
|
|
10608
|
+
pattern?: string
|
|
10609
|
+
flags?: string
|
|
10610
|
+
} | string)))
|
|
10611
|
+
line?: (boolean | (({
|
|
10612
|
+
pattern?: string
|
|
10613
|
+
flags?: string
|
|
10614
|
+
} | string)[] | ({
|
|
10615
|
+
pattern?: string
|
|
10616
|
+
flags?: string
|
|
10617
|
+
} | string)))
|
|
10249
10618
|
})
|
|
10250
10619
|
|
|
10251
10620
|
partitionByNewLine?: boolean
|
|
10252
10621
|
|
|
10253
10622
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10254
10623
|
|
|
10624
|
+
ignorePattern?: (({
|
|
10625
|
+
pattern?: string
|
|
10626
|
+
flags?: string
|
|
10627
|
+
} | string)[] | ({
|
|
10628
|
+
pattern?: string
|
|
10629
|
+
flags?: string
|
|
10630
|
+
} | string))
|
|
10631
|
+
sortBy?: ("name" | "value")
|
|
10632
|
+
|
|
10255
10633
|
groups?: (string | string[] | {
|
|
10256
10634
|
|
|
10257
10635
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10258
|
-
[k: string]: unknown | undefined
|
|
10259
10636
|
})[]
|
|
10260
10637
|
}[]
|
|
10261
10638
|
// ----- perfectionist/sort-intersection-types -----
|
|
10262
10639
|
type PerfectionistSortIntersectionTypes = []|[{
|
|
10263
10640
|
|
|
10641
|
+
fallbackSort?: {
|
|
10642
|
+
|
|
10643
|
+
order?: ("asc" | "desc")
|
|
10644
|
+
|
|
10645
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10646
|
+
[k: string]: unknown | undefined
|
|
10647
|
+
}
|
|
10648
|
+
|
|
10264
10649
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10265
10650
|
|
|
10266
10651
|
ignoreCase?: boolean
|
|
@@ -10271,26 +10656,50 @@ type PerfectionistSortIntersectionTypes = []|[{
|
|
|
10271
10656
|
|
|
10272
10657
|
order?: ("asc" | "desc")
|
|
10273
10658
|
|
|
10274
|
-
|
|
10275
|
-
|
|
10276
|
-
|
|
10277
|
-
|
|
10659
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10660
|
+
|
|
10661
|
+
partitionByComment?: (boolean | (({
|
|
10662
|
+
pattern?: string
|
|
10663
|
+
flags?: string
|
|
10664
|
+
} | string)[] | ({
|
|
10665
|
+
pattern?: string
|
|
10666
|
+
flags?: string
|
|
10667
|
+
} | string)) | {
|
|
10668
|
+
block?: (boolean | (({
|
|
10669
|
+
pattern?: string
|
|
10670
|
+
flags?: string
|
|
10671
|
+
} | string)[] | ({
|
|
10672
|
+
pattern?: string
|
|
10673
|
+
flags?: string
|
|
10674
|
+
} | string)))
|
|
10675
|
+
line?: (boolean | (({
|
|
10676
|
+
pattern?: string
|
|
10677
|
+
flags?: string
|
|
10678
|
+
} | string)[] | ({
|
|
10679
|
+
pattern?: string
|
|
10680
|
+
flags?: string
|
|
10681
|
+
} | string)))
|
|
10278
10682
|
})
|
|
10279
10683
|
|
|
10280
10684
|
partitionByNewLine?: boolean
|
|
10281
10685
|
|
|
10282
10686
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10283
10687
|
|
|
10284
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10285
|
-
|
|
10286
10688
|
groups?: (string | string[] | {
|
|
10287
10689
|
|
|
10288
10690
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10289
|
-
[k: string]: unknown | undefined
|
|
10290
10691
|
})[]
|
|
10291
10692
|
}]
|
|
10292
10693
|
// ----- perfectionist/sort-jsx-props -----
|
|
10293
|
-
type PerfectionistSortJsxProps =
|
|
10694
|
+
type PerfectionistSortJsxProps = {
|
|
10695
|
+
|
|
10696
|
+
fallbackSort?: {
|
|
10697
|
+
|
|
10698
|
+
order?: ("asc" | "desc")
|
|
10699
|
+
|
|
10700
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10701
|
+
[k: string]: unknown | undefined
|
|
10702
|
+
}
|
|
10294
10703
|
|
|
10295
10704
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10296
10705
|
|
|
@@ -10302,7 +10711,25 @@ type PerfectionistSortJsxProps = []|[{
|
|
|
10302
10711
|
|
|
10303
10712
|
order?: ("asc" | "desc")
|
|
10304
10713
|
|
|
10305
|
-
|
|
10714
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10715
|
+
useConfigurationIf?: {
|
|
10716
|
+
|
|
10717
|
+
allNamesMatchPattern?: (({
|
|
10718
|
+
pattern?: string
|
|
10719
|
+
flags?: string
|
|
10720
|
+
} | string)[] | ({
|
|
10721
|
+
pattern?: string
|
|
10722
|
+
flags?: string
|
|
10723
|
+
} | string))
|
|
10724
|
+
|
|
10725
|
+
tagMatchesPattern?: (({
|
|
10726
|
+
pattern?: string
|
|
10727
|
+
flags?: string
|
|
10728
|
+
} | string)[] | ({
|
|
10729
|
+
pattern?: string
|
|
10730
|
+
flags?: string
|
|
10731
|
+
} | string))
|
|
10732
|
+
}
|
|
10306
10733
|
|
|
10307
10734
|
partitionByNewLine?: boolean
|
|
10308
10735
|
|
|
@@ -10312,17 +10739,30 @@ type PerfectionistSortJsxProps = []|[{
|
|
|
10312
10739
|
[k: string]: (string | string[]) | undefined
|
|
10313
10740
|
}
|
|
10314
10741
|
|
|
10315
|
-
|
|
10742
|
+
ignorePattern?: (({
|
|
10743
|
+
pattern?: string
|
|
10744
|
+
flags?: string
|
|
10745
|
+
} | string)[] | ({
|
|
10746
|
+
pattern?: string
|
|
10747
|
+
flags?: string
|
|
10748
|
+
} | string))
|
|
10316
10749
|
|
|
10317
10750
|
groups?: (string | string[] | {
|
|
10318
10751
|
|
|
10319
10752
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10320
|
-
[k: string]: unknown | undefined
|
|
10321
10753
|
})[]
|
|
10322
|
-
}]
|
|
10754
|
+
}[]
|
|
10323
10755
|
// ----- perfectionist/sort-maps -----
|
|
10324
10756
|
type PerfectionistSortMaps = {
|
|
10325
10757
|
|
|
10758
|
+
fallbackSort?: {
|
|
10759
|
+
|
|
10760
|
+
order?: ("asc" | "desc")
|
|
10761
|
+
|
|
10762
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10763
|
+
[k: string]: unknown | undefined
|
|
10764
|
+
}
|
|
10765
|
+
|
|
10326
10766
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10327
10767
|
|
|
10328
10768
|
ignoreCase?: boolean
|
|
@@ -10333,56 +10773,115 @@ type PerfectionistSortMaps = {
|
|
|
10333
10773
|
|
|
10334
10774
|
order?: ("asc" | "desc")
|
|
10335
10775
|
|
|
10776
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10777
|
+
|
|
10336
10778
|
customGroups?: ({
|
|
10337
10779
|
|
|
10338
|
-
|
|
10780
|
+
newlinesInside?: ("always" | "never")
|
|
10781
|
+
|
|
10782
|
+
fallbackSort?: {
|
|
10783
|
+
|
|
10784
|
+
order?: ("asc" | "desc")
|
|
10785
|
+
|
|
10786
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10787
|
+
[k: string]: unknown | undefined
|
|
10788
|
+
}
|
|
10339
10789
|
|
|
10340
|
-
|
|
10790
|
+
groupName?: string
|
|
10341
10791
|
|
|
10342
|
-
order?: ("
|
|
10792
|
+
order?: ("asc" | "desc")
|
|
10343
10793
|
|
|
10344
|
-
|
|
10794
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10345
10795
|
anyOf?: {
|
|
10346
10796
|
|
|
10347
|
-
elementNamePattern?:
|
|
10797
|
+
elementNamePattern?: (({
|
|
10798
|
+
pattern?: string
|
|
10799
|
+
flags?: string
|
|
10800
|
+
} | string)[] | ({
|
|
10801
|
+
pattern?: string
|
|
10802
|
+
flags?: string
|
|
10803
|
+
} | string))
|
|
10348
10804
|
}[]
|
|
10349
10805
|
} | {
|
|
10350
10806
|
|
|
10351
|
-
|
|
10807
|
+
newlinesInside?: ("always" | "never")
|
|
10808
|
+
|
|
10809
|
+
fallbackSort?: {
|
|
10810
|
+
|
|
10811
|
+
order?: ("asc" | "desc")
|
|
10812
|
+
|
|
10813
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10814
|
+
[k: string]: unknown | undefined
|
|
10815
|
+
}
|
|
10352
10816
|
|
|
10353
|
-
|
|
10817
|
+
groupName?: string
|
|
10354
10818
|
|
|
10355
|
-
order?: ("
|
|
10819
|
+
order?: ("asc" | "desc")
|
|
10356
10820
|
|
|
10357
|
-
|
|
10821
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10358
10822
|
|
|
10359
|
-
elementNamePattern?:
|
|
10823
|
+
elementNamePattern?: (({
|
|
10824
|
+
pattern?: string
|
|
10825
|
+
flags?: string
|
|
10826
|
+
} | string)[] | ({
|
|
10827
|
+
pattern?: string
|
|
10828
|
+
flags?: string
|
|
10829
|
+
} | string))
|
|
10360
10830
|
})[]
|
|
10361
10831
|
useConfigurationIf?: {
|
|
10362
|
-
|
|
10832
|
+
|
|
10833
|
+
allNamesMatchPattern?: (({
|
|
10834
|
+
pattern?: string
|
|
10835
|
+
flags?: string
|
|
10836
|
+
} | string)[] | ({
|
|
10837
|
+
pattern?: string
|
|
10838
|
+
flags?: string
|
|
10839
|
+
} | string))
|
|
10363
10840
|
}
|
|
10364
10841
|
|
|
10365
|
-
partitionByComment?: (
|
|
10366
|
-
|
|
10367
|
-
|
|
10368
|
-
|
|
10842
|
+
partitionByComment?: (boolean | (({
|
|
10843
|
+
pattern?: string
|
|
10844
|
+
flags?: string
|
|
10845
|
+
} | string)[] | ({
|
|
10846
|
+
pattern?: string
|
|
10847
|
+
flags?: string
|
|
10848
|
+
} | string)) | {
|
|
10849
|
+
block?: (boolean | (({
|
|
10850
|
+
pattern?: string
|
|
10851
|
+
flags?: string
|
|
10852
|
+
} | string)[] | ({
|
|
10853
|
+
pattern?: string
|
|
10854
|
+
flags?: string
|
|
10855
|
+
} | string)))
|
|
10856
|
+
line?: (boolean | (({
|
|
10857
|
+
pattern?: string
|
|
10858
|
+
flags?: string
|
|
10859
|
+
} | string)[] | ({
|
|
10860
|
+
pattern?: string
|
|
10861
|
+
flags?: string
|
|
10862
|
+
} | string)))
|
|
10369
10863
|
})
|
|
10370
10864
|
|
|
10371
10865
|
partitionByNewLine?: boolean
|
|
10372
10866
|
|
|
10373
10867
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10374
10868
|
|
|
10375
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10376
|
-
|
|
10377
10869
|
groups?: (string | string[] | {
|
|
10378
10870
|
|
|
10379
10871
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10380
|
-
[k: string]: unknown | undefined
|
|
10381
10872
|
})[]
|
|
10382
10873
|
}[]
|
|
10383
10874
|
// ----- perfectionist/sort-modules -----
|
|
10384
10875
|
type PerfectionistSortModules = []|[{
|
|
10385
10876
|
|
|
10877
|
+
fallbackSort?: {
|
|
10878
|
+
|
|
10879
|
+
order?: ("asc" | "desc")
|
|
10880
|
+
|
|
10881
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10882
|
+
[k: string]: unknown | undefined
|
|
10883
|
+
}
|
|
10884
|
+
|
|
10386
10885
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10387
10886
|
|
|
10388
10887
|
ignoreCase?: boolean
|
|
@@ -10393,65 +10892,129 @@ type PerfectionistSortModules = []|[{
|
|
|
10393
10892
|
|
|
10394
10893
|
order?: ("asc" | "desc")
|
|
10395
10894
|
|
|
10895
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10896
|
+
|
|
10396
10897
|
customGroups?: ({
|
|
10397
10898
|
|
|
10398
|
-
|
|
10899
|
+
newlinesInside?: ("always" | "never")
|
|
10900
|
+
|
|
10901
|
+
fallbackSort?: {
|
|
10902
|
+
|
|
10903
|
+
order?: ("asc" | "desc")
|
|
10904
|
+
|
|
10905
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10906
|
+
[k: string]: unknown | undefined
|
|
10907
|
+
}
|
|
10399
10908
|
|
|
10400
|
-
|
|
10909
|
+
groupName?: string
|
|
10401
10910
|
|
|
10402
|
-
order?: ("
|
|
10911
|
+
order?: ("asc" | "desc")
|
|
10403
10912
|
|
|
10404
|
-
|
|
10913
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10405
10914
|
anyOf?: {
|
|
10406
10915
|
|
|
10407
|
-
decoratorNamePattern?: string
|
|
10408
|
-
|
|
10409
10916
|
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
10410
10917
|
|
|
10411
10918
|
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
10412
10919
|
|
|
10413
|
-
|
|
10920
|
+
decoratorNamePattern?: (({
|
|
10921
|
+
pattern?: string
|
|
10922
|
+
flags?: string
|
|
10923
|
+
} | string)[] | ({
|
|
10924
|
+
pattern?: string
|
|
10925
|
+
flags?: string
|
|
10926
|
+
} | string))
|
|
10927
|
+
|
|
10928
|
+
elementNamePattern?: (({
|
|
10929
|
+
pattern?: string
|
|
10930
|
+
flags?: string
|
|
10931
|
+
} | string)[] | ({
|
|
10932
|
+
pattern?: string
|
|
10933
|
+
flags?: string
|
|
10934
|
+
} | string))
|
|
10414
10935
|
}[]
|
|
10415
10936
|
} | {
|
|
10416
10937
|
|
|
10417
|
-
|
|
10938
|
+
newlinesInside?: ("always" | "never")
|
|
10418
10939
|
|
|
10419
|
-
|
|
10940
|
+
fallbackSort?: {
|
|
10941
|
+
|
|
10942
|
+
order?: ("asc" | "desc")
|
|
10943
|
+
|
|
10944
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10945
|
+
[k: string]: unknown | undefined
|
|
10946
|
+
}
|
|
10420
10947
|
|
|
10421
|
-
|
|
10948
|
+
groupName?: string
|
|
10422
10949
|
|
|
10423
|
-
|
|
10950
|
+
order?: ("asc" | "desc")
|
|
10424
10951
|
|
|
10425
|
-
|
|
10952
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10426
10953
|
|
|
10427
10954
|
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
10428
10955
|
|
|
10429
10956
|
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
10430
10957
|
|
|
10431
|
-
|
|
10958
|
+
decoratorNamePattern?: (({
|
|
10959
|
+
pattern?: string
|
|
10960
|
+
flags?: string
|
|
10961
|
+
} | string)[] | ({
|
|
10962
|
+
pattern?: string
|
|
10963
|
+
flags?: string
|
|
10964
|
+
} | string))
|
|
10965
|
+
|
|
10966
|
+
elementNamePattern?: (({
|
|
10967
|
+
pattern?: string
|
|
10968
|
+
flags?: string
|
|
10969
|
+
} | string)[] | ({
|
|
10970
|
+
pattern?: string
|
|
10971
|
+
flags?: string
|
|
10972
|
+
} | string))
|
|
10432
10973
|
})[]
|
|
10433
10974
|
|
|
10434
|
-
partitionByComment?: (
|
|
10435
|
-
|
|
10436
|
-
|
|
10437
|
-
|
|
10975
|
+
partitionByComment?: (boolean | (({
|
|
10976
|
+
pattern?: string
|
|
10977
|
+
flags?: string
|
|
10978
|
+
} | string)[] | ({
|
|
10979
|
+
pattern?: string
|
|
10980
|
+
flags?: string
|
|
10981
|
+
} | string)) | {
|
|
10982
|
+
block?: (boolean | (({
|
|
10983
|
+
pattern?: string
|
|
10984
|
+
flags?: string
|
|
10985
|
+
} | string)[] | ({
|
|
10986
|
+
pattern?: string
|
|
10987
|
+
flags?: string
|
|
10988
|
+
} | string)))
|
|
10989
|
+
line?: (boolean | (({
|
|
10990
|
+
pattern?: string
|
|
10991
|
+
flags?: string
|
|
10992
|
+
} | string)[] | ({
|
|
10993
|
+
pattern?: string
|
|
10994
|
+
flags?: string
|
|
10995
|
+
} | string)))
|
|
10438
10996
|
})
|
|
10439
10997
|
|
|
10440
10998
|
partitionByNewLine?: boolean
|
|
10441
10999
|
|
|
10442
11000
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10443
11001
|
|
|
10444
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10445
|
-
|
|
10446
11002
|
groups?: (string | string[] | {
|
|
10447
11003
|
|
|
10448
11004
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10449
|
-
[k: string]: unknown | undefined
|
|
10450
11005
|
})[]
|
|
10451
11006
|
}]
|
|
10452
11007
|
// ----- perfectionist/sort-named-exports -----
|
|
10453
11008
|
type PerfectionistSortNamedExports = []|[{
|
|
10454
11009
|
|
|
11010
|
+
fallbackSort?: {
|
|
11011
|
+
|
|
11012
|
+
order?: ("asc" | "desc")
|
|
11013
|
+
|
|
11014
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11015
|
+
[k: string]: unknown | undefined
|
|
11016
|
+
}
|
|
11017
|
+
|
|
10455
11018
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10456
11019
|
|
|
10457
11020
|
ignoreCase?: boolean
|
|
@@ -10462,23 +11025,48 @@ type PerfectionistSortNamedExports = []|[{
|
|
|
10462
11025
|
|
|
10463
11026
|
order?: ("asc" | "desc")
|
|
10464
11027
|
|
|
11028
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11029
|
+
|
|
10465
11030
|
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
10466
11031
|
|
|
10467
11032
|
ignoreAlias?: boolean
|
|
10468
11033
|
|
|
10469
|
-
partitionByComment?: (
|
|
10470
|
-
|
|
10471
|
-
|
|
10472
|
-
|
|
11034
|
+
partitionByComment?: (boolean | (({
|
|
11035
|
+
pattern?: string
|
|
11036
|
+
flags?: string
|
|
11037
|
+
} | string)[] | ({
|
|
11038
|
+
pattern?: string
|
|
11039
|
+
flags?: string
|
|
11040
|
+
} | string)) | {
|
|
11041
|
+
block?: (boolean | (({
|
|
11042
|
+
pattern?: string
|
|
11043
|
+
flags?: string
|
|
11044
|
+
} | string)[] | ({
|
|
11045
|
+
pattern?: string
|
|
11046
|
+
flags?: string
|
|
11047
|
+
} | string)))
|
|
11048
|
+
line?: (boolean | (({
|
|
11049
|
+
pattern?: string
|
|
11050
|
+
flags?: string
|
|
11051
|
+
} | string)[] | ({
|
|
11052
|
+
pattern?: string
|
|
11053
|
+
flags?: string
|
|
11054
|
+
} | string)))
|
|
10473
11055
|
})
|
|
10474
11056
|
|
|
10475
11057
|
partitionByNewLine?: boolean
|
|
10476
|
-
|
|
10477
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10478
11058
|
}]
|
|
10479
11059
|
// ----- perfectionist/sort-named-imports -----
|
|
10480
11060
|
type PerfectionistSortNamedImports = []|[{
|
|
10481
11061
|
|
|
11062
|
+
fallbackSort?: {
|
|
11063
|
+
|
|
11064
|
+
order?: ("asc" | "desc")
|
|
11065
|
+
|
|
11066
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11067
|
+
[k: string]: unknown | undefined
|
|
11068
|
+
}
|
|
11069
|
+
|
|
10482
11070
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10483
11071
|
|
|
10484
11072
|
ignoreCase?: boolean
|
|
@@ -10489,23 +11077,48 @@ type PerfectionistSortNamedImports = []|[{
|
|
|
10489
11077
|
|
|
10490
11078
|
order?: ("asc" | "desc")
|
|
10491
11079
|
|
|
11080
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11081
|
+
|
|
10492
11082
|
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
10493
11083
|
|
|
10494
11084
|
ignoreAlias?: boolean
|
|
10495
11085
|
|
|
10496
|
-
partitionByComment?: (
|
|
10497
|
-
|
|
10498
|
-
|
|
10499
|
-
|
|
11086
|
+
partitionByComment?: (boolean | (({
|
|
11087
|
+
pattern?: string
|
|
11088
|
+
flags?: string
|
|
11089
|
+
} | string)[] | ({
|
|
11090
|
+
pattern?: string
|
|
11091
|
+
flags?: string
|
|
11092
|
+
} | string)) | {
|
|
11093
|
+
block?: (boolean | (({
|
|
11094
|
+
pattern?: string
|
|
11095
|
+
flags?: string
|
|
11096
|
+
} | string)[] | ({
|
|
11097
|
+
pattern?: string
|
|
11098
|
+
flags?: string
|
|
11099
|
+
} | string)))
|
|
11100
|
+
line?: (boolean | (({
|
|
11101
|
+
pattern?: string
|
|
11102
|
+
flags?: string
|
|
11103
|
+
} | string)[] | ({
|
|
11104
|
+
pattern?: string
|
|
11105
|
+
flags?: string
|
|
11106
|
+
} | string)))
|
|
10500
11107
|
})
|
|
10501
11108
|
|
|
10502
11109
|
partitionByNewLine?: boolean
|
|
10503
|
-
|
|
10504
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10505
11110
|
}]
|
|
10506
11111
|
// ----- perfectionist/sort-object-types -----
|
|
10507
11112
|
type PerfectionistSortObjectTypes = {
|
|
10508
11113
|
|
|
11114
|
+
fallbackSort?: {
|
|
11115
|
+
|
|
11116
|
+
order?: ("asc" | "desc")
|
|
11117
|
+
|
|
11118
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11119
|
+
[k: string]: unknown | undefined
|
|
11120
|
+
}
|
|
11121
|
+
|
|
10509
11122
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10510
11123
|
|
|
10511
11124
|
ignoreCase?: boolean
|
|
@@ -10516,70 +11129,163 @@ type PerfectionistSortObjectTypes = {
|
|
|
10516
11129
|
|
|
10517
11130
|
order?: ("asc" | "desc")
|
|
10518
11131
|
|
|
10519
|
-
|
|
10520
|
-
useConfigurationIf?: {
|
|
10521
|
-
allNamesMatchPattern?: string
|
|
10522
|
-
declarationMatchesPattern?: string
|
|
10523
|
-
}
|
|
11132
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10524
11133
|
customGroups?: ({
|
|
10525
11134
|
[k: string]: (string | string[]) | undefined
|
|
10526
11135
|
} | ({
|
|
10527
11136
|
|
|
10528
|
-
|
|
11137
|
+
newlinesInside?: ("always" | "never")
|
|
11138
|
+
|
|
11139
|
+
fallbackSort?: {
|
|
11140
|
+
|
|
11141
|
+
order?: ("asc" | "desc")
|
|
11142
|
+
|
|
11143
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11144
|
+
sortBy?: ("name" | "value")
|
|
11145
|
+
[k: string]: unknown | undefined
|
|
11146
|
+
}
|
|
10529
11147
|
|
|
10530
|
-
|
|
11148
|
+
groupName?: string
|
|
10531
11149
|
|
|
10532
|
-
order?: ("
|
|
11150
|
+
order?: ("asc" | "desc")
|
|
10533
11151
|
|
|
10534
|
-
|
|
11152
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10535
11153
|
anyOf?: {
|
|
10536
11154
|
|
|
10537
11155
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
10538
11156
|
|
|
10539
11157
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
10540
11158
|
|
|
10541
|
-
|
|
11159
|
+
elementValuePattern?: (({
|
|
11160
|
+
pattern?: string
|
|
11161
|
+
flags?: string
|
|
11162
|
+
} | string)[] | ({
|
|
11163
|
+
pattern?: string
|
|
11164
|
+
flags?: string
|
|
11165
|
+
} | string))
|
|
11166
|
+
|
|
11167
|
+
elementNamePattern?: (({
|
|
11168
|
+
pattern?: string
|
|
11169
|
+
flags?: string
|
|
11170
|
+
} | string)[] | ({
|
|
11171
|
+
pattern?: string
|
|
11172
|
+
flags?: string
|
|
11173
|
+
} | string))
|
|
11174
|
+
sortBy?: ("name" | "value")
|
|
10542
11175
|
}[]
|
|
10543
11176
|
} | {
|
|
10544
11177
|
|
|
10545
|
-
|
|
11178
|
+
newlinesInside?: ("always" | "never")
|
|
10546
11179
|
|
|
10547
|
-
|
|
11180
|
+
fallbackSort?: {
|
|
11181
|
+
|
|
11182
|
+
order?: ("asc" | "desc")
|
|
11183
|
+
|
|
11184
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11185
|
+
sortBy?: ("name" | "value")
|
|
11186
|
+
[k: string]: unknown | undefined
|
|
11187
|
+
}
|
|
10548
11188
|
|
|
10549
|
-
|
|
11189
|
+
groupName?: string
|
|
10550
11190
|
|
|
10551
|
-
|
|
11191
|
+
order?: ("asc" | "desc")
|
|
11192
|
+
|
|
11193
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10552
11194
|
|
|
10553
11195
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
10554
11196
|
|
|
10555
11197
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
10556
11198
|
|
|
10557
|
-
|
|
11199
|
+
elementValuePattern?: (({
|
|
11200
|
+
pattern?: string
|
|
11201
|
+
flags?: string
|
|
11202
|
+
} | string)[] | ({
|
|
11203
|
+
pattern?: string
|
|
11204
|
+
flags?: string
|
|
11205
|
+
} | string))
|
|
11206
|
+
|
|
11207
|
+
elementNamePattern?: (({
|
|
11208
|
+
pattern?: string
|
|
11209
|
+
flags?: string
|
|
11210
|
+
} | string)[] | ({
|
|
11211
|
+
pattern?: string
|
|
11212
|
+
flags?: string
|
|
11213
|
+
} | string))
|
|
11214
|
+
sortBy?: ("name" | "value")
|
|
10558
11215
|
})[])
|
|
11216
|
+
useConfigurationIf?: {
|
|
11217
|
+
|
|
11218
|
+
allNamesMatchPattern?: (({
|
|
11219
|
+
pattern?: string
|
|
11220
|
+
flags?: string
|
|
11221
|
+
} | string)[] | ({
|
|
11222
|
+
pattern?: string
|
|
11223
|
+
flags?: string
|
|
11224
|
+
} | string))
|
|
11225
|
+
|
|
11226
|
+
declarationMatchesPattern?: (({
|
|
11227
|
+
pattern?: string
|
|
11228
|
+
flags?: string
|
|
11229
|
+
} | string)[] | ({
|
|
11230
|
+
pattern?: string
|
|
11231
|
+
flags?: string
|
|
11232
|
+
} | string))
|
|
11233
|
+
}
|
|
10559
11234
|
|
|
10560
11235
|
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
10561
11236
|
|
|
10562
|
-
|
|
10563
|
-
|
|
10564
|
-
|
|
10565
|
-
|
|
10566
|
-
|
|
10567
|
-
|
|
11237
|
+
partitionByComment?: (boolean | (({
|
|
11238
|
+
pattern?: string
|
|
11239
|
+
flags?: string
|
|
11240
|
+
} | string)[] | ({
|
|
11241
|
+
pattern?: string
|
|
11242
|
+
flags?: string
|
|
11243
|
+
} | string)) | {
|
|
11244
|
+
block?: (boolean | (({
|
|
11245
|
+
pattern?: string
|
|
11246
|
+
flags?: string
|
|
11247
|
+
} | string)[] | ({
|
|
11248
|
+
pattern?: string
|
|
11249
|
+
flags?: string
|
|
11250
|
+
} | string)))
|
|
11251
|
+
line?: (boolean | (({
|
|
11252
|
+
pattern?: string
|
|
11253
|
+
flags?: string
|
|
11254
|
+
} | string)[] | ({
|
|
11255
|
+
pattern?: string
|
|
11256
|
+
flags?: string
|
|
11257
|
+
} | string)))
|
|
10568
11258
|
})
|
|
10569
11259
|
|
|
10570
11260
|
partitionByNewLine?: boolean
|
|
10571
11261
|
|
|
10572
11262
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10573
11263
|
|
|
11264
|
+
ignorePattern?: (({
|
|
11265
|
+
pattern?: string
|
|
11266
|
+
flags?: string
|
|
11267
|
+
} | string)[] | ({
|
|
11268
|
+
pattern?: string
|
|
11269
|
+
flags?: string
|
|
11270
|
+
} | string))
|
|
11271
|
+
sortBy?: ("name" | "value")
|
|
11272
|
+
|
|
10574
11273
|
groups?: (string | string[] | {
|
|
10575
11274
|
|
|
10576
11275
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10577
|
-
[k: string]: unknown | undefined
|
|
10578
11276
|
})[]
|
|
10579
11277
|
}[]
|
|
10580
11278
|
// ----- perfectionist/sort-objects -----
|
|
10581
11279
|
type PerfectionistSortObjects = {
|
|
10582
11280
|
|
|
11281
|
+
fallbackSort?: {
|
|
11282
|
+
|
|
11283
|
+
order?: ("asc" | "desc")
|
|
11284
|
+
|
|
11285
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11286
|
+
[k: string]: unknown | undefined
|
|
11287
|
+
}
|
|
11288
|
+
|
|
10583
11289
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10584
11290
|
|
|
10585
11291
|
ignoreCase?: boolean
|
|
@@ -10590,55 +11296,109 @@ type PerfectionistSortObjects = {
|
|
|
10590
11296
|
|
|
10591
11297
|
order?: ("asc" | "desc")
|
|
10592
11298
|
|
|
11299
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11300
|
+
|
|
10593
11301
|
destructuredObjects?: (boolean | {
|
|
10594
11302
|
|
|
10595
11303
|
groups?: boolean
|
|
10596
11304
|
})
|
|
10597
|
-
|
|
10598
|
-
ignorePattern?: string[]
|
|
10599
|
-
useConfigurationIf?: {
|
|
10600
|
-
allNamesMatchPattern?: string
|
|
10601
|
-
callingFunctionNamePattern?: string
|
|
10602
|
-
}
|
|
10603
11305
|
customGroups?: ({
|
|
10604
11306
|
[k: string]: (string | string[]) | undefined
|
|
10605
11307
|
} | ({
|
|
10606
11308
|
|
|
10607
|
-
|
|
11309
|
+
newlinesInside?: ("always" | "never")
|
|
10608
11310
|
|
|
10609
|
-
|
|
11311
|
+
fallbackSort?: {
|
|
11312
|
+
|
|
11313
|
+
order?: ("asc" | "desc")
|
|
11314
|
+
|
|
11315
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11316
|
+
[k: string]: unknown | undefined
|
|
11317
|
+
}
|
|
10610
11318
|
|
|
10611
|
-
|
|
11319
|
+
groupName?: string
|
|
10612
11320
|
|
|
10613
|
-
|
|
11321
|
+
order?: ("asc" | "desc")
|
|
11322
|
+
|
|
11323
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10614
11324
|
anyOf?: {
|
|
10615
11325
|
|
|
10616
11326
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
10617
11327
|
|
|
10618
11328
|
selector?: ("member" | "method" | "multiline" | "property")
|
|
10619
11329
|
|
|
10620
|
-
elementValuePattern?:
|
|
11330
|
+
elementValuePattern?: (({
|
|
11331
|
+
pattern?: string
|
|
11332
|
+
flags?: string
|
|
11333
|
+
} | string)[] | ({
|
|
11334
|
+
pattern?: string
|
|
11335
|
+
flags?: string
|
|
11336
|
+
} | string))
|
|
10621
11337
|
|
|
10622
|
-
elementNamePattern?:
|
|
11338
|
+
elementNamePattern?: (({
|
|
11339
|
+
pattern?: string
|
|
11340
|
+
flags?: string
|
|
11341
|
+
} | string)[] | ({
|
|
11342
|
+
pattern?: string
|
|
11343
|
+
flags?: string
|
|
11344
|
+
} | string))
|
|
10623
11345
|
}[]
|
|
10624
11346
|
} | {
|
|
10625
11347
|
|
|
10626
|
-
|
|
11348
|
+
newlinesInside?: ("always" | "never")
|
|
11349
|
+
|
|
11350
|
+
fallbackSort?: {
|
|
11351
|
+
|
|
11352
|
+
order?: ("asc" | "desc")
|
|
11353
|
+
|
|
11354
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11355
|
+
[k: string]: unknown | undefined
|
|
11356
|
+
}
|
|
10627
11357
|
|
|
10628
|
-
|
|
11358
|
+
groupName?: string
|
|
10629
11359
|
|
|
10630
|
-
order?: ("
|
|
11360
|
+
order?: ("asc" | "desc")
|
|
10631
11361
|
|
|
10632
|
-
|
|
11362
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10633
11363
|
|
|
10634
11364
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
10635
11365
|
|
|
10636
11366
|
selector?: ("member" | "method" | "multiline" | "property")
|
|
10637
11367
|
|
|
10638
|
-
elementValuePattern?:
|
|
11368
|
+
elementValuePattern?: (({
|
|
11369
|
+
pattern?: string
|
|
11370
|
+
flags?: string
|
|
11371
|
+
} | string)[] | ({
|
|
11372
|
+
pattern?: string
|
|
11373
|
+
flags?: string
|
|
11374
|
+
} | string))
|
|
10639
11375
|
|
|
10640
|
-
elementNamePattern?:
|
|
11376
|
+
elementNamePattern?: (({
|
|
11377
|
+
pattern?: string
|
|
11378
|
+
flags?: string
|
|
11379
|
+
} | string)[] | ({
|
|
11380
|
+
pattern?: string
|
|
11381
|
+
flags?: string
|
|
11382
|
+
} | string))
|
|
10641
11383
|
})[])
|
|
11384
|
+
useConfigurationIf?: {
|
|
11385
|
+
|
|
11386
|
+
allNamesMatchPattern?: (({
|
|
11387
|
+
pattern?: string
|
|
11388
|
+
flags?: string
|
|
11389
|
+
} | string)[] | ({
|
|
11390
|
+
pattern?: string
|
|
11391
|
+
flags?: string
|
|
11392
|
+
} | string))
|
|
11393
|
+
|
|
11394
|
+
callingFunctionNamePattern?: (({
|
|
11395
|
+
pattern?: string
|
|
11396
|
+
flags?: string
|
|
11397
|
+
} | string)[] | ({
|
|
11398
|
+
pattern?: string
|
|
11399
|
+
flags?: string
|
|
11400
|
+
} | string))
|
|
11401
|
+
}
|
|
10642
11402
|
|
|
10643
11403
|
destructureOnly?: boolean
|
|
10644
11404
|
|
|
@@ -10646,27 +11406,57 @@ type PerfectionistSortObjects = {
|
|
|
10646
11406
|
|
|
10647
11407
|
styledComponents?: boolean
|
|
10648
11408
|
|
|
10649
|
-
|
|
10650
|
-
|
|
10651
|
-
|
|
10652
|
-
|
|
10653
|
-
|
|
10654
|
-
|
|
11409
|
+
partitionByComment?: (boolean | (({
|
|
11410
|
+
pattern?: string
|
|
11411
|
+
flags?: string
|
|
11412
|
+
} | string)[] | ({
|
|
11413
|
+
pattern?: string
|
|
11414
|
+
flags?: string
|
|
11415
|
+
} | string)) | {
|
|
11416
|
+
block?: (boolean | (({
|
|
11417
|
+
pattern?: string
|
|
11418
|
+
flags?: string
|
|
11419
|
+
} | string)[] | ({
|
|
11420
|
+
pattern?: string
|
|
11421
|
+
flags?: string
|
|
11422
|
+
} | string)))
|
|
11423
|
+
line?: (boolean | (({
|
|
11424
|
+
pattern?: string
|
|
11425
|
+
flags?: string
|
|
11426
|
+
} | string)[] | ({
|
|
11427
|
+
pattern?: string
|
|
11428
|
+
flags?: string
|
|
11429
|
+
} | string)))
|
|
10655
11430
|
})
|
|
10656
11431
|
|
|
10657
11432
|
partitionByNewLine?: boolean
|
|
10658
11433
|
|
|
10659
11434
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10660
11435
|
|
|
11436
|
+
ignorePattern?: (({
|
|
11437
|
+
pattern?: string
|
|
11438
|
+
flags?: string
|
|
11439
|
+
} | string)[] | ({
|
|
11440
|
+
pattern?: string
|
|
11441
|
+
flags?: string
|
|
11442
|
+
} | string))
|
|
11443
|
+
|
|
10661
11444
|
groups?: (string | string[] | {
|
|
10662
11445
|
|
|
10663
11446
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10664
|
-
[k: string]: unknown | undefined
|
|
10665
11447
|
})[]
|
|
10666
11448
|
}[]
|
|
10667
11449
|
// ----- perfectionist/sort-sets -----
|
|
10668
11450
|
type PerfectionistSortSets = {
|
|
10669
11451
|
|
|
11452
|
+
fallbackSort?: {
|
|
11453
|
+
|
|
11454
|
+
order?: ("asc" | "desc")
|
|
11455
|
+
|
|
11456
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11457
|
+
[k: string]: unknown | undefined
|
|
11458
|
+
}
|
|
11459
|
+
|
|
10670
11460
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10671
11461
|
|
|
10672
11462
|
ignoreCase?: boolean
|
|
@@ -10677,47 +11467,99 @@ type PerfectionistSortSets = {
|
|
|
10677
11467
|
|
|
10678
11468
|
order?: ("asc" | "desc")
|
|
10679
11469
|
|
|
11470
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11471
|
+
|
|
10680
11472
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
10681
11473
|
|
|
10682
11474
|
customGroups?: ({
|
|
10683
11475
|
|
|
10684
|
-
|
|
11476
|
+
newlinesInside?: ("always" | "never")
|
|
10685
11477
|
|
|
10686
|
-
|
|
11478
|
+
fallbackSort?: {
|
|
11479
|
+
|
|
11480
|
+
order?: ("asc" | "desc")
|
|
11481
|
+
|
|
11482
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11483
|
+
[k: string]: unknown | undefined
|
|
11484
|
+
}
|
|
10687
11485
|
|
|
10688
|
-
|
|
11486
|
+
groupName?: string
|
|
10689
11487
|
|
|
10690
|
-
|
|
11488
|
+
order?: ("asc" | "desc")
|
|
11489
|
+
|
|
11490
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10691
11491
|
anyOf?: {
|
|
10692
11492
|
|
|
10693
11493
|
selector?: ("literal" | "spread")
|
|
10694
11494
|
|
|
10695
|
-
elementNamePattern?:
|
|
11495
|
+
elementNamePattern?: (({
|
|
11496
|
+
pattern?: string
|
|
11497
|
+
flags?: string
|
|
11498
|
+
} | string)[] | ({
|
|
11499
|
+
pattern?: string
|
|
11500
|
+
flags?: string
|
|
11501
|
+
} | string))
|
|
10696
11502
|
}[]
|
|
10697
11503
|
} | {
|
|
10698
11504
|
|
|
10699
|
-
|
|
11505
|
+
newlinesInside?: ("always" | "never")
|
|
11506
|
+
|
|
11507
|
+
fallbackSort?: {
|
|
11508
|
+
|
|
11509
|
+
order?: ("asc" | "desc")
|
|
11510
|
+
|
|
11511
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11512
|
+
[k: string]: unknown | undefined
|
|
11513
|
+
}
|
|
10700
11514
|
|
|
10701
|
-
|
|
11515
|
+
groupName?: string
|
|
10702
11516
|
|
|
10703
|
-
order?: ("
|
|
11517
|
+
order?: ("asc" | "desc")
|
|
10704
11518
|
|
|
10705
|
-
|
|
11519
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10706
11520
|
|
|
10707
11521
|
selector?: ("literal" | "spread")
|
|
10708
11522
|
|
|
10709
|
-
elementNamePattern?:
|
|
11523
|
+
elementNamePattern?: (({
|
|
11524
|
+
pattern?: string
|
|
11525
|
+
flags?: string
|
|
11526
|
+
} | string)[] | ({
|
|
11527
|
+
pattern?: string
|
|
11528
|
+
flags?: string
|
|
11529
|
+
} | string))
|
|
10710
11530
|
})[]
|
|
10711
11531
|
useConfigurationIf?: {
|
|
10712
|
-
|
|
11532
|
+
|
|
11533
|
+
allNamesMatchPattern?: (({
|
|
11534
|
+
pattern?: string
|
|
11535
|
+
flags?: string
|
|
11536
|
+
} | string)[] | ({
|
|
11537
|
+
pattern?: string
|
|
11538
|
+
flags?: string
|
|
11539
|
+
} | string))
|
|
10713
11540
|
}
|
|
10714
11541
|
|
|
10715
|
-
|
|
10716
|
-
|
|
10717
|
-
|
|
10718
|
-
|
|
10719
|
-
|
|
10720
|
-
|
|
11542
|
+
partitionByComment?: (boolean | (({
|
|
11543
|
+
pattern?: string
|
|
11544
|
+
flags?: string
|
|
11545
|
+
} | string)[] | ({
|
|
11546
|
+
pattern?: string
|
|
11547
|
+
flags?: string
|
|
11548
|
+
} | string)) | {
|
|
11549
|
+
block?: (boolean | (({
|
|
11550
|
+
pattern?: string
|
|
11551
|
+
flags?: string
|
|
11552
|
+
} | string)[] | ({
|
|
11553
|
+
pattern?: string
|
|
11554
|
+
flags?: string
|
|
11555
|
+
} | string)))
|
|
11556
|
+
line?: (boolean | (({
|
|
11557
|
+
pattern?: string
|
|
11558
|
+
flags?: string
|
|
11559
|
+
} | string)[] | ({
|
|
11560
|
+
pattern?: string
|
|
11561
|
+
flags?: string
|
|
11562
|
+
} | string)))
|
|
10721
11563
|
})
|
|
10722
11564
|
|
|
10723
11565
|
partitionByNewLine?: boolean
|
|
@@ -10727,12 +11569,19 @@ type PerfectionistSortSets = {
|
|
|
10727
11569
|
groups?: (string | string[] | {
|
|
10728
11570
|
|
|
10729
11571
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10730
|
-
[k: string]: unknown | undefined
|
|
10731
11572
|
})[]
|
|
10732
11573
|
}[]
|
|
10733
11574
|
// ----- perfectionist/sort-switch-case -----
|
|
10734
11575
|
type PerfectionistSortSwitchCase = []|[{
|
|
10735
11576
|
|
|
11577
|
+
fallbackSort?: {
|
|
11578
|
+
|
|
11579
|
+
order?: ("asc" | "desc")
|
|
11580
|
+
|
|
11581
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11582
|
+
[k: string]: unknown | undefined
|
|
11583
|
+
}
|
|
11584
|
+
|
|
10736
11585
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10737
11586
|
|
|
10738
11587
|
ignoreCase?: boolean
|
|
@@ -10743,11 +11592,19 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
10743
11592
|
|
|
10744
11593
|
order?: ("asc" | "desc")
|
|
10745
11594
|
|
|
10746
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
11595
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10747
11596
|
}]
|
|
10748
11597
|
// ----- perfectionist/sort-union-types -----
|
|
10749
11598
|
type PerfectionistSortUnionTypes = []|[{
|
|
10750
11599
|
|
|
11600
|
+
fallbackSort?: {
|
|
11601
|
+
|
|
11602
|
+
order?: ("asc" | "desc")
|
|
11603
|
+
|
|
11604
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11605
|
+
[k: string]: unknown | undefined
|
|
11606
|
+
}
|
|
11607
|
+
|
|
10751
11608
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10752
11609
|
|
|
10753
11610
|
ignoreCase?: boolean
|
|
@@ -10758,27 +11615,51 @@ type PerfectionistSortUnionTypes = []|[{
|
|
|
10758
11615
|
|
|
10759
11616
|
order?: ("asc" | "desc")
|
|
10760
11617
|
|
|
10761
|
-
|
|
10762
|
-
|
|
10763
|
-
|
|
10764
|
-
|
|
11618
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11619
|
+
|
|
11620
|
+
partitionByComment?: (boolean | (({
|
|
11621
|
+
pattern?: string
|
|
11622
|
+
flags?: string
|
|
11623
|
+
} | string)[] | ({
|
|
11624
|
+
pattern?: string
|
|
11625
|
+
flags?: string
|
|
11626
|
+
} | string)) | {
|
|
11627
|
+
block?: (boolean | (({
|
|
11628
|
+
pattern?: string
|
|
11629
|
+
flags?: string
|
|
11630
|
+
} | string)[] | ({
|
|
11631
|
+
pattern?: string
|
|
11632
|
+
flags?: string
|
|
11633
|
+
} | string)))
|
|
11634
|
+
line?: (boolean | (({
|
|
11635
|
+
pattern?: string
|
|
11636
|
+
flags?: string
|
|
11637
|
+
} | string)[] | ({
|
|
11638
|
+
pattern?: string
|
|
11639
|
+
flags?: string
|
|
11640
|
+
} | string)))
|
|
10765
11641
|
})
|
|
10766
11642
|
|
|
10767
11643
|
partitionByNewLine?: boolean
|
|
10768
11644
|
|
|
10769
11645
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10770
11646
|
|
|
10771
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10772
|
-
|
|
10773
11647
|
groups?: (string | string[] | {
|
|
10774
11648
|
|
|
10775
11649
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10776
|
-
[k: string]: unknown | undefined
|
|
10777
11650
|
})[]
|
|
10778
11651
|
}]
|
|
10779
11652
|
// ----- perfectionist/sort-variable-declarations -----
|
|
10780
11653
|
type PerfectionistSortVariableDeclarations = []|[{
|
|
10781
11654
|
|
|
11655
|
+
fallbackSort?: {
|
|
11656
|
+
|
|
11657
|
+
order?: ("asc" | "desc")
|
|
11658
|
+
|
|
11659
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11660
|
+
[k: string]: unknown | undefined
|
|
11661
|
+
}
|
|
11662
|
+
|
|
10782
11663
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10783
11664
|
|
|
10784
11665
|
ignoreCase?: boolean
|
|
@@ -10789,15 +11670,32 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
10789
11670
|
|
|
10790
11671
|
order?: ("asc" | "desc")
|
|
10791
11672
|
|
|
10792
|
-
|
|
10793
|
-
|
|
10794
|
-
|
|
10795
|
-
|
|
11673
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11674
|
+
|
|
11675
|
+
partitionByComment?: (boolean | (({
|
|
11676
|
+
pattern?: string
|
|
11677
|
+
flags?: string
|
|
11678
|
+
} | string)[] | ({
|
|
11679
|
+
pattern?: string
|
|
11680
|
+
flags?: string
|
|
11681
|
+
} | string)) | {
|
|
11682
|
+
block?: (boolean | (({
|
|
11683
|
+
pattern?: string
|
|
11684
|
+
flags?: string
|
|
11685
|
+
} | string)[] | ({
|
|
11686
|
+
pattern?: string
|
|
11687
|
+
flags?: string
|
|
11688
|
+
} | string)))
|
|
11689
|
+
line?: (boolean | (({
|
|
11690
|
+
pattern?: string
|
|
11691
|
+
flags?: string
|
|
11692
|
+
} | string)[] | ({
|
|
11693
|
+
pattern?: string
|
|
11694
|
+
flags?: string
|
|
11695
|
+
} | string)))
|
|
10796
11696
|
})
|
|
10797
11697
|
|
|
10798
11698
|
partitionByNewLine?: boolean
|
|
10799
|
-
|
|
10800
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10801
11699
|
}]
|
|
10802
11700
|
// ----- prefer-arrow-callback -----
|
|
10803
11701
|
type PreferArrowCallback = []|[{
|
|
@@ -12619,6 +13517,8 @@ type TsExplicitModuleBoundaryTypes = []|[{
|
|
|
12619
13517
|
|
|
12620
13518
|
allowHigherOrderFunctions?: boolean
|
|
12621
13519
|
|
|
13520
|
+
allowOverloadFunctions?: boolean
|
|
13521
|
+
|
|
12622
13522
|
allowTypedFunctionExpressions?: boolean
|
|
12623
13523
|
}]
|
|
12624
13524
|
// ----- ts/init-declarations -----
|
|
@@ -13650,6 +14550,8 @@ type TsUnboundMethod = []|[{
|
|
|
13650
14550
|
type TsUnifiedSignatures = []|[{
|
|
13651
14551
|
|
|
13652
14552
|
ignoreDifferentlyNamedParameters?: boolean
|
|
14553
|
+
|
|
14554
|
+
ignoreOverloadsWithDifferentJSDoc?: boolean
|
|
13653
14555
|
}]
|
|
13654
14556
|
// ----- unicode-bom -----
|
|
13655
14557
|
type UnicodeBom = []|[("always" | "never")]
|
|
@@ -14026,16 +14928,10 @@ type VueComponentNameInTemplateCasing = []|[("PascalCase" | "kebab-case")]|[("Pa
|
|
|
14026
14928
|
}]
|
|
14027
14929
|
// ----- vue/component-options-name-casing -----
|
|
14028
14930
|
type VueComponentOptionsNameCasing = []|[("camelCase" | "kebab-case" | "PascalCase")]
|
|
14029
|
-
// ----- vue/component-tags-order -----
|
|
14030
|
-
type VueComponentTagsOrder = []|[{
|
|
14031
|
-
order?: (string | string[])[]
|
|
14032
|
-
}]
|
|
14033
14931
|
// ----- vue/custom-event-name-casing -----
|
|
14034
|
-
type VueCustomEventNameCasing =
|
|
14035
|
-
ignores?: string[]
|
|
14036
|
-
}] | []|[{
|
|
14932
|
+
type VueCustomEventNameCasing = []|[("kebab-case" | "camelCase")]|[("kebab-case" | "camelCase"), {
|
|
14037
14933
|
ignores?: string[]
|
|
14038
|
-
}]
|
|
14934
|
+
}]
|
|
14039
14935
|
// ----- vue/define-emits-declaration -----
|
|
14040
14936
|
type VueDefineEmitsDeclaration = []|[("type-based" | "type-literal" | "runtime")]
|
|
14041
14937
|
// ----- vue/define-macros-order -----
|
|
@@ -14666,6 +15562,14 @@ type VueNoExtraParens = ([]|["functions"] | []|["all"]|["all", {
|
|
|
14666
15562
|
enforceForFunctionPrototypeMethods?: boolean
|
|
14667
15563
|
allowParensAfterCommentPattern?: string
|
|
14668
15564
|
}])
|
|
15565
|
+
// ----- vue/no-implicit-coercion -----
|
|
15566
|
+
type VueNoImplicitCoercion = []|[{
|
|
15567
|
+
boolean?: boolean
|
|
15568
|
+
number?: boolean
|
|
15569
|
+
string?: boolean
|
|
15570
|
+
disallowTemplateShorthand?: boolean
|
|
15571
|
+
allow?: ("~" | "!!" | "+" | "- -" | "-" | "*")[]
|
|
15572
|
+
}]
|
|
14669
15573
|
// ----- vue/no-irregular-whitespace -----
|
|
14670
15574
|
type VueNoIrregularWhitespace = []|[{
|
|
14671
15575
|
skipComments?: boolean
|
|
@@ -14957,9 +15861,13 @@ type VuePaddingLinesInComponentDefinition = []|[(("always" | "never") | {
|
|
|
14957
15861
|
groupSingleLineProperties?: boolean
|
|
14958
15862
|
})]
|
|
14959
15863
|
// ----- vue/prefer-true-attribute-shorthand -----
|
|
14960
|
-
type VuePreferTrueAttributeShorthand = []|[("always" | "never")]
|
|
15864
|
+
type VuePreferTrueAttributeShorthand = []|[("always" | "never")]|[("always" | "never"), {
|
|
15865
|
+
except?: string[]
|
|
15866
|
+
}]
|
|
14961
15867
|
// ----- vue/prop-name-casing -----
|
|
14962
|
-
type VuePropNameCasing = []|[("camelCase" | "snake_case")]
|
|
15868
|
+
type VuePropNameCasing = []|[("camelCase" | "snake_case")]|[("camelCase" | "snake_case"), {
|
|
15869
|
+
ignoreProps?: string[]
|
|
15870
|
+
}]
|
|
14963
15871
|
// ----- vue/quote-props -----
|
|
14964
15872
|
type VueQuoteProps = ([]|[("always" | "as-needed" | "consistent" | "consistent-as-needed")] | []|[("always" | "as-needed" | "consistent" | "consistent-as-needed")]|[("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
|
|
14965
15873
|
keywords?: boolean
|
|
@@ -15024,7 +15932,6 @@ type VueSortKeys = []|[("asc" | "desc")]|[("asc" | "desc"), {
|
|
|
15024
15932
|
ignoreGrandchildrenOf?: unknown[]
|
|
15025
15933
|
minKeys?: number
|
|
15026
15934
|
natural?: boolean
|
|
15027
|
-
runOutsideVue?: boolean
|
|
15028
15935
|
}]
|
|
15029
15936
|
// ----- vue/space-in-parens -----
|
|
15030
15937
|
type VueSpaceInParens = []|[("always" | "never")]|[("always" | "never"), {
|
|
@@ -15062,10 +15969,6 @@ type VueVOnEventHyphenation = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
15062
15969
|
})[]
|
|
15063
15970
|
ignoreTags?: string[]
|
|
15064
15971
|
}]
|
|
15065
|
-
// ----- vue/v-on-function-call -----
|
|
15066
|
-
type VueVOnFunctionCall = []|[("always" | "never")]|[("always" | "never"), {
|
|
15067
|
-
ignoreIncludesComment?: boolean
|
|
15068
|
-
}]
|
|
15069
15972
|
// ----- vue/v-on-handler-style -----
|
|
15070
15973
|
type VueVOnHandlerStyle = []|[(("inline" | "inline-function") | ["method", ("inline" | "inline-function")])]|[(("inline" | "inline-function") | ["method", ("inline" | "inline-function")]), {
|
|
15071
15974
|
ignoreIncludesComment?: boolean
|
|
@@ -15308,7 +16211,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
15308
16211
|
onlyEquality?: boolean
|
|
15309
16212
|
}]
|
|
15310
16213
|
// Names of all the configs
|
|
15311
|
-
type ConfigNames = 'eslint/comments/rules' | 'eslint/formatter/setup' | 'eslint/formatter/html' | 'eslint/formatter/xml' | 'eslint/formatter/svg' | 'eslint/formatter/markdown' | 'eslint/formatter/graphql' | 'eslint/imports/rules' | 'eslint/javascript/setup' | 'eslint/javascript/rules' | 'eslint/jsdoc/rules' | 'eslint/jsonc/setup' | 'eslint/jsonc/rules' | 'eslint/markdown/setup' | 'eslint/markdown/processor' | 'eslint/markdown/parser' | 'eslint/markdown/disables' | 'eslint/node/rules' | 'eslint/perfectionist/setup' | 'eslint/react/setup' | 'eslint/react/rules' | 'eslint/regexp/rules' | 'eslint/sort/package-json' | 'eslint/stylistic/rules' | 'eslint/test/setup' | 'eslint/test/rules' | 'eslint/toml/setup' | 'eslint/toml/rules' | 'eslint/typescript/setup' | 'eslint/typescript/parser' | 'eslint/typescript/rules' | 'eslint/unicorn/rules' | 'eslint/unocss/rules' | 'eslint/vue/setup' | 'eslint/vue/rules' | 'eslint/yaml/setup' | 'eslint/yaml/rules'
|
|
16214
|
+
type ConfigNames = 'eslint/comments/rules' | 'eslint/formatter/setup' | 'eslint/formatter/html' | 'eslint/formatter/xml' | 'eslint/formatter/svg' | 'eslint/formatter/markdown' | 'eslint/formatter/graphql' | 'eslint/imports/rules' | 'eslint/javascript/setup' | 'eslint/javascript/rules' | 'eslint/jsdoc/rules' | 'eslint/jsonc/setup' | 'eslint/jsonc/rules' | 'eslint/markdown/setup' | 'eslint/markdown/processor' | 'eslint/markdown/parser' | 'eslint/markdown/disables' | 'eslint/node/rules' | 'eslint/perfectionist/setup' | 'eslint/react/setup' | 'eslint/react/rules' | 'eslint/regexp/rules' | 'eslint/sort/package-json' | 'eslint/stylistic/rules' | 'eslint/test/setup' | 'eslint/test/rules' | 'eslint/toml/setup' | 'eslint/toml/rules' | 'eslint/typescript/setup' | 'eslint/typescript/parser' | 'eslint/typescript/rules' | 'eslint/unicorn/rules' | 'eslint/unocss/rules' | 'eslint/vue/setup' | 'eslint/vue/rules' | 'eslint/yaml/setup' | 'eslint/yaml/rules' | 'eslint/yaml/pnpm-workspace'
|
|
15312
16215
|
|
|
15313
16216
|
/**
|
|
15314
16217
|
* 来自 Prettier 的供应商类型,因此不依赖依赖项
|
|
@@ -15715,6 +16618,17 @@ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
|
|
|
15715
16618
|
* @default false
|
|
15716
16619
|
*/
|
|
15717
16620
|
unocss?: boolean | OptionsUnoCSS;
|
|
16621
|
+
/**
|
|
16622
|
+
* 启用 pnpm(工作区/目录)支持.
|
|
16623
|
+
*
|
|
16624
|
+
* 目前它默认是禁用的,因为它仍处于实验阶段
|
|
16625
|
+
* 将来会根据项目使用情况智能启用
|
|
16626
|
+
*
|
|
16627
|
+
* @see https://github.com/antfu/pnpm-workspace-utils
|
|
16628
|
+
* @experimental
|
|
16629
|
+
* @default false
|
|
16630
|
+
*/
|
|
16631
|
+
pnpm?: boolean;
|
|
15718
16632
|
/**
|
|
15719
16633
|
* 使用外部格式化程序格式化文件.
|
|
15720
16634
|
*
|
|
@@ -15826,6 +16740,8 @@ declare function node(options?: OptionsOverrides): Promise<TypedFlatConfigItem[]
|
|
|
15826
16740
|
*/
|
|
15827
16741
|
declare function perfectionist(options?: OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
15828
16742
|
|
|
16743
|
+
declare function pnpm(): Promise<TypedFlatConfigItem[]>;
|
|
16744
|
+
|
|
15829
16745
|
declare function react(options?: OptionsTypeScriptParserOptions & OptionsTypeScriptWithTypes & OptionsOverrides & OptionsFiles): Promise<TypedFlatConfigItem[]>;
|
|
15830
16746
|
|
|
15831
16747
|
declare function regexp(options?: OptionsRegExp & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
@@ -15931,4 +16847,4 @@ declare function ensurePackages(packages: (string | undefined)[]): Promise<void>
|
|
|
15931
16847
|
declare function isInEditorEnv(): boolean;
|
|
15932
16848
|
declare function isInGitHooksOrLintStaged(): boolean;
|
|
15933
16849
|
|
|
15934
|
-
export { type Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIgnores, type OptionsIsInEditor, type OptionsOverrides, type OptionsProjectType, type OptionsRegExp, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsUnicorn, type OptionsUnoCSS, type OptionsVue, type ResolvedOptions, type Rules, type StylisticConfig, StylisticConfigDefaults, type TypedFlatConfigItem, combine, comments, lincy as default, defaultPluginRenaming, disables, ensurePackages, formatters, getOverrides, ignores, imports, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, javascript, jsdoc, jsonc, jsx, lincy, markdown, node, parserPlain, perfectionist, react, regexp, renamePluginInConfigs, renameRules, resolveSubOptions, sortPackageJson, sortTsconfig, stylistic, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };
|
|
16850
|
+
export { type Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIgnores, type OptionsIsInEditor, type OptionsOverrides, type OptionsProjectType, type OptionsRegExp, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsUnicorn, type OptionsUnoCSS, type OptionsVue, type ResolvedOptions, type Rules, type StylisticConfig, StylisticConfigDefaults, type TypedFlatConfigItem, combine, comments, lincy as default, defaultPluginRenaming, disables, ensurePackages, formatters, getOverrides, ignores, imports, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, javascript, jsdoc, jsonc, jsx, lincy, markdown, node, parserPlain, perfectionist, pnpm, react, regexp, renamePluginInConfigs, renameRules, resolveSubOptions, sortPackageJson, sortTsconfig, stylistic, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };
|