From fa0460abd02c86cc6c11d4469532a3654922a99d Mon Sep 17 00:00:00 2001 From: MaysWind Date: Mon, 9 Sep 2024 01:39:41 +0800 Subject: [PATCH] update eslint config --- .eslintrc.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 5744a2ee..2f27d55f 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -8,6 +8,9 @@ module.exports = { 'plugin:vue/vue3-essential' ], 'rules': { - 'vue/no-use-v-if-with-v-for': 'off' + 'vue/no-use-v-if-with-v-for': 'off', + 'vue/valid-v-slot': ['error', { + allowModifiers: true, + }] } }