From 4b939008668e743b080266ebcd39c455c440a231 Mon Sep 17 00:00:00 2001 From: LouisLam Date: Sat, 31 Jul 2021 14:46:57 +0800 Subject: [PATCH] fix eslint for vue (https://github.com/louislam/uptime-kuma/pull/121#issuecomment-889729900) --- .eslintrc.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 943e19e9..4df65a03 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -9,8 +9,9 @@ module.exports = { "eslint:recommended", "plugin:vue/vue3-recommended", ], - parser: "@babel/eslint-parser", + parser: "vue-eslint-parser", parserOptions: { + parser: "@babel/eslint-parser", sourceType: "module", requireConfigFile: false, },