@@ -132,7 +132,6 @@ export async function vue(
132132 ignoreConstructors : false ,
133133 } ,
134134 ] ,
135- 'vue/padding-line-between-blocks' : [ 'error' , 'always' ] ,
136135 'vue/prefer-separate-static-class' : 'error' ,
137136 'vue/prefer-template' : 'error' ,
138137 'vue/prop-name-casing' : [ 'error' , 'camelCase' ] ,
@@ -142,6 +141,47 @@ export async function vue(
142141 'vue/space-unary-ops' : [ 'error' , { nonwords : false , words : true } ] ,
143142 'vue/valid-define-options' : 'warn' ,
144143
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+
145185 ...overrides ,
146186 } ,
147187 } ,
0 commit comments