Skip to content

Commit 1f9b822

Browse files
committed
Allow shorthand properties in Vue files
1 parent 3a104cf commit 1f9b822

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

overrides.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ const tsOverrides = {
4646
const vueOverrides = {
4747
files: '*.vue',
4848
extends: ['plugin:vue/essential'],
49+
50+
rules: {
51+
'object-shorthand': ['error', 'always'],
52+
},
53+
};
54+
4955
};
5056

5157
module.exports = {

0 commit comments

Comments
 (0)