From d8792765e239244fef0204f7e959570a64b24d09 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Tue, 6 Sep 2022 09:57:18 +0800 Subject: [PATCH] fix(vue): disable `vue/no-v-model-argument` for Vue 3 --- packages/eslint-config/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/eslint-config/index.js b/packages/eslint-config/index.js index e2c69d03..6f33eb3c 100644 --- a/packages/eslint-config/index.js +++ b/packages/eslint-config/index.js @@ -125,7 +125,10 @@ module.exports = { // Maximum 5 attributes per line instead of one 'vue/max-attributes-per-line': ['error', { singleline: 5 - }] + }], + + // Vue 3's v-model:foo + 'vue/no-v-model-argument': 'off' }, overrides: [ {