From b9def18b3199ba34f68cb55ce838b8d05c272fcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Fa=C5=82owski?= Date: Sat, 25 Jan 2020 00:48:10 +0100 Subject: [PATCH 1/6] feat(RFC0005): allow v-model argument when v-model is used on custom component --- docs/rules/valid-v-model.md | 3 ++- lib/rules/valid-v-model.js | 2 +- tests/lib/rules/valid-v-model.js | 4 ++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/rules/valid-v-model.md b/docs/rules/valid-v-model.md index 0aa8a7531..61fb5ce55 100644 --- a/docs/rules/valid-v-model.md +++ b/docs/rules/valid-v-model.md @@ -15,7 +15,7 @@ This rule checks whether every `v-model` directive is valid. This rule reports `v-model` directives in the following cases: -- The directive has that argument. E.g. `` +- The directive used on HTMLElement has an argument. E.g. `` - The directive has the modifiers which are not supported. E.g. `` - The directive does not have that attribute value. E.g. `` - The directive does not have the attribute value which is valid as LHS. E.g. `` @@ -32,6 +32,7 @@ This rule reports `v-model` directives in the following cases: