fix: vue config

This commit is contained in:
Anthony Fu 2019-07-18 03:30:57 +08:00
parent fbd74ebebc
commit 2438c6b929
2 changed files with 12 additions and 3 deletions

View File

@ -1,4 +1,9 @@
module.exports = {
env: {
es6: true,
browser: true,
node: true,
},
plugins: [
'@typescript-eslint',
],

View File

@ -1,10 +1,14 @@
module.exports = {
parser: '@typescript-eslint/parser',
parser: 'vue-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser',
},
extends: [
'@antfu/eslint-config',
'plugin:vue/recommended',
],
plugins: [
'vue'
],
rules: {
}
rules: {}
}