From b443a5bc19e321b7030ee6f4ebfec49e1d3e0b24 Mon Sep 17 00:00:00 2001 From: ota-meshi Date: Wed, 1 Aug 2018 18:26:35 +0900 Subject: [PATCH 1/3] Add `vue/no-spaces-around-equal-signs-in-attribute` rule --- README.md | 1 + ...-spaces-around-equal-signs-in-attribute.md | 25 ++++ lib/index.js | 1 + ...-spaces-around-equal-signs-in-attribute.js | 54 ++++++++ ...-spaces-around-equal-signs-in-attribute.js | 128 ++++++++++++++++++ 5 files changed, 209 insertions(+) create mode 100644 docs/rules/no-spaces-around-equal-signs-in-attribute.md create mode 100644 lib/rules/no-spaces-around-equal-signs-in-attribute.js create mode 100644 tests/lib/rules/no-spaces-around-equal-signs-in-attribute.js diff --git a/README.md b/README.md index 7870ed231..93beeb650 100644 --- a/README.md +++ b/README.md @@ -230,6 +230,7 @@ Enforce all the rules in this category, as well as all higher priority rules, wi | | Rule ID | Description | |:---|:--------|:------------| | :wrench: | [vue/component-name-in-template-casing](./docs/rules/component-name-in-template-casing.md) | enforce specific casing for the component naming style in template | +| :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 `