@vinicunca/eslint-config 2.15.5 → 2.15.6
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 +4 -4
- package/dist/index.d.cts +176 -33
- package/dist/index.d.ts +176 -33
- package/dist/index.js +3 -3
- package/package.json +15 -15
package/dist/index.cjs
CHANGED
|
@@ -112,23 +112,23 @@ __export(src_exports, {
|
|
|
112
112
|
});
|
|
113
113
|
module.exports = __toCommonJS(src_exports);
|
|
114
114
|
|
|
115
|
-
// ../node_modules/.pnpm/tsup@8.3.5_jiti@2.4.2_postcss@8.4.49_tsx@4.19.2_typescript@5.7.
|
|
115
|
+
// ../node_modules/.pnpm/tsup@8.3.5_jiti@2.4.2_postcss@8.4.49_tsx@4.19.2_typescript@5.7.3_yaml@2.6.1/node_modules/tsup/assets/cjs_shims.js
|
|
116
116
|
var getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
117
117
|
var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
118
118
|
|
|
119
|
-
// ../node_modules/.pnpm/@vinicunca+perkakas@1.2.
|
|
119
|
+
// ../node_modules/.pnpm/@vinicunca+perkakas@1.2.2/node_modules/@vinicunca/perkakas/dist/chunk-6AFNPQW2.js
|
|
120
120
|
function r(o) {
|
|
121
121
|
if (typeof o != "object" || o === null) return false;
|
|
122
122
|
let e3 = Object.getPrototypeOf(o);
|
|
123
123
|
return e3 === null || e3 === Object.prototype;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
// ../node_modules/.pnpm/@vinicunca+perkakas@1.2.
|
|
126
|
+
// ../node_modules/.pnpm/@vinicunca+perkakas@1.2.2/node_modules/@vinicunca/perkakas/dist/chunk-Q2HW4RVT.js
|
|
127
127
|
function e(r2) {
|
|
128
128
|
return typeof r2 == "number" && !Number.isNaN(r2);
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
-
// ../node_modules/.pnpm/@vinicunca+perkakas@1.2.
|
|
131
|
+
// ../node_modules/.pnpm/@vinicunca+perkakas@1.2.2/node_modules/@vinicunca/perkakas/dist/chunk-AZUJCNUP.js
|
|
132
132
|
function e2(o) {
|
|
133
133
|
return typeof o == "boolean";
|
|
134
134
|
}
|
package/dist/index.d.cts
CHANGED
|
@@ -6175,7 +6175,7 @@ interface RuleOptions {
|
|
|
6175
6175
|
*/
|
|
6176
6176
|
'test/padding-around-expect-groups'?: Linter.RuleEntry<[]>
|
|
6177
6177
|
/**
|
|
6178
|
-
* Enforce padding around
|
|
6178
|
+
* Enforce padding around `test` blocks
|
|
6179
6179
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-test-blocks.md
|
|
6180
6180
|
*/
|
|
6181
6181
|
'test/padding-around-test-blocks'?: Linter.RuleEntry<[]>
|
|
@@ -11828,7 +11828,11 @@ type PaddingLineBetweenStatements = {
|
|
|
11828
11828
|
// ----- perfectionist/sort-array-includes -----
|
|
11829
11829
|
type PerfectionistSortArrayIncludes = {
|
|
11830
11830
|
|
|
11831
|
-
partitionByComment?: (string[] | boolean | string
|
|
11831
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
11832
|
+
block?: (string[] | boolean | string)
|
|
11833
|
+
line?: (string[] | boolean | string)
|
|
11834
|
+
[k: string]: unknown | undefined
|
|
11835
|
+
})
|
|
11832
11836
|
|
|
11833
11837
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
11834
11838
|
|
|
@@ -11839,6 +11843,8 @@ type PerfectionistSortArrayIncludes = {
|
|
|
11839
11843
|
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
11840
11844
|
|
|
11841
11845
|
order?: ("desc" | "asc")
|
|
11846
|
+
|
|
11847
|
+
newlinesInside?: ("always" | "never")
|
|
11842
11848
|
anyOf?: {
|
|
11843
11849
|
|
|
11844
11850
|
selector?: ("literal" | "spread")
|
|
@@ -11853,6 +11859,8 @@ type PerfectionistSortArrayIncludes = {
|
|
|
11853
11859
|
|
|
11854
11860
|
order?: ("desc" | "asc")
|
|
11855
11861
|
|
|
11862
|
+
newlinesInside?: ("always" | "never")
|
|
11863
|
+
|
|
11856
11864
|
selector?: ("literal" | "spread")
|
|
11857
11865
|
|
|
11858
11866
|
elementNamePattern?: string
|
|
@@ -11873,7 +11881,11 @@ type PerfectionistSortArrayIncludes = {
|
|
|
11873
11881
|
|
|
11874
11882
|
locales?: (string | string[])
|
|
11875
11883
|
|
|
11876
|
-
groups?: (string | string[]
|
|
11884
|
+
groups?: (string | string[] | {
|
|
11885
|
+
|
|
11886
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11887
|
+
[k: string]: unknown | undefined
|
|
11888
|
+
})[]
|
|
11877
11889
|
|
|
11878
11890
|
order?: ("asc" | "desc")
|
|
11879
11891
|
}[]
|
|
@@ -11882,7 +11894,11 @@ type PerfectionistSortClasses = []|[{
|
|
|
11882
11894
|
|
|
11883
11895
|
ignoreCallbackDependenciesPatterns?: string[]
|
|
11884
11896
|
|
|
11885
|
-
partitionByComment?: (string[] | boolean | string
|
|
11897
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
11898
|
+
block?: (string[] | boolean | string)
|
|
11899
|
+
line?: (string[] | boolean | string)
|
|
11900
|
+
[k: string]: unknown | undefined
|
|
11901
|
+
})
|
|
11886
11902
|
|
|
11887
11903
|
customGroups?: ({
|
|
11888
11904
|
|
|
@@ -11891,6 +11907,8 @@ type PerfectionistSortClasses = []|[{
|
|
|
11891
11907
|
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
11892
11908
|
|
|
11893
11909
|
order?: ("desc" | "asc")
|
|
11910
|
+
|
|
11911
|
+
newlinesInside?: ("always" | "never")
|
|
11894
11912
|
anyOf?: {
|
|
11895
11913
|
|
|
11896
11914
|
elementValuePattern?: string
|
|
@@ -11911,6 +11929,8 @@ type PerfectionistSortClasses = []|[{
|
|
|
11911
11929
|
|
|
11912
11930
|
order?: ("desc" | "asc")
|
|
11913
11931
|
|
|
11932
|
+
newlinesInside?: ("always" | "never")
|
|
11933
|
+
|
|
11914
11934
|
elementValuePattern?: string
|
|
11915
11935
|
|
|
11916
11936
|
decoratorNamePattern?: string
|
|
@@ -11936,14 +11956,22 @@ type PerfectionistSortClasses = []|[{
|
|
|
11936
11956
|
|
|
11937
11957
|
locales?: (string | string[])
|
|
11938
11958
|
|
|
11939
|
-
groups?: (string | string[]
|
|
11959
|
+
groups?: (string | string[] | {
|
|
11960
|
+
|
|
11961
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11962
|
+
[k: string]: unknown | undefined
|
|
11963
|
+
})[]
|
|
11940
11964
|
|
|
11941
11965
|
order?: ("asc" | "desc")
|
|
11942
11966
|
}]
|
|
11943
11967
|
// ----- perfectionist/sort-decorators -----
|
|
11944
11968
|
type PerfectionistSortDecorators = []|[{
|
|
11945
11969
|
|
|
11946
|
-
partitionByComment?: (string[] | boolean | string
|
|
11970
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
11971
|
+
block?: (string[] | boolean | string)
|
|
11972
|
+
line?: (string[] | boolean | string)
|
|
11973
|
+
[k: string]: unknown | undefined
|
|
11974
|
+
})
|
|
11947
11975
|
|
|
11948
11976
|
sortOnParameters?: boolean
|
|
11949
11977
|
|
|
@@ -11969,14 +11997,22 @@ type PerfectionistSortDecorators = []|[{
|
|
|
11969
11997
|
|
|
11970
11998
|
locales?: (string | string[])
|
|
11971
11999
|
|
|
11972
|
-
groups?: (string | string[]
|
|
12000
|
+
groups?: (string | string[] | {
|
|
12001
|
+
|
|
12002
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12003
|
+
[k: string]: unknown | undefined
|
|
12004
|
+
})[]
|
|
11973
12005
|
|
|
11974
12006
|
order?: ("asc" | "desc")
|
|
11975
12007
|
}]
|
|
11976
12008
|
// ----- perfectionist/sort-enums -----
|
|
11977
12009
|
type PerfectionistSortEnums = []|[{
|
|
11978
12010
|
|
|
11979
|
-
partitionByComment?: (string[] | boolean | string
|
|
12011
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
12012
|
+
block?: (string[] | boolean | string)
|
|
12013
|
+
line?: (string[] | boolean | string)
|
|
12014
|
+
[k: string]: unknown | undefined
|
|
12015
|
+
})
|
|
11980
12016
|
|
|
11981
12017
|
forceNumericSort?: boolean
|
|
11982
12018
|
|
|
@@ -11999,7 +12035,11 @@ type PerfectionistSortEnums = []|[{
|
|
|
11999
12035
|
// ----- perfectionist/sort-exports -----
|
|
12000
12036
|
type PerfectionistSortExports = []|[{
|
|
12001
12037
|
|
|
12002
|
-
partitionByComment?: (string[] | boolean | string
|
|
12038
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
12039
|
+
block?: (string[] | boolean | string)
|
|
12040
|
+
line?: (string[] | boolean | string)
|
|
12041
|
+
[k: string]: unknown | undefined
|
|
12042
|
+
})
|
|
12003
12043
|
|
|
12004
12044
|
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
12005
12045
|
|
|
@@ -12034,7 +12074,11 @@ type PerfectionistSortHeritageClauses = []|[{
|
|
|
12034
12074
|
|
|
12035
12075
|
locales?: (string | string[])
|
|
12036
12076
|
|
|
12037
|
-
groups?: (string | string[]
|
|
12077
|
+
groups?: (string | string[] | {
|
|
12078
|
+
|
|
12079
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12080
|
+
[k: string]: unknown | undefined
|
|
12081
|
+
})[]
|
|
12038
12082
|
|
|
12039
12083
|
order?: ("asc" | "desc")
|
|
12040
12084
|
}]
|
|
@@ -12053,7 +12097,11 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
12053
12097
|
}
|
|
12054
12098
|
}
|
|
12055
12099
|
|
|
12056
|
-
partitionByComment?: (string[] | boolean | string
|
|
12100
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
12101
|
+
block?: (string[] | boolean | string)
|
|
12102
|
+
line?: (string[] | boolean | string)
|
|
12103
|
+
[k: string]: unknown | undefined
|
|
12104
|
+
})
|
|
12057
12105
|
|
|
12058
12106
|
internalPattern?: string[]
|
|
12059
12107
|
|
|
@@ -12079,7 +12127,11 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
12079
12127
|
|
|
12080
12128
|
locales?: (string | string[])
|
|
12081
12129
|
|
|
12082
|
-
groups?: (string | string[]
|
|
12130
|
+
groups?: (string | string[] | {
|
|
12131
|
+
|
|
12132
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12133
|
+
[k: string]: unknown | undefined
|
|
12134
|
+
})[]
|
|
12083
12135
|
|
|
12084
12136
|
order?: ("asc" | "desc")
|
|
12085
12137
|
})
|
|
@@ -12099,7 +12151,11 @@ type PerfectionistSortInterfaces = {
|
|
|
12099
12151
|
declarationMatchesPattern?: string
|
|
12100
12152
|
}
|
|
12101
12153
|
|
|
12102
|
-
partitionByComment?: (string[] | boolean | string
|
|
12154
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
12155
|
+
block?: (string[] | boolean | string)
|
|
12156
|
+
line?: (string[] | boolean | string)
|
|
12157
|
+
[k: string]: unknown | undefined
|
|
12158
|
+
})
|
|
12103
12159
|
customGroups?: ({
|
|
12104
12160
|
[k: string]: (string | string[]) | undefined
|
|
12105
12161
|
} | ({
|
|
@@ -12109,6 +12165,8 @@ type PerfectionistSortInterfaces = {
|
|
|
12109
12165
|
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
12110
12166
|
|
|
12111
12167
|
order?: ("desc" | "asc")
|
|
12168
|
+
|
|
12169
|
+
newlinesInside?: ("always" | "never")
|
|
12112
12170
|
anyOf?: {
|
|
12113
12171
|
|
|
12114
12172
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
@@ -12125,6 +12183,8 @@ type PerfectionistSortInterfaces = {
|
|
|
12125
12183
|
|
|
12126
12184
|
order?: ("desc" | "asc")
|
|
12127
12185
|
|
|
12186
|
+
newlinesInside?: ("always" | "never")
|
|
12187
|
+
|
|
12128
12188
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
12129
12189
|
|
|
12130
12190
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
@@ -12148,14 +12208,22 @@ type PerfectionistSortInterfaces = {
|
|
|
12148
12208
|
|
|
12149
12209
|
locales?: (string | string[])
|
|
12150
12210
|
|
|
12151
|
-
groups?: (string | string[]
|
|
12211
|
+
groups?: (string | string[] | {
|
|
12212
|
+
|
|
12213
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12214
|
+
[k: string]: unknown | undefined
|
|
12215
|
+
})[]
|
|
12152
12216
|
|
|
12153
12217
|
order?: ("asc" | "desc")
|
|
12154
12218
|
}[]
|
|
12155
12219
|
// ----- perfectionist/sort-intersection-types -----
|
|
12156
12220
|
type PerfectionistSortIntersectionTypes = []|[{
|
|
12157
12221
|
|
|
12158
|
-
partitionByComment?: (string[] | boolean | string
|
|
12222
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
12223
|
+
block?: (string[] | boolean | string)
|
|
12224
|
+
line?: (string[] | boolean | string)
|
|
12225
|
+
[k: string]: unknown | undefined
|
|
12226
|
+
})
|
|
12159
12227
|
|
|
12160
12228
|
partitionByNewLine?: boolean
|
|
12161
12229
|
|
|
@@ -12171,7 +12239,11 @@ type PerfectionistSortIntersectionTypes = []|[{
|
|
|
12171
12239
|
|
|
12172
12240
|
locales?: (string | string[])
|
|
12173
12241
|
|
|
12174
|
-
groups?: (string | string[]
|
|
12242
|
+
groups?: (string | string[] | {
|
|
12243
|
+
|
|
12244
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12245
|
+
[k: string]: unknown | undefined
|
|
12246
|
+
})[]
|
|
12175
12247
|
|
|
12176
12248
|
order?: ("asc" | "desc")
|
|
12177
12249
|
}]
|
|
@@ -12194,14 +12266,22 @@ type PerfectionistSortJsxProps = []|[{
|
|
|
12194
12266
|
|
|
12195
12267
|
locales?: (string | string[])
|
|
12196
12268
|
|
|
12197
|
-
groups?: (string | string[]
|
|
12269
|
+
groups?: (string | string[] | {
|
|
12270
|
+
|
|
12271
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12272
|
+
[k: string]: unknown | undefined
|
|
12273
|
+
})[]
|
|
12198
12274
|
|
|
12199
12275
|
order?: ("asc" | "desc")
|
|
12200
12276
|
}]
|
|
12201
12277
|
// ----- perfectionist/sort-maps -----
|
|
12202
12278
|
type PerfectionistSortMaps = []|[{
|
|
12203
12279
|
|
|
12204
|
-
partitionByComment?: (string[] | boolean | string
|
|
12280
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
12281
|
+
block?: (string[] | boolean | string)
|
|
12282
|
+
line?: (string[] | boolean | string)
|
|
12283
|
+
[k: string]: unknown | undefined
|
|
12284
|
+
})
|
|
12205
12285
|
|
|
12206
12286
|
partitionByNewLine?: boolean
|
|
12207
12287
|
|
|
@@ -12220,7 +12300,11 @@ type PerfectionistSortMaps = []|[{
|
|
|
12220
12300
|
// ----- perfectionist/sort-modules -----
|
|
12221
12301
|
type PerfectionistSortModules = []|[{
|
|
12222
12302
|
|
|
12223
|
-
partitionByComment?: (string[] | boolean | string
|
|
12303
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
12304
|
+
block?: (string[] | boolean | string)
|
|
12305
|
+
line?: (string[] | boolean | string)
|
|
12306
|
+
[k: string]: unknown | undefined
|
|
12307
|
+
})
|
|
12224
12308
|
|
|
12225
12309
|
customGroups?: ({
|
|
12226
12310
|
|
|
@@ -12229,6 +12313,8 @@ type PerfectionistSortModules = []|[{
|
|
|
12229
12313
|
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
12230
12314
|
|
|
12231
12315
|
order?: ("desc" | "asc")
|
|
12316
|
+
|
|
12317
|
+
newlinesInside?: ("always" | "never")
|
|
12232
12318
|
anyOf?: {
|
|
12233
12319
|
|
|
12234
12320
|
decoratorNamePattern?: string
|
|
@@ -12247,6 +12333,8 @@ type PerfectionistSortModules = []|[{
|
|
|
12247
12333
|
|
|
12248
12334
|
order?: ("desc" | "asc")
|
|
12249
12335
|
|
|
12336
|
+
newlinesInside?: ("always" | "never")
|
|
12337
|
+
|
|
12250
12338
|
decoratorNamePattern?: string
|
|
12251
12339
|
|
|
12252
12340
|
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
@@ -12270,14 +12358,22 @@ type PerfectionistSortModules = []|[{
|
|
|
12270
12358
|
|
|
12271
12359
|
locales?: (string | string[])
|
|
12272
12360
|
|
|
12273
|
-
groups?: (string | string[]
|
|
12361
|
+
groups?: (string | string[] | {
|
|
12362
|
+
|
|
12363
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12364
|
+
[k: string]: unknown | undefined
|
|
12365
|
+
})[]
|
|
12274
12366
|
|
|
12275
12367
|
order?: ("asc" | "desc")
|
|
12276
12368
|
}]
|
|
12277
12369
|
// ----- perfectionist/sort-named-exports -----
|
|
12278
12370
|
type PerfectionistSortNamedExports = []|[{
|
|
12279
12371
|
|
|
12280
|
-
partitionByComment?: (string[] | boolean | string
|
|
12372
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
12373
|
+
block?: (string[] | boolean | string)
|
|
12374
|
+
line?: (string[] | boolean | string)
|
|
12375
|
+
[k: string]: unknown | undefined
|
|
12376
|
+
})
|
|
12281
12377
|
|
|
12282
12378
|
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
12283
12379
|
|
|
@@ -12298,7 +12394,11 @@ type PerfectionistSortNamedExports = []|[{
|
|
|
12298
12394
|
// ----- perfectionist/sort-named-imports -----
|
|
12299
12395
|
type PerfectionistSortNamedImports = []|[{
|
|
12300
12396
|
|
|
12301
|
-
partitionByComment?: (string[] | boolean | string
|
|
12397
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
12398
|
+
block?: (string[] | boolean | string)
|
|
12399
|
+
line?: (string[] | boolean | string)
|
|
12400
|
+
[k: string]: unknown | undefined
|
|
12401
|
+
})
|
|
12302
12402
|
|
|
12303
12403
|
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
12304
12404
|
|
|
@@ -12327,7 +12427,11 @@ type PerfectionistSortObjectTypes = {
|
|
|
12327
12427
|
declarationMatchesPattern?: string
|
|
12328
12428
|
}
|
|
12329
12429
|
|
|
12330
|
-
partitionByComment?: (string[] | boolean | string
|
|
12430
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
12431
|
+
block?: (string[] | boolean | string)
|
|
12432
|
+
line?: (string[] | boolean | string)
|
|
12433
|
+
[k: string]: unknown | undefined
|
|
12434
|
+
})
|
|
12331
12435
|
customGroups?: ({
|
|
12332
12436
|
[k: string]: (string | string[]) | undefined
|
|
12333
12437
|
} | ({
|
|
@@ -12337,6 +12441,8 @@ type PerfectionistSortObjectTypes = {
|
|
|
12337
12441
|
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
12338
12442
|
|
|
12339
12443
|
order?: ("desc" | "asc")
|
|
12444
|
+
|
|
12445
|
+
newlinesInside?: ("always" | "never")
|
|
12340
12446
|
anyOf?: {
|
|
12341
12447
|
|
|
12342
12448
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
@@ -12353,6 +12459,8 @@ type PerfectionistSortObjectTypes = {
|
|
|
12353
12459
|
|
|
12354
12460
|
order?: ("desc" | "asc")
|
|
12355
12461
|
|
|
12462
|
+
newlinesInside?: ("always" | "never")
|
|
12463
|
+
|
|
12356
12464
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
12357
12465
|
|
|
12358
12466
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
@@ -12376,7 +12484,11 @@ type PerfectionistSortObjectTypes = {
|
|
|
12376
12484
|
|
|
12377
12485
|
locales?: (string | string[])
|
|
12378
12486
|
|
|
12379
|
-
groups?: (string | string[]
|
|
12487
|
+
groups?: (string | string[] | {
|
|
12488
|
+
|
|
12489
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12490
|
+
[k: string]: unknown | undefined
|
|
12491
|
+
})[]
|
|
12380
12492
|
|
|
12381
12493
|
order?: ("asc" | "desc")
|
|
12382
12494
|
}[]
|
|
@@ -12394,7 +12506,11 @@ type PerfectionistSortObjects = {
|
|
|
12394
12506
|
callingFunctionNamePattern?: string
|
|
12395
12507
|
}
|
|
12396
12508
|
|
|
12397
|
-
partitionByComment?: (string[] | boolean | string
|
|
12509
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
12510
|
+
block?: (string[] | boolean | string)
|
|
12511
|
+
line?: (string[] | boolean | string)
|
|
12512
|
+
[k: string]: unknown | undefined
|
|
12513
|
+
})
|
|
12398
12514
|
|
|
12399
12515
|
destructureOnly?: boolean
|
|
12400
12516
|
|
|
@@ -12420,14 +12536,22 @@ type PerfectionistSortObjects = {
|
|
|
12420
12536
|
|
|
12421
12537
|
locales?: (string | string[])
|
|
12422
12538
|
|
|
12423
|
-
groups?: (string | string[]
|
|
12539
|
+
groups?: (string | string[] | {
|
|
12540
|
+
|
|
12541
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12542
|
+
[k: string]: unknown | undefined
|
|
12543
|
+
})[]
|
|
12424
12544
|
|
|
12425
12545
|
order?: ("asc" | "desc")
|
|
12426
12546
|
}[]
|
|
12427
12547
|
// ----- perfectionist/sort-sets -----
|
|
12428
12548
|
type PerfectionistSortSets = {
|
|
12429
12549
|
|
|
12430
|
-
partitionByComment?: (string[] | boolean | string
|
|
12550
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
12551
|
+
block?: (string[] | boolean | string)
|
|
12552
|
+
line?: (string[] | boolean | string)
|
|
12553
|
+
[k: string]: unknown | undefined
|
|
12554
|
+
})
|
|
12431
12555
|
|
|
12432
12556
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
12433
12557
|
|
|
@@ -12438,6 +12562,8 @@ type PerfectionistSortSets = {
|
|
|
12438
12562
|
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
12439
12563
|
|
|
12440
12564
|
order?: ("desc" | "asc")
|
|
12565
|
+
|
|
12566
|
+
newlinesInside?: ("always" | "never")
|
|
12441
12567
|
anyOf?: {
|
|
12442
12568
|
|
|
12443
12569
|
selector?: ("literal" | "spread")
|
|
@@ -12452,6 +12578,8 @@ type PerfectionistSortSets = {
|
|
|
12452
12578
|
|
|
12453
12579
|
order?: ("desc" | "asc")
|
|
12454
12580
|
|
|
12581
|
+
newlinesInside?: ("always" | "never")
|
|
12582
|
+
|
|
12455
12583
|
selector?: ("literal" | "spread")
|
|
12456
12584
|
|
|
12457
12585
|
elementNamePattern?: string
|
|
@@ -12472,7 +12600,11 @@ type PerfectionistSortSets = {
|
|
|
12472
12600
|
|
|
12473
12601
|
locales?: (string | string[])
|
|
12474
12602
|
|
|
12475
|
-
groups?: (string | string[]
|
|
12603
|
+
groups?: (string | string[] | {
|
|
12604
|
+
|
|
12605
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12606
|
+
[k: string]: unknown | undefined
|
|
12607
|
+
})[]
|
|
12476
12608
|
|
|
12477
12609
|
order?: ("asc" | "desc")
|
|
12478
12610
|
}[]
|
|
@@ -12494,7 +12626,11 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
12494
12626
|
// ----- perfectionist/sort-union-types -----
|
|
12495
12627
|
type PerfectionistSortUnionTypes = []|[{
|
|
12496
12628
|
|
|
12497
|
-
partitionByComment?: (string[] | boolean | string
|
|
12629
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
12630
|
+
block?: (string[] | boolean | string)
|
|
12631
|
+
line?: (string[] | boolean | string)
|
|
12632
|
+
[k: string]: unknown | undefined
|
|
12633
|
+
})
|
|
12498
12634
|
|
|
12499
12635
|
partitionByNewLine?: boolean
|
|
12500
12636
|
|
|
@@ -12510,14 +12646,22 @@ type PerfectionistSortUnionTypes = []|[{
|
|
|
12510
12646
|
|
|
12511
12647
|
locales?: (string | string[])
|
|
12512
12648
|
|
|
12513
|
-
groups?: (string | string[]
|
|
12649
|
+
groups?: (string | string[] | {
|
|
12650
|
+
|
|
12651
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12652
|
+
[k: string]: unknown | undefined
|
|
12653
|
+
})[]
|
|
12514
12654
|
|
|
12515
12655
|
order?: ("asc" | "desc")
|
|
12516
12656
|
}]
|
|
12517
12657
|
// ----- perfectionist/sort-variable-declarations -----
|
|
12518
12658
|
type PerfectionistSortVariableDeclarations = []|[{
|
|
12519
12659
|
|
|
12520
|
-
partitionByComment?: (string[] | boolean | string
|
|
12660
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
12661
|
+
block?: (string[] | boolean | string)
|
|
12662
|
+
line?: (string[] | boolean | string)
|
|
12663
|
+
[k: string]: unknown | undefined
|
|
12664
|
+
})
|
|
12521
12665
|
|
|
12522
12666
|
partitionByNewLine?: boolean
|
|
12523
12667
|
|
|
@@ -14531,8 +14675,7 @@ type TestNoRestrictedViMethods = []|[{
|
|
|
14531
14675
|
}]
|
|
14532
14676
|
// ----- test/no-standalone-expect -----
|
|
14533
14677
|
type TestNoStandaloneExpect = []|[{
|
|
14534
|
-
|
|
14535
|
-
[k: string]: unknown | undefined
|
|
14678
|
+
additionalTestBlockFunctions?: string[]
|
|
14536
14679
|
}]
|
|
14537
14680
|
// ----- test/prefer-expect-assertions -----
|
|
14538
14681
|
type TestPreferExpectAssertions = []|[{
|
package/dist/index.d.ts
CHANGED
|
@@ -6175,7 +6175,7 @@ interface RuleOptions {
|
|
|
6175
6175
|
*/
|
|
6176
6176
|
'test/padding-around-expect-groups'?: Linter.RuleEntry<[]>
|
|
6177
6177
|
/**
|
|
6178
|
-
* Enforce padding around
|
|
6178
|
+
* Enforce padding around `test` blocks
|
|
6179
6179
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-test-blocks.md
|
|
6180
6180
|
*/
|
|
6181
6181
|
'test/padding-around-test-blocks'?: Linter.RuleEntry<[]>
|
|
@@ -11828,7 +11828,11 @@ type PaddingLineBetweenStatements = {
|
|
|
11828
11828
|
// ----- perfectionist/sort-array-includes -----
|
|
11829
11829
|
type PerfectionistSortArrayIncludes = {
|
|
11830
11830
|
|
|
11831
|
-
partitionByComment?: (string[] | boolean | string
|
|
11831
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
11832
|
+
block?: (string[] | boolean | string)
|
|
11833
|
+
line?: (string[] | boolean | string)
|
|
11834
|
+
[k: string]: unknown | undefined
|
|
11835
|
+
})
|
|
11832
11836
|
|
|
11833
11837
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
11834
11838
|
|
|
@@ -11839,6 +11843,8 @@ type PerfectionistSortArrayIncludes = {
|
|
|
11839
11843
|
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
11840
11844
|
|
|
11841
11845
|
order?: ("desc" | "asc")
|
|
11846
|
+
|
|
11847
|
+
newlinesInside?: ("always" | "never")
|
|
11842
11848
|
anyOf?: {
|
|
11843
11849
|
|
|
11844
11850
|
selector?: ("literal" | "spread")
|
|
@@ -11853,6 +11859,8 @@ type PerfectionistSortArrayIncludes = {
|
|
|
11853
11859
|
|
|
11854
11860
|
order?: ("desc" | "asc")
|
|
11855
11861
|
|
|
11862
|
+
newlinesInside?: ("always" | "never")
|
|
11863
|
+
|
|
11856
11864
|
selector?: ("literal" | "spread")
|
|
11857
11865
|
|
|
11858
11866
|
elementNamePattern?: string
|
|
@@ -11873,7 +11881,11 @@ type PerfectionistSortArrayIncludes = {
|
|
|
11873
11881
|
|
|
11874
11882
|
locales?: (string | string[])
|
|
11875
11883
|
|
|
11876
|
-
groups?: (string | string[]
|
|
11884
|
+
groups?: (string | string[] | {
|
|
11885
|
+
|
|
11886
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11887
|
+
[k: string]: unknown | undefined
|
|
11888
|
+
})[]
|
|
11877
11889
|
|
|
11878
11890
|
order?: ("asc" | "desc")
|
|
11879
11891
|
}[]
|
|
@@ -11882,7 +11894,11 @@ type PerfectionistSortClasses = []|[{
|
|
|
11882
11894
|
|
|
11883
11895
|
ignoreCallbackDependenciesPatterns?: string[]
|
|
11884
11896
|
|
|
11885
|
-
partitionByComment?: (string[] | boolean | string
|
|
11897
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
11898
|
+
block?: (string[] | boolean | string)
|
|
11899
|
+
line?: (string[] | boolean | string)
|
|
11900
|
+
[k: string]: unknown | undefined
|
|
11901
|
+
})
|
|
11886
11902
|
|
|
11887
11903
|
customGroups?: ({
|
|
11888
11904
|
|
|
@@ -11891,6 +11907,8 @@ type PerfectionistSortClasses = []|[{
|
|
|
11891
11907
|
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
11892
11908
|
|
|
11893
11909
|
order?: ("desc" | "asc")
|
|
11910
|
+
|
|
11911
|
+
newlinesInside?: ("always" | "never")
|
|
11894
11912
|
anyOf?: {
|
|
11895
11913
|
|
|
11896
11914
|
elementValuePattern?: string
|
|
@@ -11911,6 +11929,8 @@ type PerfectionistSortClasses = []|[{
|
|
|
11911
11929
|
|
|
11912
11930
|
order?: ("desc" | "asc")
|
|
11913
11931
|
|
|
11932
|
+
newlinesInside?: ("always" | "never")
|
|
11933
|
+
|
|
11914
11934
|
elementValuePattern?: string
|
|
11915
11935
|
|
|
11916
11936
|
decoratorNamePattern?: string
|
|
@@ -11936,14 +11956,22 @@ type PerfectionistSortClasses = []|[{
|
|
|
11936
11956
|
|
|
11937
11957
|
locales?: (string | string[])
|
|
11938
11958
|
|
|
11939
|
-
groups?: (string | string[]
|
|
11959
|
+
groups?: (string | string[] | {
|
|
11960
|
+
|
|
11961
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11962
|
+
[k: string]: unknown | undefined
|
|
11963
|
+
})[]
|
|
11940
11964
|
|
|
11941
11965
|
order?: ("asc" | "desc")
|
|
11942
11966
|
}]
|
|
11943
11967
|
// ----- perfectionist/sort-decorators -----
|
|
11944
11968
|
type PerfectionistSortDecorators = []|[{
|
|
11945
11969
|
|
|
11946
|
-
partitionByComment?: (string[] | boolean | string
|
|
11970
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
11971
|
+
block?: (string[] | boolean | string)
|
|
11972
|
+
line?: (string[] | boolean | string)
|
|
11973
|
+
[k: string]: unknown | undefined
|
|
11974
|
+
})
|
|
11947
11975
|
|
|
11948
11976
|
sortOnParameters?: boolean
|
|
11949
11977
|
|
|
@@ -11969,14 +11997,22 @@ type PerfectionistSortDecorators = []|[{
|
|
|
11969
11997
|
|
|
11970
11998
|
locales?: (string | string[])
|
|
11971
11999
|
|
|
11972
|
-
groups?: (string | string[]
|
|
12000
|
+
groups?: (string | string[] | {
|
|
12001
|
+
|
|
12002
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12003
|
+
[k: string]: unknown | undefined
|
|
12004
|
+
})[]
|
|
11973
12005
|
|
|
11974
12006
|
order?: ("asc" | "desc")
|
|
11975
12007
|
}]
|
|
11976
12008
|
// ----- perfectionist/sort-enums -----
|
|
11977
12009
|
type PerfectionistSortEnums = []|[{
|
|
11978
12010
|
|
|
11979
|
-
partitionByComment?: (string[] | boolean | string
|
|
12011
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
12012
|
+
block?: (string[] | boolean | string)
|
|
12013
|
+
line?: (string[] | boolean | string)
|
|
12014
|
+
[k: string]: unknown | undefined
|
|
12015
|
+
})
|
|
11980
12016
|
|
|
11981
12017
|
forceNumericSort?: boolean
|
|
11982
12018
|
|
|
@@ -11999,7 +12035,11 @@ type PerfectionistSortEnums = []|[{
|
|
|
11999
12035
|
// ----- perfectionist/sort-exports -----
|
|
12000
12036
|
type PerfectionistSortExports = []|[{
|
|
12001
12037
|
|
|
12002
|
-
partitionByComment?: (string[] | boolean | string
|
|
12038
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
12039
|
+
block?: (string[] | boolean | string)
|
|
12040
|
+
line?: (string[] | boolean | string)
|
|
12041
|
+
[k: string]: unknown | undefined
|
|
12042
|
+
})
|
|
12003
12043
|
|
|
12004
12044
|
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
12005
12045
|
|
|
@@ -12034,7 +12074,11 @@ type PerfectionistSortHeritageClauses = []|[{
|
|
|
12034
12074
|
|
|
12035
12075
|
locales?: (string | string[])
|
|
12036
12076
|
|
|
12037
|
-
groups?: (string | string[]
|
|
12077
|
+
groups?: (string | string[] | {
|
|
12078
|
+
|
|
12079
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12080
|
+
[k: string]: unknown | undefined
|
|
12081
|
+
})[]
|
|
12038
12082
|
|
|
12039
12083
|
order?: ("asc" | "desc")
|
|
12040
12084
|
}]
|
|
@@ -12053,7 +12097,11 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
12053
12097
|
}
|
|
12054
12098
|
}
|
|
12055
12099
|
|
|
12056
|
-
partitionByComment?: (string[] | boolean | string
|
|
12100
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
12101
|
+
block?: (string[] | boolean | string)
|
|
12102
|
+
line?: (string[] | boolean | string)
|
|
12103
|
+
[k: string]: unknown | undefined
|
|
12104
|
+
})
|
|
12057
12105
|
|
|
12058
12106
|
internalPattern?: string[]
|
|
12059
12107
|
|
|
@@ -12079,7 +12127,11 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
12079
12127
|
|
|
12080
12128
|
locales?: (string | string[])
|
|
12081
12129
|
|
|
12082
|
-
groups?: (string | string[]
|
|
12130
|
+
groups?: (string | string[] | {
|
|
12131
|
+
|
|
12132
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12133
|
+
[k: string]: unknown | undefined
|
|
12134
|
+
})[]
|
|
12083
12135
|
|
|
12084
12136
|
order?: ("asc" | "desc")
|
|
12085
12137
|
})
|
|
@@ -12099,7 +12151,11 @@ type PerfectionistSortInterfaces = {
|
|
|
12099
12151
|
declarationMatchesPattern?: string
|
|
12100
12152
|
}
|
|
12101
12153
|
|
|
12102
|
-
partitionByComment?: (string[] | boolean | string
|
|
12154
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
12155
|
+
block?: (string[] | boolean | string)
|
|
12156
|
+
line?: (string[] | boolean | string)
|
|
12157
|
+
[k: string]: unknown | undefined
|
|
12158
|
+
})
|
|
12103
12159
|
customGroups?: ({
|
|
12104
12160
|
[k: string]: (string | string[]) | undefined
|
|
12105
12161
|
} | ({
|
|
@@ -12109,6 +12165,8 @@ type PerfectionistSortInterfaces = {
|
|
|
12109
12165
|
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
12110
12166
|
|
|
12111
12167
|
order?: ("desc" | "asc")
|
|
12168
|
+
|
|
12169
|
+
newlinesInside?: ("always" | "never")
|
|
12112
12170
|
anyOf?: {
|
|
12113
12171
|
|
|
12114
12172
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
@@ -12125,6 +12183,8 @@ type PerfectionistSortInterfaces = {
|
|
|
12125
12183
|
|
|
12126
12184
|
order?: ("desc" | "asc")
|
|
12127
12185
|
|
|
12186
|
+
newlinesInside?: ("always" | "never")
|
|
12187
|
+
|
|
12128
12188
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
12129
12189
|
|
|
12130
12190
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
@@ -12148,14 +12208,22 @@ type PerfectionistSortInterfaces = {
|
|
|
12148
12208
|
|
|
12149
12209
|
locales?: (string | string[])
|
|
12150
12210
|
|
|
12151
|
-
groups?: (string | string[]
|
|
12211
|
+
groups?: (string | string[] | {
|
|
12212
|
+
|
|
12213
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12214
|
+
[k: string]: unknown | undefined
|
|
12215
|
+
})[]
|
|
12152
12216
|
|
|
12153
12217
|
order?: ("asc" | "desc")
|
|
12154
12218
|
}[]
|
|
12155
12219
|
// ----- perfectionist/sort-intersection-types -----
|
|
12156
12220
|
type PerfectionistSortIntersectionTypes = []|[{
|
|
12157
12221
|
|
|
12158
|
-
partitionByComment?: (string[] | boolean | string
|
|
12222
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
12223
|
+
block?: (string[] | boolean | string)
|
|
12224
|
+
line?: (string[] | boolean | string)
|
|
12225
|
+
[k: string]: unknown | undefined
|
|
12226
|
+
})
|
|
12159
12227
|
|
|
12160
12228
|
partitionByNewLine?: boolean
|
|
12161
12229
|
|
|
@@ -12171,7 +12239,11 @@ type PerfectionistSortIntersectionTypes = []|[{
|
|
|
12171
12239
|
|
|
12172
12240
|
locales?: (string | string[])
|
|
12173
12241
|
|
|
12174
|
-
groups?: (string | string[]
|
|
12242
|
+
groups?: (string | string[] | {
|
|
12243
|
+
|
|
12244
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12245
|
+
[k: string]: unknown | undefined
|
|
12246
|
+
})[]
|
|
12175
12247
|
|
|
12176
12248
|
order?: ("asc" | "desc")
|
|
12177
12249
|
}]
|
|
@@ -12194,14 +12266,22 @@ type PerfectionistSortJsxProps = []|[{
|
|
|
12194
12266
|
|
|
12195
12267
|
locales?: (string | string[])
|
|
12196
12268
|
|
|
12197
|
-
groups?: (string | string[]
|
|
12269
|
+
groups?: (string | string[] | {
|
|
12270
|
+
|
|
12271
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12272
|
+
[k: string]: unknown | undefined
|
|
12273
|
+
})[]
|
|
12198
12274
|
|
|
12199
12275
|
order?: ("asc" | "desc")
|
|
12200
12276
|
}]
|
|
12201
12277
|
// ----- perfectionist/sort-maps -----
|
|
12202
12278
|
type PerfectionistSortMaps = []|[{
|
|
12203
12279
|
|
|
12204
|
-
partitionByComment?: (string[] | boolean | string
|
|
12280
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
12281
|
+
block?: (string[] | boolean | string)
|
|
12282
|
+
line?: (string[] | boolean | string)
|
|
12283
|
+
[k: string]: unknown | undefined
|
|
12284
|
+
})
|
|
12205
12285
|
|
|
12206
12286
|
partitionByNewLine?: boolean
|
|
12207
12287
|
|
|
@@ -12220,7 +12300,11 @@ type PerfectionistSortMaps = []|[{
|
|
|
12220
12300
|
// ----- perfectionist/sort-modules -----
|
|
12221
12301
|
type PerfectionistSortModules = []|[{
|
|
12222
12302
|
|
|
12223
|
-
partitionByComment?: (string[] | boolean | string
|
|
12303
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
12304
|
+
block?: (string[] | boolean | string)
|
|
12305
|
+
line?: (string[] | boolean | string)
|
|
12306
|
+
[k: string]: unknown | undefined
|
|
12307
|
+
})
|
|
12224
12308
|
|
|
12225
12309
|
customGroups?: ({
|
|
12226
12310
|
|
|
@@ -12229,6 +12313,8 @@ type PerfectionistSortModules = []|[{
|
|
|
12229
12313
|
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
12230
12314
|
|
|
12231
12315
|
order?: ("desc" | "asc")
|
|
12316
|
+
|
|
12317
|
+
newlinesInside?: ("always" | "never")
|
|
12232
12318
|
anyOf?: {
|
|
12233
12319
|
|
|
12234
12320
|
decoratorNamePattern?: string
|
|
@@ -12247,6 +12333,8 @@ type PerfectionistSortModules = []|[{
|
|
|
12247
12333
|
|
|
12248
12334
|
order?: ("desc" | "asc")
|
|
12249
12335
|
|
|
12336
|
+
newlinesInside?: ("always" | "never")
|
|
12337
|
+
|
|
12250
12338
|
decoratorNamePattern?: string
|
|
12251
12339
|
|
|
12252
12340
|
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
@@ -12270,14 +12358,22 @@ type PerfectionistSortModules = []|[{
|
|
|
12270
12358
|
|
|
12271
12359
|
locales?: (string | string[])
|
|
12272
12360
|
|
|
12273
|
-
groups?: (string | string[]
|
|
12361
|
+
groups?: (string | string[] | {
|
|
12362
|
+
|
|
12363
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12364
|
+
[k: string]: unknown | undefined
|
|
12365
|
+
})[]
|
|
12274
12366
|
|
|
12275
12367
|
order?: ("asc" | "desc")
|
|
12276
12368
|
}]
|
|
12277
12369
|
// ----- perfectionist/sort-named-exports -----
|
|
12278
12370
|
type PerfectionistSortNamedExports = []|[{
|
|
12279
12371
|
|
|
12280
|
-
partitionByComment?: (string[] | boolean | string
|
|
12372
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
12373
|
+
block?: (string[] | boolean | string)
|
|
12374
|
+
line?: (string[] | boolean | string)
|
|
12375
|
+
[k: string]: unknown | undefined
|
|
12376
|
+
})
|
|
12281
12377
|
|
|
12282
12378
|
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
12283
12379
|
|
|
@@ -12298,7 +12394,11 @@ type PerfectionistSortNamedExports = []|[{
|
|
|
12298
12394
|
// ----- perfectionist/sort-named-imports -----
|
|
12299
12395
|
type PerfectionistSortNamedImports = []|[{
|
|
12300
12396
|
|
|
12301
|
-
partitionByComment?: (string[] | boolean | string
|
|
12397
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
12398
|
+
block?: (string[] | boolean | string)
|
|
12399
|
+
line?: (string[] | boolean | string)
|
|
12400
|
+
[k: string]: unknown | undefined
|
|
12401
|
+
})
|
|
12302
12402
|
|
|
12303
12403
|
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
12304
12404
|
|
|
@@ -12327,7 +12427,11 @@ type PerfectionistSortObjectTypes = {
|
|
|
12327
12427
|
declarationMatchesPattern?: string
|
|
12328
12428
|
}
|
|
12329
12429
|
|
|
12330
|
-
partitionByComment?: (string[] | boolean | string
|
|
12430
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
12431
|
+
block?: (string[] | boolean | string)
|
|
12432
|
+
line?: (string[] | boolean | string)
|
|
12433
|
+
[k: string]: unknown | undefined
|
|
12434
|
+
})
|
|
12331
12435
|
customGroups?: ({
|
|
12332
12436
|
[k: string]: (string | string[]) | undefined
|
|
12333
12437
|
} | ({
|
|
@@ -12337,6 +12441,8 @@ type PerfectionistSortObjectTypes = {
|
|
|
12337
12441
|
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
12338
12442
|
|
|
12339
12443
|
order?: ("desc" | "asc")
|
|
12444
|
+
|
|
12445
|
+
newlinesInside?: ("always" | "never")
|
|
12340
12446
|
anyOf?: {
|
|
12341
12447
|
|
|
12342
12448
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
@@ -12353,6 +12459,8 @@ type PerfectionistSortObjectTypes = {
|
|
|
12353
12459
|
|
|
12354
12460
|
order?: ("desc" | "asc")
|
|
12355
12461
|
|
|
12462
|
+
newlinesInside?: ("always" | "never")
|
|
12463
|
+
|
|
12356
12464
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
12357
12465
|
|
|
12358
12466
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
@@ -12376,7 +12484,11 @@ type PerfectionistSortObjectTypes = {
|
|
|
12376
12484
|
|
|
12377
12485
|
locales?: (string | string[])
|
|
12378
12486
|
|
|
12379
|
-
groups?: (string | string[]
|
|
12487
|
+
groups?: (string | string[] | {
|
|
12488
|
+
|
|
12489
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12490
|
+
[k: string]: unknown | undefined
|
|
12491
|
+
})[]
|
|
12380
12492
|
|
|
12381
12493
|
order?: ("asc" | "desc")
|
|
12382
12494
|
}[]
|
|
@@ -12394,7 +12506,11 @@ type PerfectionistSortObjects = {
|
|
|
12394
12506
|
callingFunctionNamePattern?: string
|
|
12395
12507
|
}
|
|
12396
12508
|
|
|
12397
|
-
partitionByComment?: (string[] | boolean | string
|
|
12509
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
12510
|
+
block?: (string[] | boolean | string)
|
|
12511
|
+
line?: (string[] | boolean | string)
|
|
12512
|
+
[k: string]: unknown | undefined
|
|
12513
|
+
})
|
|
12398
12514
|
|
|
12399
12515
|
destructureOnly?: boolean
|
|
12400
12516
|
|
|
@@ -12420,14 +12536,22 @@ type PerfectionistSortObjects = {
|
|
|
12420
12536
|
|
|
12421
12537
|
locales?: (string | string[])
|
|
12422
12538
|
|
|
12423
|
-
groups?: (string | string[]
|
|
12539
|
+
groups?: (string | string[] | {
|
|
12540
|
+
|
|
12541
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12542
|
+
[k: string]: unknown | undefined
|
|
12543
|
+
})[]
|
|
12424
12544
|
|
|
12425
12545
|
order?: ("asc" | "desc")
|
|
12426
12546
|
}[]
|
|
12427
12547
|
// ----- perfectionist/sort-sets -----
|
|
12428
12548
|
type PerfectionistSortSets = {
|
|
12429
12549
|
|
|
12430
|
-
partitionByComment?: (string[] | boolean | string
|
|
12550
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
12551
|
+
block?: (string[] | boolean | string)
|
|
12552
|
+
line?: (string[] | boolean | string)
|
|
12553
|
+
[k: string]: unknown | undefined
|
|
12554
|
+
})
|
|
12431
12555
|
|
|
12432
12556
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
12433
12557
|
|
|
@@ -12438,6 +12562,8 @@ type PerfectionistSortSets = {
|
|
|
12438
12562
|
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
12439
12563
|
|
|
12440
12564
|
order?: ("desc" | "asc")
|
|
12565
|
+
|
|
12566
|
+
newlinesInside?: ("always" | "never")
|
|
12441
12567
|
anyOf?: {
|
|
12442
12568
|
|
|
12443
12569
|
selector?: ("literal" | "spread")
|
|
@@ -12452,6 +12578,8 @@ type PerfectionistSortSets = {
|
|
|
12452
12578
|
|
|
12453
12579
|
order?: ("desc" | "asc")
|
|
12454
12580
|
|
|
12581
|
+
newlinesInside?: ("always" | "never")
|
|
12582
|
+
|
|
12455
12583
|
selector?: ("literal" | "spread")
|
|
12456
12584
|
|
|
12457
12585
|
elementNamePattern?: string
|
|
@@ -12472,7 +12600,11 @@ type PerfectionistSortSets = {
|
|
|
12472
12600
|
|
|
12473
12601
|
locales?: (string | string[])
|
|
12474
12602
|
|
|
12475
|
-
groups?: (string | string[]
|
|
12603
|
+
groups?: (string | string[] | {
|
|
12604
|
+
|
|
12605
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12606
|
+
[k: string]: unknown | undefined
|
|
12607
|
+
})[]
|
|
12476
12608
|
|
|
12477
12609
|
order?: ("asc" | "desc")
|
|
12478
12610
|
}[]
|
|
@@ -12494,7 +12626,11 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
12494
12626
|
// ----- perfectionist/sort-union-types -----
|
|
12495
12627
|
type PerfectionistSortUnionTypes = []|[{
|
|
12496
12628
|
|
|
12497
|
-
partitionByComment?: (string[] | boolean | string
|
|
12629
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
12630
|
+
block?: (string[] | boolean | string)
|
|
12631
|
+
line?: (string[] | boolean | string)
|
|
12632
|
+
[k: string]: unknown | undefined
|
|
12633
|
+
})
|
|
12498
12634
|
|
|
12499
12635
|
partitionByNewLine?: boolean
|
|
12500
12636
|
|
|
@@ -12510,14 +12646,22 @@ type PerfectionistSortUnionTypes = []|[{
|
|
|
12510
12646
|
|
|
12511
12647
|
locales?: (string | string[])
|
|
12512
12648
|
|
|
12513
|
-
groups?: (string | string[]
|
|
12649
|
+
groups?: (string | string[] | {
|
|
12650
|
+
|
|
12651
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
12652
|
+
[k: string]: unknown | undefined
|
|
12653
|
+
})[]
|
|
12514
12654
|
|
|
12515
12655
|
order?: ("asc" | "desc")
|
|
12516
12656
|
}]
|
|
12517
12657
|
// ----- perfectionist/sort-variable-declarations -----
|
|
12518
12658
|
type PerfectionistSortVariableDeclarations = []|[{
|
|
12519
12659
|
|
|
12520
|
-
partitionByComment?: (string[] | boolean | string
|
|
12660
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
12661
|
+
block?: (string[] | boolean | string)
|
|
12662
|
+
line?: (string[] | boolean | string)
|
|
12663
|
+
[k: string]: unknown | undefined
|
|
12664
|
+
})
|
|
12521
12665
|
|
|
12522
12666
|
partitionByNewLine?: boolean
|
|
12523
12667
|
|
|
@@ -14531,8 +14675,7 @@ type TestNoRestrictedViMethods = []|[{
|
|
|
14531
14675
|
}]
|
|
14532
14676
|
// ----- test/no-standalone-expect -----
|
|
14533
14677
|
type TestNoStandaloneExpect = []|[{
|
|
14534
|
-
|
|
14535
|
-
[k: string]: unknown | undefined
|
|
14678
|
+
additionalTestBlockFunctions?: string[]
|
|
14536
14679
|
}]
|
|
14537
14680
|
// ----- test/prefer-expect-assertions -----
|
|
14538
14681
|
type TestPreferExpectAssertions = []|[{
|
package/dist/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
// ../node_modules/.pnpm/@vinicunca+perkakas@1.2.
|
|
1
|
+
// ../node_modules/.pnpm/@vinicunca+perkakas@1.2.2/node_modules/@vinicunca/perkakas/dist/chunk-6AFNPQW2.js
|
|
2
2
|
function r(o) {
|
|
3
3
|
if (typeof o != "object" || o === null) return false;
|
|
4
4
|
let e3 = Object.getPrototypeOf(o);
|
|
5
5
|
return e3 === null || e3 === Object.prototype;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
// ../node_modules/.pnpm/@vinicunca+perkakas@1.2.
|
|
8
|
+
// ../node_modules/.pnpm/@vinicunca+perkakas@1.2.2/node_modules/@vinicunca/perkakas/dist/chunk-Q2HW4RVT.js
|
|
9
9
|
function e(r2) {
|
|
10
10
|
return typeof r2 == "number" && !Number.isNaN(r2);
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
// ../node_modules/.pnpm/@vinicunca+perkakas@1.2.
|
|
13
|
+
// ../node_modules/.pnpm/@vinicunca+perkakas@1.2.2/node_modules/@vinicunca/perkakas/dist/chunk-AZUJCNUP.js
|
|
14
14
|
function e2(o) {
|
|
15
15
|
return typeof o == "boolean";
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vinicunca/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.15.
|
|
4
|
+
"version": "2.15.6",
|
|
5
5
|
"description": "Vinicunca ESLint config",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "praburangki",
|
|
@@ -110,27 +110,27 @@
|
|
|
110
110
|
}
|
|
111
111
|
},
|
|
112
112
|
"dependencies": {
|
|
113
|
-
"@antfu/install-pkg": "^0.
|
|
114
|
-
"@clack/prompts": "^0.9.
|
|
113
|
+
"@antfu/install-pkg": "^1.0.0",
|
|
114
|
+
"@clack/prompts": "^0.9.1",
|
|
115
115
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
|
|
116
116
|
"@eslint/markdown": "^6.2.1",
|
|
117
117
|
"@stylistic/eslint-plugin": "^2.12.1",
|
|
118
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
119
|
-
"@typescript-eslint/parser": "^8.
|
|
120
|
-
"@unocss/eslint-plugin": "^0.65.
|
|
121
|
-
"@vitest/eslint-plugin": "^1.1.
|
|
122
|
-
"eslint-config-flat-gitignore": "^0.
|
|
123
|
-
"eslint-flat-config-utils": "^0.
|
|
124
|
-
"eslint-merge-processors": "^
|
|
118
|
+
"@typescript-eslint/eslint-plugin": "^8.19.1",
|
|
119
|
+
"@typescript-eslint/parser": "^8.19.1",
|
|
120
|
+
"@unocss/eslint-plugin": "^0.65.4",
|
|
121
|
+
"@vitest/eslint-plugin": "^1.1.24",
|
|
122
|
+
"eslint-config-flat-gitignore": "^1.0.0",
|
|
123
|
+
"eslint-flat-config-utils": "^1.0.0",
|
|
124
|
+
"eslint-merge-processors": "^1.0.0",
|
|
125
125
|
"eslint-plugin-antfu": "^2.7.0",
|
|
126
|
-
"eslint-plugin-command": "^
|
|
127
|
-
"eslint-plugin-format": "^0.1
|
|
126
|
+
"eslint-plugin-command": "^2.1.0",
|
|
127
|
+
"eslint-plugin-format": "^1.0.1",
|
|
128
128
|
"eslint-plugin-import-x": "^4.6.1",
|
|
129
129
|
"eslint-plugin-jsdoc": "^50.6.1",
|
|
130
130
|
"eslint-plugin-jsonc": "^2.18.2",
|
|
131
131
|
"eslint-plugin-n": "^17.15.1",
|
|
132
132
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
133
|
-
"eslint-plugin-perfectionist": "^4.
|
|
133
|
+
"eslint-plugin-perfectionist": "^4.6.0",
|
|
134
134
|
"eslint-plugin-regexp": "^2.7.0",
|
|
135
135
|
"eslint-plugin-sonarjs": "^3.0.1",
|
|
136
136
|
"eslint-plugin-toml": "^0.12.0",
|
|
@@ -138,10 +138,10 @@
|
|
|
138
138
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
139
139
|
"eslint-plugin-vue": "^9.32.0",
|
|
140
140
|
"eslint-plugin-yml": "^1.16.0",
|
|
141
|
-
"eslint-processor-vue-blocks": "^0.
|
|
141
|
+
"eslint-processor-vue-blocks": "^1.0.0",
|
|
142
142
|
"globals": "^15.14.0",
|
|
143
143
|
"jsonc-eslint-parser": "^2.4.0",
|
|
144
|
-
"local-pkg": "^0.
|
|
144
|
+
"local-pkg": "^1.0.0",
|
|
145
145
|
"toml-eslint-parser": "^0.10.0",
|
|
146
146
|
"vue-eslint-parser": "^9.4.3",
|
|
147
147
|
"yaml-eslint-parser": "^1.2.3"
|