@antfu/eslint-config 4.7.0 → 4.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +69 -75
- package/dist/index.d.ts +311 -124
- package/dist/index.js +31 -12
- package/package.json +16 -22
package/dist/cli.js
CHANGED
|
@@ -11,8 +11,8 @@ import c from "ansis";
|
|
|
11
11
|
var package_default = {
|
|
12
12
|
name: "@antfu/eslint-config",
|
|
13
13
|
type: "module",
|
|
14
|
-
version: "4.
|
|
15
|
-
packageManager: "pnpm@10.6.
|
|
14
|
+
version: "4.9.0",
|
|
15
|
+
packageManager: "pnpm@10.6.2",
|
|
16
16
|
description: "Anthony's ESLint config",
|
|
17
17
|
author: "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
|
|
18
18
|
license: "MIT",
|
|
@@ -103,82 +103,76 @@ var package_default = {
|
|
|
103
103
|
}
|
|
104
104
|
},
|
|
105
105
|
dependencies: {
|
|
106
|
-
"@antfu/install-pkg": "
|
|
107
|
-
"@clack/prompts": "
|
|
108
|
-
"@eslint-community/eslint-plugin-eslint-comments": "
|
|
109
|
-
"@eslint/markdown": "
|
|
110
|
-
"@stylistic/eslint-plugin": "
|
|
111
|
-
"@typescript-eslint/eslint-plugin": "
|
|
112
|
-
"@typescript-eslint/parser": "
|
|
113
|
-
"@vitest/eslint-plugin": "
|
|
114
|
-
ansis: "
|
|
115
|
-
cac: "
|
|
116
|
-
"eslint-config-flat-gitignore": "
|
|
117
|
-
"eslint-flat-config-utils": "
|
|
118
|
-
"eslint-merge-processors": "
|
|
119
|
-
"eslint-plugin-antfu": "
|
|
120
|
-
"eslint-plugin-command": "
|
|
121
|
-
"eslint-plugin-import-x": "
|
|
122
|
-
"eslint-plugin-jsdoc": "
|
|
123
|
-
"eslint-plugin-jsonc": "
|
|
124
|
-
"eslint-plugin-n": "
|
|
125
|
-
"eslint-plugin-no-only-tests": "
|
|
126
|
-
"eslint-plugin-perfectionist": "
|
|
127
|
-
"eslint-plugin-pnpm
|
|
128
|
-
"eslint-plugin-regexp": "
|
|
129
|
-
"eslint-plugin-toml": "
|
|
130
|
-
"eslint-plugin-unicorn": "
|
|
131
|
-
"eslint-plugin-unused-imports": "
|
|
132
|
-
"eslint-plugin-vue": "
|
|
133
|
-
"eslint-plugin-yml": "
|
|
134
|
-
"eslint-processor-vue-blocks": "
|
|
135
|
-
globals: "
|
|
136
|
-
"jsonc-eslint-parser": "
|
|
137
|
-
"local-pkg": "
|
|
138
|
-
"parse-gitignore": "
|
|
139
|
-
"toml-eslint-parser": "
|
|
140
|
-
"vue-eslint-parser": "
|
|
141
|
-
"yaml-eslint-parser": "
|
|
106
|
+
"@antfu/install-pkg": "catalog:prod",
|
|
107
|
+
"@clack/prompts": "catalog:prod",
|
|
108
|
+
"@eslint-community/eslint-plugin-eslint-comments": "catalog:prod",
|
|
109
|
+
"@eslint/markdown": "catalog:prod",
|
|
110
|
+
"@stylistic/eslint-plugin": "catalog:prod",
|
|
111
|
+
"@typescript-eslint/eslint-plugin": "catalog:prod",
|
|
112
|
+
"@typescript-eslint/parser": "catalog:prod",
|
|
113
|
+
"@vitest/eslint-plugin": "catalog:prod",
|
|
114
|
+
ansis: "catalog:prod",
|
|
115
|
+
cac: "catalog:prod",
|
|
116
|
+
"eslint-config-flat-gitignore": "catalog:prod",
|
|
117
|
+
"eslint-flat-config-utils": "catalog:prod",
|
|
118
|
+
"eslint-merge-processors": "catalog:prod",
|
|
119
|
+
"eslint-plugin-antfu": "catalog:prod",
|
|
120
|
+
"eslint-plugin-command": "catalog:prod",
|
|
121
|
+
"eslint-plugin-import-x": "catalog:prod",
|
|
122
|
+
"eslint-plugin-jsdoc": "catalog:prod",
|
|
123
|
+
"eslint-plugin-jsonc": "catalog:prod",
|
|
124
|
+
"eslint-plugin-n": "catalog:prod",
|
|
125
|
+
"eslint-plugin-no-only-tests": "catalog:prod",
|
|
126
|
+
"eslint-plugin-perfectionist": "catalog:prod",
|
|
127
|
+
"eslint-plugin-pnpm": "catalog:prod",
|
|
128
|
+
"eslint-plugin-regexp": "catalog:prod",
|
|
129
|
+
"eslint-plugin-toml": "catalog:prod",
|
|
130
|
+
"eslint-plugin-unicorn": "catalog:prod",
|
|
131
|
+
"eslint-plugin-unused-imports": "catalog:prod",
|
|
132
|
+
"eslint-plugin-vue": "catalog:prod",
|
|
133
|
+
"eslint-plugin-yml": "catalog:prod",
|
|
134
|
+
"eslint-processor-vue-blocks": "catalog:prod",
|
|
135
|
+
globals: "catalog:prod",
|
|
136
|
+
"jsonc-eslint-parser": "catalog:prod",
|
|
137
|
+
"local-pkg": "catalog:prod",
|
|
138
|
+
"parse-gitignore": "catalog:prod",
|
|
139
|
+
"toml-eslint-parser": "catalog:prod",
|
|
140
|
+
"vue-eslint-parser": "catalog:prod",
|
|
141
|
+
"yaml-eslint-parser": "catalog:prod"
|
|
142
142
|
},
|
|
143
143
|
devDependencies: {
|
|
144
144
|
"@antfu/eslint-config": "workspace:*",
|
|
145
|
-
"@antfu/ni": "
|
|
146
|
-
"@eslint-react/eslint-plugin": "
|
|
147
|
-
"@eslint/config-inspector": "
|
|
148
|
-
"@prettier/plugin-xml": "
|
|
149
|
-
"@stylistic/eslint-plugin-migrate": "
|
|
150
|
-
"@types/node": "
|
|
151
|
-
"@unocss/eslint-plugin": "
|
|
152
|
-
"astro-eslint-parser": "
|
|
153
|
-
bumpp: "
|
|
154
|
-
eslint: "
|
|
155
|
-
"eslint-plugin-astro": "
|
|
156
|
-
"eslint-plugin-format": "
|
|
157
|
-
"eslint-plugin-react-hooks": "
|
|
158
|
-
"eslint-plugin-react-refresh": "
|
|
159
|
-
"eslint-plugin-solid": "
|
|
160
|
-
"eslint-plugin-svelte": "
|
|
161
|
-
"eslint-typegen": "
|
|
162
|
-
execa: "
|
|
163
|
-
jiti: "
|
|
164
|
-
"lint-staged": "
|
|
165
|
-
"prettier-plugin-astro": "
|
|
166
|
-
"prettier-plugin-slidev": "
|
|
167
|
-
"simple-git-hooks": "
|
|
168
|
-
svelte: "
|
|
169
|
-
"svelte-eslint-parser": "
|
|
170
|
-
tinyglobby: "
|
|
171
|
-
tsup: "
|
|
172
|
-
tsx: "
|
|
173
|
-
typescript: "
|
|
174
|
-
vitest: "
|
|
175
|
-
vue: "
|
|
176
|
-
},
|
|
177
|
-
resolutions: {
|
|
178
|
-
"@eslint-community/eslint-utils": "^4.4.1",
|
|
179
|
-
"@typescript-eslint/utils": "^8.26.0",
|
|
180
|
-
eslint: "^9.21.0",
|
|
181
|
-
tsx: "^4.19.3"
|
|
145
|
+
"@antfu/ni": "catalog:dev",
|
|
146
|
+
"@eslint-react/eslint-plugin": "catalog:peer",
|
|
147
|
+
"@eslint/config-inspector": "catalog:dev",
|
|
148
|
+
"@prettier/plugin-xml": "catalog:peer",
|
|
149
|
+
"@stylistic/eslint-plugin-migrate": "catalog:dev",
|
|
150
|
+
"@types/node": "catalog:dev",
|
|
151
|
+
"@unocss/eslint-plugin": "catalog:peer",
|
|
152
|
+
"astro-eslint-parser": "catalog:peer",
|
|
153
|
+
bumpp: "catalog:dev",
|
|
154
|
+
eslint: "catalog:peer",
|
|
155
|
+
"eslint-plugin-astro": "catalog:peer",
|
|
156
|
+
"eslint-plugin-format": "catalog:peer",
|
|
157
|
+
"eslint-plugin-react-hooks": "catalog:peer",
|
|
158
|
+
"eslint-plugin-react-refresh": "catalog:peer",
|
|
159
|
+
"eslint-plugin-solid": "catalog:peer",
|
|
160
|
+
"eslint-plugin-svelte": "catalog:peer",
|
|
161
|
+
"eslint-typegen": "catalog:dev",
|
|
162
|
+
execa: "catalog:dev",
|
|
163
|
+
jiti: "catalog:dev",
|
|
164
|
+
"lint-staged": "catalog:dev",
|
|
165
|
+
"prettier-plugin-astro": "catalog:peer",
|
|
166
|
+
"prettier-plugin-slidev": "catalog:peer",
|
|
167
|
+
"simple-git-hooks": "catalog:dev",
|
|
168
|
+
svelte: "catalog:peer",
|
|
169
|
+
"svelte-eslint-parser": "catalog:peer",
|
|
170
|
+
tinyglobby: "catalog:dev",
|
|
171
|
+
tsup: "catalog:dev",
|
|
172
|
+
tsx: "catalog:dev",
|
|
173
|
+
typescript: "catalog:dev",
|
|
174
|
+
vitest: "catalog:dev",
|
|
175
|
+
vue: "catalog:peer"
|
|
182
176
|
},
|
|
183
177
|
"simple-git-hooks": {
|
|
184
178
|
"pre-commit": "npx lint-staged"
|
package/dist/index.d.ts
CHANGED
|
@@ -3093,22 +3093,22 @@ interface RuleOptions {
|
|
|
3093
3093
|
*/
|
|
3094
3094
|
'react/no-complicated-conditional-rendering'?: Linter.RuleEntry<[]>
|
|
3095
3095
|
/**
|
|
3096
|
-
* replace 'componentWillMount' with 'UNSAFE_componentWillMount'
|
|
3096
|
+
* replace usages of 'componentWillMount' with 'UNSAFE_componentWillMount'
|
|
3097
3097
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-mount
|
|
3098
3098
|
*/
|
|
3099
3099
|
'react/no-component-will-mount'?: Linter.RuleEntry<[]>
|
|
3100
3100
|
/**
|
|
3101
|
-
* replace 'componentWillReceiveProps' with 'UNSAFE_componentWillReceiveProps'
|
|
3101
|
+
* replace usages of 'componentWillReceiveProps' with 'UNSAFE_componentWillReceiveProps'
|
|
3102
3102
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-receive-props
|
|
3103
3103
|
*/
|
|
3104
3104
|
'react/no-component-will-receive-props'?: Linter.RuleEntry<[]>
|
|
3105
3105
|
/**
|
|
3106
|
-
* replace 'componentWillUpdate' with 'UNSAFE_componentWillUpdate'
|
|
3106
|
+
* replace usages of 'componentWillUpdate' with 'UNSAFE_componentWillUpdate'
|
|
3107
3107
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-update
|
|
3108
3108
|
*/
|
|
3109
3109
|
'react/no-component-will-update'?: Linter.RuleEntry<[]>
|
|
3110
3110
|
/**
|
|
3111
|
-
* replace '<Context.Provider>' with '<Context>'
|
|
3111
|
+
* replace usages of '<Context.Provider>' with '<Context>'
|
|
3112
3112
|
* @see https://eslint-react.xyz/docs/rules/no-context-provider
|
|
3113
3113
|
*/
|
|
3114
3114
|
'react/no-context-provider'?: Linter.RuleEntry<[]>
|
|
@@ -3138,7 +3138,7 @@ interface RuleOptions {
|
|
|
3138
3138
|
*/
|
|
3139
3139
|
'react/no-duplicate-key'?: Linter.RuleEntry<[]>
|
|
3140
3140
|
/**
|
|
3141
|
-
* replace 'forwardRef' with passing 'ref' as a prop
|
|
3141
|
+
* replace usages of 'forwardRef' with passing 'ref' as a prop
|
|
3142
3142
|
* @see https://eslint-react.xyz/docs/rules/no-forward-ref
|
|
3143
3143
|
*/
|
|
3144
3144
|
'react/no-forward-ref'?: Linter.RuleEntry<[]>
|
|
@@ -3238,7 +3238,7 @@ interface RuleOptions {
|
|
|
3238
3238
|
*/
|
|
3239
3239
|
'react/no-unused-state'?: Linter.RuleEntry<[]>
|
|
3240
3240
|
/**
|
|
3241
|
-
* replace 'useContext' with 'use'
|
|
3241
|
+
* replace usages of 'useContext' with 'use'
|
|
3242
3242
|
* @see https://eslint-react.xyz/docs/rules/no-use-context
|
|
3243
3243
|
*/
|
|
3244
3244
|
'react/no-use-context'?: Linter.RuleEntry<[]>
|
|
@@ -10503,8 +10503,6 @@ type PaddingLineBetweenStatements = {
|
|
|
10503
10503
|
// ----- perfectionist/sort-array-includes -----
|
|
10504
10504
|
type PerfectionistSortArrayIncludes = {
|
|
10505
10505
|
|
|
10506
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10507
|
-
|
|
10508
10506
|
fallbackSort?: {
|
|
10509
10507
|
|
|
10510
10508
|
order?: ("asc" | "desc")
|
|
@@ -10513,6 +10511,8 @@ type PerfectionistSortArrayIncludes = {
|
|
|
10513
10511
|
[k: string]: unknown | undefined
|
|
10514
10512
|
}
|
|
10515
10513
|
|
|
10514
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10515
|
+
|
|
10516
10516
|
ignoreCase?: boolean
|
|
10517
10517
|
|
|
10518
10518
|
alphabet?: string
|
|
@@ -10527,13 +10527,21 @@ type PerfectionistSortArrayIncludes = {
|
|
|
10527
10527
|
|
|
10528
10528
|
customGroups?: ({
|
|
10529
10529
|
|
|
10530
|
-
|
|
10530
|
+
newlinesInside?: ("always" | "never")
|
|
10531
|
+
|
|
10532
|
+
fallbackSort?: {
|
|
10533
|
+
|
|
10534
|
+
order?: ("asc" | "desc")
|
|
10535
|
+
|
|
10536
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10537
|
+
[k: string]: unknown | undefined
|
|
10538
|
+
}
|
|
10531
10539
|
|
|
10532
|
-
|
|
10540
|
+
groupName?: string
|
|
10533
10541
|
|
|
10534
|
-
order?: ("
|
|
10542
|
+
order?: ("asc" | "desc")
|
|
10535
10543
|
|
|
10536
|
-
|
|
10544
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10537
10545
|
anyOf?: {
|
|
10538
10546
|
|
|
10539
10547
|
selector?: ("literal" | "spread")
|
|
@@ -10548,13 +10556,21 @@ type PerfectionistSortArrayIncludes = {
|
|
|
10548
10556
|
}[]
|
|
10549
10557
|
} | {
|
|
10550
10558
|
|
|
10551
|
-
|
|
10559
|
+
newlinesInside?: ("always" | "never")
|
|
10552
10560
|
|
|
10553
|
-
|
|
10561
|
+
fallbackSort?: {
|
|
10562
|
+
|
|
10563
|
+
order?: ("asc" | "desc")
|
|
10564
|
+
|
|
10565
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10566
|
+
[k: string]: unknown | undefined
|
|
10567
|
+
}
|
|
10554
10568
|
|
|
10555
|
-
|
|
10569
|
+
groupName?: string
|
|
10556
10570
|
|
|
10557
|
-
|
|
10571
|
+
order?: ("asc" | "desc")
|
|
10572
|
+
|
|
10573
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10558
10574
|
|
|
10559
10575
|
selector?: ("literal" | "spread")
|
|
10560
10576
|
|
|
@@ -10612,8 +10628,6 @@ type PerfectionistSortArrayIncludes = {
|
|
|
10612
10628
|
// ----- perfectionist/sort-classes -----
|
|
10613
10629
|
type PerfectionistSortClasses = []|[{
|
|
10614
10630
|
|
|
10615
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10616
|
-
|
|
10617
10631
|
fallbackSort?: {
|
|
10618
10632
|
|
|
10619
10633
|
order?: ("asc" | "desc")
|
|
@@ -10622,6 +10636,8 @@ type PerfectionistSortClasses = []|[{
|
|
|
10622
10636
|
[k: string]: unknown | undefined
|
|
10623
10637
|
}
|
|
10624
10638
|
|
|
10639
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10640
|
+
|
|
10625
10641
|
ignoreCase?: boolean
|
|
10626
10642
|
|
|
10627
10643
|
alphabet?: string
|
|
@@ -10634,13 +10650,21 @@ type PerfectionistSortClasses = []|[{
|
|
|
10634
10650
|
|
|
10635
10651
|
customGroups?: ({
|
|
10636
10652
|
|
|
10637
|
-
|
|
10653
|
+
newlinesInside?: ("always" | "never")
|
|
10638
10654
|
|
|
10639
|
-
|
|
10655
|
+
fallbackSort?: {
|
|
10656
|
+
|
|
10657
|
+
order?: ("asc" | "desc")
|
|
10658
|
+
|
|
10659
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10660
|
+
[k: string]: unknown | undefined
|
|
10661
|
+
}
|
|
10640
10662
|
|
|
10641
|
-
|
|
10663
|
+
groupName?: string
|
|
10642
10664
|
|
|
10643
|
-
|
|
10665
|
+
order?: ("asc" | "desc")
|
|
10666
|
+
|
|
10667
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10644
10668
|
anyOf?: {
|
|
10645
10669
|
|
|
10646
10670
|
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
@@ -10673,13 +10697,21 @@ type PerfectionistSortClasses = []|[{
|
|
|
10673
10697
|
}[]
|
|
10674
10698
|
} | {
|
|
10675
10699
|
|
|
10676
|
-
|
|
10700
|
+
newlinesInside?: ("always" | "never")
|
|
10677
10701
|
|
|
10678
|
-
|
|
10702
|
+
fallbackSort?: {
|
|
10703
|
+
|
|
10704
|
+
order?: ("asc" | "desc")
|
|
10705
|
+
|
|
10706
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10707
|
+
[k: string]: unknown | undefined
|
|
10708
|
+
}
|
|
10679
10709
|
|
|
10680
|
-
|
|
10710
|
+
groupName?: string
|
|
10681
10711
|
|
|
10682
|
-
|
|
10712
|
+
order?: ("asc" | "desc")
|
|
10713
|
+
|
|
10714
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10683
10715
|
|
|
10684
10716
|
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
10685
10717
|
|
|
@@ -10753,8 +10785,6 @@ type PerfectionistSortClasses = []|[{
|
|
|
10753
10785
|
// ----- perfectionist/sort-decorators -----
|
|
10754
10786
|
type PerfectionistSortDecorators = []|[{
|
|
10755
10787
|
|
|
10756
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10757
|
-
|
|
10758
10788
|
fallbackSort?: {
|
|
10759
10789
|
|
|
10760
10790
|
order?: ("asc" | "desc")
|
|
@@ -10763,6 +10793,8 @@ type PerfectionistSortDecorators = []|[{
|
|
|
10763
10793
|
[k: string]: unknown | undefined
|
|
10764
10794
|
}
|
|
10765
10795
|
|
|
10796
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10797
|
+
|
|
10766
10798
|
ignoreCase?: boolean
|
|
10767
10799
|
|
|
10768
10800
|
alphabet?: string
|
|
@@ -10818,8 +10850,6 @@ type PerfectionistSortDecorators = []|[{
|
|
|
10818
10850
|
// ----- perfectionist/sort-enums -----
|
|
10819
10851
|
type PerfectionistSortEnums = []|[{
|
|
10820
10852
|
|
|
10821
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10822
|
-
|
|
10823
10853
|
fallbackSort?: {
|
|
10824
10854
|
|
|
10825
10855
|
order?: ("asc" | "desc")
|
|
@@ -10828,6 +10858,8 @@ type PerfectionistSortEnums = []|[{
|
|
|
10828
10858
|
[k: string]: unknown | undefined
|
|
10829
10859
|
}
|
|
10830
10860
|
|
|
10861
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10862
|
+
|
|
10831
10863
|
ignoreCase?: boolean
|
|
10832
10864
|
|
|
10833
10865
|
alphabet?: string
|
|
@@ -10843,13 +10875,21 @@ type PerfectionistSortEnums = []|[{
|
|
|
10843
10875
|
[k: string]: (string | string[]) | undefined
|
|
10844
10876
|
} | ({
|
|
10845
10877
|
|
|
10846
|
-
|
|
10878
|
+
newlinesInside?: ("always" | "never")
|
|
10847
10879
|
|
|
10848
|
-
|
|
10880
|
+
fallbackSort?: {
|
|
10881
|
+
|
|
10882
|
+
order?: ("asc" | "desc")
|
|
10883
|
+
|
|
10884
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10885
|
+
[k: string]: unknown | undefined
|
|
10886
|
+
}
|
|
10849
10887
|
|
|
10850
|
-
|
|
10888
|
+
groupName?: string
|
|
10851
10889
|
|
|
10852
|
-
|
|
10890
|
+
order?: ("asc" | "desc")
|
|
10891
|
+
|
|
10892
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10853
10893
|
anyOf?: {
|
|
10854
10894
|
|
|
10855
10895
|
elementValuePattern?: (({
|
|
@@ -10870,13 +10910,21 @@ type PerfectionistSortEnums = []|[{
|
|
|
10870
10910
|
}[]
|
|
10871
10911
|
} | {
|
|
10872
10912
|
|
|
10873
|
-
|
|
10913
|
+
newlinesInside?: ("always" | "never")
|
|
10874
10914
|
|
|
10875
|
-
|
|
10915
|
+
fallbackSort?: {
|
|
10916
|
+
|
|
10917
|
+
order?: ("asc" | "desc")
|
|
10918
|
+
|
|
10919
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10920
|
+
[k: string]: unknown | undefined
|
|
10921
|
+
}
|
|
10876
10922
|
|
|
10877
|
-
|
|
10923
|
+
groupName?: string
|
|
10878
10924
|
|
|
10879
|
-
|
|
10925
|
+
order?: ("asc" | "desc")
|
|
10926
|
+
|
|
10927
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10880
10928
|
|
|
10881
10929
|
elementValuePattern?: (({
|
|
10882
10930
|
pattern?: string
|
|
@@ -10932,8 +10980,6 @@ type PerfectionistSortEnums = []|[{
|
|
|
10932
10980
|
// ----- perfectionist/sort-exports -----
|
|
10933
10981
|
type PerfectionistSortExports = []|[{
|
|
10934
10982
|
|
|
10935
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10936
|
-
|
|
10937
10983
|
fallbackSort?: {
|
|
10938
10984
|
|
|
10939
10985
|
order?: ("asc" | "desc")
|
|
@@ -10942,6 +10988,8 @@ type PerfectionistSortExports = []|[{
|
|
|
10942
10988
|
[k: string]: unknown | undefined
|
|
10943
10989
|
}
|
|
10944
10990
|
|
|
10991
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10992
|
+
|
|
10945
10993
|
ignoreCase?: boolean
|
|
10946
10994
|
|
|
10947
10995
|
alphabet?: string
|
|
@@ -10982,8 +11030,6 @@ type PerfectionistSortExports = []|[{
|
|
|
10982
11030
|
// ----- perfectionist/sort-heritage-clauses -----
|
|
10983
11031
|
type PerfectionistSortHeritageClauses = []|[{
|
|
10984
11032
|
|
|
10985
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10986
|
-
|
|
10987
11033
|
fallbackSort?: {
|
|
10988
11034
|
|
|
10989
11035
|
order?: ("asc" | "desc")
|
|
@@ -10992,6 +11038,8 @@ type PerfectionistSortHeritageClauses = []|[{
|
|
|
10992
11038
|
[k: string]: unknown | undefined
|
|
10993
11039
|
}
|
|
10994
11040
|
|
|
11041
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11042
|
+
|
|
10995
11043
|
ignoreCase?: boolean
|
|
10996
11044
|
|
|
10997
11045
|
alphabet?: string
|
|
@@ -11015,8 +11063,6 @@ type PerfectionistSortHeritageClauses = []|[{
|
|
|
11015
11063
|
type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
|
|
11016
11064
|
type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
11017
11065
|
|
|
11018
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11019
|
-
|
|
11020
11066
|
fallbackSort?: {
|
|
11021
11067
|
|
|
11022
11068
|
order?: ("asc" | "desc")
|
|
@@ -11025,6 +11071,8 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
11025
11071
|
[k: string]: unknown | undefined
|
|
11026
11072
|
}
|
|
11027
11073
|
|
|
11074
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11075
|
+
|
|
11028
11076
|
ignoreCase?: boolean
|
|
11029
11077
|
|
|
11030
11078
|
alphabet?: string
|
|
@@ -11104,8 +11152,6 @@ interface _PerfectionistSortImports_IsLineLength {
|
|
|
11104
11152
|
// ----- perfectionist/sort-interfaces -----
|
|
11105
11153
|
type PerfectionistSortInterfaces = {
|
|
11106
11154
|
|
|
11107
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11108
|
-
|
|
11109
11155
|
fallbackSort?: {
|
|
11110
11156
|
|
|
11111
11157
|
order?: ("asc" | "desc")
|
|
@@ -11114,6 +11160,8 @@ type PerfectionistSortInterfaces = {
|
|
|
11114
11160
|
[k: string]: unknown | undefined
|
|
11115
11161
|
}
|
|
11116
11162
|
|
|
11163
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11164
|
+
|
|
11117
11165
|
ignoreCase?: boolean
|
|
11118
11166
|
|
|
11119
11167
|
alphabet?: string
|
|
@@ -11127,19 +11175,36 @@ type PerfectionistSortInterfaces = {
|
|
|
11127
11175
|
[k: string]: (string | string[]) | undefined
|
|
11128
11176
|
} | ({
|
|
11129
11177
|
|
|
11130
|
-
|
|
11178
|
+
newlinesInside?: ("always" | "never")
|
|
11179
|
+
|
|
11180
|
+
fallbackSort?: {
|
|
11181
|
+
|
|
11182
|
+
order?: ("asc" | "desc")
|
|
11183
|
+
|
|
11184
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11185
|
+
sortBy?: ("name" | "value")
|
|
11186
|
+
[k: string]: unknown | undefined
|
|
11187
|
+
}
|
|
11131
11188
|
|
|
11132
|
-
|
|
11189
|
+
groupName?: string
|
|
11133
11190
|
|
|
11134
|
-
order?: ("
|
|
11191
|
+
order?: ("asc" | "desc")
|
|
11135
11192
|
|
|
11136
|
-
|
|
11193
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11137
11194
|
anyOf?: {
|
|
11138
11195
|
|
|
11139
11196
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
11140
11197
|
|
|
11141
11198
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
11142
11199
|
|
|
11200
|
+
elementValuePattern?: (({
|
|
11201
|
+
pattern?: string
|
|
11202
|
+
flags?: string
|
|
11203
|
+
} | string)[] | ({
|
|
11204
|
+
pattern?: string
|
|
11205
|
+
flags?: string
|
|
11206
|
+
} | string))
|
|
11207
|
+
|
|
11143
11208
|
elementNamePattern?: (({
|
|
11144
11209
|
pattern?: string
|
|
11145
11210
|
flags?: string
|
|
@@ -11147,21 +11212,39 @@ type PerfectionistSortInterfaces = {
|
|
|
11147
11212
|
pattern?: string
|
|
11148
11213
|
flags?: string
|
|
11149
11214
|
} | string))
|
|
11215
|
+
sortBy?: ("name" | "value")
|
|
11150
11216
|
}[]
|
|
11151
11217
|
} | {
|
|
11152
11218
|
|
|
11153
|
-
|
|
11219
|
+
newlinesInside?: ("always" | "never")
|
|
11154
11220
|
|
|
11155
|
-
|
|
11221
|
+
fallbackSort?: {
|
|
11222
|
+
|
|
11223
|
+
order?: ("asc" | "desc")
|
|
11224
|
+
|
|
11225
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11226
|
+
sortBy?: ("name" | "value")
|
|
11227
|
+
[k: string]: unknown | undefined
|
|
11228
|
+
}
|
|
11156
11229
|
|
|
11157
|
-
|
|
11230
|
+
groupName?: string
|
|
11158
11231
|
|
|
11159
|
-
|
|
11232
|
+
order?: ("asc" | "desc")
|
|
11233
|
+
|
|
11234
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11160
11235
|
|
|
11161
11236
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
11162
11237
|
|
|
11163
11238
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
11164
11239
|
|
|
11240
|
+
elementValuePattern?: (({
|
|
11241
|
+
pattern?: string
|
|
11242
|
+
flags?: string
|
|
11243
|
+
} | string)[] | ({
|
|
11244
|
+
pattern?: string
|
|
11245
|
+
flags?: string
|
|
11246
|
+
} | string))
|
|
11247
|
+
|
|
11165
11248
|
elementNamePattern?: (({
|
|
11166
11249
|
pattern?: string
|
|
11167
11250
|
flags?: string
|
|
@@ -11169,6 +11252,7 @@ type PerfectionistSortInterfaces = {
|
|
|
11169
11252
|
pattern?: string
|
|
11170
11253
|
flags?: string
|
|
11171
11254
|
} | string))
|
|
11255
|
+
sortBy?: ("name" | "value")
|
|
11172
11256
|
})[])
|
|
11173
11257
|
useConfigurationIf?: {
|
|
11174
11258
|
|
|
@@ -11225,6 +11309,7 @@ type PerfectionistSortInterfaces = {
|
|
|
11225
11309
|
pattern?: string
|
|
11226
11310
|
flags?: string
|
|
11227
11311
|
} | string))
|
|
11312
|
+
sortBy?: ("name" | "value")
|
|
11228
11313
|
|
|
11229
11314
|
groups?: (string | string[] | {
|
|
11230
11315
|
|
|
@@ -11234,8 +11319,6 @@ type PerfectionistSortInterfaces = {
|
|
|
11234
11319
|
// ----- perfectionist/sort-intersection-types -----
|
|
11235
11320
|
type PerfectionistSortIntersectionTypes = []|[{
|
|
11236
11321
|
|
|
11237
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11238
|
-
|
|
11239
11322
|
fallbackSort?: {
|
|
11240
11323
|
|
|
11241
11324
|
order?: ("asc" | "desc")
|
|
@@ -11244,6 +11327,8 @@ type PerfectionistSortIntersectionTypes = []|[{
|
|
|
11244
11327
|
[k: string]: unknown | undefined
|
|
11245
11328
|
}
|
|
11246
11329
|
|
|
11330
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11331
|
+
|
|
11247
11332
|
ignoreCase?: boolean
|
|
11248
11333
|
|
|
11249
11334
|
alphabet?: string
|
|
@@ -11289,8 +11374,6 @@ type PerfectionistSortIntersectionTypes = []|[{
|
|
|
11289
11374
|
// ----- perfectionist/sort-jsx-props -----
|
|
11290
11375
|
type PerfectionistSortJsxProps = {
|
|
11291
11376
|
|
|
11292
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11293
|
-
|
|
11294
11377
|
fallbackSort?: {
|
|
11295
11378
|
|
|
11296
11379
|
order?: ("asc" | "desc")
|
|
@@ -11299,6 +11382,8 @@ type PerfectionistSortJsxProps = {
|
|
|
11299
11382
|
[k: string]: unknown | undefined
|
|
11300
11383
|
}
|
|
11301
11384
|
|
|
11385
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11386
|
+
|
|
11302
11387
|
ignoreCase?: boolean
|
|
11303
11388
|
|
|
11304
11389
|
alphabet?: string
|
|
@@ -11351,8 +11436,6 @@ type PerfectionistSortJsxProps = {
|
|
|
11351
11436
|
// ----- perfectionist/sort-maps -----
|
|
11352
11437
|
type PerfectionistSortMaps = {
|
|
11353
11438
|
|
|
11354
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11355
|
-
|
|
11356
11439
|
fallbackSort?: {
|
|
11357
11440
|
|
|
11358
11441
|
order?: ("asc" | "desc")
|
|
@@ -11361,6 +11444,8 @@ type PerfectionistSortMaps = {
|
|
|
11361
11444
|
[k: string]: unknown | undefined
|
|
11362
11445
|
}
|
|
11363
11446
|
|
|
11447
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11448
|
+
|
|
11364
11449
|
ignoreCase?: boolean
|
|
11365
11450
|
|
|
11366
11451
|
alphabet?: string
|
|
@@ -11373,13 +11458,21 @@ type PerfectionistSortMaps = {
|
|
|
11373
11458
|
|
|
11374
11459
|
customGroups?: ({
|
|
11375
11460
|
|
|
11376
|
-
|
|
11461
|
+
newlinesInside?: ("always" | "never")
|
|
11462
|
+
|
|
11463
|
+
fallbackSort?: {
|
|
11464
|
+
|
|
11465
|
+
order?: ("asc" | "desc")
|
|
11466
|
+
|
|
11467
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11468
|
+
[k: string]: unknown | undefined
|
|
11469
|
+
}
|
|
11377
11470
|
|
|
11378
|
-
|
|
11471
|
+
groupName?: string
|
|
11379
11472
|
|
|
11380
|
-
order?: ("
|
|
11473
|
+
order?: ("asc" | "desc")
|
|
11381
11474
|
|
|
11382
|
-
|
|
11475
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11383
11476
|
anyOf?: {
|
|
11384
11477
|
|
|
11385
11478
|
elementNamePattern?: (({
|
|
@@ -11392,13 +11485,21 @@ type PerfectionistSortMaps = {
|
|
|
11392
11485
|
}[]
|
|
11393
11486
|
} | {
|
|
11394
11487
|
|
|
11395
|
-
|
|
11488
|
+
newlinesInside?: ("always" | "never")
|
|
11489
|
+
|
|
11490
|
+
fallbackSort?: {
|
|
11491
|
+
|
|
11492
|
+
order?: ("asc" | "desc")
|
|
11493
|
+
|
|
11494
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11495
|
+
[k: string]: unknown | undefined
|
|
11496
|
+
}
|
|
11396
11497
|
|
|
11397
|
-
|
|
11498
|
+
groupName?: string
|
|
11398
11499
|
|
|
11399
|
-
order?: ("
|
|
11500
|
+
order?: ("asc" | "desc")
|
|
11400
11501
|
|
|
11401
|
-
|
|
11502
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11402
11503
|
|
|
11403
11504
|
elementNamePattern?: (({
|
|
11404
11505
|
pattern?: string
|
|
@@ -11454,8 +11555,6 @@ type PerfectionistSortMaps = {
|
|
|
11454
11555
|
// ----- perfectionist/sort-modules -----
|
|
11455
11556
|
type PerfectionistSortModules = []|[{
|
|
11456
11557
|
|
|
11457
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11458
|
-
|
|
11459
11558
|
fallbackSort?: {
|
|
11460
11559
|
|
|
11461
11560
|
order?: ("asc" | "desc")
|
|
@@ -11464,6 +11563,8 @@ type PerfectionistSortModules = []|[{
|
|
|
11464
11563
|
[k: string]: unknown | undefined
|
|
11465
11564
|
}
|
|
11466
11565
|
|
|
11566
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11567
|
+
|
|
11467
11568
|
ignoreCase?: boolean
|
|
11468
11569
|
|
|
11469
11570
|
alphabet?: string
|
|
@@ -11476,13 +11577,21 @@ type PerfectionistSortModules = []|[{
|
|
|
11476
11577
|
|
|
11477
11578
|
customGroups?: ({
|
|
11478
11579
|
|
|
11479
|
-
|
|
11580
|
+
newlinesInside?: ("always" | "never")
|
|
11581
|
+
|
|
11582
|
+
fallbackSort?: {
|
|
11583
|
+
|
|
11584
|
+
order?: ("asc" | "desc")
|
|
11585
|
+
|
|
11586
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11587
|
+
[k: string]: unknown | undefined
|
|
11588
|
+
}
|
|
11480
11589
|
|
|
11481
|
-
|
|
11590
|
+
groupName?: string
|
|
11482
11591
|
|
|
11483
|
-
order?: ("
|
|
11592
|
+
order?: ("asc" | "desc")
|
|
11484
11593
|
|
|
11485
|
-
|
|
11594
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11486
11595
|
anyOf?: {
|
|
11487
11596
|
|
|
11488
11597
|
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
@@ -11507,13 +11616,21 @@ type PerfectionistSortModules = []|[{
|
|
|
11507
11616
|
}[]
|
|
11508
11617
|
} | {
|
|
11509
11618
|
|
|
11510
|
-
|
|
11619
|
+
newlinesInside?: ("always" | "never")
|
|
11511
11620
|
|
|
11512
|
-
|
|
11621
|
+
fallbackSort?: {
|
|
11622
|
+
|
|
11623
|
+
order?: ("asc" | "desc")
|
|
11624
|
+
|
|
11625
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11626
|
+
[k: string]: unknown | undefined
|
|
11627
|
+
}
|
|
11513
11628
|
|
|
11514
|
-
|
|
11629
|
+
groupName?: string
|
|
11515
11630
|
|
|
11516
|
-
|
|
11631
|
+
order?: ("asc" | "desc")
|
|
11632
|
+
|
|
11633
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11517
11634
|
|
|
11518
11635
|
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
11519
11636
|
|
|
@@ -11571,8 +11688,6 @@ type PerfectionistSortModules = []|[{
|
|
|
11571
11688
|
// ----- perfectionist/sort-named-exports -----
|
|
11572
11689
|
type PerfectionistSortNamedExports = []|[{
|
|
11573
11690
|
|
|
11574
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11575
|
-
|
|
11576
11691
|
fallbackSort?: {
|
|
11577
11692
|
|
|
11578
11693
|
order?: ("asc" | "desc")
|
|
@@ -11581,6 +11696,8 @@ type PerfectionistSortNamedExports = []|[{
|
|
|
11581
11696
|
[k: string]: unknown | undefined
|
|
11582
11697
|
}
|
|
11583
11698
|
|
|
11699
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11700
|
+
|
|
11584
11701
|
ignoreCase?: boolean
|
|
11585
11702
|
|
|
11586
11703
|
alphabet?: string
|
|
@@ -11623,8 +11740,6 @@ type PerfectionistSortNamedExports = []|[{
|
|
|
11623
11740
|
// ----- perfectionist/sort-named-imports -----
|
|
11624
11741
|
type PerfectionistSortNamedImports = []|[{
|
|
11625
11742
|
|
|
11626
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11627
|
-
|
|
11628
11743
|
fallbackSort?: {
|
|
11629
11744
|
|
|
11630
11745
|
order?: ("asc" | "desc")
|
|
@@ -11633,6 +11748,8 @@ type PerfectionistSortNamedImports = []|[{
|
|
|
11633
11748
|
[k: string]: unknown | undefined
|
|
11634
11749
|
}
|
|
11635
11750
|
|
|
11751
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11752
|
+
|
|
11636
11753
|
ignoreCase?: boolean
|
|
11637
11754
|
|
|
11638
11755
|
alphabet?: string
|
|
@@ -11675,8 +11792,6 @@ type PerfectionistSortNamedImports = []|[{
|
|
|
11675
11792
|
// ----- perfectionist/sort-object-types -----
|
|
11676
11793
|
type PerfectionistSortObjectTypes = {
|
|
11677
11794
|
|
|
11678
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11679
|
-
|
|
11680
11795
|
fallbackSort?: {
|
|
11681
11796
|
|
|
11682
11797
|
order?: ("asc" | "desc")
|
|
@@ -11685,6 +11800,8 @@ type PerfectionistSortObjectTypes = {
|
|
|
11685
11800
|
[k: string]: unknown | undefined
|
|
11686
11801
|
}
|
|
11687
11802
|
|
|
11803
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11804
|
+
|
|
11688
11805
|
ignoreCase?: boolean
|
|
11689
11806
|
|
|
11690
11807
|
alphabet?: string
|
|
@@ -11698,19 +11815,36 @@ type PerfectionistSortObjectTypes = {
|
|
|
11698
11815
|
[k: string]: (string | string[]) | undefined
|
|
11699
11816
|
} | ({
|
|
11700
11817
|
|
|
11701
|
-
|
|
11818
|
+
newlinesInside?: ("always" | "never")
|
|
11702
11819
|
|
|
11703
|
-
|
|
11820
|
+
fallbackSort?: {
|
|
11821
|
+
|
|
11822
|
+
order?: ("asc" | "desc")
|
|
11823
|
+
|
|
11824
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11825
|
+
sortBy?: ("name" | "value")
|
|
11826
|
+
[k: string]: unknown | undefined
|
|
11827
|
+
}
|
|
11704
11828
|
|
|
11705
|
-
|
|
11829
|
+
groupName?: string
|
|
11706
11830
|
|
|
11707
|
-
|
|
11831
|
+
order?: ("asc" | "desc")
|
|
11832
|
+
|
|
11833
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11708
11834
|
anyOf?: {
|
|
11709
11835
|
|
|
11710
11836
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
11711
11837
|
|
|
11712
11838
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
11713
11839
|
|
|
11840
|
+
elementValuePattern?: (({
|
|
11841
|
+
pattern?: string
|
|
11842
|
+
flags?: string
|
|
11843
|
+
} | string)[] | ({
|
|
11844
|
+
pattern?: string
|
|
11845
|
+
flags?: string
|
|
11846
|
+
} | string))
|
|
11847
|
+
|
|
11714
11848
|
elementNamePattern?: (({
|
|
11715
11849
|
pattern?: string
|
|
11716
11850
|
flags?: string
|
|
@@ -11718,21 +11852,39 @@ type PerfectionistSortObjectTypes = {
|
|
|
11718
11852
|
pattern?: string
|
|
11719
11853
|
flags?: string
|
|
11720
11854
|
} | string))
|
|
11855
|
+
sortBy?: ("name" | "value")
|
|
11721
11856
|
}[]
|
|
11722
11857
|
} | {
|
|
11723
11858
|
|
|
11724
|
-
|
|
11859
|
+
newlinesInside?: ("always" | "never")
|
|
11725
11860
|
|
|
11726
|
-
|
|
11861
|
+
fallbackSort?: {
|
|
11862
|
+
|
|
11863
|
+
order?: ("asc" | "desc")
|
|
11864
|
+
|
|
11865
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11866
|
+
sortBy?: ("name" | "value")
|
|
11867
|
+
[k: string]: unknown | undefined
|
|
11868
|
+
}
|
|
11727
11869
|
|
|
11728
|
-
|
|
11870
|
+
groupName?: string
|
|
11729
11871
|
|
|
11730
|
-
|
|
11872
|
+
order?: ("asc" | "desc")
|
|
11873
|
+
|
|
11874
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11731
11875
|
|
|
11732
11876
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
11733
11877
|
|
|
11734
11878
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
11735
11879
|
|
|
11880
|
+
elementValuePattern?: (({
|
|
11881
|
+
pattern?: string
|
|
11882
|
+
flags?: string
|
|
11883
|
+
} | string)[] | ({
|
|
11884
|
+
pattern?: string
|
|
11885
|
+
flags?: string
|
|
11886
|
+
} | string))
|
|
11887
|
+
|
|
11736
11888
|
elementNamePattern?: (({
|
|
11737
11889
|
pattern?: string
|
|
11738
11890
|
flags?: string
|
|
@@ -11740,6 +11892,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
11740
11892
|
pattern?: string
|
|
11741
11893
|
flags?: string
|
|
11742
11894
|
} | string))
|
|
11895
|
+
sortBy?: ("name" | "value")
|
|
11743
11896
|
})[])
|
|
11744
11897
|
useConfigurationIf?: {
|
|
11745
11898
|
|
|
@@ -11796,6 +11949,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
11796
11949
|
pattern?: string
|
|
11797
11950
|
flags?: string
|
|
11798
11951
|
} | string))
|
|
11952
|
+
sortBy?: ("name" | "value")
|
|
11799
11953
|
|
|
11800
11954
|
groups?: (string | string[] | {
|
|
11801
11955
|
|
|
@@ -11805,8 +11959,6 @@ type PerfectionistSortObjectTypes = {
|
|
|
11805
11959
|
// ----- perfectionist/sort-objects -----
|
|
11806
11960
|
type PerfectionistSortObjects = {
|
|
11807
11961
|
|
|
11808
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11809
|
-
|
|
11810
11962
|
fallbackSort?: {
|
|
11811
11963
|
|
|
11812
11964
|
order?: ("asc" | "desc")
|
|
@@ -11815,6 +11967,8 @@ type PerfectionistSortObjects = {
|
|
|
11815
11967
|
[k: string]: unknown | undefined
|
|
11816
11968
|
}
|
|
11817
11969
|
|
|
11970
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11971
|
+
|
|
11818
11972
|
ignoreCase?: boolean
|
|
11819
11973
|
|
|
11820
11974
|
alphabet?: string
|
|
@@ -11833,13 +11987,21 @@ type PerfectionistSortObjects = {
|
|
|
11833
11987
|
[k: string]: (string | string[]) | undefined
|
|
11834
11988
|
} | ({
|
|
11835
11989
|
|
|
11836
|
-
|
|
11990
|
+
newlinesInside?: ("always" | "never")
|
|
11837
11991
|
|
|
11838
|
-
|
|
11992
|
+
fallbackSort?: {
|
|
11993
|
+
|
|
11994
|
+
order?: ("asc" | "desc")
|
|
11995
|
+
|
|
11996
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11997
|
+
[k: string]: unknown | undefined
|
|
11998
|
+
}
|
|
11839
11999
|
|
|
11840
|
-
|
|
12000
|
+
groupName?: string
|
|
11841
12001
|
|
|
11842
|
-
|
|
12002
|
+
order?: ("asc" | "desc")
|
|
12003
|
+
|
|
12004
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11843
12005
|
anyOf?: {
|
|
11844
12006
|
|
|
11845
12007
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
@@ -11864,13 +12026,21 @@ type PerfectionistSortObjects = {
|
|
|
11864
12026
|
}[]
|
|
11865
12027
|
} | {
|
|
11866
12028
|
|
|
11867
|
-
|
|
12029
|
+
newlinesInside?: ("always" | "never")
|
|
11868
12030
|
|
|
11869
|
-
|
|
12031
|
+
fallbackSort?: {
|
|
12032
|
+
|
|
12033
|
+
order?: ("asc" | "desc")
|
|
12034
|
+
|
|
12035
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12036
|
+
[k: string]: unknown | undefined
|
|
12037
|
+
}
|
|
11870
12038
|
|
|
11871
|
-
|
|
12039
|
+
groupName?: string
|
|
11872
12040
|
|
|
11873
|
-
|
|
12041
|
+
order?: ("asc" | "desc")
|
|
12042
|
+
|
|
12043
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11874
12044
|
|
|
11875
12045
|
modifiers?: ("optional" | "required" | "multiline")[]
|
|
11876
12046
|
|
|
@@ -11960,8 +12130,6 @@ type PerfectionistSortObjects = {
|
|
|
11960
12130
|
// ----- perfectionist/sort-sets -----
|
|
11961
12131
|
type PerfectionistSortSets = {
|
|
11962
12132
|
|
|
11963
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11964
|
-
|
|
11965
12133
|
fallbackSort?: {
|
|
11966
12134
|
|
|
11967
12135
|
order?: ("asc" | "desc")
|
|
@@ -11970,6 +12138,8 @@ type PerfectionistSortSets = {
|
|
|
11970
12138
|
[k: string]: unknown | undefined
|
|
11971
12139
|
}
|
|
11972
12140
|
|
|
12141
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
12142
|
+
|
|
11973
12143
|
ignoreCase?: boolean
|
|
11974
12144
|
|
|
11975
12145
|
alphabet?: string
|
|
@@ -11984,13 +12154,21 @@ type PerfectionistSortSets = {
|
|
|
11984
12154
|
|
|
11985
12155
|
customGroups?: ({
|
|
11986
12156
|
|
|
11987
|
-
|
|
12157
|
+
newlinesInside?: ("always" | "never")
|
|
11988
12158
|
|
|
11989
|
-
|
|
12159
|
+
fallbackSort?: {
|
|
12160
|
+
|
|
12161
|
+
order?: ("asc" | "desc")
|
|
12162
|
+
|
|
12163
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12164
|
+
[k: string]: unknown | undefined
|
|
12165
|
+
}
|
|
11990
12166
|
|
|
11991
|
-
|
|
12167
|
+
groupName?: string
|
|
11992
12168
|
|
|
11993
|
-
|
|
12169
|
+
order?: ("asc" | "desc")
|
|
12170
|
+
|
|
12171
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
11994
12172
|
anyOf?: {
|
|
11995
12173
|
|
|
11996
12174
|
selector?: ("literal" | "spread")
|
|
@@ -12005,13 +12183,21 @@ type PerfectionistSortSets = {
|
|
|
12005
12183
|
}[]
|
|
12006
12184
|
} | {
|
|
12007
12185
|
|
|
12008
|
-
|
|
12186
|
+
newlinesInside?: ("always" | "never")
|
|
12187
|
+
|
|
12188
|
+
fallbackSort?: {
|
|
12189
|
+
|
|
12190
|
+
order?: ("asc" | "desc")
|
|
12191
|
+
|
|
12192
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12193
|
+
[k: string]: unknown | undefined
|
|
12194
|
+
}
|
|
12009
12195
|
|
|
12010
|
-
|
|
12196
|
+
groupName?: string
|
|
12011
12197
|
|
|
12012
|
-
order?: ("
|
|
12198
|
+
order?: ("asc" | "desc")
|
|
12013
12199
|
|
|
12014
|
-
|
|
12200
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
12015
12201
|
|
|
12016
12202
|
selector?: ("literal" | "spread")
|
|
12017
12203
|
|
|
@@ -12069,8 +12255,6 @@ type PerfectionistSortSets = {
|
|
|
12069
12255
|
// ----- perfectionist/sort-switch-case -----
|
|
12070
12256
|
type PerfectionistSortSwitchCase = []|[{
|
|
12071
12257
|
|
|
12072
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
12073
|
-
|
|
12074
12258
|
fallbackSort?: {
|
|
12075
12259
|
|
|
12076
12260
|
order?: ("asc" | "desc")
|
|
@@ -12079,6 +12263,8 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
12079
12263
|
[k: string]: unknown | undefined
|
|
12080
12264
|
}
|
|
12081
12265
|
|
|
12266
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
12267
|
+
|
|
12082
12268
|
ignoreCase?: boolean
|
|
12083
12269
|
|
|
12084
12270
|
alphabet?: string
|
|
@@ -12092,8 +12278,6 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
12092
12278
|
// ----- perfectionist/sort-union-types -----
|
|
12093
12279
|
type PerfectionistSortUnionTypes = []|[{
|
|
12094
12280
|
|
|
12095
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
12096
|
-
|
|
12097
12281
|
fallbackSort?: {
|
|
12098
12282
|
|
|
12099
12283
|
order?: ("asc" | "desc")
|
|
@@ -12102,6 +12286,8 @@ type PerfectionistSortUnionTypes = []|[{
|
|
|
12102
12286
|
[k: string]: unknown | undefined
|
|
12103
12287
|
}
|
|
12104
12288
|
|
|
12289
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
12290
|
+
|
|
12105
12291
|
ignoreCase?: boolean
|
|
12106
12292
|
|
|
12107
12293
|
alphabet?: string
|
|
@@ -12147,8 +12333,6 @@ type PerfectionistSortUnionTypes = []|[{
|
|
|
12147
12333
|
// ----- perfectionist/sort-variable-declarations -----
|
|
12148
12334
|
type PerfectionistSortVariableDeclarations = []|[{
|
|
12149
12335
|
|
|
12150
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
12151
|
-
|
|
12152
12336
|
fallbackSort?: {
|
|
12153
12337
|
|
|
12154
12338
|
order?: ("asc" | "desc")
|
|
@@ -12157,6 +12341,8 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
12157
12341
|
[k: string]: unknown | undefined
|
|
12158
12342
|
}
|
|
12159
12343
|
|
|
12344
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
12345
|
+
|
|
12160
12346
|
ignoreCase?: boolean
|
|
12161
12347
|
|
|
12162
12348
|
alphabet?: string
|
|
@@ -13860,6 +14046,7 @@ type SveltePreferClassDirective = []|[{
|
|
|
13860
14046
|
type SveltePreferConst = []|[{
|
|
13861
14047
|
destructuring?: ("any" | "all")
|
|
13862
14048
|
ignoreReadBeforeAssign?: boolean
|
|
14049
|
+
excludedRunes?: string[]
|
|
13863
14050
|
}]
|
|
13864
14051
|
// ----- svelte/shorthand-attribute -----
|
|
13865
14052
|
type SvelteShorthandAttribute = []|[{
|
|
@@ -17400,16 +17587,16 @@ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
|
|
|
17400
17587
|
*/
|
|
17401
17588
|
unocss?: boolean | OptionsUnoCSS;
|
|
17402
17589
|
/**
|
|
17403
|
-
* Enable pnpm catalogs support.
|
|
17590
|
+
* Enable pnpm (workspace/catalogs) support.
|
|
17404
17591
|
*
|
|
17405
17592
|
* Currently it's disabled by default, as it's still experimental.
|
|
17406
|
-
* In the future it will be smartly enabled based on the project
|
|
17593
|
+
* In the future it will be smartly enabled based on the project usage.
|
|
17407
17594
|
*
|
|
17408
|
-
* @see https://github.com/antfu/pnpm-
|
|
17595
|
+
* @see https://github.com/antfu/pnpm-workspace-utils
|
|
17409
17596
|
* @experimental
|
|
17410
17597
|
* @default false
|
|
17411
17598
|
*/
|
|
17412
|
-
|
|
17599
|
+
pnpm?: boolean;
|
|
17413
17600
|
/**
|
|
17414
17601
|
* Use external formatters to format files.
|
|
17415
17602
|
*
|
|
@@ -17512,7 +17699,7 @@ declare function node(): Promise<TypedFlatConfigItem[]>;
|
|
|
17512
17699
|
*/
|
|
17513
17700
|
declare function perfectionist(): Promise<TypedFlatConfigItem[]>;
|
|
17514
17701
|
|
|
17515
|
-
declare function
|
|
17702
|
+
declare function pnpm(): Promise<TypedFlatConfigItem[]>;
|
|
17516
17703
|
|
|
17517
17704
|
declare function react(options?: OptionsTypeScriptParserOptions & OptionsTypeScriptWithTypes & OptionsOverrides & OptionsFiles): Promise<TypedFlatConfigItem[]>;
|
|
17518
17705
|
|
|
@@ -17658,4 +17845,4 @@ declare function ensurePackages(packages: (string | undefined)[]): Promise<void>
|
|
|
17658
17845
|
declare function isInEditorEnv(): boolean;
|
|
17659
17846
|
declare function isInGitHooksOrLintStaged(): boolean;
|
|
17660
17847
|
|
|
17661
|
-
export { type Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsProjectType, type OptionsRegExp, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsUnicorn, type OptionsUnoCSS, type OptionsVue, type ResolvedOptions, type Rules, type StylisticConfig, StylisticConfigDefaults, type StylisticOptions, type TypedFlatConfigItem, antfu, astro, combine, command, comments, antfu as default, defaultPluginRenaming, disables, ensurePackages, formatters, getOverrides, ignores, imports, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, javascript, jsdoc, jsonc, jsx, markdown, node, parserPlain, perfectionist,
|
|
17848
|
+
export { type Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsProjectType, type OptionsRegExp, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsUnicorn, type OptionsUnoCSS, type OptionsVue, type ResolvedOptions, type Rules, type StylisticConfig, StylisticConfigDefaults, type StylisticOptions, type TypedFlatConfigItem, antfu, astro, combine, command, comments, antfu as default, defaultPluginRenaming, disables, ensurePackages, formatters, getOverrides, ignores, imports, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, javascript, jsdoc, jsonc, jsx, markdown, node, parserPlain, perfectionist, pnpm, react, regexp, renamePluginInConfigs, renameRules, resolveSubOptions, solid, sortPackageJson, sortTsconfig, stylistic, svelte, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };
|
package/dist/index.js
CHANGED
|
@@ -1182,8 +1182,8 @@ async function perfectionist() {
|
|
|
1182
1182
|
];
|
|
1183
1183
|
}
|
|
1184
1184
|
|
|
1185
|
-
// src/configs/pnpm
|
|
1186
|
-
async function
|
|
1185
|
+
// src/configs/pnpm.ts
|
|
1186
|
+
async function pnpm() {
|
|
1187
1187
|
return [
|
|
1188
1188
|
{
|
|
1189
1189
|
files: [
|
|
@@ -1193,13 +1193,14 @@ async function pnpmCatalogs() {
|
|
|
1193
1193
|
languageOptions: {
|
|
1194
1194
|
parser: await interopDefault(import("jsonc-eslint-parser"))
|
|
1195
1195
|
},
|
|
1196
|
-
name: "antfu/pnpm
|
|
1196
|
+
name: "antfu/pnpm/rules",
|
|
1197
1197
|
plugins: {
|
|
1198
|
-
|
|
1198
|
+
pnpm: await interopDefault(import("eslint-plugin-pnpm"))
|
|
1199
1199
|
},
|
|
1200
1200
|
rules: {
|
|
1201
|
-
"pnpm
|
|
1202
|
-
"pnpm
|
|
1201
|
+
"pnpm/enforce-catalog": "error",
|
|
1202
|
+
"pnpm/prefer-workspace-settings": "error",
|
|
1203
|
+
"pnpm/valid-catalog": "error"
|
|
1203
1204
|
}
|
|
1204
1205
|
}
|
|
1205
1206
|
];
|
|
@@ -2389,10 +2390,28 @@ async function yaml(options = {}) {
|
|
|
2389
2390
|
{
|
|
2390
2391
|
order: [
|
|
2391
2392
|
"packages",
|
|
2393
|
+
"overrides",
|
|
2394
|
+
"patchedDependencies",
|
|
2395
|
+
"hoistPattern",
|
|
2392
2396
|
"catalog",
|
|
2393
|
-
"catalogs"
|
|
2397
|
+
"catalogs",
|
|
2398
|
+
"allowedDeprecatedVersions",
|
|
2399
|
+
"allowNonAppliedPatches",
|
|
2400
|
+
"configDependencies",
|
|
2401
|
+
"ignoredBuiltDependencies",
|
|
2402
|
+
"ignoredOptionalDependencies",
|
|
2403
|
+
"neverBuiltDependencies",
|
|
2404
|
+
"onlyBuiltDependencies",
|
|
2405
|
+
"onlyBuiltDependenciesFile",
|
|
2406
|
+
"packageExtensions",
|
|
2407
|
+
"peerDependencyRules",
|
|
2408
|
+
"supportedArchitectures"
|
|
2394
2409
|
],
|
|
2395
2410
|
pathPattern: "^$"
|
|
2411
|
+
},
|
|
2412
|
+
{
|
|
2413
|
+
order: { type: "asc" },
|
|
2414
|
+
pathPattern: ".*"
|
|
2396
2415
|
}
|
|
2397
2416
|
]
|
|
2398
2417
|
}
|
|
@@ -2435,8 +2454,8 @@ function antfu(options = {}, ...userConfigs) {
|
|
|
2435
2454
|
componentExts = [],
|
|
2436
2455
|
gitignore: enableGitignore = true,
|
|
2437
2456
|
jsx: enableJsx = true,
|
|
2438
|
-
|
|
2439
|
-
//
|
|
2457
|
+
pnpm: enableCatalogs = false,
|
|
2458
|
+
// TODO: smart detect
|
|
2440
2459
|
react: enableReact = false,
|
|
2441
2460
|
regexp: enableRegexp = true,
|
|
2442
2461
|
solid: enableSolid = false,
|
|
@@ -2573,9 +2592,9 @@ function antfu(options = {}, ...userConfigs) {
|
|
|
2573
2592
|
sortTsconfig()
|
|
2574
2593
|
);
|
|
2575
2594
|
}
|
|
2576
|
-
if (
|
|
2595
|
+
if (enableCatalogs) {
|
|
2577
2596
|
configs2.push(
|
|
2578
|
-
|
|
2597
|
+
pnpm()
|
|
2579
2598
|
);
|
|
2580
2599
|
}
|
|
2581
2600
|
if (options.yaml ?? true) {
|
|
@@ -2708,7 +2727,7 @@ export {
|
|
|
2708
2727
|
node,
|
|
2709
2728
|
parserPlain,
|
|
2710
2729
|
perfectionist,
|
|
2711
|
-
|
|
2730
|
+
pnpm,
|
|
2712
2731
|
react,
|
|
2713
2732
|
regexp,
|
|
2714
2733
|
renamePluginInConfigs,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antfu/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.9.0",
|
|
5
5
|
"description": "Anthony's ESLint config",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -83,23 +83,23 @@
|
|
|
83
83
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
|
|
84
84
|
"@eslint/markdown": "^6.3.0",
|
|
85
85
|
"@stylistic/eslint-plugin": "^4.2.0",
|
|
86
|
-
"@typescript-eslint/eslint-plugin": "^8.26.
|
|
87
|
-
"@typescript-eslint/parser": "^8.26.
|
|
88
|
-
"@vitest/eslint-plugin": "^1.1.
|
|
86
|
+
"@typescript-eslint/eslint-plugin": "^8.26.1",
|
|
87
|
+
"@typescript-eslint/parser": "^8.26.1",
|
|
88
|
+
"@vitest/eslint-plugin": "^1.1.37",
|
|
89
89
|
"ansis": "^3.17.0",
|
|
90
90
|
"cac": "^6.7.14",
|
|
91
91
|
"eslint-config-flat-gitignore": "^2.1.0",
|
|
92
92
|
"eslint-flat-config-utils": "^2.0.1",
|
|
93
93
|
"eslint-merge-processors": "^2.0.0",
|
|
94
|
-
"eslint-plugin-antfu": "^3.1.
|
|
94
|
+
"eslint-plugin-antfu": "^3.1.1",
|
|
95
95
|
"eslint-plugin-command": "^3.1.0",
|
|
96
96
|
"eslint-plugin-import-x": "^4.6.1",
|
|
97
|
-
"eslint-plugin-jsdoc": "^50.6.
|
|
97
|
+
"eslint-plugin-jsdoc": "^50.6.6",
|
|
98
98
|
"eslint-plugin-jsonc": "^2.19.1",
|
|
99
99
|
"eslint-plugin-n": "^17.16.2",
|
|
100
100
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
101
|
-
"eslint-plugin-perfectionist": "^4.
|
|
102
|
-
"eslint-plugin-pnpm
|
|
101
|
+
"eslint-plugin-perfectionist": "^4.10.1",
|
|
102
|
+
"eslint-plugin-pnpm": "^0.2.0",
|
|
103
103
|
"eslint-plugin-regexp": "^2.7.0",
|
|
104
104
|
"eslint-plugin-toml": "^0.12.0",
|
|
105
105
|
"eslint-plugin-unicorn": "^57.0.0",
|
|
@@ -116,22 +116,22 @@
|
|
|
116
116
|
"yaml-eslint-parser": "^1.3.0"
|
|
117
117
|
},
|
|
118
118
|
"devDependencies": {
|
|
119
|
-
"@antfu/ni": "^
|
|
120
|
-
"@eslint-react/eslint-plugin": "^1.
|
|
119
|
+
"@antfu/ni": "^24.1.0",
|
|
120
|
+
"@eslint-react/eslint-plugin": "^1.32.0",
|
|
121
121
|
"@eslint/config-inspector": "^1.0.2",
|
|
122
122
|
"@prettier/plugin-xml": "^3.4.1",
|
|
123
123
|
"@stylistic/eslint-plugin-migrate": "^4.2.0",
|
|
124
|
-
"@types/node": "^22.13.
|
|
124
|
+
"@types/node": "^22.13.10",
|
|
125
125
|
"@unocss/eslint-plugin": "^66.0.0",
|
|
126
126
|
"astro-eslint-parser": "^1.2.1",
|
|
127
|
-
"bumpp": "^10.0
|
|
128
|
-
"eslint": "^9.
|
|
127
|
+
"bumpp": "^10.1.0",
|
|
128
|
+
"eslint": "^9.22.0",
|
|
129
129
|
"eslint-plugin-astro": "^1.3.1",
|
|
130
130
|
"eslint-plugin-format": "^1.0.1",
|
|
131
131
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
132
132
|
"eslint-plugin-react-refresh": "^0.4.19",
|
|
133
133
|
"eslint-plugin-solid": "^0.14.5",
|
|
134
|
-
"eslint-plugin-svelte": "^3.0
|
|
134
|
+
"eslint-plugin-svelte": "^3.1.0",
|
|
135
135
|
"eslint-typegen": "^2.0.0",
|
|
136
136
|
"execa": "^9.5.2",
|
|
137
137
|
"jiti": "^2.4.2",
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
"prettier-plugin-astro": "^0.14.1",
|
|
140
140
|
"prettier-plugin-slidev": "^1.0.5",
|
|
141
141
|
"simple-git-hooks": "^2.11.1",
|
|
142
|
-
"svelte": "^5.
|
|
142
|
+
"svelte": "^5.23.0",
|
|
143
143
|
"svelte-eslint-parser": "^1.0.1",
|
|
144
144
|
"tinyglobby": "^0.2.12",
|
|
145
145
|
"tsup": "^8.4.0",
|
|
@@ -147,13 +147,7 @@
|
|
|
147
147
|
"typescript": "^5.8.2",
|
|
148
148
|
"vitest": "^3.0.8",
|
|
149
149
|
"vue": "^3.5.13",
|
|
150
|
-
"@antfu/eslint-config": "4.
|
|
151
|
-
},
|
|
152
|
-
"resolutions": {
|
|
153
|
-
"@eslint-community/eslint-utils": "^4.4.1",
|
|
154
|
-
"@typescript-eslint/utils": "^8.26.0",
|
|
155
|
-
"eslint": "^9.21.0",
|
|
156
|
-
"tsx": "^4.19.3"
|
|
150
|
+
"@antfu/eslint-config": "4.9.0"
|
|
157
151
|
},
|
|
158
152
|
"simple-git-hooks": {
|
|
159
153
|
"pre-commit": "npx lint-staged"
|