Skip to content

Commit

Permalink
fix: vue config
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Jul 17, 2019
1 parent fbd74eb commit 2438c6b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
5 changes: 5 additions & 0 deletions packages/common/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
module.exports = {
env: {
es6: true,
browser: true,
node: true,
},
plugins: [
'@typescript-eslint',
],
Expand Down
10 changes: 7 additions & 3 deletions packages/vue/index.js
Original file line number Diff line number Diff line change
@@ -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: {}
}

0 comments on commit 2438c6b

Please sign in to comment.