@@ -7,7 +7,6 @@ import eslintPluginPlugin from "eslint-plugin-eslint-plugin";
7
7
import importPlugin from "eslint-plugin-import-x" ;
8
8
import jsdocPlugin from "eslint-plugin-jsdoc" ;
9
9
import perfectionist from "eslint-plugin-perfectionist" ;
10
- import perfectionistNatural from "eslint-plugin-perfectionist/configs/recommended-natural" ;
11
10
import simpleImportSortPlugin from "eslint-plugin-simple-import-sort" ;
12
11
import unicornPlugin from "eslint-plugin-unicorn" ;
13
12
import vitest from "eslint-plugin-vitest" ;
@@ -38,7 +37,6 @@ const config: FlatConfig[] = [
38
37
[ "eslint-plugin" ] : eslintPluginPlugin ,
39
38
[ "import-x" ] : importPlugin ,
40
39
[ "jsdoc" ] : jsdocPlugin ,
41
- [ "perfectionist" ] : perfectionist ,
42
40
[ "simple-import-sort" ] : simpleImportSortPlugin ,
43
41
[ "unicorn" ] : unicornPlugin ,
44
42
} ,
@@ -47,7 +45,7 @@ const config: FlatConfig[] = [
47
45
eslint . configs . recommended ,
48
46
...tseslint . configs . strict ,
49
47
// ...tseslint.configs.strictTypeChecked,
50
- perfectionistNatural ,
48
+ perfectionist . configs [ "recommended-natural" ] ,
51
49
jsdocPlugin . configs [ "flat/recommended-typescript-error" ] ,
52
50
eslintPluginPlugin . configs [ "flat/all-type-checked" ] ,
53
51
// base config
@@ -158,7 +156,7 @@ const config: FlatConfig[] = [
158
156
"warn" ,
159
157
{
160
158
type : "natural" ,
161
- "custom-groups" : {
159
+ customGroups : {
162
160
id : [ "_" , "id" , "key" ] ,
163
161
type : [ "type" , "kind" ] ,
164
162
meta : [
@@ -177,7 +175,7 @@ const config: FlatConfig[] = [
177
175
"warn" ,
178
176
{
179
177
type : "natural" ,
180
- "custom-groups" : {
178
+ customGroups : {
181
179
id : [ "_" , "id" , "key" ] ,
182
180
type : [ "type" , "kind" ] ,
183
181
meta : [
@@ -190,7 +188,7 @@ const config: FlatConfig[] = [
190
188
} ,
191
189
groups : [ "id" , "type" , "meta" , "alias" , "unknown" ] ,
192
190
order : "asc" ,
193
- "partition-by-comment" : "Part:**" ,
191
+ partitionByComment : "Part:**" ,
194
192
} ,
195
193
] ,
196
194
"perfectionist/sort-union-types" : [
0 commit comments