@vinicunca/eslint-config 3.0.0 → 3.1.1
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.d.ts +955 -211
- package/dist/index.js +0 -1
- package/package.json +16 -16
package/dist/index.d.ts
CHANGED
|
@@ -3925,6 +3925,7 @@ interface RuleOptions {
|
|
|
3925
3925
|
/**
|
|
3926
3926
|
* Disabling Certificate Transparency monitoring is security-sensitive
|
|
3927
3927
|
* @see https://sonarsource.github.io/rspec/#/rspec/S5742/javascript
|
|
3928
|
+
* @deprecated
|
|
3928
3929
|
*/
|
|
3929
3930
|
'sonar/certificate-transparency'?: Linter.RuleEntry<SonarCertificateTransparency>
|
|
3930
3931
|
/**
|
|
@@ -6239,6 +6240,11 @@ interface RuleOptions {
|
|
|
6239
6240
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-spy-on.md
|
|
6240
6241
|
*/
|
|
6241
6242
|
'test/prefer-spy-on'?: Linter.RuleEntry<[]>
|
|
6243
|
+
/**
|
|
6244
|
+
* enforce using `toBe(true)` and `toBe(false)` over matchers that coerce types to boolean
|
|
6245
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-strict-boolean-matchers.md
|
|
6246
|
+
*/
|
|
6247
|
+
'test/prefer-strict-boolean-matchers'?: Linter.RuleEntry<[]>
|
|
6242
6248
|
/**
|
|
6243
6249
|
* enforce strict equal over equal
|
|
6244
6250
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-strict-equal.md
|
|
@@ -6294,6 +6300,11 @@ interface RuleOptions {
|
|
|
6294
6300
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-local-test-context-for-concurrent-snapshots.md
|
|
6295
6301
|
*/
|
|
6296
6302
|
'test/require-local-test-context-for-concurrent-snapshots'?: Linter.RuleEntry<[]>
|
|
6303
|
+
/**
|
|
6304
|
+
* enforce using type parameters with vitest mock functions
|
|
6305
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-mock-type-parameters.md
|
|
6306
|
+
*/
|
|
6307
|
+
'test/require-mock-type-parameters'?: Linter.RuleEntry<TestRequireMockTypeParameters>
|
|
6297
6308
|
/**
|
|
6298
6309
|
* require toThrow() to be called with an error message
|
|
6299
6310
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-to-throw-message.md
|
|
@@ -8053,7 +8064,7 @@ interface RuleOptions {
|
|
|
8053
8064
|
*/
|
|
8054
8065
|
'vue/jsx-uses-vars'?: Linter.RuleEntry<[]>
|
|
8055
8066
|
/**
|
|
8056
|
-
* Enforce consistent spacing between
|
|
8067
|
+
* Enforce consistent spacing between keys and values in object literal properties in `<template>`
|
|
8057
8068
|
* @see https://eslint.vuejs.org/rules/key-spacing.html
|
|
8058
8069
|
*/
|
|
8059
8070
|
'vue/key-spacing'?: Linter.RuleEntry<VueKeySpacing>
|
|
@@ -8746,7 +8757,7 @@ interface RuleOptions {
|
|
|
8746
8757
|
*/
|
|
8747
8758
|
'vue/prop-name-casing'?: Linter.RuleEntry<VuePropNameCasing>
|
|
8748
8759
|
/**
|
|
8749
|
-
* Require quotes around object literal
|
|
8760
|
+
* Require quotes around object literal property names in `<template>`
|
|
8750
8761
|
* @see https://eslint.vuejs.org/rules/quote-props.html
|
|
8751
8762
|
*/
|
|
8752
8763
|
'vue/quote-props'?: Linter.RuleEntry<VueQuoteProps>
|
|
@@ -11835,6 +11846,14 @@ type PerfectionistSortArrayIncludes = {
|
|
|
11835
11846
|
|
|
11836
11847
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11837
11848
|
|
|
11849
|
+
fallbackSort?: {
|
|
11850
|
+
|
|
11851
|
+
order?: ("asc" | "desc")
|
|
11852
|
+
|
|
11853
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11854
|
+
[k: string]: unknown | undefined
|
|
11855
|
+
}
|
|
11856
|
+
|
|
11838
11857
|
ignoreCase?: boolean
|
|
11839
11858
|
|
|
11840
11859
|
alphabet?: string
|
|
@@ -11843,6 +11862,8 @@ type PerfectionistSortArrayIncludes = {
|
|
|
11843
11862
|
|
|
11844
11863
|
order?: ("asc" | "desc")
|
|
11845
11864
|
|
|
11865
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11866
|
+
|
|
11846
11867
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
11847
11868
|
|
|
11848
11869
|
customGroups?: ({
|
|
@@ -11858,7 +11879,13 @@ type PerfectionistSortArrayIncludes = {
|
|
|
11858
11879
|
|
|
11859
11880
|
selector?: ("literal" | "spread")
|
|
11860
11881
|
|
|
11861
|
-
elementNamePattern?:
|
|
11882
|
+
elementNamePattern?: (({
|
|
11883
|
+
pattern?: string
|
|
11884
|
+
flags?: string
|
|
11885
|
+
} | string)[] | ({
|
|
11886
|
+
pattern?: string
|
|
11887
|
+
flags?: string
|
|
11888
|
+
} | string))
|
|
11862
11889
|
}[]
|
|
11863
11890
|
} | {
|
|
11864
11891
|
|
|
@@ -11872,18 +11899,46 @@ type PerfectionistSortArrayIncludes = {
|
|
|
11872
11899
|
|
|
11873
11900
|
selector?: ("literal" | "spread")
|
|
11874
11901
|
|
|
11875
|
-
elementNamePattern?:
|
|
11902
|
+
elementNamePattern?: (({
|
|
11903
|
+
pattern?: string
|
|
11904
|
+
flags?: string
|
|
11905
|
+
} | string)[] | ({
|
|
11906
|
+
pattern?: string
|
|
11907
|
+
flags?: string
|
|
11908
|
+
} | string))
|
|
11876
11909
|
})[]
|
|
11877
11910
|
useConfigurationIf?: {
|
|
11878
|
-
|
|
11911
|
+
|
|
11912
|
+
allNamesMatchPattern?: (({
|
|
11913
|
+
pattern?: string
|
|
11914
|
+
flags?: string
|
|
11915
|
+
} | string)[] | ({
|
|
11916
|
+
pattern?: string
|
|
11917
|
+
flags?: string
|
|
11918
|
+
} | string))
|
|
11879
11919
|
}
|
|
11880
11920
|
|
|
11881
|
-
|
|
11882
|
-
|
|
11883
|
-
|
|
11884
|
-
|
|
11885
|
-
|
|
11886
|
-
|
|
11921
|
+
partitionByComment?: (boolean | (({
|
|
11922
|
+
pattern?: string
|
|
11923
|
+
flags?: string
|
|
11924
|
+
} | string)[] | ({
|
|
11925
|
+
pattern?: string
|
|
11926
|
+
flags?: string
|
|
11927
|
+
} | string)) | {
|
|
11928
|
+
block?: (boolean | (({
|
|
11929
|
+
pattern?: string
|
|
11930
|
+
flags?: string
|
|
11931
|
+
} | string)[] | ({
|
|
11932
|
+
pattern?: string
|
|
11933
|
+
flags?: string
|
|
11934
|
+
} | string)))
|
|
11935
|
+
line?: (boolean | (({
|
|
11936
|
+
pattern?: string
|
|
11937
|
+
flags?: string
|
|
11938
|
+
} | string)[] | ({
|
|
11939
|
+
pattern?: string
|
|
11940
|
+
flags?: string
|
|
11941
|
+
} | string)))
|
|
11887
11942
|
})
|
|
11888
11943
|
|
|
11889
11944
|
partitionByNewLine?: boolean
|
|
@@ -11893,7 +11948,6 @@ type PerfectionistSortArrayIncludes = {
|
|
|
11893
11948
|
groups?: (string | string[] | {
|
|
11894
11949
|
|
|
11895
11950
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11896
|
-
[k: string]: unknown | undefined
|
|
11897
11951
|
})[]
|
|
11898
11952
|
}[]
|
|
11899
11953
|
// ----- perfectionist/sort-classes -----
|
|
@@ -11901,6 +11955,14 @@ type PerfectionistSortClasses = []|[{
|
|
|
11901
11955
|
|
|
11902
11956
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11903
11957
|
|
|
11958
|
+
fallbackSort?: {
|
|
11959
|
+
|
|
11960
|
+
order?: ("asc" | "desc")
|
|
11961
|
+
|
|
11962
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11963
|
+
[k: string]: unknown | undefined
|
|
11964
|
+
}
|
|
11965
|
+
|
|
11904
11966
|
ignoreCase?: boolean
|
|
11905
11967
|
|
|
11906
11968
|
alphabet?: string
|
|
@@ -11909,7 +11971,7 @@ type PerfectionistSortClasses = []|[{
|
|
|
11909
11971
|
|
|
11910
11972
|
order?: ("asc" | "desc")
|
|
11911
11973
|
|
|
11912
|
-
|
|
11974
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11913
11975
|
|
|
11914
11976
|
customGroups?: ({
|
|
11915
11977
|
|
|
@@ -11922,15 +11984,33 @@ type PerfectionistSortClasses = []|[{
|
|
|
11922
11984
|
newlinesInside?: ("always" | "never")
|
|
11923
11985
|
anyOf?: {
|
|
11924
11986
|
|
|
11925
|
-
decoratorNamePattern?: string
|
|
11926
|
-
|
|
11927
11987
|
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
11928
11988
|
|
|
11929
11989
|
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
11930
11990
|
|
|
11931
|
-
|
|
11991
|
+
decoratorNamePattern?: (({
|
|
11992
|
+
pattern?: string
|
|
11993
|
+
flags?: string
|
|
11994
|
+
} | string)[] | ({
|
|
11995
|
+
pattern?: string
|
|
11996
|
+
flags?: string
|
|
11997
|
+
} | string))
|
|
11932
11998
|
|
|
11933
|
-
|
|
11999
|
+
elementValuePattern?: (({
|
|
12000
|
+
pattern?: string
|
|
12001
|
+
flags?: string
|
|
12002
|
+
} | string)[] | ({
|
|
12003
|
+
pattern?: string
|
|
12004
|
+
flags?: string
|
|
12005
|
+
} | string))
|
|
12006
|
+
|
|
12007
|
+
elementNamePattern?: (({
|
|
12008
|
+
pattern?: string
|
|
12009
|
+
flags?: string
|
|
12010
|
+
} | string)[] | ({
|
|
12011
|
+
pattern?: string
|
|
12012
|
+
flags?: string
|
|
12013
|
+
} | string))
|
|
11934
12014
|
}[]
|
|
11935
12015
|
} | {
|
|
11936
12016
|
|
|
@@ -11942,33 +12022,73 @@ type PerfectionistSortClasses = []|[{
|
|
|
11942
12022
|
|
|
11943
12023
|
newlinesInside?: ("always" | "never")
|
|
11944
12024
|
|
|
11945
|
-
decoratorNamePattern?: string
|
|
11946
|
-
|
|
11947
12025
|
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
11948
12026
|
|
|
11949
12027
|
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
11950
12028
|
|
|
11951
|
-
|
|
12029
|
+
decoratorNamePattern?: (({
|
|
12030
|
+
pattern?: string
|
|
12031
|
+
flags?: string
|
|
12032
|
+
} | string)[] | ({
|
|
12033
|
+
pattern?: string
|
|
12034
|
+
flags?: string
|
|
12035
|
+
} | string))
|
|
12036
|
+
|
|
12037
|
+
elementValuePattern?: (({
|
|
12038
|
+
pattern?: string
|
|
12039
|
+
flags?: string
|
|
12040
|
+
} | string)[] | ({
|
|
12041
|
+
pattern?: string
|
|
12042
|
+
flags?: string
|
|
12043
|
+
} | string))
|
|
11952
12044
|
|
|
11953
|
-
elementNamePattern?:
|
|
12045
|
+
elementNamePattern?: (({
|
|
12046
|
+
pattern?: string
|
|
12047
|
+
flags?: string
|
|
12048
|
+
} | string)[] | ({
|
|
12049
|
+
pattern?: string
|
|
12050
|
+
flags?: string
|
|
12051
|
+
} | string))
|
|
11954
12052
|
})[]
|
|
11955
12053
|
|
|
11956
|
-
|
|
11957
|
-
|
|
11958
|
-
|
|
11959
|
-
|
|
12054
|
+
ignoreCallbackDependenciesPatterns?: (({
|
|
12055
|
+
pattern?: string
|
|
12056
|
+
flags?: string
|
|
12057
|
+
} | string)[] | ({
|
|
12058
|
+
pattern?: string
|
|
12059
|
+
flags?: string
|
|
12060
|
+
} | string))
|
|
12061
|
+
|
|
12062
|
+
partitionByComment?: (boolean | (({
|
|
12063
|
+
pattern?: string
|
|
12064
|
+
flags?: string
|
|
12065
|
+
} | string)[] | ({
|
|
12066
|
+
pattern?: string
|
|
12067
|
+
flags?: string
|
|
12068
|
+
} | string)) | {
|
|
12069
|
+
block?: (boolean | (({
|
|
12070
|
+
pattern?: string
|
|
12071
|
+
flags?: string
|
|
12072
|
+
} | string)[] | ({
|
|
12073
|
+
pattern?: string
|
|
12074
|
+
flags?: string
|
|
12075
|
+
} | string)))
|
|
12076
|
+
line?: (boolean | (({
|
|
12077
|
+
pattern?: string
|
|
12078
|
+
flags?: string
|
|
12079
|
+
} | string)[] | ({
|
|
12080
|
+
pattern?: string
|
|
12081
|
+
flags?: string
|
|
12082
|
+
} | string)))
|
|
11960
12083
|
})
|
|
11961
12084
|
|
|
11962
12085
|
partitionByNewLine?: boolean
|
|
11963
12086
|
|
|
11964
12087
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11965
12088
|
|
|
11966
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
11967
|
-
|
|
11968
12089
|
groups?: (string | string[] | {
|
|
11969
12090
|
|
|
11970
12091
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11971
|
-
[k: string]: unknown | undefined
|
|
11972
12092
|
})[]
|
|
11973
12093
|
}]
|
|
11974
12094
|
// ----- perfectionist/sort-decorators -----
|
|
@@ -11976,6 +12096,14 @@ type PerfectionistSortDecorators = []|[{
|
|
|
11976
12096
|
|
|
11977
12097
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11978
12098
|
|
|
12099
|
+
fallbackSort?: {
|
|
12100
|
+
|
|
12101
|
+
order?: ("asc" | "desc")
|
|
12102
|
+
|
|
12103
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12104
|
+
[k: string]: unknown | undefined
|
|
12105
|
+
}
|
|
12106
|
+
|
|
11979
12107
|
ignoreCase?: boolean
|
|
11980
12108
|
|
|
11981
12109
|
alphabet?: string
|
|
@@ -11984,6 +12112,8 @@ type PerfectionistSortDecorators = []|[{
|
|
|
11984
12112
|
|
|
11985
12113
|
order?: ("asc" | "desc")
|
|
11986
12114
|
|
|
12115
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12116
|
+
|
|
11987
12117
|
sortOnParameters?: boolean
|
|
11988
12118
|
|
|
11989
12119
|
sortOnProperties?: boolean
|
|
@@ -11994,22 +12124,36 @@ type PerfectionistSortDecorators = []|[{
|
|
|
11994
12124
|
|
|
11995
12125
|
sortOnClasses?: boolean
|
|
11996
12126
|
|
|
11997
|
-
partitionByComment?: (
|
|
11998
|
-
|
|
11999
|
-
|
|
12000
|
-
|
|
12127
|
+
partitionByComment?: (boolean | (({
|
|
12128
|
+
pattern?: string
|
|
12129
|
+
flags?: string
|
|
12130
|
+
} | string)[] | ({
|
|
12131
|
+
pattern?: string
|
|
12132
|
+
flags?: string
|
|
12133
|
+
} | string)) | {
|
|
12134
|
+
block?: (boolean | (({
|
|
12135
|
+
pattern?: string
|
|
12136
|
+
flags?: string
|
|
12137
|
+
} | string)[] | ({
|
|
12138
|
+
pattern?: string
|
|
12139
|
+
flags?: string
|
|
12140
|
+
} | string)))
|
|
12141
|
+
line?: (boolean | (({
|
|
12142
|
+
pattern?: string
|
|
12143
|
+
flags?: string
|
|
12144
|
+
} | string)[] | ({
|
|
12145
|
+
pattern?: string
|
|
12146
|
+
flags?: string
|
|
12147
|
+
} | string)))
|
|
12001
12148
|
})
|
|
12002
12149
|
|
|
12003
12150
|
customGroups?: {
|
|
12004
12151
|
[k: string]: (string | string[]) | undefined
|
|
12005
12152
|
}
|
|
12006
12153
|
|
|
12007
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
12008
|
-
|
|
12009
12154
|
groups?: (string | string[] | {
|
|
12010
12155
|
|
|
12011
12156
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12012
|
-
[k: string]: unknown | undefined
|
|
12013
12157
|
})[]
|
|
12014
12158
|
}]
|
|
12015
12159
|
// ----- perfectionist/sort-enums -----
|
|
@@ -12017,6 +12161,14 @@ type PerfectionistSortEnums = []|[{
|
|
|
12017
12161
|
|
|
12018
12162
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
12019
12163
|
|
|
12164
|
+
fallbackSort?: {
|
|
12165
|
+
|
|
12166
|
+
order?: ("asc" | "desc")
|
|
12167
|
+
|
|
12168
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12169
|
+
[k: string]: unknown | undefined
|
|
12170
|
+
}
|
|
12171
|
+
|
|
12020
12172
|
ignoreCase?: boolean
|
|
12021
12173
|
|
|
12022
12174
|
alphabet?: string
|
|
@@ -12025,25 +12177,112 @@ type PerfectionistSortEnums = []|[{
|
|
|
12025
12177
|
|
|
12026
12178
|
order?: ("asc" | "desc")
|
|
12027
12179
|
|
|
12180
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12181
|
+
|
|
12028
12182
|
forceNumericSort?: boolean
|
|
12183
|
+
customGroups?: ({
|
|
12184
|
+
[k: string]: (string | string[]) | undefined
|
|
12185
|
+
} | ({
|
|
12186
|
+
|
|
12187
|
+
groupName?: string
|
|
12188
|
+
|
|
12189
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
12190
|
+
|
|
12191
|
+
order?: ("desc" | "asc")
|
|
12192
|
+
|
|
12193
|
+
newlinesInside?: ("always" | "never")
|
|
12194
|
+
anyOf?: {
|
|
12195
|
+
|
|
12196
|
+
elementValuePattern?: (({
|
|
12197
|
+
pattern?: string
|
|
12198
|
+
flags?: string
|
|
12199
|
+
} | string)[] | ({
|
|
12200
|
+
pattern?: string
|
|
12201
|
+
flags?: string
|
|
12202
|
+
} | string))
|
|
12203
|
+
|
|
12204
|
+
elementNamePattern?: (({
|
|
12205
|
+
pattern?: string
|
|
12206
|
+
flags?: string
|
|
12207
|
+
} | string)[] | ({
|
|
12208
|
+
pattern?: string
|
|
12209
|
+
flags?: string
|
|
12210
|
+
} | string))
|
|
12211
|
+
}[]
|
|
12212
|
+
} | {
|
|
12213
|
+
|
|
12214
|
+
groupName?: string
|
|
12215
|
+
|
|
12216
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
12217
|
+
|
|
12218
|
+
order?: ("desc" | "asc")
|
|
12219
|
+
|
|
12220
|
+
newlinesInside?: ("always" | "never")
|
|
12221
|
+
|
|
12222
|
+
elementValuePattern?: (({
|
|
12223
|
+
pattern?: string
|
|
12224
|
+
flags?: string
|
|
12225
|
+
} | string)[] | ({
|
|
12226
|
+
pattern?: string
|
|
12227
|
+
flags?: string
|
|
12228
|
+
} | string))
|
|
12229
|
+
|
|
12230
|
+
elementNamePattern?: (({
|
|
12231
|
+
pattern?: string
|
|
12232
|
+
flags?: string
|
|
12233
|
+
} | string)[] | ({
|
|
12234
|
+
pattern?: string
|
|
12235
|
+
flags?: string
|
|
12236
|
+
} | string))
|
|
12237
|
+
})[])
|
|
12029
12238
|
|
|
12030
12239
|
sortByValue?: boolean
|
|
12031
12240
|
|
|
12032
|
-
partitionByComment?: (
|
|
12033
|
-
|
|
12034
|
-
|
|
12035
|
-
|
|
12241
|
+
partitionByComment?: (boolean | (({
|
|
12242
|
+
pattern?: string
|
|
12243
|
+
flags?: string
|
|
12244
|
+
} | string)[] | ({
|
|
12245
|
+
pattern?: string
|
|
12246
|
+
flags?: string
|
|
12247
|
+
} | string)) | {
|
|
12248
|
+
block?: (boolean | (({
|
|
12249
|
+
pattern?: string
|
|
12250
|
+
flags?: string
|
|
12251
|
+
} | string)[] | ({
|
|
12252
|
+
pattern?: string
|
|
12253
|
+
flags?: string
|
|
12254
|
+
} | string)))
|
|
12255
|
+
line?: (boolean | (({
|
|
12256
|
+
pattern?: string
|
|
12257
|
+
flags?: string
|
|
12258
|
+
} | string)[] | ({
|
|
12259
|
+
pattern?: string
|
|
12260
|
+
flags?: string
|
|
12261
|
+
} | string)))
|
|
12036
12262
|
})
|
|
12037
12263
|
|
|
12038
12264
|
partitionByNewLine?: boolean
|
|
12039
12265
|
|
|
12040
|
-
|
|
12266
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12267
|
+
|
|
12268
|
+
groups?: (string | string[] | {
|
|
12269
|
+
|
|
12270
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12271
|
+
})[]
|
|
12041
12272
|
}]
|
|
12042
12273
|
// ----- perfectionist/sort-exports -----
|
|
12043
12274
|
type PerfectionistSortExports = []|[{
|
|
12044
12275
|
|
|
12045
12276
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
12046
12277
|
|
|
12278
|
+
fallbackSort?: {
|
|
12279
|
+
|
|
12280
|
+
order?: ("asc" | "desc")
|
|
12281
|
+
|
|
12282
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12283
|
+
[k: string]: unknown | undefined
|
|
12284
|
+
}
|
|
12285
|
+
|
|
12047
12286
|
ignoreCase?: boolean
|
|
12048
12287
|
|
|
12049
12288
|
alphabet?: string
|
|
@@ -12052,23 +12291,48 @@ type PerfectionistSortExports = []|[{
|
|
|
12052
12291
|
|
|
12053
12292
|
order?: ("asc" | "desc")
|
|
12054
12293
|
|
|
12294
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12295
|
+
|
|
12055
12296
|
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
12056
12297
|
|
|
12057
|
-
partitionByComment?: (
|
|
12058
|
-
|
|
12059
|
-
|
|
12060
|
-
|
|
12298
|
+
partitionByComment?: (boolean | (({
|
|
12299
|
+
pattern?: string
|
|
12300
|
+
flags?: string
|
|
12301
|
+
} | string)[] | ({
|
|
12302
|
+
pattern?: string
|
|
12303
|
+
flags?: string
|
|
12304
|
+
} | string)) | {
|
|
12305
|
+
block?: (boolean | (({
|
|
12306
|
+
pattern?: string
|
|
12307
|
+
flags?: string
|
|
12308
|
+
} | string)[] | ({
|
|
12309
|
+
pattern?: string
|
|
12310
|
+
flags?: string
|
|
12311
|
+
} | string)))
|
|
12312
|
+
line?: (boolean | (({
|
|
12313
|
+
pattern?: string
|
|
12314
|
+
flags?: string
|
|
12315
|
+
} | string)[] | ({
|
|
12316
|
+
pattern?: string
|
|
12317
|
+
flags?: string
|
|
12318
|
+
} | string)))
|
|
12061
12319
|
})
|
|
12062
12320
|
|
|
12063
12321
|
partitionByNewLine?: boolean
|
|
12064
|
-
|
|
12065
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
12066
12322
|
}]
|
|
12067
12323
|
// ----- perfectionist/sort-heritage-clauses -----
|
|
12068
12324
|
type PerfectionistSortHeritageClauses = []|[{
|
|
12069
12325
|
|
|
12070
12326
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
12071
12327
|
|
|
12328
|
+
fallbackSort?: {
|
|
12329
|
+
|
|
12330
|
+
order?: ("asc" | "desc")
|
|
12331
|
+
|
|
12332
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12333
|
+
[k: string]: unknown | undefined
|
|
12334
|
+
}
|
|
12335
|
+
|
|
12072
12336
|
ignoreCase?: boolean
|
|
12073
12337
|
|
|
12074
12338
|
alphabet?: string
|
|
@@ -12077,16 +12341,15 @@ type PerfectionistSortHeritageClauses = []|[{
|
|
|
12077
12341
|
|
|
12078
12342
|
order?: ("asc" | "desc")
|
|
12079
12343
|
|
|
12344
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12345
|
+
|
|
12080
12346
|
customGroups?: {
|
|
12081
12347
|
[k: string]: (string | string[]) | undefined
|
|
12082
12348
|
}
|
|
12083
12349
|
|
|
12084
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
12085
|
-
|
|
12086
12350
|
groups?: (string | string[] | {
|
|
12087
12351
|
|
|
12088
12352
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12089
|
-
[k: string]: unknown | undefined
|
|
12090
12353
|
})[]
|
|
12091
12354
|
}]
|
|
12092
12355
|
// ----- perfectionist/sort-imports -----
|
|
@@ -12095,6 +12358,14 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
12095
12358
|
|
|
12096
12359
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
12097
12360
|
|
|
12361
|
+
fallbackSort?: {
|
|
12362
|
+
|
|
12363
|
+
order?: ("asc" | "desc")
|
|
12364
|
+
|
|
12365
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12366
|
+
[k: string]: unknown | undefined
|
|
12367
|
+
}
|
|
12368
|
+
|
|
12098
12369
|
ignoreCase?: boolean
|
|
12099
12370
|
|
|
12100
12371
|
alphabet?: string
|
|
@@ -12103,6 +12374,8 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
12103
12374
|
|
|
12104
12375
|
order?: ("asc" | "desc")
|
|
12105
12376
|
|
|
12377
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12378
|
+
|
|
12106
12379
|
customGroups?: {
|
|
12107
12380
|
|
|
12108
12381
|
value?: {
|
|
@@ -12114,8 +12387,6 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
12114
12387
|
}
|
|
12115
12388
|
}
|
|
12116
12389
|
|
|
12117
|
-
internalPattern?: string[]
|
|
12118
|
-
|
|
12119
12390
|
maxLineLength?: number
|
|
12120
12391
|
|
|
12121
12392
|
sortSideEffects?: boolean
|
|
@@ -12124,22 +12395,44 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
12124
12395
|
|
|
12125
12396
|
tsconfigRootDir?: string
|
|
12126
12397
|
|
|
12127
|
-
partitionByComment?: (
|
|
12128
|
-
|
|
12129
|
-
|
|
12130
|
-
|
|
12398
|
+
partitionByComment?: (boolean | (({
|
|
12399
|
+
pattern?: string
|
|
12400
|
+
flags?: string
|
|
12401
|
+
} | string)[] | ({
|
|
12402
|
+
pattern?: string
|
|
12403
|
+
flags?: string
|
|
12404
|
+
} | string)) | {
|
|
12405
|
+
block?: (boolean | (({
|
|
12406
|
+
pattern?: string
|
|
12407
|
+
flags?: string
|
|
12408
|
+
} | string)[] | ({
|
|
12409
|
+
pattern?: string
|
|
12410
|
+
flags?: string
|
|
12411
|
+
} | string)))
|
|
12412
|
+
line?: (boolean | (({
|
|
12413
|
+
pattern?: string
|
|
12414
|
+
flags?: string
|
|
12415
|
+
} | string)[] | ({
|
|
12416
|
+
pattern?: string
|
|
12417
|
+
flags?: string
|
|
12418
|
+
} | string)))
|
|
12131
12419
|
})
|
|
12132
12420
|
|
|
12133
12421
|
partitionByNewLine?: boolean
|
|
12134
12422
|
|
|
12135
12423
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12136
12424
|
|
|
12137
|
-
|
|
12425
|
+
internalPattern?: (({
|
|
12426
|
+
pattern?: string
|
|
12427
|
+
flags?: string
|
|
12428
|
+
} | string)[] | ({
|
|
12429
|
+
pattern?: string
|
|
12430
|
+
flags?: string
|
|
12431
|
+
} | string))
|
|
12138
12432
|
|
|
12139
12433
|
groups?: (string | string[] | {
|
|
12140
12434
|
|
|
12141
12435
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12142
|
-
[k: string]: unknown | undefined
|
|
12143
12436
|
})[]
|
|
12144
12437
|
})
|
|
12145
12438
|
type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
|
|
@@ -12154,6 +12447,14 @@ type PerfectionistSortInterfaces = {
|
|
|
12154
12447
|
|
|
12155
12448
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
12156
12449
|
|
|
12450
|
+
fallbackSort?: {
|
|
12451
|
+
|
|
12452
|
+
order?: ("asc" | "desc")
|
|
12453
|
+
|
|
12454
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12455
|
+
[k: string]: unknown | undefined
|
|
12456
|
+
}
|
|
12457
|
+
|
|
12157
12458
|
ignoreCase?: boolean
|
|
12158
12459
|
|
|
12159
12460
|
alphabet?: string
|
|
@@ -12162,11 +12463,7 @@ type PerfectionistSortInterfaces = {
|
|
|
12162
12463
|
|
|
12163
12464
|
order?: ("asc" | "desc")
|
|
12164
12465
|
|
|
12165
|
-
|
|
12166
|
-
useConfigurationIf?: {
|
|
12167
|
-
allNamesMatchPattern?: string
|
|
12168
|
-
declarationMatchesPattern?: string
|
|
12169
|
-
}
|
|
12466
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12170
12467
|
customGroups?: ({
|
|
12171
12468
|
[k: string]: (string | string[]) | undefined
|
|
12172
12469
|
} | ({
|
|
@@ -12184,7 +12481,13 @@ type PerfectionistSortInterfaces = {
|
|
|
12184
12481
|
|
|
12185
12482
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
12186
12483
|
|
|
12187
|
-
elementNamePattern?:
|
|
12484
|
+
elementNamePattern?: (({
|
|
12485
|
+
pattern?: string
|
|
12486
|
+
flags?: string
|
|
12487
|
+
} | string)[] | ({
|
|
12488
|
+
pattern?: string
|
|
12489
|
+
flags?: string
|
|
12490
|
+
} | string))
|
|
12188
12491
|
}[]
|
|
12189
12492
|
} | {
|
|
12190
12493
|
|
|
@@ -12200,27 +12503,73 @@ type PerfectionistSortInterfaces = {
|
|
|
12200
12503
|
|
|
12201
12504
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
12202
12505
|
|
|
12203
|
-
elementNamePattern?:
|
|
12506
|
+
elementNamePattern?: (({
|
|
12507
|
+
pattern?: string
|
|
12508
|
+
flags?: string
|
|
12509
|
+
} | string)[] | ({
|
|
12510
|
+
pattern?: string
|
|
12511
|
+
flags?: string
|
|
12512
|
+
} | string))
|
|
12204
12513
|
})[])
|
|
12514
|
+
useConfigurationIf?: {
|
|
12515
|
+
|
|
12516
|
+
allNamesMatchPattern?: (({
|
|
12517
|
+
pattern?: string
|
|
12518
|
+
flags?: string
|
|
12519
|
+
} | string)[] | ({
|
|
12520
|
+
pattern?: string
|
|
12521
|
+
flags?: string
|
|
12522
|
+
} | string))
|
|
12523
|
+
|
|
12524
|
+
declarationMatchesPattern?: (({
|
|
12525
|
+
pattern?: string
|
|
12526
|
+
flags?: string
|
|
12527
|
+
} | string)[] | ({
|
|
12528
|
+
pattern?: string
|
|
12529
|
+
flags?: string
|
|
12530
|
+
} | string))
|
|
12531
|
+
}
|
|
12205
12532
|
|
|
12206
12533
|
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
12207
12534
|
|
|
12208
|
-
|
|
12209
|
-
|
|
12210
|
-
|
|
12211
|
-
|
|
12212
|
-
|
|
12213
|
-
|
|
12535
|
+
partitionByComment?: (boolean | (({
|
|
12536
|
+
pattern?: string
|
|
12537
|
+
flags?: string
|
|
12538
|
+
} | string)[] | ({
|
|
12539
|
+
pattern?: string
|
|
12540
|
+
flags?: string
|
|
12541
|
+
} | string)) | {
|
|
12542
|
+
block?: (boolean | (({
|
|
12543
|
+
pattern?: string
|
|
12544
|
+
flags?: string
|
|
12545
|
+
} | string)[] | ({
|
|
12546
|
+
pattern?: string
|
|
12547
|
+
flags?: string
|
|
12548
|
+
} | string)))
|
|
12549
|
+
line?: (boolean | (({
|
|
12550
|
+
pattern?: string
|
|
12551
|
+
flags?: string
|
|
12552
|
+
} | string)[] | ({
|
|
12553
|
+
pattern?: string
|
|
12554
|
+
flags?: string
|
|
12555
|
+
} | string)))
|
|
12214
12556
|
})
|
|
12215
12557
|
|
|
12216
12558
|
partitionByNewLine?: boolean
|
|
12217
12559
|
|
|
12218
12560
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12219
12561
|
|
|
12562
|
+
ignorePattern?: (({
|
|
12563
|
+
pattern?: string
|
|
12564
|
+
flags?: string
|
|
12565
|
+
} | string)[] | ({
|
|
12566
|
+
pattern?: string
|
|
12567
|
+
flags?: string
|
|
12568
|
+
} | string))
|
|
12569
|
+
|
|
12220
12570
|
groups?: (string | string[] | {
|
|
12221
12571
|
|
|
12222
12572
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12223
|
-
[k: string]: unknown | undefined
|
|
12224
12573
|
})[]
|
|
12225
12574
|
}[]
|
|
12226
12575
|
// ----- perfectionist/sort-intersection-types -----
|
|
@@ -12228,6 +12577,14 @@ type PerfectionistSortIntersectionTypes = []|[{
|
|
|
12228
12577
|
|
|
12229
12578
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
12230
12579
|
|
|
12580
|
+
fallbackSort?: {
|
|
12581
|
+
|
|
12582
|
+
order?: ("asc" | "desc")
|
|
12583
|
+
|
|
12584
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12585
|
+
[k: string]: unknown | undefined
|
|
12586
|
+
}
|
|
12587
|
+
|
|
12231
12588
|
ignoreCase?: boolean
|
|
12232
12589
|
|
|
12233
12590
|
alphabet?: string
|
|
@@ -12236,29 +12593,53 @@ type PerfectionistSortIntersectionTypes = []|[{
|
|
|
12236
12593
|
|
|
12237
12594
|
order?: ("asc" | "desc")
|
|
12238
12595
|
|
|
12239
|
-
|
|
12240
|
-
|
|
12241
|
-
|
|
12242
|
-
|
|
12596
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12597
|
+
|
|
12598
|
+
partitionByComment?: (boolean | (({
|
|
12599
|
+
pattern?: string
|
|
12600
|
+
flags?: string
|
|
12601
|
+
} | string)[] | ({
|
|
12602
|
+
pattern?: string
|
|
12603
|
+
flags?: string
|
|
12604
|
+
} | string)) | {
|
|
12605
|
+
block?: (boolean | (({
|
|
12606
|
+
pattern?: string
|
|
12607
|
+
flags?: string
|
|
12608
|
+
} | string)[] | ({
|
|
12609
|
+
pattern?: string
|
|
12610
|
+
flags?: string
|
|
12611
|
+
} | string)))
|
|
12612
|
+
line?: (boolean | (({
|
|
12613
|
+
pattern?: string
|
|
12614
|
+
flags?: string
|
|
12615
|
+
} | string)[] | ({
|
|
12616
|
+
pattern?: string
|
|
12617
|
+
flags?: string
|
|
12618
|
+
} | string)))
|
|
12243
12619
|
})
|
|
12244
12620
|
|
|
12245
12621
|
partitionByNewLine?: boolean
|
|
12246
12622
|
|
|
12247
12623
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12248
12624
|
|
|
12249
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
12250
|
-
|
|
12251
12625
|
groups?: (string | string[] | {
|
|
12252
12626
|
|
|
12253
12627
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12254
|
-
[k: string]: unknown | undefined
|
|
12255
12628
|
})[]
|
|
12256
12629
|
}]
|
|
12257
12630
|
// ----- perfectionist/sort-jsx-props -----
|
|
12258
|
-
type PerfectionistSortJsxProps =
|
|
12631
|
+
type PerfectionistSortJsxProps = {
|
|
12259
12632
|
|
|
12260
12633
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
12261
12634
|
|
|
12635
|
+
fallbackSort?: {
|
|
12636
|
+
|
|
12637
|
+
order?: ("asc" | "desc")
|
|
12638
|
+
|
|
12639
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12640
|
+
[k: string]: unknown | undefined
|
|
12641
|
+
}
|
|
12642
|
+
|
|
12262
12643
|
ignoreCase?: boolean
|
|
12263
12644
|
|
|
12264
12645
|
alphabet?: string
|
|
@@ -12267,7 +12648,25 @@ type PerfectionistSortJsxProps = []|[{
|
|
|
12267
12648
|
|
|
12268
12649
|
order?: ("asc" | "desc")
|
|
12269
12650
|
|
|
12270
|
-
|
|
12651
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12652
|
+
useConfigurationIf?: {
|
|
12653
|
+
|
|
12654
|
+
allNamesMatchPattern?: (({
|
|
12655
|
+
pattern?: string
|
|
12656
|
+
flags?: string
|
|
12657
|
+
} | string)[] | ({
|
|
12658
|
+
pattern?: string
|
|
12659
|
+
flags?: string
|
|
12660
|
+
} | string))
|
|
12661
|
+
|
|
12662
|
+
tagMatchesPattern?: (({
|
|
12663
|
+
pattern?: string
|
|
12664
|
+
flags?: string
|
|
12665
|
+
} | string)[] | ({
|
|
12666
|
+
pattern?: string
|
|
12667
|
+
flags?: string
|
|
12668
|
+
} | string))
|
|
12669
|
+
}
|
|
12271
12670
|
|
|
12272
12671
|
partitionByNewLine?: boolean
|
|
12273
12672
|
|
|
@@ -12277,19 +12676,32 @@ type PerfectionistSortJsxProps = []|[{
|
|
|
12277
12676
|
[k: string]: (string | string[]) | undefined
|
|
12278
12677
|
}
|
|
12279
12678
|
|
|
12280
|
-
|
|
12679
|
+
ignorePattern?: (({
|
|
12680
|
+
pattern?: string
|
|
12681
|
+
flags?: string
|
|
12682
|
+
} | string)[] | ({
|
|
12683
|
+
pattern?: string
|
|
12684
|
+
flags?: string
|
|
12685
|
+
} | string))
|
|
12281
12686
|
|
|
12282
12687
|
groups?: (string | string[] | {
|
|
12283
12688
|
|
|
12284
12689
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12285
|
-
[k: string]: unknown | undefined
|
|
12286
12690
|
})[]
|
|
12287
|
-
}]
|
|
12691
|
+
}[]
|
|
12288
12692
|
// ----- perfectionist/sort-maps -----
|
|
12289
12693
|
type PerfectionistSortMaps = {
|
|
12290
12694
|
|
|
12291
12695
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
12292
12696
|
|
|
12697
|
+
fallbackSort?: {
|
|
12698
|
+
|
|
12699
|
+
order?: ("asc" | "desc")
|
|
12700
|
+
|
|
12701
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12702
|
+
[k: string]: unknown | undefined
|
|
12703
|
+
}
|
|
12704
|
+
|
|
12293
12705
|
ignoreCase?: boolean
|
|
12294
12706
|
|
|
12295
12707
|
alphabet?: string
|
|
@@ -12298,6 +12710,8 @@ type PerfectionistSortMaps = {
|
|
|
12298
12710
|
|
|
12299
12711
|
order?: ("asc" | "desc")
|
|
12300
12712
|
|
|
12713
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12714
|
+
|
|
12301
12715
|
customGroups?: ({
|
|
12302
12716
|
|
|
12303
12717
|
groupName?: string
|
|
@@ -12309,7 +12723,13 @@ type PerfectionistSortMaps = {
|
|
|
12309
12723
|
newlinesInside?: ("always" | "never")
|
|
12310
12724
|
anyOf?: {
|
|
12311
12725
|
|
|
12312
|
-
elementNamePattern?:
|
|
12726
|
+
elementNamePattern?: (({
|
|
12727
|
+
pattern?: string
|
|
12728
|
+
flags?: string
|
|
12729
|
+
} | string)[] | ({
|
|
12730
|
+
pattern?: string
|
|
12731
|
+
flags?: string
|
|
12732
|
+
} | string))
|
|
12313
12733
|
}[]
|
|
12314
12734
|
} | {
|
|
12315
12735
|
|
|
@@ -12321,28 +12741,55 @@ type PerfectionistSortMaps = {
|
|
|
12321
12741
|
|
|
12322
12742
|
newlinesInside?: ("always" | "never")
|
|
12323
12743
|
|
|
12324
|
-
elementNamePattern?:
|
|
12744
|
+
elementNamePattern?: (({
|
|
12745
|
+
pattern?: string
|
|
12746
|
+
flags?: string
|
|
12747
|
+
} | string)[] | ({
|
|
12748
|
+
pattern?: string
|
|
12749
|
+
flags?: string
|
|
12750
|
+
} | string))
|
|
12325
12751
|
})[]
|
|
12326
12752
|
useConfigurationIf?: {
|
|
12327
|
-
|
|
12753
|
+
|
|
12754
|
+
allNamesMatchPattern?: (({
|
|
12755
|
+
pattern?: string
|
|
12756
|
+
flags?: string
|
|
12757
|
+
} | string)[] | ({
|
|
12758
|
+
pattern?: string
|
|
12759
|
+
flags?: string
|
|
12760
|
+
} | string))
|
|
12328
12761
|
}
|
|
12329
12762
|
|
|
12330
|
-
partitionByComment?: (
|
|
12331
|
-
|
|
12332
|
-
|
|
12333
|
-
|
|
12763
|
+
partitionByComment?: (boolean | (({
|
|
12764
|
+
pattern?: string
|
|
12765
|
+
flags?: string
|
|
12766
|
+
} | string)[] | ({
|
|
12767
|
+
pattern?: string
|
|
12768
|
+
flags?: string
|
|
12769
|
+
} | string)) | {
|
|
12770
|
+
block?: (boolean | (({
|
|
12771
|
+
pattern?: string
|
|
12772
|
+
flags?: string
|
|
12773
|
+
} | string)[] | ({
|
|
12774
|
+
pattern?: string
|
|
12775
|
+
flags?: string
|
|
12776
|
+
} | string)))
|
|
12777
|
+
line?: (boolean | (({
|
|
12778
|
+
pattern?: string
|
|
12779
|
+
flags?: string
|
|
12780
|
+
} | string)[] | ({
|
|
12781
|
+
pattern?: string
|
|
12782
|
+
flags?: string
|
|
12783
|
+
} | string)))
|
|
12334
12784
|
})
|
|
12335
12785
|
|
|
12336
12786
|
partitionByNewLine?: boolean
|
|
12337
12787
|
|
|
12338
12788
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12339
12789
|
|
|
12340
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
12341
|
-
|
|
12342
12790
|
groups?: (string | string[] | {
|
|
12343
12791
|
|
|
12344
12792
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12345
|
-
[k: string]: unknown | undefined
|
|
12346
12793
|
})[]
|
|
12347
12794
|
}[]
|
|
12348
12795
|
// ----- perfectionist/sort-modules -----
|
|
@@ -12350,6 +12797,14 @@ type PerfectionistSortModules = []|[{
|
|
|
12350
12797
|
|
|
12351
12798
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
12352
12799
|
|
|
12800
|
+
fallbackSort?: {
|
|
12801
|
+
|
|
12802
|
+
order?: ("asc" | "desc")
|
|
12803
|
+
|
|
12804
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12805
|
+
[k: string]: unknown | undefined
|
|
12806
|
+
}
|
|
12807
|
+
|
|
12353
12808
|
ignoreCase?: boolean
|
|
12354
12809
|
|
|
12355
12810
|
alphabet?: string
|
|
@@ -12358,6 +12813,8 @@ type PerfectionistSortModules = []|[{
|
|
|
12358
12813
|
|
|
12359
12814
|
order?: ("asc" | "desc")
|
|
12360
12815
|
|
|
12816
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12817
|
+
|
|
12361
12818
|
customGroups?: ({
|
|
12362
12819
|
|
|
12363
12820
|
groupName?: string
|
|
@@ -12369,13 +12826,25 @@ type PerfectionistSortModules = []|[{
|
|
|
12369
12826
|
newlinesInside?: ("always" | "never")
|
|
12370
12827
|
anyOf?: {
|
|
12371
12828
|
|
|
12372
|
-
decoratorNamePattern?: string
|
|
12373
|
-
|
|
12374
12829
|
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
12375
12830
|
|
|
12376
12831
|
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
12377
12832
|
|
|
12378
|
-
|
|
12833
|
+
decoratorNamePattern?: (({
|
|
12834
|
+
pattern?: string
|
|
12835
|
+
flags?: string
|
|
12836
|
+
} | string)[] | ({
|
|
12837
|
+
pattern?: string
|
|
12838
|
+
flags?: string
|
|
12839
|
+
} | string))
|
|
12840
|
+
|
|
12841
|
+
elementNamePattern?: (({
|
|
12842
|
+
pattern?: string
|
|
12843
|
+
flags?: string
|
|
12844
|
+
} | string)[] | ({
|
|
12845
|
+
pattern?: string
|
|
12846
|
+
flags?: string
|
|
12847
|
+
} | string))
|
|
12379
12848
|
}[]
|
|
12380
12849
|
} | {
|
|
12381
12850
|
|
|
@@ -12387,31 +12856,57 @@ type PerfectionistSortModules = []|[{
|
|
|
12387
12856
|
|
|
12388
12857
|
newlinesInside?: ("always" | "never")
|
|
12389
12858
|
|
|
12390
|
-
decoratorNamePattern?: string
|
|
12391
|
-
|
|
12392
12859
|
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
12393
12860
|
|
|
12394
12861
|
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
12395
12862
|
|
|
12396
|
-
|
|
12863
|
+
decoratorNamePattern?: (({
|
|
12864
|
+
pattern?: string
|
|
12865
|
+
flags?: string
|
|
12866
|
+
} | string)[] | ({
|
|
12867
|
+
pattern?: string
|
|
12868
|
+
flags?: string
|
|
12869
|
+
} | string))
|
|
12870
|
+
|
|
12871
|
+
elementNamePattern?: (({
|
|
12872
|
+
pattern?: string
|
|
12873
|
+
flags?: string
|
|
12874
|
+
} | string)[] | ({
|
|
12875
|
+
pattern?: string
|
|
12876
|
+
flags?: string
|
|
12877
|
+
} | string))
|
|
12397
12878
|
})[]
|
|
12398
12879
|
|
|
12399
|
-
partitionByComment?: (
|
|
12400
|
-
|
|
12401
|
-
|
|
12402
|
-
|
|
12880
|
+
partitionByComment?: (boolean | (({
|
|
12881
|
+
pattern?: string
|
|
12882
|
+
flags?: string
|
|
12883
|
+
} | string)[] | ({
|
|
12884
|
+
pattern?: string
|
|
12885
|
+
flags?: string
|
|
12886
|
+
} | string)) | {
|
|
12887
|
+
block?: (boolean | (({
|
|
12888
|
+
pattern?: string
|
|
12889
|
+
flags?: string
|
|
12890
|
+
} | string)[] | ({
|
|
12891
|
+
pattern?: string
|
|
12892
|
+
flags?: string
|
|
12893
|
+
} | string)))
|
|
12894
|
+
line?: (boolean | (({
|
|
12895
|
+
pattern?: string
|
|
12896
|
+
flags?: string
|
|
12897
|
+
} | string)[] | ({
|
|
12898
|
+
pattern?: string
|
|
12899
|
+
flags?: string
|
|
12900
|
+
} | string)))
|
|
12403
12901
|
})
|
|
12404
12902
|
|
|
12405
12903
|
partitionByNewLine?: boolean
|
|
12406
12904
|
|
|
12407
12905
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12408
12906
|
|
|
12409
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
12410
|
-
|
|
12411
12907
|
groups?: (string | string[] | {
|
|
12412
12908
|
|
|
12413
12909
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12414
|
-
[k: string]: unknown | undefined
|
|
12415
12910
|
})[]
|
|
12416
12911
|
}]
|
|
12417
12912
|
// ----- perfectionist/sort-named-exports -----
|
|
@@ -12419,6 +12914,14 @@ type PerfectionistSortNamedExports = []|[{
|
|
|
12419
12914
|
|
|
12420
12915
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
12421
12916
|
|
|
12917
|
+
fallbackSort?: {
|
|
12918
|
+
|
|
12919
|
+
order?: ("asc" | "desc")
|
|
12920
|
+
|
|
12921
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12922
|
+
[k: string]: unknown | undefined
|
|
12923
|
+
}
|
|
12924
|
+
|
|
12422
12925
|
ignoreCase?: boolean
|
|
12423
12926
|
|
|
12424
12927
|
alphabet?: string
|
|
@@ -12427,23 +12930,50 @@ type PerfectionistSortNamedExports = []|[{
|
|
|
12427
12930
|
|
|
12428
12931
|
order?: ("asc" | "desc")
|
|
12429
12932
|
|
|
12933
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12934
|
+
|
|
12430
12935
|
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
12431
12936
|
|
|
12432
|
-
|
|
12433
|
-
|
|
12434
|
-
|
|
12435
|
-
|
|
12937
|
+
ignoreAlias?: boolean
|
|
12938
|
+
|
|
12939
|
+
partitionByComment?: (boolean | (({
|
|
12940
|
+
pattern?: string
|
|
12941
|
+
flags?: string
|
|
12942
|
+
} | string)[] | ({
|
|
12943
|
+
pattern?: string
|
|
12944
|
+
flags?: string
|
|
12945
|
+
} | string)) | {
|
|
12946
|
+
block?: (boolean | (({
|
|
12947
|
+
pattern?: string
|
|
12948
|
+
flags?: string
|
|
12949
|
+
} | string)[] | ({
|
|
12950
|
+
pattern?: string
|
|
12951
|
+
flags?: string
|
|
12952
|
+
} | string)))
|
|
12953
|
+
line?: (boolean | (({
|
|
12954
|
+
pattern?: string
|
|
12955
|
+
flags?: string
|
|
12956
|
+
} | string)[] | ({
|
|
12957
|
+
pattern?: string
|
|
12958
|
+
flags?: string
|
|
12959
|
+
} | string)))
|
|
12436
12960
|
})
|
|
12437
12961
|
|
|
12438
12962
|
partitionByNewLine?: boolean
|
|
12439
|
-
|
|
12440
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
12441
12963
|
}]
|
|
12442
12964
|
// ----- perfectionist/sort-named-imports -----
|
|
12443
12965
|
type PerfectionistSortNamedImports = []|[{
|
|
12444
12966
|
|
|
12445
12967
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
12446
12968
|
|
|
12969
|
+
fallbackSort?: {
|
|
12970
|
+
|
|
12971
|
+
order?: ("asc" | "desc")
|
|
12972
|
+
|
|
12973
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12974
|
+
[k: string]: unknown | undefined
|
|
12975
|
+
}
|
|
12976
|
+
|
|
12447
12977
|
ignoreCase?: boolean
|
|
12448
12978
|
|
|
12449
12979
|
alphabet?: string
|
|
@@ -12452,25 +12982,50 @@ type PerfectionistSortNamedImports = []|[{
|
|
|
12452
12982
|
|
|
12453
12983
|
order?: ("asc" | "desc")
|
|
12454
12984
|
|
|
12985
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12986
|
+
|
|
12455
12987
|
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
12456
12988
|
|
|
12457
12989
|
ignoreAlias?: boolean
|
|
12458
12990
|
|
|
12459
|
-
partitionByComment?: (
|
|
12460
|
-
|
|
12461
|
-
|
|
12462
|
-
|
|
12991
|
+
partitionByComment?: (boolean | (({
|
|
12992
|
+
pattern?: string
|
|
12993
|
+
flags?: string
|
|
12994
|
+
} | string)[] | ({
|
|
12995
|
+
pattern?: string
|
|
12996
|
+
flags?: string
|
|
12997
|
+
} | string)) | {
|
|
12998
|
+
block?: (boolean | (({
|
|
12999
|
+
pattern?: string
|
|
13000
|
+
flags?: string
|
|
13001
|
+
} | string)[] | ({
|
|
13002
|
+
pattern?: string
|
|
13003
|
+
flags?: string
|
|
13004
|
+
} | string)))
|
|
13005
|
+
line?: (boolean | (({
|
|
13006
|
+
pattern?: string
|
|
13007
|
+
flags?: string
|
|
13008
|
+
} | string)[] | ({
|
|
13009
|
+
pattern?: string
|
|
13010
|
+
flags?: string
|
|
13011
|
+
} | string)))
|
|
12463
13012
|
})
|
|
12464
13013
|
|
|
12465
13014
|
partitionByNewLine?: boolean
|
|
12466
|
-
|
|
12467
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
12468
13015
|
}]
|
|
12469
13016
|
// ----- perfectionist/sort-object-types -----
|
|
12470
13017
|
type PerfectionistSortObjectTypes = {
|
|
12471
13018
|
|
|
12472
13019
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
12473
13020
|
|
|
13021
|
+
fallbackSort?: {
|
|
13022
|
+
|
|
13023
|
+
order?: ("asc" | "desc")
|
|
13024
|
+
|
|
13025
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13026
|
+
[k: string]: unknown | undefined
|
|
13027
|
+
}
|
|
13028
|
+
|
|
12474
13029
|
ignoreCase?: boolean
|
|
12475
13030
|
|
|
12476
13031
|
alphabet?: string
|
|
@@ -12479,11 +13034,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
12479
13034
|
|
|
12480
13035
|
order?: ("asc" | "desc")
|
|
12481
13036
|
|
|
12482
|
-
|
|
12483
|
-
useConfigurationIf?: {
|
|
12484
|
-
allNamesMatchPattern?: string
|
|
12485
|
-
declarationMatchesPattern?: string
|
|
12486
|
-
}
|
|
13037
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12487
13038
|
customGroups?: ({
|
|
12488
13039
|
[k: string]: (string | string[]) | undefined
|
|
12489
13040
|
} | ({
|
|
@@ -12501,7 +13052,13 @@ type PerfectionistSortObjectTypes = {
|
|
|
12501
13052
|
|
|
12502
13053
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
12503
13054
|
|
|
12504
|
-
elementNamePattern?:
|
|
13055
|
+
elementNamePattern?: (({
|
|
13056
|
+
pattern?: string
|
|
13057
|
+
flags?: string
|
|
13058
|
+
} | string)[] | ({
|
|
13059
|
+
pattern?: string
|
|
13060
|
+
flags?: string
|
|
13061
|
+
} | string))
|
|
12505
13062
|
}[]
|
|
12506
13063
|
} | {
|
|
12507
13064
|
|
|
@@ -12517,27 +13074,73 @@ type PerfectionistSortObjectTypes = {
|
|
|
12517
13074
|
|
|
12518
13075
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
12519
13076
|
|
|
12520
|
-
elementNamePattern?:
|
|
13077
|
+
elementNamePattern?: (({
|
|
13078
|
+
pattern?: string
|
|
13079
|
+
flags?: string
|
|
13080
|
+
} | string)[] | ({
|
|
13081
|
+
pattern?: string
|
|
13082
|
+
flags?: string
|
|
13083
|
+
} | string))
|
|
12521
13084
|
})[])
|
|
13085
|
+
useConfigurationIf?: {
|
|
13086
|
+
|
|
13087
|
+
allNamesMatchPattern?: (({
|
|
13088
|
+
pattern?: string
|
|
13089
|
+
flags?: string
|
|
13090
|
+
} | string)[] | ({
|
|
13091
|
+
pattern?: string
|
|
13092
|
+
flags?: string
|
|
13093
|
+
} | string))
|
|
13094
|
+
|
|
13095
|
+
declarationMatchesPattern?: (({
|
|
13096
|
+
pattern?: string
|
|
13097
|
+
flags?: string
|
|
13098
|
+
} | string)[] | ({
|
|
13099
|
+
pattern?: string
|
|
13100
|
+
flags?: string
|
|
13101
|
+
} | string))
|
|
13102
|
+
}
|
|
12522
13103
|
|
|
12523
13104
|
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
12524
13105
|
|
|
12525
|
-
|
|
12526
|
-
|
|
12527
|
-
|
|
12528
|
-
|
|
12529
|
-
|
|
12530
|
-
|
|
13106
|
+
partitionByComment?: (boolean | (({
|
|
13107
|
+
pattern?: string
|
|
13108
|
+
flags?: string
|
|
13109
|
+
} | string)[] | ({
|
|
13110
|
+
pattern?: string
|
|
13111
|
+
flags?: string
|
|
13112
|
+
} | string)) | {
|
|
13113
|
+
block?: (boolean | (({
|
|
13114
|
+
pattern?: string
|
|
13115
|
+
flags?: string
|
|
13116
|
+
} | string)[] | ({
|
|
13117
|
+
pattern?: string
|
|
13118
|
+
flags?: string
|
|
13119
|
+
} | string)))
|
|
13120
|
+
line?: (boolean | (({
|
|
13121
|
+
pattern?: string
|
|
13122
|
+
flags?: string
|
|
13123
|
+
} | string)[] | ({
|
|
13124
|
+
pattern?: string
|
|
13125
|
+
flags?: string
|
|
13126
|
+
} | string)))
|
|
12531
13127
|
})
|
|
12532
13128
|
|
|
12533
13129
|
partitionByNewLine?: boolean
|
|
12534
13130
|
|
|
12535
13131
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12536
13132
|
|
|
13133
|
+
ignorePattern?: (({
|
|
13134
|
+
pattern?: string
|
|
13135
|
+
flags?: string
|
|
13136
|
+
} | string)[] | ({
|
|
13137
|
+
pattern?: string
|
|
13138
|
+
flags?: string
|
|
13139
|
+
} | string))
|
|
13140
|
+
|
|
12537
13141
|
groups?: (string | string[] | {
|
|
12538
13142
|
|
|
12539
13143
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12540
|
-
[k: string]: unknown | undefined
|
|
12541
13144
|
})[]
|
|
12542
13145
|
}[]
|
|
12543
13146
|
// ----- perfectionist/sort-objects -----
|
|
@@ -12545,6 +13148,14 @@ type PerfectionistSortObjects = {
|
|
|
12545
13148
|
|
|
12546
13149
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
12547
13150
|
|
|
13151
|
+
fallbackSort?: {
|
|
13152
|
+
|
|
13153
|
+
order?: ("asc" | "desc")
|
|
13154
|
+
|
|
13155
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13156
|
+
[k: string]: unknown | undefined
|
|
13157
|
+
}
|
|
13158
|
+
|
|
12548
13159
|
ignoreCase?: boolean
|
|
12549
13160
|
|
|
12550
13161
|
alphabet?: string
|
|
@@ -12553,16 +13164,12 @@ type PerfectionistSortObjects = {
|
|
|
12553
13164
|
|
|
12554
13165
|
order?: ("asc" | "desc")
|
|
12555
13166
|
|
|
13167
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13168
|
+
|
|
12556
13169
|
destructuredObjects?: (boolean | {
|
|
12557
13170
|
|
|
12558
13171
|
groups?: boolean
|
|
12559
13172
|
})
|
|
12560
|
-
|
|
12561
|
-
ignorePattern?: string[]
|
|
12562
|
-
useConfigurationIf?: {
|
|
12563
|
-
allNamesMatchPattern?: string
|
|
12564
|
-
callingFunctionNamePattern?: string
|
|
12565
|
-
}
|
|
12566
13173
|
customGroups?: ({
|
|
12567
13174
|
[k: string]: (string | string[]) | undefined
|
|
12568
13175
|
} | ({
|
|
@@ -12580,9 +13187,21 @@ type PerfectionistSortObjects = {
|
|
|
12580
13187
|
|
|
12581
13188
|
selector?: ("member" | "method" | "multiline" | "property")
|
|
12582
13189
|
|
|
12583
|
-
elementValuePattern?:
|
|
13190
|
+
elementValuePattern?: (({
|
|
13191
|
+
pattern?: string
|
|
13192
|
+
flags?: string
|
|
13193
|
+
} | string)[] | ({
|
|
13194
|
+
pattern?: string
|
|
13195
|
+
flags?: string
|
|
13196
|
+
} | string))
|
|
12584
13197
|
|
|
12585
|
-
elementNamePattern?:
|
|
13198
|
+
elementNamePattern?: (({
|
|
13199
|
+
pattern?: string
|
|
13200
|
+
flags?: string
|
|
13201
|
+
} | string)[] | ({
|
|
13202
|
+
pattern?: string
|
|
13203
|
+
flags?: string
|
|
13204
|
+
} | string))
|
|
12586
13205
|
}[]
|
|
12587
13206
|
} | {
|
|
12588
13207
|
|
|
@@ -12598,10 +13217,40 @@ type PerfectionistSortObjects = {
|
|
|
12598
13217
|
|
|
12599
13218
|
selector?: ("member" | "method" | "multiline" | "property")
|
|
12600
13219
|
|
|
12601
|
-
elementValuePattern?:
|
|
13220
|
+
elementValuePattern?: (({
|
|
13221
|
+
pattern?: string
|
|
13222
|
+
flags?: string
|
|
13223
|
+
} | string)[] | ({
|
|
13224
|
+
pattern?: string
|
|
13225
|
+
flags?: string
|
|
13226
|
+
} | string))
|
|
12602
13227
|
|
|
12603
|
-
elementNamePattern?:
|
|
13228
|
+
elementNamePattern?: (({
|
|
13229
|
+
pattern?: string
|
|
13230
|
+
flags?: string
|
|
13231
|
+
} | string)[] | ({
|
|
13232
|
+
pattern?: string
|
|
13233
|
+
flags?: string
|
|
13234
|
+
} | string))
|
|
12604
13235
|
})[])
|
|
13236
|
+
useConfigurationIf?: {
|
|
13237
|
+
|
|
13238
|
+
allNamesMatchPattern?: (({
|
|
13239
|
+
pattern?: string
|
|
13240
|
+
flags?: string
|
|
13241
|
+
} | string)[] | ({
|
|
13242
|
+
pattern?: string
|
|
13243
|
+
flags?: string
|
|
13244
|
+
} | string))
|
|
13245
|
+
|
|
13246
|
+
callingFunctionNamePattern?: (({
|
|
13247
|
+
pattern?: string
|
|
13248
|
+
flags?: string
|
|
13249
|
+
} | string)[] | ({
|
|
13250
|
+
pattern?: string
|
|
13251
|
+
flags?: string
|
|
13252
|
+
} | string))
|
|
13253
|
+
}
|
|
12605
13254
|
|
|
12606
13255
|
destructureOnly?: boolean
|
|
12607
13256
|
|
|
@@ -12609,22 +13258,44 @@ type PerfectionistSortObjects = {
|
|
|
12609
13258
|
|
|
12610
13259
|
styledComponents?: boolean
|
|
12611
13260
|
|
|
12612
|
-
|
|
12613
|
-
|
|
12614
|
-
|
|
12615
|
-
|
|
12616
|
-
|
|
12617
|
-
|
|
13261
|
+
partitionByComment?: (boolean | (({
|
|
13262
|
+
pattern?: string
|
|
13263
|
+
flags?: string
|
|
13264
|
+
} | string)[] | ({
|
|
13265
|
+
pattern?: string
|
|
13266
|
+
flags?: string
|
|
13267
|
+
} | string)) | {
|
|
13268
|
+
block?: (boolean | (({
|
|
13269
|
+
pattern?: string
|
|
13270
|
+
flags?: string
|
|
13271
|
+
} | string)[] | ({
|
|
13272
|
+
pattern?: string
|
|
13273
|
+
flags?: string
|
|
13274
|
+
} | string)))
|
|
13275
|
+
line?: (boolean | (({
|
|
13276
|
+
pattern?: string
|
|
13277
|
+
flags?: string
|
|
13278
|
+
} | string)[] | ({
|
|
13279
|
+
pattern?: string
|
|
13280
|
+
flags?: string
|
|
13281
|
+
} | string)))
|
|
12618
13282
|
})
|
|
12619
13283
|
|
|
12620
13284
|
partitionByNewLine?: boolean
|
|
12621
13285
|
|
|
12622
13286
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12623
13287
|
|
|
13288
|
+
ignorePattern?: (({
|
|
13289
|
+
pattern?: string
|
|
13290
|
+
flags?: string
|
|
13291
|
+
} | string)[] | ({
|
|
13292
|
+
pattern?: string
|
|
13293
|
+
flags?: string
|
|
13294
|
+
} | string))
|
|
13295
|
+
|
|
12624
13296
|
groups?: (string | string[] | {
|
|
12625
13297
|
|
|
12626
13298
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12627
|
-
[k: string]: unknown | undefined
|
|
12628
13299
|
})[]
|
|
12629
13300
|
}[]
|
|
12630
13301
|
// ----- perfectionist/sort-sets -----
|
|
@@ -12632,6 +13303,14 @@ type PerfectionistSortSets = {
|
|
|
12632
13303
|
|
|
12633
13304
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
12634
13305
|
|
|
13306
|
+
fallbackSort?: {
|
|
13307
|
+
|
|
13308
|
+
order?: ("asc" | "desc")
|
|
13309
|
+
|
|
13310
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13311
|
+
[k: string]: unknown | undefined
|
|
13312
|
+
}
|
|
13313
|
+
|
|
12635
13314
|
ignoreCase?: boolean
|
|
12636
13315
|
|
|
12637
13316
|
alphabet?: string
|
|
@@ -12640,6 +13319,8 @@ type PerfectionistSortSets = {
|
|
|
12640
13319
|
|
|
12641
13320
|
order?: ("asc" | "desc")
|
|
12642
13321
|
|
|
13322
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13323
|
+
|
|
12643
13324
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
12644
13325
|
|
|
12645
13326
|
customGroups?: ({
|
|
@@ -12655,7 +13336,13 @@ type PerfectionistSortSets = {
|
|
|
12655
13336
|
|
|
12656
13337
|
selector?: ("literal" | "spread")
|
|
12657
13338
|
|
|
12658
|
-
elementNamePattern?:
|
|
13339
|
+
elementNamePattern?: (({
|
|
13340
|
+
pattern?: string
|
|
13341
|
+
flags?: string
|
|
13342
|
+
} | string)[] | ({
|
|
13343
|
+
pattern?: string
|
|
13344
|
+
flags?: string
|
|
13345
|
+
} | string))
|
|
12659
13346
|
}[]
|
|
12660
13347
|
} | {
|
|
12661
13348
|
|
|
@@ -12669,18 +13356,46 @@ type PerfectionistSortSets = {
|
|
|
12669
13356
|
|
|
12670
13357
|
selector?: ("literal" | "spread")
|
|
12671
13358
|
|
|
12672
|
-
elementNamePattern?:
|
|
13359
|
+
elementNamePattern?: (({
|
|
13360
|
+
pattern?: string
|
|
13361
|
+
flags?: string
|
|
13362
|
+
} | string)[] | ({
|
|
13363
|
+
pattern?: string
|
|
13364
|
+
flags?: string
|
|
13365
|
+
} | string))
|
|
12673
13366
|
})[]
|
|
12674
13367
|
useConfigurationIf?: {
|
|
12675
|
-
|
|
13368
|
+
|
|
13369
|
+
allNamesMatchPattern?: (({
|
|
13370
|
+
pattern?: string
|
|
13371
|
+
flags?: string
|
|
13372
|
+
} | string)[] | ({
|
|
13373
|
+
pattern?: string
|
|
13374
|
+
flags?: string
|
|
13375
|
+
} | string))
|
|
12676
13376
|
}
|
|
12677
13377
|
|
|
12678
|
-
|
|
12679
|
-
|
|
12680
|
-
|
|
12681
|
-
|
|
12682
|
-
|
|
12683
|
-
|
|
13378
|
+
partitionByComment?: (boolean | (({
|
|
13379
|
+
pattern?: string
|
|
13380
|
+
flags?: string
|
|
13381
|
+
} | string)[] | ({
|
|
13382
|
+
pattern?: string
|
|
13383
|
+
flags?: string
|
|
13384
|
+
} | string)) | {
|
|
13385
|
+
block?: (boolean | (({
|
|
13386
|
+
pattern?: string
|
|
13387
|
+
flags?: string
|
|
13388
|
+
} | string)[] | ({
|
|
13389
|
+
pattern?: string
|
|
13390
|
+
flags?: string
|
|
13391
|
+
} | string)))
|
|
13392
|
+
line?: (boolean | (({
|
|
13393
|
+
pattern?: string
|
|
13394
|
+
flags?: string
|
|
13395
|
+
} | string)[] | ({
|
|
13396
|
+
pattern?: string
|
|
13397
|
+
flags?: string
|
|
13398
|
+
} | string)))
|
|
12684
13399
|
})
|
|
12685
13400
|
|
|
12686
13401
|
partitionByNewLine?: boolean
|
|
@@ -12690,7 +13405,6 @@ type PerfectionistSortSets = {
|
|
|
12690
13405
|
groups?: (string | string[] | {
|
|
12691
13406
|
|
|
12692
13407
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12693
|
-
[k: string]: unknown | undefined
|
|
12694
13408
|
})[]
|
|
12695
13409
|
}[]
|
|
12696
13410
|
// ----- perfectionist/sort-switch-case -----
|
|
@@ -12698,6 +13412,14 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
12698
13412
|
|
|
12699
13413
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
12700
13414
|
|
|
13415
|
+
fallbackSort?: {
|
|
13416
|
+
|
|
13417
|
+
order?: ("asc" | "desc")
|
|
13418
|
+
|
|
13419
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13420
|
+
[k: string]: unknown | undefined
|
|
13421
|
+
}
|
|
13422
|
+
|
|
12701
13423
|
ignoreCase?: boolean
|
|
12702
13424
|
|
|
12703
13425
|
alphabet?: string
|
|
@@ -12706,13 +13428,21 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
12706
13428
|
|
|
12707
13429
|
order?: ("asc" | "desc")
|
|
12708
13430
|
|
|
12709
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
13431
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12710
13432
|
}]
|
|
12711
13433
|
// ----- perfectionist/sort-union-types -----
|
|
12712
13434
|
type PerfectionistSortUnionTypes = []|[{
|
|
12713
13435
|
|
|
12714
13436
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
12715
13437
|
|
|
13438
|
+
fallbackSort?: {
|
|
13439
|
+
|
|
13440
|
+
order?: ("asc" | "desc")
|
|
13441
|
+
|
|
13442
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13443
|
+
[k: string]: unknown | undefined
|
|
13444
|
+
}
|
|
13445
|
+
|
|
12716
13446
|
ignoreCase?: boolean
|
|
12717
13447
|
|
|
12718
13448
|
alphabet?: string
|
|
@@ -12721,22 +13451,38 @@ type PerfectionistSortUnionTypes = []|[{
|
|
|
12721
13451
|
|
|
12722
13452
|
order?: ("asc" | "desc")
|
|
12723
13453
|
|
|
12724
|
-
|
|
12725
|
-
|
|
12726
|
-
|
|
12727
|
-
|
|
13454
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13455
|
+
|
|
13456
|
+
partitionByComment?: (boolean | (({
|
|
13457
|
+
pattern?: string
|
|
13458
|
+
flags?: string
|
|
13459
|
+
} | string)[] | ({
|
|
13460
|
+
pattern?: string
|
|
13461
|
+
flags?: string
|
|
13462
|
+
} | string)) | {
|
|
13463
|
+
block?: (boolean | (({
|
|
13464
|
+
pattern?: string
|
|
13465
|
+
flags?: string
|
|
13466
|
+
} | string)[] | ({
|
|
13467
|
+
pattern?: string
|
|
13468
|
+
flags?: string
|
|
13469
|
+
} | string)))
|
|
13470
|
+
line?: (boolean | (({
|
|
13471
|
+
pattern?: string
|
|
13472
|
+
flags?: string
|
|
13473
|
+
} | string)[] | ({
|
|
13474
|
+
pattern?: string
|
|
13475
|
+
flags?: string
|
|
13476
|
+
} | string)))
|
|
12728
13477
|
})
|
|
12729
13478
|
|
|
12730
13479
|
partitionByNewLine?: boolean
|
|
12731
13480
|
|
|
12732
13481
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12733
13482
|
|
|
12734
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
12735
|
-
|
|
12736
13483
|
groups?: (string | string[] | {
|
|
12737
13484
|
|
|
12738
13485
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12739
|
-
[k: string]: unknown | undefined
|
|
12740
13486
|
})[]
|
|
12741
13487
|
}]
|
|
12742
13488
|
// ----- perfectionist/sort-variable-declarations -----
|
|
@@ -12744,6 +13490,14 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
12744
13490
|
|
|
12745
13491
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
12746
13492
|
|
|
13493
|
+
fallbackSort?: {
|
|
13494
|
+
|
|
13495
|
+
order?: ("asc" | "desc")
|
|
13496
|
+
|
|
13497
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13498
|
+
[k: string]: unknown | undefined
|
|
13499
|
+
}
|
|
13500
|
+
|
|
12747
13501
|
ignoreCase?: boolean
|
|
12748
13502
|
|
|
12749
13503
|
alphabet?: string
|
|
@@ -12752,15 +13506,32 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
12752
13506
|
|
|
12753
13507
|
order?: ("asc" | "desc")
|
|
12754
13508
|
|
|
12755
|
-
|
|
12756
|
-
|
|
12757
|
-
|
|
12758
|
-
|
|
13509
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
13510
|
+
|
|
13511
|
+
partitionByComment?: (boolean | (({
|
|
13512
|
+
pattern?: string
|
|
13513
|
+
flags?: string
|
|
13514
|
+
} | string)[] | ({
|
|
13515
|
+
pattern?: string
|
|
13516
|
+
flags?: string
|
|
13517
|
+
} | string)) | {
|
|
13518
|
+
block?: (boolean | (({
|
|
13519
|
+
pattern?: string
|
|
13520
|
+
flags?: string
|
|
13521
|
+
} | string)[] | ({
|
|
13522
|
+
pattern?: string
|
|
13523
|
+
flags?: string
|
|
13524
|
+
} | string)))
|
|
13525
|
+
line?: (boolean | (({
|
|
13526
|
+
pattern?: string
|
|
13527
|
+
flags?: string
|
|
13528
|
+
} | string)[] | ({
|
|
13529
|
+
pattern?: string
|
|
13530
|
+
flags?: string
|
|
13531
|
+
} | string)))
|
|
12759
13532
|
})
|
|
12760
13533
|
|
|
12761
13534
|
partitionByNewLine?: boolean
|
|
12762
|
-
|
|
12763
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
12764
13535
|
}]
|
|
12765
13536
|
// ----- prefer-arrow-callback -----
|
|
12766
13537
|
type PreferArrowCallback = []|[{
|
|
@@ -13099,7 +13870,7 @@ type SonarClassName = []|[{
|
|
|
13099
13870
|
format?: string
|
|
13100
13871
|
}]
|
|
13101
13872
|
// ----- sonar/cognitive-complexity -----
|
|
13102
|
-
type SonarCognitiveComplexity = []|[number]|[number
|
|
13873
|
+
type SonarCognitiveComplexity = []|[(number | string)]|[(number | string), string]
|
|
13103
13874
|
// ----- sonar/comment-regex -----
|
|
13104
13875
|
type SonarCommentRegex = []|[{
|
|
13105
13876
|
regularExpression?: string
|
|
@@ -14783,6 +15554,10 @@ type TestPreferSnapshotHint = []|[("always" | "multi")]
|
|
|
14783
15554
|
type TestRequireHook = []|[{
|
|
14784
15555
|
allowedFunctionCalls?: string[]
|
|
14785
15556
|
}]
|
|
15557
|
+
// ----- test/require-mock-type-parameters -----
|
|
15558
|
+
type TestRequireMockTypeParameters = []|[{
|
|
15559
|
+
checkImportFunctions?: boolean
|
|
15560
|
+
}]
|
|
14786
15561
|
// ----- test/require-top-level-describe -----
|
|
14787
15562
|
type TestRequireTopLevelDescribe = []|[{
|
|
14788
15563
|
maxNumberOfTopLevelDescribes?: number
|
|
@@ -15724,11 +16499,13 @@ type TsNoUnnecessaryBooleanLiteralCompare = []|[{
|
|
|
15724
16499
|
allowComparingNullableBooleansToFalse?: boolean
|
|
15725
16500
|
|
|
15726
16501
|
allowComparingNullableBooleansToTrue?: boolean
|
|
16502
|
+
|
|
16503
|
+
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
15727
16504
|
}]
|
|
15728
16505
|
// ----- ts/no-unnecessary-condition -----
|
|
15729
16506
|
type TsNoUnnecessaryCondition = []|[{
|
|
15730
16507
|
|
|
15731
|
-
allowConstantLoopConditions?: boolean
|
|
16508
|
+
allowConstantLoopConditions?: (boolean | ("always" | "never" | "only-allowed-literals"))
|
|
15732
16509
|
|
|
15733
16510
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
15734
16511
|
|
|
@@ -16365,7 +17142,6 @@ type VueArrayElementNewline = []|[(_VueArrayElementNewlineBasicConfig | {
|
|
|
16365
17142
|
ArrayPattern?: _VueArrayElementNewlineBasicConfig
|
|
16366
17143
|
})]
|
|
16367
17144
|
type _VueArrayElementNewlineBasicConfig = (("always" | "never" | "consistent") | {
|
|
16368
|
-
consistent?: boolean
|
|
16369
17145
|
multiline?: boolean
|
|
16370
17146
|
minItems?: (number | null)
|
|
16371
17147
|
})
|
|
@@ -16434,14 +17210,9 @@ type VueCommaDangle = []|[(_VueCommaDangleValue | {
|
|
|
16434
17210
|
imports?: _VueCommaDangleValueWithIgnore
|
|
16435
17211
|
exports?: _VueCommaDangleValueWithIgnore
|
|
16436
17212
|
functions?: _VueCommaDangleValueWithIgnore
|
|
16437
|
-
importAttributes?: _VueCommaDangleValueWithIgnore
|
|
16438
|
-
dynamicImports?: _VueCommaDangleValueWithIgnore
|
|
16439
|
-
enums?: _VueCommaDangleValueWithIgnore
|
|
16440
|
-
generics?: _VueCommaDangleValueWithIgnore
|
|
16441
|
-
tuples?: _VueCommaDangleValueWithIgnore
|
|
16442
17213
|
})]
|
|
16443
17214
|
type _VueCommaDangleValue = ("always-multiline" | "always" | "never" | "only-multiline")
|
|
16444
|
-
type _VueCommaDangleValueWithIgnore = ("always-multiline" | "always" | "
|
|
17215
|
+
type _VueCommaDangleValueWithIgnore = ("always-multiline" | "always" | "ignore" | "never" | "only-multiline")
|
|
16445
17216
|
// ----- vue/comma-spacing -----
|
|
16446
17217
|
type VueCommaSpacing = []|[{
|
|
16447
17218
|
before?: boolean
|
|
@@ -16512,10 +17283,6 @@ type VueFirstAttributeLinebreak = []|[{
|
|
|
16512
17283
|
// ----- vue/func-call-spacing -----
|
|
16513
17284
|
type VueFuncCallSpacing = ([]|["never"] | []|["always"]|["always", {
|
|
16514
17285
|
allowNewlines?: boolean
|
|
16515
|
-
optionalChain?: {
|
|
16516
|
-
before?: boolean
|
|
16517
|
-
after?: boolean
|
|
16518
|
-
}
|
|
16519
17286
|
}])
|
|
16520
17287
|
// ----- vue/html-button-has-type -----
|
|
16521
17288
|
type VueHtmlButtonHasType = []|[{
|
|
@@ -16597,7 +17364,6 @@ type VueKeySpacing = []|[({
|
|
|
16597
17364
|
mode?: ("strict" | "minimum")
|
|
16598
17365
|
beforeColon?: boolean
|
|
16599
17366
|
afterColon?: boolean
|
|
16600
|
-
ignoredNodes?: ("ObjectExpression" | "ObjectPattern" | "ImportDeclaration" | "ExportNamedDeclaration" | "ExportAllDeclaration" | "TSTypeLiteral" | "TSInterfaceBody" | "ClassBody")[]
|
|
16601
17367
|
} | {
|
|
16602
17368
|
singleLine?: {
|
|
16603
17369
|
mode?: ("strict" | "minimum")
|
|
@@ -16834,10 +17600,6 @@ type VueKeywordSpacing = []|[{
|
|
|
16834
17600
|
before?: boolean
|
|
16835
17601
|
after?: boolean
|
|
16836
17602
|
}
|
|
16837
|
-
satisfies?: {
|
|
16838
|
-
before?: boolean
|
|
16839
|
-
after?: boolean
|
|
16840
|
-
}
|
|
16841
17603
|
set?: {
|
|
16842
17604
|
before?: boolean
|
|
16843
17605
|
after?: boolean
|
|
@@ -16914,10 +17676,6 @@ type VueKeywordSpacing = []|[{
|
|
|
16914
17676
|
before?: boolean
|
|
16915
17677
|
after?: boolean
|
|
16916
17678
|
}
|
|
16917
|
-
type?: {
|
|
16918
|
-
before?: boolean
|
|
16919
|
-
after?: boolean
|
|
16920
|
-
}
|
|
16921
17679
|
}
|
|
16922
17680
|
}]
|
|
16923
17681
|
// ----- vue/match-component-file-name -----
|
|
@@ -17046,10 +17804,7 @@ type VueMultilineHtmlElementContentNewline = []|[{
|
|
|
17046
17804
|
allowEmptyLines?: boolean
|
|
17047
17805
|
}]
|
|
17048
17806
|
// ----- vue/multiline-ternary -----
|
|
17049
|
-
type VueMultilineTernary = []|[("always" | "always-multiline" | "never")]
|
|
17050
|
-
ignoreJSX?: boolean
|
|
17051
|
-
[k: string]: unknown | undefined
|
|
17052
|
-
}]
|
|
17807
|
+
type VueMultilineTernary = []|[("always" | "always-multiline" | "never")]
|
|
17053
17808
|
// ----- vue/mustache-interpolation-spacing -----
|
|
17054
17809
|
type VueMustacheInterpolationSpacing = []|[("always" | "never")]
|
|
17055
17810
|
// ----- vue/new-line-between-multi-line-property -----
|
|
@@ -17124,7 +17879,6 @@ type VueNoExtraParens = ([]|["functions"] | []|["all"]|["all", {
|
|
|
17124
17879
|
enforceForNewInMemberExpressions?: boolean
|
|
17125
17880
|
enforceForFunctionPrototypeMethods?: boolean
|
|
17126
17881
|
allowParensAfterCommentPattern?: string
|
|
17127
|
-
nestedConditionalExpressions?: boolean
|
|
17128
17882
|
}])
|
|
17129
17883
|
// ----- vue/no-irregular-whitespace -----
|
|
17130
17884
|
type VueNoIrregularWhitespace = []|[{
|
|
@@ -17367,16 +18121,6 @@ type VueObjectCurlyNewline = []|[((("always" | "never") | {
|
|
|
17367
18121
|
minProperties?: number
|
|
17368
18122
|
consistent?: boolean
|
|
17369
18123
|
})
|
|
17370
|
-
TSTypeLiteral?: (("always" | "never") | {
|
|
17371
|
-
multiline?: boolean
|
|
17372
|
-
minProperties?: number
|
|
17373
|
-
consistent?: boolean
|
|
17374
|
-
})
|
|
17375
|
-
TSInterfaceBody?: (("always" | "never") | {
|
|
17376
|
-
multiline?: boolean
|
|
17377
|
-
minProperties?: number
|
|
17378
|
-
consistent?: boolean
|
|
17379
|
-
})
|
|
17380
18124
|
})]
|
|
17381
18125
|
// ----- vue/object-curly-spacing -----
|
|
17382
18126
|
type VueObjectCurlySpacing = []|[("always" | "never")]|[("always" | "never"), {
|
|
@@ -17398,7 +18142,7 @@ type VueObjectShorthand = ([]|[("always" | "methods" | "properties" | "never" |
|
|
|
17398
18142
|
avoidExplicitReturnArrows?: boolean
|
|
17399
18143
|
}])
|
|
17400
18144
|
// ----- vue/operator-linebreak -----
|
|
17401
|
-
type VueOperatorLinebreak = []|[(
|
|
18145
|
+
type VueOperatorLinebreak = []|[("after" | "before" | "none" | null)]|[("after" | "before" | "none" | null), {
|
|
17402
18146
|
overrides?: {
|
|
17403
18147
|
[k: string]: ("after" | "before" | "none" | "ignore") | undefined
|
|
17404
18148
|
}
|