Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 784 Bytes

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

File metadata and controls

25 lines (15 loc) · 784 Bytes

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

  • 🔧 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