@@ -132,7 +132,6 @@ export async function vue(
132
132
ignoreConstructors : false ,
133
133
} ,
134
134
] ,
135
- 'vue/padding-line-between-blocks' : [ 'error' , 'always' ] ,
136
135
'vue/prefer-separate-static-class' : 'error' ,
137
136
'vue/prefer-template' : 'error' ,
138
137
'vue/prop-name-casing' : [ 'error' , 'camelCase' ] ,
@@ -142,6 +141,47 @@ export async function vue(
142
141
'vue/space-unary-ops' : [ 'error' , { nonwords : false , words : true } ] ,
143
142
'vue/valid-define-options' : 'warn' ,
144
143
144
+ ...{
145
+ // format
146
+ 'vue/array-bracket-spacing' : [ 'error' , 'never' ] ,
147
+ 'vue/arrow-spacing' : [ 'error' , { after : true , before : true } ] ,
148
+ 'vue/block-spacing' : [ 'error' , 'always' ] ,
149
+ 'vue/block-tag-newline' : [
150
+ 'error' ,
151
+ {
152
+ multiline : 'always' ,
153
+ singleline : 'always' ,
154
+ } ,
155
+ ] ,
156
+ 'vue/brace-style' : [ 'error' , 'stroustrup' , { allowSingleLine : true } ] ,
157
+ 'vue/comma-dangle' : [ 'error' , 'always-multiline' ] ,
158
+ 'vue/comma-spacing' : [ 'error' , { after : true , before : false } ] ,
159
+ 'vue/comma-style' : [ 'error' , 'last' ] ,
160
+ 'vue/html-comment-content-spacing' : [
161
+ 'error' ,
162
+ 'always' ,
163
+ {
164
+ exceptions : [ '-' ] ,
165
+ } ,
166
+ ] ,
167
+ 'vue/key-spacing' : [
168
+ 'error' ,
169
+ { afterColon : true , beforeColon : false } ,
170
+ ] ,
171
+ 'vue/keyword-spacing' : [ 'error' , { after : true , before : true } ] ,
172
+ 'vue/object-curly-newline' : 'off' ,
173
+ 'vue/object-curly-spacing' : [ 'error' , 'always' ] ,
174
+ 'vue/object-property-newline' : [
175
+ 'error' ,
176
+ { allowMultiplePropertiesPerLine : true } ,
177
+ ] ,
178
+ 'vue/operator-linebreak' : [ 'error' , 'before' ] ,
179
+ 'vue/padding-line-between-blocks' : [ 'error' , 'always' ] ,
180
+ 'vue/quote-props' : [ 'error' , 'consistent-as-needed' ] ,
181
+ 'vue/space-in-parens' : [ 'error' , 'never' ] ,
182
+ 'vue/template-curly-spacing' : 'error' ,
183
+ } ,
184
+
145
185
...overrides ,
146
186
} ,
147
187
} ,
0 commit comments