From bea5b052e322d8c59bdef96d90300d3dda28ed9c Mon Sep 17 00:00:00 2001 From: "Xin Du (Clark)" Date: Sun, 24 Oct 2021 18:59:34 +0100 Subject: [PATCH] fix: use @typescript-eslint/parser under vue-eslint-parser --- packages/eslint-config-typescript/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/eslint-config-typescript/index.js b/packages/eslint-config-typescript/index.js index e2ead9dc..c14621b6 100644 --- a/packages/eslint-config-typescript/index.js +++ b/packages/eslint-config-typescript/index.js @@ -3,7 +3,10 @@ module.exports = { '@nuxtjs' ], plugins: ['@typescript-eslint'], - parser: '@typescript-eslint/parser', + parser: "vue-eslint-parser", + parserOptions: { + "parser": "@typescript-eslint/parser", + }, rules: { '@typescript-eslint/no-unused-vars': ['error', { args: 'all', argsIgnorePattern: '^_' }], // Per the docs, the root no-unused-vars should be disabled: