@@ -11,8 +11,8 @@ export const javascriptStylistic: FlatESLintConfigItem[] = [
11
11
style : pluginStylisticJs ,
12
12
} ,
13
13
rules : {
14
+ 'antfu/consistent-list-newline' : 'error' ,
14
15
'antfu/if-newline' : 'error' ,
15
- 'antfu/consistent-object-newline' : 'error' ,
16
16
17
17
'comma-dangle' : [ 'error' , 'always-multiline' ] ,
18
18
'curly' : [ 'error' , 'multi-or-nest' , 'consistent' ] ,
@@ -27,8 +27,6 @@ export const javascriptStylistic: FlatESLintConfigItem[] = [
27
27
'style/comma-style' : [ 'error' , 'last' ] ,
28
28
'style/computed-property-spacing' : [ 'error' , 'never' , { enforceForClassMembers : true } ] ,
29
29
'style/dot-location' : [ 'error' , 'property' ] ,
30
- 'style/func-call-spacing' : OFF ,
31
- 'style/generator-star-spacing' : OFF ,
32
30
'style/indent' : [ 'error' , 2 , {
33
31
ArrayExpression : 1 ,
34
32
CallExpression : { arguments : 1 } ,
@@ -77,7 +75,6 @@ export const javascriptStylistic: FlatESLintConfigItem[] = [
77
75
'style/no-tabs' : 'error' ,
78
76
'style/no-trailing-spaces' : 'error' ,
79
77
'style/no-whitespace-before-property' : 'error' ,
80
- 'style/object-curly-newline' : OFF ,
81
78
'style/object-curly-spacing' : [ 'error' , 'always' ] ,
82
79
'style/object-property-newline' : [ 'error' , { allowMultiplePropertiesPerLine : true } ] ,
83
80
'style/operator-linebreak' : [ 'error' , 'before' ] ,
0 commit comments