Skip to content

Commit d92f4f9

Browse files
committed
fix update script
1 parent 57ac586 commit d92f4f9

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

lib/configs/base.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
* in order to update its content execute "npm run update"
55
*/
66
module.exports = {
7-
parser: require.resolve('vue-eslint-parser'),
87
parserOptions: {
98
ecmaVersion: 'latest',
109
sourceType: 'module'
@@ -17,5 +16,11 @@ module.exports = {
1716
rules: {
1817
'vue/comment-directive': 'error',
1918
'vue/jsx-uses-vars': 'error'
20-
}
19+
},
20+
overrides: [
21+
{
22+
files: '*.vue',
23+
parser: require.resolve('vue-eslint-parser')
24+
}
25+
]
2126
}

0 commit comments

Comments
 (0)