@@ -11,8 +11,8 @@ export const javascriptStylistic: FlatESLintConfigItem[] = [
1111 style : pluginStylisticJs ,
1212 } ,
1313 rules : {
14+ 'antfu/consistent-list-newline' : 'error' ,
1415 'antfu/if-newline' : 'error' ,
15- 'antfu/consistent-object-newline' : 'error' ,
1616
1717 'comma-dangle' : [ 'error' , 'always-multiline' ] ,
1818 'curly' : [ 'error' , 'multi-or-nest' , 'consistent' ] ,
@@ -27,8 +27,6 @@ export const javascriptStylistic: FlatESLintConfigItem[] = [
2727 'style/comma-style' : [ 'error' , 'last' ] ,
2828 'style/computed-property-spacing' : [ 'error' , 'never' , { enforceForClassMembers : true } ] ,
2929 'style/dot-location' : [ 'error' , 'property' ] ,
30- 'style/func-call-spacing' : OFF ,
31- 'style/generator-star-spacing' : OFF ,
3230 'style/indent' : [ 'error' , 2 , {
3331 ArrayExpression : 1 ,
3432 CallExpression : { arguments : 1 } ,
@@ -77,7 +75,6 @@ export const javascriptStylistic: FlatESLintConfigItem[] = [
7775 'style/no-tabs' : 'error' ,
7876 'style/no-trailing-spaces' : 'error' ,
7977 'style/no-whitespace-before-property' : 'error' ,
80- 'style/object-curly-newline' : OFF ,
8178 'style/object-curly-spacing' : [ 'error' , 'always' ] ,
8279 'style/object-property-newline' : [ 'error' , { allowMultiplePropertiesPerLine : true } ] ,
8380 'style/operator-linebreak' : [ 'error' , 'before' ] ,
0 commit comments