@lincy/eslint-config 5.4.0 → 5.4.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.cjs +16 -7
- package/dist/index.d.cts +356 -237
- package/dist/index.d.ts +356 -237
- package/dist/index.js +16 -7
- package/package.json +18 -18
package/dist/index.d.ts
CHANGED
|
@@ -4582,7 +4582,7 @@ interface RuleOptions {
|
|
|
4582
4582
|
* Disallow using code marked as `@deprecated`
|
|
4583
4583
|
* @see https://typescript-eslint.io/rules/no-deprecated
|
|
4584
4584
|
*/
|
|
4585
|
-
'ts/no-deprecated'?: Linter.RuleEntry<
|
|
4585
|
+
'ts/no-deprecated'?: Linter.RuleEntry<TsNoDeprecated>
|
|
4586
4586
|
/**
|
|
4587
4587
|
* Disallow duplicate class members
|
|
4588
4588
|
* @see https://typescript-eslint.io/rules/no-dupe-class-members
|
|
@@ -4700,6 +4700,11 @@ interface RuleOptions {
|
|
|
4700
4700
|
* @see https://typescript-eslint.io/rules/no-misused-promises
|
|
4701
4701
|
*/
|
|
4702
4702
|
'ts/no-misused-promises'?: Linter.RuleEntry<TsNoMisusedPromises>
|
|
4703
|
+
/**
|
|
4704
|
+
* Disallow using the spread operator when it might cause unexpected behavior
|
|
4705
|
+
* @see https://typescript-eslint.io/rules/no-misused-spread
|
|
4706
|
+
*/
|
|
4707
|
+
'ts/no-misused-spread'?: Linter.RuleEntry<TsNoMisusedSpread>
|
|
4703
4708
|
/**
|
|
4704
4709
|
* Disallow enums from having both number and string members
|
|
4705
4710
|
* @see https://typescript-eslint.io/rules/no-mixed-enums
|
|
@@ -9809,11 +9814,15 @@ type PaddingLineBetweenStatements = {
|
|
|
9809
9814
|
// ----- perfectionist/sort-array-includes -----
|
|
9810
9815
|
type PerfectionistSortArrayIncludes = {
|
|
9811
9816
|
|
|
9812
|
-
|
|
9813
|
-
|
|
9814
|
-
|
|
9815
|
-
|
|
9816
|
-
|
|
9817
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9818
|
+
|
|
9819
|
+
ignoreCase?: boolean
|
|
9820
|
+
|
|
9821
|
+
alphabet?: string
|
|
9822
|
+
|
|
9823
|
+
locales?: (string | string[])
|
|
9824
|
+
|
|
9825
|
+
order?: ("asc" | "desc")
|
|
9817
9826
|
|
|
9818
9827
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
9819
9828
|
|
|
@@ -9852,34 +9861,36 @@ type PerfectionistSortArrayIncludes = {
|
|
|
9852
9861
|
|
|
9853
9862
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9854
9863
|
|
|
9855
|
-
|
|
9856
|
-
|
|
9857
|
-
|
|
9858
|
-
|
|
9859
|
-
|
|
9864
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
9865
|
+
block?: (string[] | boolean | string)
|
|
9866
|
+
line?: (string[] | boolean | string)
|
|
9867
|
+
[k: string]: unknown | undefined
|
|
9868
|
+
})
|
|
9860
9869
|
|
|
9861
|
-
|
|
9870
|
+
partitionByNewLine?: boolean
|
|
9862
9871
|
|
|
9863
|
-
|
|
9872
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9864
9873
|
|
|
9865
9874
|
groups?: (string | string[] | {
|
|
9866
9875
|
|
|
9867
9876
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9868
9877
|
[k: string]: unknown | undefined
|
|
9869
9878
|
})[]
|
|
9870
|
-
|
|
9871
|
-
order?: ("asc" | "desc")
|
|
9872
9879
|
}[]
|
|
9873
9880
|
// ----- perfectionist/sort-classes -----
|
|
9874
9881
|
type PerfectionistSortClasses = []|[{
|
|
9875
9882
|
|
|
9876
|
-
|
|
9883
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9877
9884
|
|
|
9878
|
-
|
|
9879
|
-
|
|
9880
|
-
|
|
9881
|
-
|
|
9882
|
-
|
|
9885
|
+
ignoreCase?: boolean
|
|
9886
|
+
|
|
9887
|
+
alphabet?: string
|
|
9888
|
+
|
|
9889
|
+
locales?: (string | string[])
|
|
9890
|
+
|
|
9891
|
+
order?: ("asc" | "desc")
|
|
9892
|
+
|
|
9893
|
+
ignoreCallbackDependenciesPatterns?: string[]
|
|
9883
9894
|
|
|
9884
9895
|
customGroups?: ({
|
|
9885
9896
|
|
|
@@ -9892,14 +9903,14 @@ type PerfectionistSortClasses = []|[{
|
|
|
9892
9903
|
newlinesInside?: ("always" | "never")
|
|
9893
9904
|
anyOf?: {
|
|
9894
9905
|
|
|
9895
|
-
elementValuePattern?: string
|
|
9896
|
-
|
|
9897
9906
|
decoratorNamePattern?: string
|
|
9898
9907
|
|
|
9899
9908
|
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
9900
9909
|
|
|
9901
9910
|
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
9902
9911
|
|
|
9912
|
+
elementValuePattern?: string
|
|
9913
|
+
|
|
9903
9914
|
elementNamePattern?: string
|
|
9904
9915
|
}[]
|
|
9905
9916
|
} | {
|
|
@@ -9912,47 +9923,47 @@ type PerfectionistSortClasses = []|[{
|
|
|
9912
9923
|
|
|
9913
9924
|
newlinesInside?: ("always" | "never")
|
|
9914
9925
|
|
|
9915
|
-
elementValuePattern?: string
|
|
9916
|
-
|
|
9917
9926
|
decoratorNamePattern?: string
|
|
9918
9927
|
|
|
9919
9928
|
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
9920
9929
|
|
|
9921
9930
|
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
9922
9931
|
|
|
9932
|
+
elementValuePattern?: string
|
|
9933
|
+
|
|
9923
9934
|
elementNamePattern?: string
|
|
9924
9935
|
})[]
|
|
9925
9936
|
|
|
9926
|
-
|
|
9937
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
9938
|
+
block?: (string[] | boolean | string)
|
|
9939
|
+
line?: (string[] | boolean | string)
|
|
9940
|
+
[k: string]: unknown | undefined
|
|
9941
|
+
})
|
|
9927
9942
|
|
|
9928
|
-
|
|
9943
|
+
partitionByNewLine?: boolean
|
|
9929
9944
|
|
|
9930
9945
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9931
9946
|
|
|
9932
|
-
ignoreCase?: boolean
|
|
9933
|
-
|
|
9934
|
-
alphabet?: string
|
|
9935
|
-
|
|
9936
9947
|
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
9937
9948
|
|
|
9938
|
-
locales?: (string | string[])
|
|
9939
|
-
|
|
9940
9949
|
groups?: (string | string[] | {
|
|
9941
9950
|
|
|
9942
9951
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9943
9952
|
[k: string]: unknown | undefined
|
|
9944
9953
|
})[]
|
|
9945
|
-
|
|
9946
|
-
order?: ("asc" | "desc")
|
|
9947
9954
|
}]
|
|
9948
9955
|
// ----- perfectionist/sort-decorators -----
|
|
9949
9956
|
type PerfectionistSortDecorators = []|[{
|
|
9950
9957
|
|
|
9951
|
-
|
|
9952
|
-
|
|
9953
|
-
|
|
9954
|
-
|
|
9955
|
-
|
|
9958
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
9959
|
+
|
|
9960
|
+
ignoreCase?: boolean
|
|
9961
|
+
|
|
9962
|
+
alphabet?: string
|
|
9963
|
+
|
|
9964
|
+
locales?: (string | string[])
|
|
9965
|
+
|
|
9966
|
+
order?: ("asc" | "desc")
|
|
9956
9967
|
|
|
9957
9968
|
sortOnParameters?: boolean
|
|
9958
9969
|
|
|
@@ -9964,57 +9975,65 @@ type PerfectionistSortDecorators = []|[{
|
|
|
9964
9975
|
|
|
9965
9976
|
sortOnClasses?: boolean
|
|
9966
9977
|
|
|
9967
|
-
|
|
9978
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
9979
|
+
block?: (string[] | boolean | string)
|
|
9980
|
+
line?: (string[] | boolean | string)
|
|
9981
|
+
[k: string]: unknown | undefined
|
|
9982
|
+
})
|
|
9968
9983
|
|
|
9969
9984
|
customGroups?: {
|
|
9970
9985
|
[k: string]: (string | string[]) | undefined
|
|
9971
9986
|
}
|
|
9972
9987
|
|
|
9973
|
-
ignoreCase?: boolean
|
|
9974
|
-
|
|
9975
|
-
alphabet?: string
|
|
9976
|
-
|
|
9977
9988
|
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
9978
9989
|
|
|
9979
|
-
locales?: (string | string[])
|
|
9980
|
-
|
|
9981
9990
|
groups?: (string | string[] | {
|
|
9982
9991
|
|
|
9983
9992
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9984
9993
|
[k: string]: unknown | undefined
|
|
9985
9994
|
})[]
|
|
9986
|
-
|
|
9987
|
-
order?: ("asc" | "desc")
|
|
9988
9995
|
}]
|
|
9989
9996
|
// ----- perfectionist/sort-enums -----
|
|
9990
9997
|
type PerfectionistSortEnums = []|[{
|
|
9991
9998
|
|
|
9999
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10000
|
+
|
|
10001
|
+
ignoreCase?: boolean
|
|
10002
|
+
|
|
10003
|
+
alphabet?: string
|
|
10004
|
+
|
|
10005
|
+
locales?: (string | string[])
|
|
10006
|
+
|
|
10007
|
+
order?: ("asc" | "desc")
|
|
10008
|
+
|
|
10009
|
+
forceNumericSort?: boolean
|
|
10010
|
+
|
|
10011
|
+
sortByValue?: boolean
|
|
10012
|
+
|
|
9992
10013
|
partitionByComment?: (string[] | boolean | string | {
|
|
9993
10014
|
block?: (string[] | boolean | string)
|
|
9994
10015
|
line?: (string[] | boolean | string)
|
|
9995
10016
|
[k: string]: unknown | undefined
|
|
9996
10017
|
})
|
|
9997
10018
|
|
|
9998
|
-
forceNumericSort?: boolean
|
|
9999
|
-
|
|
10000
|
-
sortByValue?: boolean
|
|
10001
|
-
|
|
10002
10019
|
partitionByNewLine?: boolean
|
|
10003
10020
|
|
|
10021
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10022
|
+
}]
|
|
10023
|
+
// ----- perfectionist/sort-exports -----
|
|
10024
|
+
type PerfectionistSortExports = []|[{
|
|
10025
|
+
|
|
10004
10026
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10005
10027
|
|
|
10006
10028
|
ignoreCase?: boolean
|
|
10007
10029
|
|
|
10008
10030
|
alphabet?: string
|
|
10009
10031
|
|
|
10010
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10011
|
-
|
|
10012
10032
|
locales?: (string | string[])
|
|
10013
10033
|
|
|
10014
10034
|
order?: ("asc" | "desc")
|
|
10015
|
-
|
|
10016
|
-
|
|
10017
|
-
type PerfectionistSortExports = []|[{
|
|
10035
|
+
|
|
10036
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
10018
10037
|
|
|
10019
10038
|
partitionByComment?: (string[] | boolean | string | {
|
|
10020
10039
|
block?: (string[] | boolean | string)
|
|
@@ -10022,51 +10041,49 @@ type PerfectionistSortExports = []|[{
|
|
|
10022
10041
|
[k: string]: unknown | undefined
|
|
10023
10042
|
})
|
|
10024
10043
|
|
|
10025
|
-
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
10026
|
-
|
|
10027
10044
|
partitionByNewLine?: boolean
|
|
10028
10045
|
|
|
10046
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10047
|
+
}]
|
|
10048
|
+
// ----- perfectionist/sort-heritage-clauses -----
|
|
10049
|
+
type PerfectionistSortHeritageClauses = []|[{
|
|
10050
|
+
|
|
10029
10051
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10030
10052
|
|
|
10031
10053
|
ignoreCase?: boolean
|
|
10032
10054
|
|
|
10033
10055
|
alphabet?: string
|
|
10034
10056
|
|
|
10035
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10036
|
-
|
|
10037
10057
|
locales?: (string | string[])
|
|
10038
10058
|
|
|
10039
10059
|
order?: ("asc" | "desc")
|
|
10040
|
-
}]
|
|
10041
|
-
// ----- perfectionist/sort-heritage-clauses -----
|
|
10042
|
-
type PerfectionistSortHeritageClauses = []|[{
|
|
10043
|
-
|
|
10044
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10045
10060
|
|
|
10046
10061
|
customGroups?: {
|
|
10047
10062
|
[k: string]: (string | string[]) | undefined
|
|
10048
10063
|
}
|
|
10049
10064
|
|
|
10050
|
-
ignoreCase?: boolean
|
|
10051
|
-
|
|
10052
|
-
alphabet?: string
|
|
10053
|
-
|
|
10054
10065
|
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10055
10066
|
|
|
10056
|
-
locales?: (string | string[])
|
|
10057
|
-
|
|
10058
10067
|
groups?: (string | string[] | {
|
|
10059
10068
|
|
|
10060
10069
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10061
10070
|
[k: string]: unknown | undefined
|
|
10062
10071
|
})[]
|
|
10063
|
-
|
|
10064
|
-
order?: ("asc" | "desc")
|
|
10065
10072
|
}]
|
|
10066
10073
|
// ----- perfectionist/sort-imports -----
|
|
10067
10074
|
type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
|
|
10068
10075
|
type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
10069
10076
|
|
|
10077
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10078
|
+
|
|
10079
|
+
ignoreCase?: boolean
|
|
10080
|
+
|
|
10081
|
+
alphabet?: string
|
|
10082
|
+
|
|
10083
|
+
locales?: (string | string[])
|
|
10084
|
+
|
|
10085
|
+
order?: ("asc" | "desc")
|
|
10086
|
+
|
|
10070
10087
|
customGroups?: {
|
|
10071
10088
|
|
|
10072
10089
|
value?: {
|
|
@@ -10078,12 +10095,6 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
10078
10095
|
}
|
|
10079
10096
|
}
|
|
10080
10097
|
|
|
10081
|
-
partitionByComment?: (string[] | boolean | string | {
|
|
10082
|
-
block?: (string[] | boolean | string)
|
|
10083
|
-
line?: (string[] | boolean | string)
|
|
10084
|
-
[k: string]: unknown | undefined
|
|
10085
|
-
})
|
|
10086
|
-
|
|
10087
10098
|
internalPattern?: string[]
|
|
10088
10099
|
|
|
10089
10100
|
maxLineLength?: number
|
|
@@ -10094,27 +10105,23 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
10094
10105
|
|
|
10095
10106
|
tsconfigRootDir?: string
|
|
10096
10107
|
|
|
10097
|
-
|
|
10108
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
10109
|
+
block?: (string[] | boolean | string)
|
|
10110
|
+
line?: (string[] | boolean | string)
|
|
10111
|
+
[k: string]: unknown | undefined
|
|
10112
|
+
})
|
|
10098
10113
|
|
|
10099
|
-
|
|
10114
|
+
partitionByNewLine?: boolean
|
|
10100
10115
|
|
|
10101
10116
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10102
10117
|
|
|
10103
|
-
ignoreCase?: boolean
|
|
10104
|
-
|
|
10105
|
-
alphabet?: string
|
|
10106
|
-
|
|
10107
10118
|
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10108
10119
|
|
|
10109
|
-
locales?: (string | string[])
|
|
10110
|
-
|
|
10111
10120
|
groups?: (string | string[] | {
|
|
10112
10121
|
|
|
10113
10122
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10114
10123
|
[k: string]: unknown | undefined
|
|
10115
10124
|
})[]
|
|
10116
|
-
|
|
10117
|
-
order?: ("asc" | "desc")
|
|
10118
10125
|
})
|
|
10119
10126
|
type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
|
|
10120
10127
|
[k: string]: unknown | undefined
|
|
@@ -10126,17 +10133,21 @@ interface _PerfectionistSortImports_IsLineLength {
|
|
|
10126
10133
|
// ----- perfectionist/sort-interfaces -----
|
|
10127
10134
|
type PerfectionistSortInterfaces = {
|
|
10128
10135
|
|
|
10136
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10137
|
+
|
|
10138
|
+
ignoreCase?: boolean
|
|
10139
|
+
|
|
10140
|
+
alphabet?: string
|
|
10141
|
+
|
|
10142
|
+
locales?: (string | string[])
|
|
10143
|
+
|
|
10144
|
+
order?: ("asc" | "desc")
|
|
10145
|
+
|
|
10129
10146
|
ignorePattern?: string[]
|
|
10130
10147
|
useConfigurationIf?: {
|
|
10131
10148
|
allNamesMatchPattern?: string
|
|
10132
10149
|
declarationMatchesPattern?: string
|
|
10133
10150
|
}
|
|
10134
|
-
|
|
10135
|
-
partitionByComment?: (string[] | boolean | string | {
|
|
10136
|
-
block?: (string[] | boolean | string)
|
|
10137
|
-
line?: (string[] | boolean | string)
|
|
10138
|
-
[k: string]: unknown | undefined
|
|
10139
|
-
})
|
|
10140
10151
|
customGroups?: ({
|
|
10141
10152
|
[k: string]: (string | string[]) | undefined
|
|
10142
10153
|
} | ({
|
|
@@ -10177,29 +10188,35 @@ type PerfectionistSortInterfaces = {
|
|
|
10177
10188
|
|
|
10178
10189
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10179
10190
|
|
|
10180
|
-
|
|
10191
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
10192
|
+
block?: (string[] | boolean | string)
|
|
10193
|
+
line?: (string[] | boolean | string)
|
|
10194
|
+
[k: string]: unknown | undefined
|
|
10195
|
+
})
|
|
10181
10196
|
|
|
10182
|
-
|
|
10197
|
+
partitionByNewLine?: boolean
|
|
10183
10198
|
|
|
10184
10199
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10185
10200
|
|
|
10186
|
-
ignoreCase?: boolean
|
|
10187
|
-
|
|
10188
|
-
alphabet?: string
|
|
10189
|
-
|
|
10190
|
-
locales?: (string | string[])
|
|
10191
|
-
|
|
10192
10201
|
groups?: (string | string[] | {
|
|
10193
10202
|
|
|
10194
10203
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10195
10204
|
[k: string]: unknown | undefined
|
|
10196
10205
|
})[]
|
|
10197
|
-
|
|
10198
|
-
order?: ("asc" | "desc")
|
|
10199
10206
|
}[]
|
|
10200
10207
|
// ----- perfectionist/sort-intersection-types -----
|
|
10201
10208
|
type PerfectionistSortIntersectionTypes = []|[{
|
|
10202
10209
|
|
|
10210
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10211
|
+
|
|
10212
|
+
ignoreCase?: boolean
|
|
10213
|
+
|
|
10214
|
+
alphabet?: string
|
|
10215
|
+
|
|
10216
|
+
locales?: (string | string[])
|
|
10217
|
+
|
|
10218
|
+
order?: ("asc" | "desc")
|
|
10219
|
+
|
|
10203
10220
|
partitionByComment?: (string[] | boolean | string | {
|
|
10204
10221
|
block?: (string[] | boolean | string)
|
|
10205
10222
|
line?: (string[] | boolean | string)
|
|
@@ -10208,55 +10225,88 @@ type PerfectionistSortIntersectionTypes = []|[{
|
|
|
10208
10225
|
|
|
10209
10226
|
partitionByNewLine?: boolean
|
|
10210
10227
|
|
|
10211
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10212
|
-
|
|
10213
10228
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10214
10229
|
|
|
10215
|
-
ignoreCase?: boolean
|
|
10216
|
-
|
|
10217
|
-
alphabet?: string
|
|
10218
|
-
|
|
10219
10230
|
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10220
10231
|
|
|
10221
|
-
locales?: (string | string[])
|
|
10222
|
-
|
|
10223
10232
|
groups?: (string | string[] | {
|
|
10224
10233
|
|
|
10225
10234
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10226
10235
|
[k: string]: unknown | undefined
|
|
10227
10236
|
})[]
|
|
10228
|
-
|
|
10229
|
-
order?: ("asc" | "desc")
|
|
10230
10237
|
}]
|
|
10231
10238
|
// ----- perfectionist/sort-jsx-props -----
|
|
10232
10239
|
type PerfectionistSortJsxProps = []|[{
|
|
10233
10240
|
|
|
10241
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10242
|
+
|
|
10243
|
+
ignoreCase?: boolean
|
|
10244
|
+
|
|
10245
|
+
alphabet?: string
|
|
10246
|
+
|
|
10247
|
+
locales?: (string | string[])
|
|
10248
|
+
|
|
10249
|
+
order?: ("asc" | "desc")
|
|
10250
|
+
|
|
10234
10251
|
ignorePattern?: string[]
|
|
10235
10252
|
|
|
10236
|
-
|
|
10253
|
+
partitionByNewLine?: boolean
|
|
10254
|
+
|
|
10255
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10237
10256
|
|
|
10238
10257
|
customGroups?: {
|
|
10239
10258
|
[k: string]: (string | string[]) | undefined
|
|
10240
10259
|
}
|
|
10241
10260
|
|
|
10242
|
-
ignoreCase?: boolean
|
|
10243
|
-
|
|
10244
|
-
alphabet?: string
|
|
10245
|
-
|
|
10246
10261
|
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10247
10262
|
|
|
10248
|
-
locales?: (string | string[])
|
|
10249
|
-
|
|
10250
10263
|
groups?: (string | string[] | {
|
|
10251
10264
|
|
|
10252
10265
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10253
10266
|
[k: string]: unknown | undefined
|
|
10254
10267
|
})[]
|
|
10255
|
-
|
|
10256
|
-
order?: ("asc" | "desc")
|
|
10257
10268
|
}]
|
|
10258
10269
|
// ----- perfectionist/sort-maps -----
|
|
10259
|
-
type PerfectionistSortMaps =
|
|
10270
|
+
type PerfectionistSortMaps = {
|
|
10271
|
+
|
|
10272
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10273
|
+
|
|
10274
|
+
ignoreCase?: boolean
|
|
10275
|
+
|
|
10276
|
+
alphabet?: string
|
|
10277
|
+
|
|
10278
|
+
locales?: (string | string[])
|
|
10279
|
+
|
|
10280
|
+
order?: ("asc" | "desc")
|
|
10281
|
+
|
|
10282
|
+
customGroups?: ({
|
|
10283
|
+
|
|
10284
|
+
groupName?: string
|
|
10285
|
+
|
|
10286
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
10287
|
+
|
|
10288
|
+
order?: ("desc" | "asc")
|
|
10289
|
+
|
|
10290
|
+
newlinesInside?: ("always" | "never")
|
|
10291
|
+
anyOf?: {
|
|
10292
|
+
|
|
10293
|
+
elementNamePattern?: string
|
|
10294
|
+
}[]
|
|
10295
|
+
} | {
|
|
10296
|
+
|
|
10297
|
+
groupName?: string
|
|
10298
|
+
|
|
10299
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
10300
|
+
|
|
10301
|
+
order?: ("desc" | "asc")
|
|
10302
|
+
|
|
10303
|
+
newlinesInside?: ("always" | "never")
|
|
10304
|
+
|
|
10305
|
+
elementNamePattern?: string
|
|
10306
|
+
})[]
|
|
10307
|
+
useConfigurationIf?: {
|
|
10308
|
+
allNamesMatchPattern?: string
|
|
10309
|
+
}
|
|
10260
10310
|
|
|
10261
10311
|
partitionByComment?: (string[] | boolean | string | {
|
|
10262
10312
|
block?: (string[] | boolean | string)
|
|
@@ -10266,26 +10316,28 @@ type PerfectionistSortMaps = []|[{
|
|
|
10266
10316
|
|
|
10267
10317
|
partitionByNewLine?: boolean
|
|
10268
10318
|
|
|
10319
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10320
|
+
|
|
10321
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10322
|
+
|
|
10323
|
+
groups?: (string | string[] | {
|
|
10324
|
+
|
|
10325
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10326
|
+
[k: string]: unknown | undefined
|
|
10327
|
+
})[]
|
|
10328
|
+
}[]
|
|
10329
|
+
// ----- perfectionist/sort-modules -----
|
|
10330
|
+
type PerfectionistSortModules = []|[{
|
|
10331
|
+
|
|
10269
10332
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10270
10333
|
|
|
10271
10334
|
ignoreCase?: boolean
|
|
10272
10335
|
|
|
10273
10336
|
alphabet?: string
|
|
10274
10337
|
|
|
10275
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10276
|
-
|
|
10277
10338
|
locales?: (string | string[])
|
|
10278
10339
|
|
|
10279
10340
|
order?: ("asc" | "desc")
|
|
10280
|
-
}]
|
|
10281
|
-
// ----- perfectionist/sort-modules -----
|
|
10282
|
-
type PerfectionistSortModules = []|[{
|
|
10283
|
-
|
|
10284
|
-
partitionByComment?: (string[] | boolean | string | {
|
|
10285
|
-
block?: (string[] | boolean | string)
|
|
10286
|
-
line?: (string[] | boolean | string)
|
|
10287
|
-
[k: string]: unknown | undefined
|
|
10288
|
-
})
|
|
10289
10341
|
|
|
10290
10342
|
customGroups?: ({
|
|
10291
10343
|
|
|
@@ -10325,55 +10377,65 @@ type PerfectionistSortModules = []|[{
|
|
|
10325
10377
|
elementNamePattern?: string
|
|
10326
10378
|
})[]
|
|
10327
10379
|
|
|
10328
|
-
|
|
10380
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
10381
|
+
block?: (string[] | boolean | string)
|
|
10382
|
+
line?: (string[] | boolean | string)
|
|
10383
|
+
[k: string]: unknown | undefined
|
|
10384
|
+
})
|
|
10329
10385
|
|
|
10330
|
-
|
|
10386
|
+
partitionByNewLine?: boolean
|
|
10331
10387
|
|
|
10332
10388
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10333
10389
|
|
|
10334
|
-
ignoreCase?: boolean
|
|
10335
|
-
|
|
10336
|
-
alphabet?: string
|
|
10337
|
-
|
|
10338
10390
|
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10339
10391
|
|
|
10340
|
-
locales?: (string | string[])
|
|
10341
|
-
|
|
10342
10392
|
groups?: (string | string[] | {
|
|
10343
10393
|
|
|
10344
10394
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10345
10395
|
[k: string]: unknown | undefined
|
|
10346
10396
|
})[]
|
|
10347
|
-
|
|
10348
|
-
order?: ("asc" | "desc")
|
|
10349
10397
|
}]
|
|
10350
10398
|
// ----- perfectionist/sort-named-exports -----
|
|
10351
10399
|
type PerfectionistSortNamedExports = []|[{
|
|
10352
10400
|
|
|
10401
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10402
|
+
|
|
10403
|
+
ignoreCase?: boolean
|
|
10404
|
+
|
|
10405
|
+
alphabet?: string
|
|
10406
|
+
|
|
10407
|
+
locales?: (string | string[])
|
|
10408
|
+
|
|
10409
|
+
order?: ("asc" | "desc")
|
|
10410
|
+
|
|
10411
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
10412
|
+
|
|
10353
10413
|
partitionByComment?: (string[] | boolean | string | {
|
|
10354
10414
|
block?: (string[] | boolean | string)
|
|
10355
10415
|
line?: (string[] | boolean | string)
|
|
10356
10416
|
[k: string]: unknown | undefined
|
|
10357
10417
|
})
|
|
10358
10418
|
|
|
10359
|
-
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
10360
|
-
|
|
10361
10419
|
partitionByNewLine?: boolean
|
|
10362
10420
|
|
|
10421
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10422
|
+
}]
|
|
10423
|
+
// ----- perfectionist/sort-named-imports -----
|
|
10424
|
+
type PerfectionistSortNamedImports = []|[{
|
|
10425
|
+
|
|
10363
10426
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10364
10427
|
|
|
10365
10428
|
ignoreCase?: boolean
|
|
10366
10429
|
|
|
10367
10430
|
alphabet?: string
|
|
10368
10431
|
|
|
10369
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10370
|
-
|
|
10371
10432
|
locales?: (string | string[])
|
|
10372
10433
|
|
|
10373
10434
|
order?: ("asc" | "desc")
|
|
10374
|
-
|
|
10375
|
-
|
|
10376
|
-
|
|
10435
|
+
|
|
10436
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
10437
|
+
|
|
10438
|
+
ignoreAlias?: boolean
|
|
10377
10439
|
|
|
10378
10440
|
partitionByComment?: (string[] | boolean | string | {
|
|
10379
10441
|
block?: (string[] | boolean | string)
|
|
@@ -10381,38 +10443,28 @@ type PerfectionistSortNamedImports = []|[{
|
|
|
10381
10443
|
[k: string]: unknown | undefined
|
|
10382
10444
|
})
|
|
10383
10445
|
|
|
10384
|
-
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
10385
|
-
|
|
10386
|
-
ignoreAlias?: boolean
|
|
10387
|
-
|
|
10388
10446
|
partitionByNewLine?: boolean
|
|
10389
10447
|
|
|
10448
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10449
|
+
}]
|
|
10450
|
+
// ----- perfectionist/sort-object-types -----
|
|
10451
|
+
type PerfectionistSortObjectTypes = {
|
|
10452
|
+
|
|
10390
10453
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10391
10454
|
|
|
10392
10455
|
ignoreCase?: boolean
|
|
10393
10456
|
|
|
10394
10457
|
alphabet?: string
|
|
10395
10458
|
|
|
10396
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10397
|
-
|
|
10398
10459
|
locales?: (string | string[])
|
|
10399
10460
|
|
|
10400
10461
|
order?: ("asc" | "desc")
|
|
10401
|
-
}]
|
|
10402
|
-
// ----- perfectionist/sort-object-types -----
|
|
10403
|
-
type PerfectionistSortObjectTypes = {
|
|
10404
10462
|
|
|
10405
10463
|
ignorePattern?: string[]
|
|
10406
10464
|
useConfigurationIf?: {
|
|
10407
10465
|
allNamesMatchPattern?: string
|
|
10408
10466
|
declarationMatchesPattern?: string
|
|
10409
10467
|
}
|
|
10410
|
-
|
|
10411
|
-
partitionByComment?: (string[] | boolean | string | {
|
|
10412
|
-
block?: (string[] | boolean | string)
|
|
10413
|
-
line?: (string[] | boolean | string)
|
|
10414
|
-
[k: string]: unknown | undefined
|
|
10415
|
-
})
|
|
10416
10468
|
customGroups?: ({
|
|
10417
10469
|
[k: string]: (string | string[]) | undefined
|
|
10418
10470
|
} | ({
|
|
@@ -10453,29 +10505,35 @@ type PerfectionistSortObjectTypes = {
|
|
|
10453
10505
|
|
|
10454
10506
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10455
10507
|
|
|
10456
|
-
|
|
10508
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
10509
|
+
block?: (string[] | boolean | string)
|
|
10510
|
+
line?: (string[] | boolean | string)
|
|
10511
|
+
[k: string]: unknown | undefined
|
|
10512
|
+
})
|
|
10457
10513
|
|
|
10458
|
-
|
|
10514
|
+
partitionByNewLine?: boolean
|
|
10459
10515
|
|
|
10460
10516
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10461
10517
|
|
|
10462
|
-
ignoreCase?: boolean
|
|
10463
|
-
|
|
10464
|
-
alphabet?: string
|
|
10465
|
-
|
|
10466
|
-
locales?: (string | string[])
|
|
10467
|
-
|
|
10468
10518
|
groups?: (string | string[] | {
|
|
10469
10519
|
|
|
10470
10520
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10471
10521
|
[k: string]: unknown | undefined
|
|
10472
10522
|
})[]
|
|
10473
|
-
|
|
10474
|
-
order?: ("asc" | "desc")
|
|
10475
10523
|
}[]
|
|
10476
10524
|
// ----- perfectionist/sort-objects -----
|
|
10477
10525
|
type PerfectionistSortObjects = {
|
|
10478
10526
|
|
|
10527
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10528
|
+
|
|
10529
|
+
ignoreCase?: boolean
|
|
10530
|
+
|
|
10531
|
+
alphabet?: string
|
|
10532
|
+
|
|
10533
|
+
locales?: (string | string[])
|
|
10534
|
+
|
|
10535
|
+
order?: ("asc" | "desc")
|
|
10536
|
+
|
|
10479
10537
|
destructuredObjects?: (boolean | {
|
|
10480
10538
|
|
|
10481
10539
|
groups?: boolean
|
|
@@ -10486,12 +10544,45 @@ type PerfectionistSortObjects = {
|
|
|
10486
10544
|
allNamesMatchPattern?: string
|
|
10487
10545
|
callingFunctionNamePattern?: string
|
|
10488
10546
|
}
|
|
10489
|
-
|
|
10490
|
-
|
|
10491
|
-
|
|
10492
|
-
|
|
10493
|
-
|
|
10494
|
-
|
|
10547
|
+
customGroups?: ({
|
|
10548
|
+
[k: string]: (string | string[]) | undefined
|
|
10549
|
+
} | ({
|
|
10550
|
+
|
|
10551
|
+
groupName?: string
|
|
10552
|
+
|
|
10553
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
10554
|
+
|
|
10555
|
+
order?: ("desc" | "asc")
|
|
10556
|
+
|
|
10557
|
+
newlinesInside?: ("always" | "never")
|
|
10558
|
+
anyOf?: {
|
|
10559
|
+
|
|
10560
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
10561
|
+
|
|
10562
|
+
selector?: ("member" | "method" | "multiline" | "property")
|
|
10563
|
+
|
|
10564
|
+
elementValuePattern?: string
|
|
10565
|
+
|
|
10566
|
+
elementNamePattern?: string
|
|
10567
|
+
}[]
|
|
10568
|
+
} | {
|
|
10569
|
+
|
|
10570
|
+
groupName?: string
|
|
10571
|
+
|
|
10572
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
10573
|
+
|
|
10574
|
+
order?: ("desc" | "asc")
|
|
10575
|
+
|
|
10576
|
+
newlinesInside?: ("always" | "never")
|
|
10577
|
+
|
|
10578
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
10579
|
+
|
|
10580
|
+
selector?: ("member" | "method" | "multiline" | "property")
|
|
10581
|
+
|
|
10582
|
+
elementValuePattern?: string
|
|
10583
|
+
|
|
10584
|
+
elementNamePattern?: string
|
|
10585
|
+
})[])
|
|
10495
10586
|
|
|
10496
10587
|
destructureOnly?: boolean
|
|
10497
10588
|
|
|
@@ -10501,38 +10592,34 @@ type PerfectionistSortObjects = {
|
|
|
10501
10592
|
|
|
10502
10593
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10503
10594
|
|
|
10504
|
-
|
|
10595
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
10596
|
+
block?: (string[] | boolean | string)
|
|
10597
|
+
line?: (string[] | boolean | string)
|
|
10598
|
+
[k: string]: unknown | undefined
|
|
10599
|
+
})
|
|
10505
10600
|
|
|
10506
|
-
|
|
10601
|
+
partitionByNewLine?: boolean
|
|
10507
10602
|
|
|
10508
10603
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10509
10604
|
|
|
10510
|
-
customGroups?: {
|
|
10511
|
-
[k: string]: (string | string[]) | undefined
|
|
10512
|
-
}
|
|
10513
|
-
|
|
10514
|
-
ignoreCase?: boolean
|
|
10515
|
-
|
|
10516
|
-
alphabet?: string
|
|
10517
|
-
|
|
10518
|
-
locales?: (string | string[])
|
|
10519
|
-
|
|
10520
10605
|
groups?: (string | string[] | {
|
|
10521
10606
|
|
|
10522
10607
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10523
10608
|
[k: string]: unknown | undefined
|
|
10524
10609
|
})[]
|
|
10525
|
-
|
|
10526
|
-
order?: ("asc" | "desc")
|
|
10527
10610
|
}[]
|
|
10528
10611
|
// ----- perfectionist/sort-sets -----
|
|
10529
10612
|
type PerfectionistSortSets = {
|
|
10530
10613
|
|
|
10531
|
-
|
|
10532
|
-
|
|
10533
|
-
|
|
10534
|
-
|
|
10535
|
-
|
|
10614
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10615
|
+
|
|
10616
|
+
ignoreCase?: boolean
|
|
10617
|
+
|
|
10618
|
+
alphabet?: string
|
|
10619
|
+
|
|
10620
|
+
locales?: (string | string[])
|
|
10621
|
+
|
|
10622
|
+
order?: ("asc" | "desc")
|
|
10536
10623
|
|
|
10537
10624
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
10538
10625
|
|
|
@@ -10571,23 +10658,21 @@ type PerfectionistSortSets = {
|
|
|
10571
10658
|
|
|
10572
10659
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10573
10660
|
|
|
10574
|
-
|
|
10575
|
-
|
|
10576
|
-
|
|
10577
|
-
|
|
10578
|
-
|
|
10661
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
10662
|
+
block?: (string[] | boolean | string)
|
|
10663
|
+
line?: (string[] | boolean | string)
|
|
10664
|
+
[k: string]: unknown | undefined
|
|
10665
|
+
})
|
|
10579
10666
|
|
|
10580
|
-
|
|
10667
|
+
partitionByNewLine?: boolean
|
|
10581
10668
|
|
|
10582
|
-
|
|
10669
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10583
10670
|
|
|
10584
10671
|
groups?: (string | string[] | {
|
|
10585
10672
|
|
|
10586
10673
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10587
10674
|
[k: string]: unknown | undefined
|
|
10588
10675
|
})[]
|
|
10589
|
-
|
|
10590
|
-
order?: ("asc" | "desc")
|
|
10591
10676
|
}[]
|
|
10592
10677
|
// ----- perfectionist/sort-switch-case -----
|
|
10593
10678
|
type PerfectionistSortSwitchCase = []|[{
|
|
@@ -10598,15 +10683,25 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
10598
10683
|
|
|
10599
10684
|
alphabet?: string
|
|
10600
10685
|
|
|
10601
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10602
|
-
|
|
10603
10686
|
locales?: (string | string[])
|
|
10604
10687
|
|
|
10605
10688
|
order?: ("asc" | "desc")
|
|
10689
|
+
|
|
10690
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10606
10691
|
}]
|
|
10607
10692
|
// ----- perfectionist/sort-union-types -----
|
|
10608
10693
|
type PerfectionistSortUnionTypes = []|[{
|
|
10609
10694
|
|
|
10695
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10696
|
+
|
|
10697
|
+
ignoreCase?: boolean
|
|
10698
|
+
|
|
10699
|
+
alphabet?: string
|
|
10700
|
+
|
|
10701
|
+
locales?: (string | string[])
|
|
10702
|
+
|
|
10703
|
+
order?: ("asc" | "desc")
|
|
10704
|
+
|
|
10610
10705
|
partitionByComment?: (string[] | boolean | string | {
|
|
10611
10706
|
block?: (string[] | boolean | string)
|
|
10612
10707
|
line?: (string[] | boolean | string)
|
|
@@ -10615,48 +10710,38 @@ type PerfectionistSortUnionTypes = []|[{
|
|
|
10615
10710
|
|
|
10616
10711
|
partitionByNewLine?: boolean
|
|
10617
10712
|
|
|
10618
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10619
|
-
|
|
10620
10713
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10621
10714
|
|
|
10622
|
-
ignoreCase?: boolean
|
|
10623
|
-
|
|
10624
|
-
alphabet?: string
|
|
10625
|
-
|
|
10626
10715
|
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10627
10716
|
|
|
10628
|
-
locales?: (string | string[])
|
|
10629
|
-
|
|
10630
10717
|
groups?: (string | string[] | {
|
|
10631
10718
|
|
|
10632
10719
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10633
10720
|
[k: string]: unknown | undefined
|
|
10634
10721
|
})[]
|
|
10635
|
-
|
|
10636
|
-
order?: ("asc" | "desc")
|
|
10637
10722
|
}]
|
|
10638
10723
|
// ----- perfectionist/sort-variable-declarations -----
|
|
10639
10724
|
type PerfectionistSortVariableDeclarations = []|[{
|
|
10640
10725
|
|
|
10641
|
-
partitionByComment?: (string[] | boolean | string | {
|
|
10642
|
-
block?: (string[] | boolean | string)
|
|
10643
|
-
line?: (string[] | boolean | string)
|
|
10644
|
-
[k: string]: unknown | undefined
|
|
10645
|
-
})
|
|
10646
|
-
|
|
10647
|
-
partitionByNewLine?: boolean
|
|
10648
|
-
|
|
10649
10726
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10650
10727
|
|
|
10651
10728
|
ignoreCase?: boolean
|
|
10652
10729
|
|
|
10653
10730
|
alphabet?: string
|
|
10654
10731
|
|
|
10655
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10656
|
-
|
|
10657
10732
|
locales?: (string | string[])
|
|
10658
10733
|
|
|
10659
10734
|
order?: ("asc" | "desc")
|
|
10735
|
+
|
|
10736
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
10737
|
+
block?: (string[] | boolean | string)
|
|
10738
|
+
line?: (string[] | boolean | string)
|
|
10739
|
+
[k: string]: unknown | undefined
|
|
10740
|
+
})
|
|
10741
|
+
|
|
10742
|
+
partitionByNewLine?: boolean
|
|
10743
|
+
|
|
10744
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10660
10745
|
}]
|
|
10661
10746
|
// ----- prefer-arrow-callback -----
|
|
10662
10747
|
type PreferArrowCallback = []|[{
|
|
@@ -12394,6 +12479,8 @@ type TsConsistentTypeAssertions = []|[({
|
|
|
12394
12479
|
assertionStyle: "never"
|
|
12395
12480
|
} | {
|
|
12396
12481
|
|
|
12482
|
+
arrayLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never")
|
|
12483
|
+
|
|
12397
12484
|
assertionStyle?: ("as" | "angle-bracket")
|
|
12398
12485
|
|
|
12399
12486
|
objectLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never")
|
|
@@ -12850,6 +12937,22 @@ type TsNoConfusingVoidExpression = []|[{
|
|
|
12850
12937
|
|
|
12851
12938
|
ignoreVoidReturningFunctions?: boolean
|
|
12852
12939
|
}]
|
|
12940
|
+
// ----- ts/no-deprecated -----
|
|
12941
|
+
type TsNoDeprecated = []|[{
|
|
12942
|
+
|
|
12943
|
+
allow?: (string | {
|
|
12944
|
+
from: "file"
|
|
12945
|
+
name: (string | [string, ...(string)[]])
|
|
12946
|
+
path?: string
|
|
12947
|
+
} | {
|
|
12948
|
+
from: "lib"
|
|
12949
|
+
name: (string | [string, ...(string)[]])
|
|
12950
|
+
} | {
|
|
12951
|
+
from: "package"
|
|
12952
|
+
name: (string | [string, ...(string)[]])
|
|
12953
|
+
package: string
|
|
12954
|
+
})[]
|
|
12955
|
+
}]
|
|
12853
12956
|
// ----- ts/no-duplicate-type-constituents -----
|
|
12854
12957
|
type TsNoDuplicateTypeConstituents = []|[{
|
|
12855
12958
|
|
|
@@ -12991,6 +13094,22 @@ type TsNoMisusedPromises = []|[{
|
|
|
12991
13094
|
variables?: boolean
|
|
12992
13095
|
})
|
|
12993
13096
|
}]
|
|
13097
|
+
// ----- ts/no-misused-spread -----
|
|
13098
|
+
type TsNoMisusedSpread = []|[{
|
|
13099
|
+
|
|
13100
|
+
allow?: (string | {
|
|
13101
|
+
from: "file"
|
|
13102
|
+
name: (string | [string, ...(string)[]])
|
|
13103
|
+
path?: string
|
|
13104
|
+
} | {
|
|
13105
|
+
from: "lib"
|
|
13106
|
+
name: (string | [string, ...(string)[]])
|
|
13107
|
+
} | {
|
|
13108
|
+
from: "package"
|
|
13109
|
+
name: (string | [string, ...(string)[]])
|
|
13110
|
+
package: string
|
|
13111
|
+
})[]
|
|
13112
|
+
}]
|
|
12994
13113
|
// ----- ts/no-namespace -----
|
|
12995
13114
|
type TsNoNamespace = []|[{
|
|
12996
13115
|
|
|
@@ -13066,7 +13185,7 @@ type TsNoShadow = []|[{
|
|
|
13066
13185
|
|
|
13067
13186
|
builtinGlobals?: boolean
|
|
13068
13187
|
|
|
13069
|
-
hoist?: ("all" | "functions" | "never")
|
|
13188
|
+
hoist?: ("all" | "functions" | "functions-and-types" | "never" | "types")
|
|
13070
13189
|
|
|
13071
13190
|
ignoreFunctionTypeParameterNameValueShadow?: boolean
|
|
13072
13191
|
|