Skip to content

Commit bea5b05

Browse files
committedOct 24, 2021
fix: use @typescript-eslint/parser under vue-eslint-parser
1 parent 1f28da4 commit bea5b05

File tree

1 file changed

+4
-1
lines changed
  • packages/eslint-config-typescript

1 file changed

+4
-1
lines changed
 

‎packages/eslint-config-typescript/index.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ module.exports = {
33
'@nuxtjs'
44
],
55
plugins: ['@typescript-eslint'],
6-
parser: '@typescript-eslint/parser',
6+
parser: "vue-eslint-parser",
7+
parserOptions: {
8+
"parser": "@typescript-eslint/parser",
9+
},
710
rules: {
811
'@typescript-eslint/no-unused-vars': ['error', { args: 'all', argsIgnorePattern: '^_' }],
912
// Per the docs, the root no-unused-vars should be disabled:

0 commit comments

Comments
 (0)
Please sign in to comment.