Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 886 Bytes

no-spaces-around-equal-signs-in-attribute.md

File metadata and controls

26 lines (16 loc) · 886 Bytes

disallow spaces around equal signs in attribute (vue/no-spaces-around-equal-signs-in-attribute)

  • ⚙️ This rule is included in "plugin:vue/strongly-recommended" and "plugin:vue/recommended".
  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

This rule disallow spaces around equal signs in attribute.

HTML5 allows spaces around equal signs. But space-less is easier to read, and groups entities better together.

📖 Rule Details

👎 Examples of incorrect code for this rule:

<div class = "item">

👍 Examples of correct code for this rule:

<div class="item">

Further Reading