@luxass/eslint-config 4.16.0 → 4.17.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/dist/index.cjs +35 -0
- package/dist/index.d.cts +318 -122
- package/dist/index.d.ts +318 -122
- package/dist/index.js +35 -0
- package/package.json +58 -67
package/dist/index.d.cts
CHANGED
|
@@ -3541,7 +3541,7 @@ interface RuleOptions {
|
|
|
3541
3541
|
'react/avoid-shorthand-fragment'?: Linter.RuleEntry<[]>
|
|
3542
3542
|
/**
|
|
3543
3543
|
* require a 'ref' parameter to be set when using 'forwardRef'
|
|
3544
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
3544
|
+
* @see https://eslint-react.xyz/docs/rules/no-useless-forward-ref
|
|
3545
3545
|
*/
|
|
3546
3546
|
'react/ensure-forward-ref-using-ref'?: Linter.RuleEntry<[]>
|
|
3547
3547
|
/**
|
|
@@ -3620,22 +3620,22 @@ interface RuleOptions {
|
|
|
3620
3620
|
*/
|
|
3621
3621
|
'react/no-complicated-conditional-rendering'?: Linter.RuleEntry<[]>
|
|
3622
3622
|
/**
|
|
3623
|
-
* replace 'componentWillMount' with 'UNSAFE_componentWillMount'
|
|
3623
|
+
* replace usages of 'componentWillMount' with 'UNSAFE_componentWillMount'
|
|
3624
3624
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-mount
|
|
3625
3625
|
*/
|
|
3626
3626
|
'react/no-component-will-mount'?: Linter.RuleEntry<[]>
|
|
3627
3627
|
/**
|
|
3628
|
-
* replace 'componentWillReceiveProps' with 'UNSAFE_componentWillReceiveProps'
|
|
3628
|
+
* replace usages of 'componentWillReceiveProps' with 'UNSAFE_componentWillReceiveProps'
|
|
3629
3629
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-receive-props
|
|
3630
3630
|
*/
|
|
3631
3631
|
'react/no-component-will-receive-props'?: Linter.RuleEntry<[]>
|
|
3632
3632
|
/**
|
|
3633
|
-
* replace 'componentWillUpdate' with 'UNSAFE_componentWillUpdate'
|
|
3633
|
+
* replace usages of 'componentWillUpdate' with 'UNSAFE_componentWillUpdate'
|
|
3634
3634
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-update
|
|
3635
3635
|
*/
|
|
3636
3636
|
'react/no-component-will-update'?: Linter.RuleEntry<[]>
|
|
3637
3637
|
/**
|
|
3638
|
-
* replace '<Context.Provider>' with '<Context>'
|
|
3638
|
+
* replace usages of '<Context.Provider>' with '<Context>'
|
|
3639
3639
|
* @see https://eslint-react.xyz/docs/rules/no-context-provider
|
|
3640
3640
|
*/
|
|
3641
3641
|
'react/no-context-provider'?: Linter.RuleEntry<[]>
|
|
@@ -3665,7 +3665,7 @@ interface RuleOptions {
|
|
|
3665
3665
|
*/
|
|
3666
3666
|
'react/no-duplicate-key'?: Linter.RuleEntry<[]>
|
|
3667
3667
|
/**
|
|
3668
|
-
* replace 'forwardRef' with passing 'ref' as a prop
|
|
3668
|
+
* replace usages of 'forwardRef' with passing 'ref' as a prop
|
|
3669
3669
|
* @see https://eslint-react.xyz/docs/rules/no-forward-ref
|
|
3670
3670
|
*/
|
|
3671
3671
|
'react/no-forward-ref'?: Linter.RuleEntry<[]>
|
|
@@ -3695,8 +3695,13 @@ interface RuleOptions {
|
|
|
3695
3695
|
*/
|
|
3696
3696
|
'react/no-missing-key'?: Linter.RuleEntry<[]>
|
|
3697
3697
|
/**
|
|
3698
|
-
*
|
|
3699
|
-
* @see https://eslint-react.xyz/docs/rules/no-nested-
|
|
3698
|
+
* prevents nesting component definitions inside other components
|
|
3699
|
+
* @see https://eslint-react.xyz/docs/rules/no-nested-component-definitions
|
|
3700
|
+
*/
|
|
3701
|
+
'react/no-nested-component-definitions'?: Linter.RuleEntry<[]>
|
|
3702
|
+
/**
|
|
3703
|
+
* prevents nesting component definitions inside other components
|
|
3704
|
+
* @see https://eslint-react.xyz/docs/rules/no-nested-component-definitions
|
|
3700
3705
|
*/
|
|
3701
3706
|
'react/no-nested-components'?: Linter.RuleEntry<[]>
|
|
3702
3707
|
/**
|
|
@@ -3765,10 +3770,15 @@ interface RuleOptions {
|
|
|
3765
3770
|
*/
|
|
3766
3771
|
'react/no-unused-state'?: Linter.RuleEntry<[]>
|
|
3767
3772
|
/**
|
|
3768
|
-
* replace 'useContext' with 'use'
|
|
3773
|
+
* replace usages of 'useContext' with 'use'
|
|
3769
3774
|
* @see https://eslint-react.xyz/docs/rules/no-use-context
|
|
3770
3775
|
*/
|
|
3771
3776
|
'react/no-use-context'?: Linter.RuleEntry<[]>
|
|
3777
|
+
/**
|
|
3778
|
+
* require a 'ref' parameter to be set when using 'forwardRef'
|
|
3779
|
+
* @see https://eslint-react.xyz/docs/rules/no-useless-forward-ref
|
|
3780
|
+
*/
|
|
3781
|
+
'react/no-useless-forward-ref'?: Linter.RuleEntry<[]>
|
|
3772
3782
|
/**
|
|
3773
3783
|
* disallow useless fragments
|
|
3774
3784
|
* @see https://eslint-react.xyz/docs/rules/no-useless-fragment
|
|
@@ -10606,8 +10616,6 @@ type PaddingLineBetweenStatements = {
|
|
|
10606
10616
|
// ----- perfectionist/sort-array-includes -----
|
|
10607
10617
|
type PerfectionistSortArrayIncludes = {
|
|
10608
10618
|
|
|
10609
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10610
|
-
|
|
10611
10619
|
fallbackSort?: {
|
|
10612
10620
|
|
|
10613
10621
|
order?: ("asc" | "desc")
|
|
@@ -10616,6 +10624,8 @@ type PerfectionistSortArrayIncludes = {
|
|
|
10616
10624
|
[k: string]: unknown | undefined
|
|
10617
10625
|
}
|
|
10618
10626
|
|
|
10627
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10628
|
+
|
|
10619
10629
|
ignoreCase?: boolean
|
|
10620
10630
|
|
|
10621
10631
|
alphabet?: string
|
|
@@ -10630,13 +10640,21 @@ type PerfectionistSortArrayIncludes = {
|
|
|
10630
10640
|
|
|
10631
10641
|
customGroups?: ({
|
|
10632
10642
|
|
|
10633
|
-
|
|
10643
|
+
newlinesInside?: ("always" | "never")
|
|
10644
|
+
|
|
10645
|
+
fallbackSort?: {
|
|
10646
|
+
|
|
10647
|
+
order?: ("asc" | "desc")
|
|
10648
|
+
|
|
10649
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10650
|
+
[k: string]: unknown | undefined
|
|
10651
|
+
}
|
|
10634
10652
|
|
|
10635
|
-
|
|
10653
|
+
groupName?: string
|
|
10636
10654
|
|
|
10637
|
-
order?: ("
|
|
10655
|
+
order?: ("asc" | "desc")
|
|
10638
10656
|
|
|
10639
|
-
|
|
10657
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10640
10658
|
anyOf?: {
|
|
10641
10659
|
|
|
10642
10660
|
selector?: ("literal" | "spread")
|
|
@@ -10651,13 +10669,21 @@ type PerfectionistSortArrayIncludes = {
|
|
|
10651
10669
|
}[]
|
|
10652
10670
|
} | {
|
|
10653
10671
|
|
|
10654
|
-
|
|
10672
|
+
newlinesInside?: ("always" | "never")
|
|
10673
|
+
|
|
10674
|
+
fallbackSort?: {
|
|
10675
|
+
|
|
10676
|
+
order?: ("asc" | "desc")
|
|
10677
|
+
|
|
10678
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10679
|
+
[k: string]: unknown | undefined
|
|
10680
|
+
}
|
|
10655
10681
|
|
|
10656
|
-
|
|
10682
|
+
groupName?: string
|
|
10657
10683
|
|
|
10658
|
-
order?: ("
|
|
10684
|
+
order?: ("asc" | "desc")
|
|
10659
10685
|
|
|
10660
|
-
|
|
10686
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10661
10687
|
|
|
10662
10688
|
selector?: ("literal" | "spread")
|
|
10663
10689
|
|
|
@@ -10715,8 +10741,6 @@ type PerfectionistSortArrayIncludes = {
|
|
|
10715
10741
|
// ----- perfectionist/sort-classes -----
|
|
10716
10742
|
type PerfectionistSortClasses = []|[{
|
|
10717
10743
|
|
|
10718
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10719
|
-
|
|
10720
10744
|
fallbackSort?: {
|
|
10721
10745
|
|
|
10722
10746
|
order?: ("asc" | "desc")
|
|
@@ -10725,6 +10749,8 @@ type PerfectionistSortClasses = []|[{
|
|
|
10725
10749
|
[k: string]: unknown | undefined
|
|
10726
10750
|
}
|
|
10727
10751
|
|
|
10752
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10753
|
+
|
|
10728
10754
|
ignoreCase?: boolean
|
|
10729
10755
|
|
|
10730
10756
|
alphabet?: string
|
|
@@ -10737,13 +10763,21 @@ type PerfectionistSortClasses = []|[{
|
|
|
10737
10763
|
|
|
10738
10764
|
customGroups?: ({
|
|
10739
10765
|
|
|
10740
|
-
|
|
10766
|
+
newlinesInside?: ("always" | "never")
|
|
10741
10767
|
|
|
10742
|
-
|
|
10768
|
+
fallbackSort?: {
|
|
10769
|
+
|
|
10770
|
+
order?: ("asc" | "desc")
|
|
10771
|
+
|
|
10772
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10773
|
+
[k: string]: unknown | undefined
|
|
10774
|
+
}
|
|
10743
10775
|
|
|
10744
|
-
|
|
10776
|
+
groupName?: string
|
|
10745
10777
|
|
|
10746
|
-
|
|
10778
|
+
order?: ("asc" | "desc")
|
|
10779
|
+
|
|
10780
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10747
10781
|
anyOf?: {
|
|
10748
10782
|
|
|
10749
10783
|
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
@@ -10776,13 +10810,21 @@ type PerfectionistSortClasses = []|[{
|
|
|
10776
10810
|
}[]
|
|
10777
10811
|
} | {
|
|
10778
10812
|
|
|
10779
|
-
|
|
10813
|
+
newlinesInside?: ("always" | "never")
|
|
10814
|
+
|
|
10815
|
+
fallbackSort?: {
|
|
10816
|
+
|
|
10817
|
+
order?: ("asc" | "desc")
|
|
10818
|
+
|
|
10819
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10820
|
+
[k: string]: unknown | undefined
|
|
10821
|
+
}
|
|
10780
10822
|
|
|
10781
|
-
|
|
10823
|
+
groupName?: string
|
|
10782
10824
|
|
|
10783
|
-
order?: ("
|
|
10825
|
+
order?: ("asc" | "desc")
|
|
10784
10826
|
|
|
10785
|
-
|
|
10827
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10786
10828
|
|
|
10787
10829
|
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
10788
10830
|
|
|
@@ -10856,8 +10898,6 @@ type PerfectionistSortClasses = []|[{
|
|
|
10856
10898
|
// ----- perfectionist/sort-decorators -----
|
|
10857
10899
|
type PerfectionistSortDecorators = []|[{
|
|
10858
10900
|
|
|
10859
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10860
|
-
|
|
10861
10901
|
fallbackSort?: {
|
|
10862
10902
|
|
|
10863
10903
|
order?: ("asc" | "desc")
|
|
@@ -10866,6 +10906,8 @@ type PerfectionistSortDecorators = []|[{
|
|
|
10866
10906
|
[k: string]: unknown | undefined
|
|
10867
10907
|
}
|
|
10868
10908
|
|
|
10909
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10910
|
+
|
|
10869
10911
|
ignoreCase?: boolean
|
|
10870
10912
|
|
|
10871
10913
|
alphabet?: string
|
|
@@ -10921,8 +10963,6 @@ type PerfectionistSortDecorators = []|[{
|
|
|
10921
10963
|
// ----- perfectionist/sort-enums -----
|
|
10922
10964
|
type PerfectionistSortEnums = []|[{
|
|
10923
10965
|
|
|
10924
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10925
|
-
|
|
10926
10966
|
fallbackSort?: {
|
|
10927
10967
|
|
|
10928
10968
|
order?: ("asc" | "desc")
|
|
@@ -10931,6 +10971,8 @@ type PerfectionistSortEnums = []|[{
|
|
|
10931
10971
|
[k: string]: unknown | undefined
|
|
10932
10972
|
}
|
|
10933
10973
|
|
|
10974
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10975
|
+
|
|
10934
10976
|
ignoreCase?: boolean
|
|
10935
10977
|
|
|
10936
10978
|
alphabet?: string
|
|
@@ -10946,13 +10988,21 @@ type PerfectionistSortEnums = []|[{
|
|
|
10946
10988
|
[k: string]: (string | string[]) | undefined
|
|
10947
10989
|
} | ({
|
|
10948
10990
|
|
|
10949
|
-
|
|
10991
|
+
newlinesInside?: ("always" | "never")
|
|
10950
10992
|
|
|
10951
|
-
|
|
10993
|
+
fallbackSort?: {
|
|
10994
|
+
|
|
10995
|
+
order?: ("asc" | "desc")
|
|
10996
|
+
|
|
10997
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10998
|
+
[k: string]: unknown | undefined
|
|
10999
|
+
}
|
|
10952
11000
|
|
|
10953
|
-
|
|
11001
|
+
groupName?: string
|
|
10954
11002
|
|
|
10955
|
-
|
|
11003
|
+
order?: ("asc" | "desc")
|
|
11004
|
+
|
|
11005
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10956
11006
|
anyOf?: {
|
|
10957
11007
|
|
|
10958
11008
|
elementValuePattern?: (({
|
|
@@ -10973,13 +11023,21 @@ type PerfectionistSortEnums = []|[{
|
|
|
10973
11023
|
}[]
|
|
10974
11024
|
} | {
|
|
10975
11025
|
|
|
10976
|
-
|
|
11026
|
+
newlinesInside?: ("always" | "never")
|
|
11027
|
+
|
|
11028
|
+
fallbackSort?: {
|
|
11029
|
+
|
|
11030
|
+
order?: ("asc" | "desc")
|
|
11031
|
+
|
|
11032
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11033
|
+
[k: string]: unknown | undefined
|
|
11034
|
+
}
|
|
10977
11035
|
|
|
10978
|
-
|
|
11036
|
+
groupName?: string
|
|
10979
11037
|
|
|
10980
|
-
order?: ("
|
|
11038
|
+
order?: ("asc" | "desc")
|
|
10981
11039
|
|
|
10982
|
-
|
|
11040
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10983
11041
|
|
|
10984
11042
|
elementValuePattern?: (({
|
|
10985
11043
|
pattern?: string
|
|
@@ -11035,8 +11093,6 @@ type PerfectionistSortEnums = []|[{
|
|
|
11035
11093
|
// ----- perfectionist/sort-exports -----
|
|
11036
11094
|
type PerfectionistSortExports = []|[{
|
|
11037
11095
|
|
|
11038
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11039
|
-
|
|
11040
11096
|
fallbackSort?: {
|
|
11041
11097
|
|
|
11042
11098
|
order?: ("asc" | "desc")
|
|
@@ -11045,6 +11101,8 @@ type PerfectionistSortExports = []|[{
|
|
|
11045
11101
|
[k: string]: unknown | undefined
|
|
11046
11102
|
}
|
|
11047
11103
|
|
|
11104
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11105
|
+
|
|
11048
11106
|
ignoreCase?: boolean
|
|
11049
11107
|
|
|
11050
11108
|
alphabet?: string
|
|
@@ -11085,8 +11143,6 @@ type PerfectionistSortExports = []|[{
|
|
|
11085
11143
|
// ----- perfectionist/sort-heritage-clauses -----
|
|
11086
11144
|
type PerfectionistSortHeritageClauses = []|[{
|
|
11087
11145
|
|
|
11088
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11089
|
-
|
|
11090
11146
|
fallbackSort?: {
|
|
11091
11147
|
|
|
11092
11148
|
order?: ("asc" | "desc")
|
|
@@ -11095,6 +11151,8 @@ type PerfectionistSortHeritageClauses = []|[{
|
|
|
11095
11151
|
[k: string]: unknown | undefined
|
|
11096
11152
|
}
|
|
11097
11153
|
|
|
11154
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11155
|
+
|
|
11098
11156
|
ignoreCase?: boolean
|
|
11099
11157
|
|
|
11100
11158
|
alphabet?: string
|
|
@@ -11118,8 +11176,6 @@ type PerfectionistSortHeritageClauses = []|[{
|
|
|
11118
11176
|
type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
|
|
11119
11177
|
type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
11120
11178
|
|
|
11121
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11122
|
-
|
|
11123
11179
|
fallbackSort?: {
|
|
11124
11180
|
|
|
11125
11181
|
order?: ("asc" | "desc")
|
|
@@ -11128,6 +11184,8 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
11128
11184
|
[k: string]: unknown | undefined
|
|
11129
11185
|
}
|
|
11130
11186
|
|
|
11187
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11188
|
+
|
|
11131
11189
|
ignoreCase?: boolean
|
|
11132
11190
|
|
|
11133
11191
|
alphabet?: string
|
|
@@ -11207,8 +11265,6 @@ interface _PerfectionistSortImports_IsLineLength {
|
|
|
11207
11265
|
// ----- perfectionist/sort-interfaces -----
|
|
11208
11266
|
type PerfectionistSortInterfaces = {
|
|
11209
11267
|
|
|
11210
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11211
|
-
|
|
11212
11268
|
fallbackSort?: {
|
|
11213
11269
|
|
|
11214
11270
|
order?: ("asc" | "desc")
|
|
@@ -11217,6 +11273,8 @@ type PerfectionistSortInterfaces = {
|
|
|
11217
11273
|
[k: string]: unknown | undefined
|
|
11218
11274
|
}
|
|
11219
11275
|
|
|
11276
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11277
|
+
|
|
11220
11278
|
ignoreCase?: boolean
|
|
11221
11279
|
|
|
11222
11280
|
alphabet?: string
|
|
@@ -11230,19 +11288,36 @@ type PerfectionistSortInterfaces = {
|
|
|
11230
11288
|
[k: string]: (string | string[]) | undefined
|
|
11231
11289
|
} | ({
|
|
11232
11290
|
|
|
11233
|
-
|
|
11291
|
+
newlinesInside?: ("always" | "never")
|
|
11292
|
+
|
|
11293
|
+
fallbackSort?: {
|
|
11294
|
+
|
|
11295
|
+
order?: ("asc" | "desc")
|
|
11296
|
+
|
|
11297
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11298
|
+
sortBy?: ("name" | "value")
|
|
11299
|
+
[k: string]: unknown | undefined
|
|
11300
|
+
}
|
|
11234
11301
|
|
|
11235
|
-
|
|
11302
|
+
groupName?: string
|
|
11236
11303
|
|
|
11237
|
-
order?: ("
|
|
11304
|
+
order?: ("asc" | "desc")
|
|
11238
11305
|
|
|
11239
|
-
|
|
11306
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11240
11307
|
anyOf?: {
|
|
11241
11308
|
|
|
11242
11309
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
11243
11310
|
|
|
11244
11311
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
11245
11312
|
|
|
11313
|
+
elementValuePattern?: (({
|
|
11314
|
+
pattern?: string
|
|
11315
|
+
flags?: string
|
|
11316
|
+
} | string)[] | ({
|
|
11317
|
+
pattern?: string
|
|
11318
|
+
flags?: string
|
|
11319
|
+
} | string))
|
|
11320
|
+
|
|
11246
11321
|
elementNamePattern?: (({
|
|
11247
11322
|
pattern?: string
|
|
11248
11323
|
flags?: string
|
|
@@ -11250,21 +11325,39 @@ type PerfectionistSortInterfaces = {
|
|
|
11250
11325
|
pattern?: string
|
|
11251
11326
|
flags?: string
|
|
11252
11327
|
} | string))
|
|
11328
|
+
sortBy?: ("name" | "value")
|
|
11253
11329
|
}[]
|
|
11254
11330
|
} | {
|
|
11255
11331
|
|
|
11256
|
-
|
|
11332
|
+
newlinesInside?: ("always" | "never")
|
|
11333
|
+
|
|
11334
|
+
fallbackSort?: {
|
|
11335
|
+
|
|
11336
|
+
order?: ("asc" | "desc")
|
|
11337
|
+
|
|
11338
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11339
|
+
sortBy?: ("name" | "value")
|
|
11340
|
+
[k: string]: unknown | undefined
|
|
11341
|
+
}
|
|
11257
11342
|
|
|
11258
|
-
|
|
11343
|
+
groupName?: string
|
|
11259
11344
|
|
|
11260
|
-
order?: ("
|
|
11345
|
+
order?: ("asc" | "desc")
|
|
11261
11346
|
|
|
11262
|
-
|
|
11347
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11263
11348
|
|
|
11264
11349
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
11265
11350
|
|
|
11266
11351
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
11267
11352
|
|
|
11353
|
+
elementValuePattern?: (({
|
|
11354
|
+
pattern?: string
|
|
11355
|
+
flags?: string
|
|
11356
|
+
} | string)[] | ({
|
|
11357
|
+
pattern?: string
|
|
11358
|
+
flags?: string
|
|
11359
|
+
} | string))
|
|
11360
|
+
|
|
11268
11361
|
elementNamePattern?: (({
|
|
11269
11362
|
pattern?: string
|
|
11270
11363
|
flags?: string
|
|
@@ -11272,6 +11365,7 @@ type PerfectionistSortInterfaces = {
|
|
|
11272
11365
|
pattern?: string
|
|
11273
11366
|
flags?: string
|
|
11274
11367
|
} | string))
|
|
11368
|
+
sortBy?: ("name" | "value")
|
|
11275
11369
|
})[])
|
|
11276
11370
|
useConfigurationIf?: {
|
|
11277
11371
|
|
|
@@ -11328,6 +11422,7 @@ type PerfectionistSortInterfaces = {
|
|
|
11328
11422
|
pattern?: string
|
|
11329
11423
|
flags?: string
|
|
11330
11424
|
} | string))
|
|
11425
|
+
sortBy?: ("name" | "value")
|
|
11331
11426
|
|
|
11332
11427
|
groups?: (string | string[] | {
|
|
11333
11428
|
|
|
@@ -11337,8 +11432,6 @@ type PerfectionistSortInterfaces = {
|
|
|
11337
11432
|
// ----- perfectionist/sort-intersection-types -----
|
|
11338
11433
|
type PerfectionistSortIntersectionTypes = []|[{
|
|
11339
11434
|
|
|
11340
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11341
|
-
|
|
11342
11435
|
fallbackSort?: {
|
|
11343
11436
|
|
|
11344
11437
|
order?: ("asc" | "desc")
|
|
@@ -11347,6 +11440,8 @@ type PerfectionistSortIntersectionTypes = []|[{
|
|
|
11347
11440
|
[k: string]: unknown | undefined
|
|
11348
11441
|
}
|
|
11349
11442
|
|
|
11443
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11444
|
+
|
|
11350
11445
|
ignoreCase?: boolean
|
|
11351
11446
|
|
|
11352
11447
|
alphabet?: string
|
|
@@ -11392,8 +11487,6 @@ type PerfectionistSortIntersectionTypes = []|[{
|
|
|
11392
11487
|
// ----- perfectionist/sort-jsx-props -----
|
|
11393
11488
|
type PerfectionistSortJsxProps = {
|
|
11394
11489
|
|
|
11395
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11396
|
-
|
|
11397
11490
|
fallbackSort?: {
|
|
11398
11491
|
|
|
11399
11492
|
order?: ("asc" | "desc")
|
|
@@ -11402,6 +11495,8 @@ type PerfectionistSortJsxProps = {
|
|
|
11402
11495
|
[k: string]: unknown | undefined
|
|
11403
11496
|
}
|
|
11404
11497
|
|
|
11498
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11499
|
+
|
|
11405
11500
|
ignoreCase?: boolean
|
|
11406
11501
|
|
|
11407
11502
|
alphabet?: string
|
|
@@ -11454,8 +11549,6 @@ type PerfectionistSortJsxProps = {
|
|
|
11454
11549
|
// ----- perfectionist/sort-maps -----
|
|
11455
11550
|
type PerfectionistSortMaps = {
|
|
11456
11551
|
|
|
11457
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11458
|
-
|
|
11459
11552
|
fallbackSort?: {
|
|
11460
11553
|
|
|
11461
11554
|
order?: ("asc" | "desc")
|
|
@@ -11464,6 +11557,8 @@ type PerfectionistSortMaps = {
|
|
|
11464
11557
|
[k: string]: unknown | undefined
|
|
11465
11558
|
}
|
|
11466
11559
|
|
|
11560
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11561
|
+
|
|
11467
11562
|
ignoreCase?: boolean
|
|
11468
11563
|
|
|
11469
11564
|
alphabet?: string
|
|
@@ -11476,13 +11571,21 @@ type PerfectionistSortMaps = {
|
|
|
11476
11571
|
|
|
11477
11572
|
customGroups?: ({
|
|
11478
11573
|
|
|
11479
|
-
|
|
11574
|
+
newlinesInside?: ("always" | "never")
|
|
11480
11575
|
|
|
11481
|
-
|
|
11576
|
+
fallbackSort?: {
|
|
11577
|
+
|
|
11578
|
+
order?: ("asc" | "desc")
|
|
11579
|
+
|
|
11580
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11581
|
+
[k: string]: unknown | undefined
|
|
11582
|
+
}
|
|
11482
11583
|
|
|
11483
|
-
|
|
11584
|
+
groupName?: string
|
|
11484
11585
|
|
|
11485
|
-
|
|
11586
|
+
order?: ("asc" | "desc")
|
|
11587
|
+
|
|
11588
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11486
11589
|
anyOf?: {
|
|
11487
11590
|
|
|
11488
11591
|
elementNamePattern?: (({
|
|
@@ -11495,13 +11598,21 @@ type PerfectionistSortMaps = {
|
|
|
11495
11598
|
}[]
|
|
11496
11599
|
} | {
|
|
11497
11600
|
|
|
11498
|
-
|
|
11601
|
+
newlinesInside?: ("always" | "never")
|
|
11602
|
+
|
|
11603
|
+
fallbackSort?: {
|
|
11604
|
+
|
|
11605
|
+
order?: ("asc" | "desc")
|
|
11606
|
+
|
|
11607
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11608
|
+
[k: string]: unknown | undefined
|
|
11609
|
+
}
|
|
11499
11610
|
|
|
11500
|
-
|
|
11611
|
+
groupName?: string
|
|
11501
11612
|
|
|
11502
|
-
order?: ("
|
|
11613
|
+
order?: ("asc" | "desc")
|
|
11503
11614
|
|
|
11504
|
-
|
|
11615
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11505
11616
|
|
|
11506
11617
|
elementNamePattern?: (({
|
|
11507
11618
|
pattern?: string
|
|
@@ -11557,8 +11668,6 @@ type PerfectionistSortMaps = {
|
|
|
11557
11668
|
// ----- perfectionist/sort-modules -----
|
|
11558
11669
|
type PerfectionistSortModules = []|[{
|
|
11559
11670
|
|
|
11560
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11561
|
-
|
|
11562
11671
|
fallbackSort?: {
|
|
11563
11672
|
|
|
11564
11673
|
order?: ("asc" | "desc")
|
|
@@ -11567,6 +11676,8 @@ type PerfectionistSortModules = []|[{
|
|
|
11567
11676
|
[k: string]: unknown | undefined
|
|
11568
11677
|
}
|
|
11569
11678
|
|
|
11679
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11680
|
+
|
|
11570
11681
|
ignoreCase?: boolean
|
|
11571
11682
|
|
|
11572
11683
|
alphabet?: string
|
|
@@ -11579,13 +11690,21 @@ type PerfectionistSortModules = []|[{
|
|
|
11579
11690
|
|
|
11580
11691
|
customGroups?: ({
|
|
11581
11692
|
|
|
11582
|
-
|
|
11693
|
+
newlinesInside?: ("always" | "never")
|
|
11583
11694
|
|
|
11584
|
-
|
|
11695
|
+
fallbackSort?: {
|
|
11696
|
+
|
|
11697
|
+
order?: ("asc" | "desc")
|
|
11698
|
+
|
|
11699
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11700
|
+
[k: string]: unknown | undefined
|
|
11701
|
+
}
|
|
11585
11702
|
|
|
11586
|
-
|
|
11703
|
+
groupName?: string
|
|
11587
11704
|
|
|
11588
|
-
|
|
11705
|
+
order?: ("asc" | "desc")
|
|
11706
|
+
|
|
11707
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11589
11708
|
anyOf?: {
|
|
11590
11709
|
|
|
11591
11710
|
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
@@ -11610,13 +11729,21 @@ type PerfectionistSortModules = []|[{
|
|
|
11610
11729
|
}[]
|
|
11611
11730
|
} | {
|
|
11612
11731
|
|
|
11613
|
-
|
|
11732
|
+
newlinesInside?: ("always" | "never")
|
|
11614
11733
|
|
|
11615
|
-
|
|
11734
|
+
fallbackSort?: {
|
|
11735
|
+
|
|
11736
|
+
order?: ("asc" | "desc")
|
|
11737
|
+
|
|
11738
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11739
|
+
[k: string]: unknown | undefined
|
|
11740
|
+
}
|
|
11616
11741
|
|
|
11617
|
-
|
|
11742
|
+
groupName?: string
|
|
11618
11743
|
|
|
11619
|
-
|
|
11744
|
+
order?: ("asc" | "desc")
|
|
11745
|
+
|
|
11746
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11620
11747
|
|
|
11621
11748
|
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
11622
11749
|
|
|
@@ -11674,8 +11801,6 @@ type PerfectionistSortModules = []|[{
|
|
|
11674
11801
|
// ----- perfectionist/sort-named-exports -----
|
|
11675
11802
|
type PerfectionistSortNamedExports = []|[{
|
|
11676
11803
|
|
|
11677
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11678
|
-
|
|
11679
11804
|
fallbackSort?: {
|
|
11680
11805
|
|
|
11681
11806
|
order?: ("asc" | "desc")
|
|
@@ -11684,6 +11809,8 @@ type PerfectionistSortNamedExports = []|[{
|
|
|
11684
11809
|
[k: string]: unknown | undefined
|
|
11685
11810
|
}
|
|
11686
11811
|
|
|
11812
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11813
|
+
|
|
11687
11814
|
ignoreCase?: boolean
|
|
11688
11815
|
|
|
11689
11816
|
alphabet?: string
|
|
@@ -11726,8 +11853,6 @@ type PerfectionistSortNamedExports = []|[{
|
|
|
11726
11853
|
// ----- perfectionist/sort-named-imports -----
|
|
11727
11854
|
type PerfectionistSortNamedImports = []|[{
|
|
11728
11855
|
|
|
11729
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11730
|
-
|
|
11731
11856
|
fallbackSort?: {
|
|
11732
11857
|
|
|
11733
11858
|
order?: ("asc" | "desc")
|
|
@@ -11736,6 +11861,8 @@ type PerfectionistSortNamedImports = []|[{
|
|
|
11736
11861
|
[k: string]: unknown | undefined
|
|
11737
11862
|
}
|
|
11738
11863
|
|
|
11864
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11865
|
+
|
|
11739
11866
|
ignoreCase?: boolean
|
|
11740
11867
|
|
|
11741
11868
|
alphabet?: string
|
|
@@ -11778,8 +11905,6 @@ type PerfectionistSortNamedImports = []|[{
|
|
|
11778
11905
|
// ----- perfectionist/sort-object-types -----
|
|
11779
11906
|
type PerfectionistSortObjectTypes = {
|
|
11780
11907
|
|
|
11781
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11782
|
-
|
|
11783
11908
|
fallbackSort?: {
|
|
11784
11909
|
|
|
11785
11910
|
order?: ("asc" | "desc")
|
|
@@ -11788,6 +11913,8 @@ type PerfectionistSortObjectTypes = {
|
|
|
11788
11913
|
[k: string]: unknown | undefined
|
|
11789
11914
|
}
|
|
11790
11915
|
|
|
11916
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11917
|
+
|
|
11791
11918
|
ignoreCase?: boolean
|
|
11792
11919
|
|
|
11793
11920
|
alphabet?: string
|
|
@@ -11801,19 +11928,36 @@ type PerfectionistSortObjectTypes = {
|
|
|
11801
11928
|
[k: string]: (string | string[]) | undefined
|
|
11802
11929
|
} | ({
|
|
11803
11930
|
|
|
11804
|
-
|
|
11931
|
+
newlinesInside?: ("always" | "never")
|
|
11805
11932
|
|
|
11806
|
-
|
|
11933
|
+
fallbackSort?: {
|
|
11934
|
+
|
|
11935
|
+
order?: ("asc" | "desc")
|
|
11936
|
+
|
|
11937
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11938
|
+
sortBy?: ("name" | "value")
|
|
11939
|
+
[k: string]: unknown | undefined
|
|
11940
|
+
}
|
|
11807
11941
|
|
|
11808
|
-
|
|
11942
|
+
groupName?: string
|
|
11809
11943
|
|
|
11810
|
-
|
|
11944
|
+
order?: ("asc" | "desc")
|
|
11945
|
+
|
|
11946
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11811
11947
|
anyOf?: {
|
|
11812
11948
|
|
|
11813
11949
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
11814
11950
|
|
|
11815
11951
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
11816
11952
|
|
|
11953
|
+
elementValuePattern?: (({
|
|
11954
|
+
pattern?: string
|
|
11955
|
+
flags?: string
|
|
11956
|
+
} | string)[] | ({
|
|
11957
|
+
pattern?: string
|
|
11958
|
+
flags?: string
|
|
11959
|
+
} | string))
|
|
11960
|
+
|
|
11817
11961
|
elementNamePattern?: (({
|
|
11818
11962
|
pattern?: string
|
|
11819
11963
|
flags?: string
|
|
@@ -11821,21 +11965,39 @@ type PerfectionistSortObjectTypes = {
|
|
|
11821
11965
|
pattern?: string
|
|
11822
11966
|
flags?: string
|
|
11823
11967
|
} | string))
|
|
11968
|
+
sortBy?: ("name" | "value")
|
|
11824
11969
|
}[]
|
|
11825
11970
|
} | {
|
|
11826
11971
|
|
|
11827
|
-
|
|
11972
|
+
newlinesInside?: ("always" | "never")
|
|
11828
11973
|
|
|
11829
|
-
|
|
11974
|
+
fallbackSort?: {
|
|
11975
|
+
|
|
11976
|
+
order?: ("asc" | "desc")
|
|
11977
|
+
|
|
11978
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11979
|
+
sortBy?: ("name" | "value")
|
|
11980
|
+
[k: string]: unknown | undefined
|
|
11981
|
+
}
|
|
11830
11982
|
|
|
11831
|
-
|
|
11983
|
+
groupName?: string
|
|
11832
11984
|
|
|
11833
|
-
|
|
11985
|
+
order?: ("asc" | "desc")
|
|
11986
|
+
|
|
11987
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11834
11988
|
|
|
11835
11989
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
11836
11990
|
|
|
11837
11991
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
11838
11992
|
|
|
11993
|
+
elementValuePattern?: (({
|
|
11994
|
+
pattern?: string
|
|
11995
|
+
flags?: string
|
|
11996
|
+
} | string)[] | ({
|
|
11997
|
+
pattern?: string
|
|
11998
|
+
flags?: string
|
|
11999
|
+
} | string))
|
|
12000
|
+
|
|
11839
12001
|
elementNamePattern?: (({
|
|
11840
12002
|
pattern?: string
|
|
11841
12003
|
flags?: string
|
|
@@ -11843,6 +12005,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
11843
12005
|
pattern?: string
|
|
11844
12006
|
flags?: string
|
|
11845
12007
|
} | string))
|
|
12008
|
+
sortBy?: ("name" | "value")
|
|
11846
12009
|
})[])
|
|
11847
12010
|
useConfigurationIf?: {
|
|
11848
12011
|
|
|
@@ -11899,6 +12062,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
11899
12062
|
pattern?: string
|
|
11900
12063
|
flags?: string
|
|
11901
12064
|
} | string))
|
|
12065
|
+
sortBy?: ("name" | "value")
|
|
11902
12066
|
|
|
11903
12067
|
groups?: (string | string[] | {
|
|
11904
12068
|
|
|
@@ -11908,8 +12072,6 @@ type PerfectionistSortObjectTypes = {
|
|
|
11908
12072
|
// ----- perfectionist/sort-objects -----
|
|
11909
12073
|
type PerfectionistSortObjects = {
|
|
11910
12074
|
|
|
11911
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11912
|
-
|
|
11913
12075
|
fallbackSort?: {
|
|
11914
12076
|
|
|
11915
12077
|
order?: ("asc" | "desc")
|
|
@@ -11918,6 +12080,8 @@ type PerfectionistSortObjects = {
|
|
|
11918
12080
|
[k: string]: unknown | undefined
|
|
11919
12081
|
}
|
|
11920
12082
|
|
|
12083
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
12084
|
+
|
|
11921
12085
|
ignoreCase?: boolean
|
|
11922
12086
|
|
|
11923
12087
|
alphabet?: string
|
|
@@ -11936,13 +12100,21 @@ type PerfectionistSortObjects = {
|
|
|
11936
12100
|
[k: string]: (string | string[]) | undefined
|
|
11937
12101
|
} | ({
|
|
11938
12102
|
|
|
11939
|
-
|
|
12103
|
+
newlinesInside?: ("always" | "never")
|
|
11940
12104
|
|
|
11941
|
-
|
|
12105
|
+
fallbackSort?: {
|
|
12106
|
+
|
|
12107
|
+
order?: ("asc" | "desc")
|
|
12108
|
+
|
|
12109
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12110
|
+
[k: string]: unknown | undefined
|
|
12111
|
+
}
|
|
12112
|
+
|
|
12113
|
+
groupName?: string
|
|
11942
12114
|
|
|
11943
|
-
order?: ("
|
|
12115
|
+
order?: ("asc" | "desc")
|
|
11944
12116
|
|
|
11945
|
-
|
|
12117
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11946
12118
|
anyOf?: {
|
|
11947
12119
|
|
|
11948
12120
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
@@ -11967,13 +12139,21 @@ type PerfectionistSortObjects = {
|
|
|
11967
12139
|
}[]
|
|
11968
12140
|
} | {
|
|
11969
12141
|
|
|
11970
|
-
|
|
12142
|
+
newlinesInside?: ("always" | "never")
|
|
11971
12143
|
|
|
11972
|
-
|
|
12144
|
+
fallbackSort?: {
|
|
12145
|
+
|
|
12146
|
+
order?: ("asc" | "desc")
|
|
12147
|
+
|
|
12148
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12149
|
+
[k: string]: unknown | undefined
|
|
12150
|
+
}
|
|
11973
12151
|
|
|
11974
|
-
|
|
12152
|
+
groupName?: string
|
|
11975
12153
|
|
|
11976
|
-
|
|
12154
|
+
order?: ("asc" | "desc")
|
|
12155
|
+
|
|
12156
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11977
12157
|
|
|
11978
12158
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
11979
12159
|
|
|
@@ -12063,8 +12243,6 @@ type PerfectionistSortObjects = {
|
|
|
12063
12243
|
// ----- perfectionist/sort-sets -----
|
|
12064
12244
|
type PerfectionistSortSets = {
|
|
12065
12245
|
|
|
12066
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
12067
|
-
|
|
12068
12246
|
fallbackSort?: {
|
|
12069
12247
|
|
|
12070
12248
|
order?: ("asc" | "desc")
|
|
@@ -12073,6 +12251,8 @@ type PerfectionistSortSets = {
|
|
|
12073
12251
|
[k: string]: unknown | undefined
|
|
12074
12252
|
}
|
|
12075
12253
|
|
|
12254
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
12255
|
+
|
|
12076
12256
|
ignoreCase?: boolean
|
|
12077
12257
|
|
|
12078
12258
|
alphabet?: string
|
|
@@ -12087,13 +12267,21 @@ type PerfectionistSortSets = {
|
|
|
12087
12267
|
|
|
12088
12268
|
customGroups?: ({
|
|
12089
12269
|
|
|
12090
|
-
|
|
12270
|
+
newlinesInside?: ("always" | "never")
|
|
12271
|
+
|
|
12272
|
+
fallbackSort?: {
|
|
12273
|
+
|
|
12274
|
+
order?: ("asc" | "desc")
|
|
12275
|
+
|
|
12276
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12277
|
+
[k: string]: unknown | undefined
|
|
12278
|
+
}
|
|
12091
12279
|
|
|
12092
|
-
|
|
12280
|
+
groupName?: string
|
|
12093
12281
|
|
|
12094
|
-
order?: ("
|
|
12282
|
+
order?: ("asc" | "desc")
|
|
12095
12283
|
|
|
12096
|
-
|
|
12284
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12097
12285
|
anyOf?: {
|
|
12098
12286
|
|
|
12099
12287
|
selector?: ("literal" | "spread")
|
|
@@ -12108,13 +12296,21 @@ type PerfectionistSortSets = {
|
|
|
12108
12296
|
}[]
|
|
12109
12297
|
} | {
|
|
12110
12298
|
|
|
12111
|
-
|
|
12299
|
+
newlinesInside?: ("always" | "never")
|
|
12112
12300
|
|
|
12113
|
-
|
|
12301
|
+
fallbackSort?: {
|
|
12302
|
+
|
|
12303
|
+
order?: ("asc" | "desc")
|
|
12304
|
+
|
|
12305
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12306
|
+
[k: string]: unknown | undefined
|
|
12307
|
+
}
|
|
12114
12308
|
|
|
12115
|
-
|
|
12309
|
+
groupName?: string
|
|
12116
12310
|
|
|
12117
|
-
|
|
12311
|
+
order?: ("asc" | "desc")
|
|
12312
|
+
|
|
12313
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12118
12314
|
|
|
12119
12315
|
selector?: ("literal" | "spread")
|
|
12120
12316
|
|
|
@@ -12172,8 +12368,6 @@ type PerfectionistSortSets = {
|
|
|
12172
12368
|
// ----- perfectionist/sort-switch-case -----
|
|
12173
12369
|
type PerfectionistSortSwitchCase = []|[{
|
|
12174
12370
|
|
|
12175
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
12176
|
-
|
|
12177
12371
|
fallbackSort?: {
|
|
12178
12372
|
|
|
12179
12373
|
order?: ("asc" | "desc")
|
|
@@ -12182,6 +12376,8 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
12182
12376
|
[k: string]: unknown | undefined
|
|
12183
12377
|
}
|
|
12184
12378
|
|
|
12379
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
12380
|
+
|
|
12185
12381
|
ignoreCase?: boolean
|
|
12186
12382
|
|
|
12187
12383
|
alphabet?: string
|
|
@@ -12195,8 +12391,6 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
12195
12391
|
// ----- perfectionist/sort-union-types -----
|
|
12196
12392
|
type PerfectionistSortUnionTypes = []|[{
|
|
12197
12393
|
|
|
12198
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
12199
|
-
|
|
12200
12394
|
fallbackSort?: {
|
|
12201
12395
|
|
|
12202
12396
|
order?: ("asc" | "desc")
|
|
@@ -12205,6 +12399,8 @@ type PerfectionistSortUnionTypes = []|[{
|
|
|
12205
12399
|
[k: string]: unknown | undefined
|
|
12206
12400
|
}
|
|
12207
12401
|
|
|
12402
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
12403
|
+
|
|
12208
12404
|
ignoreCase?: boolean
|
|
12209
12405
|
|
|
12210
12406
|
alphabet?: string
|
|
@@ -12250,8 +12446,6 @@ type PerfectionistSortUnionTypes = []|[{
|
|
|
12250
12446
|
// ----- perfectionist/sort-variable-declarations -----
|
|
12251
12447
|
type PerfectionistSortVariableDeclarations = []|[{
|
|
12252
12448
|
|
|
12253
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
12254
|
-
|
|
12255
12449
|
fallbackSort?: {
|
|
12256
12450
|
|
|
12257
12451
|
order?: ("asc" | "desc")
|
|
@@ -12260,6 +12454,8 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
12260
12454
|
[k: string]: unknown | undefined
|
|
12261
12455
|
}
|
|
12262
12456
|
|
|
12457
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
12458
|
+
|
|
12263
12459
|
ignoreCase?: boolean
|
|
12264
12460
|
|
|
12265
12461
|
alphabet?: string
|
|
@@ -16894,7 +17090,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
16894
17090
|
onlyEquality?: boolean
|
|
16895
17091
|
}]
|
|
16896
17092
|
// Names of all the configs
|
|
16897
|
-
type ConfigNames = 'luxass/astro/setup' | 'luxass/astro/rules' | 'luxass/eslint-comments' | 'luxass/formatter/setup' | 'luxass/imports' | 'luxass/javascript/setup' | 'luxass/javascript/rules' | 'luxass/disables/cli' | 'luxass/jsdoc/rules' | 'luxass/jsonc/setup' | 'luxass/jsonc/rules' | 'luxass/markdown/setup' | 'luxass/markdown/processor' | 'luxass/markdown/parser' | 'luxass/markdown/disables' | 'luxass/node' | 'luxass/react/setup' | 'luxass/react/rules' | 'luxass/sort/package-json' | 'luxass/perfectionist/setup' | 'luxass/stylistic' | 'luxass/tailwindcss' | 'luxass/sort/tsconfig' | 'luxass/ignores' | 'luxass/test/setup' | 'luxass/test/rules' | 'luxass/toml/setup' | 'luxass/toml/rules' | 'luxass/typescript/setup' | 'luxass/typescript/parser' | 'luxass/typescript/rules' | 'luxass/unicorn/rules' | 'luxass/unocss' | 'luxass/vue/setup' | 'luxass/vue/rules' | 'luxass/yaml/setup' | 'luxass/yaml/rules' | 'luxass/disables/scripts' | 'luxass/disables/cli' | 'luxass/disables/bin' | 'luxass/disables/dts' | 'luxass/disables/cjs' | 'luxass/disables/github-actions' | 'luxass/disables/config-files' | 'luxass/jsx/setup' | 'luxass/regexp/rules'
|
|
17093
|
+
type ConfigNames = 'luxass/astro/setup' | 'luxass/astro/rules' | 'luxass/eslint-comments' | 'luxass/formatter/setup' | 'luxass/imports' | 'luxass/javascript/setup' | 'luxass/javascript/rules' | 'luxass/disables/cli' | 'luxass/jsdoc/rules' | 'luxass/jsonc/setup' | 'luxass/jsonc/rules' | 'luxass/markdown/setup' | 'luxass/markdown/processor' | 'luxass/markdown/parser' | 'luxass/markdown/disables' | 'luxass/node' | 'luxass/react/setup' | 'luxass/react/rules' | 'luxass/sort/package-json' | 'luxass/perfectionist/setup' | 'luxass/stylistic' | 'luxass/tailwindcss' | 'luxass/sort/tsconfig' | 'luxass/ignores' | 'luxass/test/setup' | 'luxass/test/rules' | 'luxass/toml/setup' | 'luxass/toml/rules' | 'luxass/typescript/setup' | 'luxass/typescript/parser' | 'luxass/typescript/rules' | 'luxass/unicorn/rules' | 'luxass/unocss' | 'luxass/vue/setup' | 'luxass/vue/rules' | 'luxass/yaml/setup' | 'luxass/yaml/rules' | 'luxass/yaml/pnpm-workspace' | 'luxass/disables/scripts' | 'luxass/disables/cli' | 'luxass/disables/bin' | 'luxass/disables/dts' | 'luxass/disables/cjs' | 'luxass/disables/github-actions' | 'luxass/disables/config-files' | 'luxass/jsx/setup' | 'luxass/regexp/rules'
|
|
16898
17094
|
|
|
16899
17095
|
type Awaitable<T> = T | Promise<T>;
|
|
16900
17096
|
type Rules = RuleOptions;
|