From e23f506af23f4a6cb03caf70c306c48e96c97b01 Mon Sep 17 00:00:00 2001 From: ota Date: Mon, 12 Nov 2018 15:41:24 +0900 Subject: [PATCH 01/14] New: Add `vue/valid-v-bind-sync` rule --- README.md | 1 + docs/rules/valid-v-bind-sync.md | 48 ++++++ lib/index.js | 1 + lib/rules/valid-v-bind-sync.js | 131 ++++++++++++++++ lib/utils/index.js | 11 ++ lib/utils/svg-elements.json | 1 + tests/lib/rules/valid-v-bind-sync.js | 225 +++++++++++++++++++++++++++ 7 files changed, 418 insertions(+) create mode 100644 docs/rules/valid-v-bind-sync.md create mode 100644 lib/rules/valid-v-bind-sync.js create mode 100644 lib/utils/svg-elements.json create mode 100644 tests/lib/rules/valid-v-bind-sync.js diff --git a/README.md b/README.md index 3e1e0ef95..b0bace4e5 100644 --- a/README.md +++ b/README.md @@ -237,6 +237,7 @@ Enforce all the rules in this category, as well as all higher priority rules, wi | :wrench: | [vue/no-spaces-around-equal-signs-in-attribute](./docs/rules/no-spaces-around-equal-signs-in-attribute.md) | disallow spaces around equal signs in attribute | | :wrench: | [vue/script-indent](./docs/rules/script-indent.md) | enforce consistent indentation in `