Skip to content

Files

Latest commit

 

History

History
32 lines (22 loc) · 636 Bytes

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

File metadata and controls

32 lines (22 loc) · 636 Bytes

Pattern: Space around equal sign in attribute

Issue: -

Description

This rule disallow spaces around equal signs in attribute.

<template>
  <!-- ✗ BAD -->
  <div class = "item"></div>
  <!-- ✓ GOOD -->
  <div class="item"></div>
</template>

Options

{
  "vue/no-spaces-around-equal-signs-in-attribute": ["error"]
}
```.

## Further Reading

* [eslint-plugin-vue - no-spaces-around-equal-signs-in-attribute](https://eslint.vuejs.org/rules/no-spaces-around-equal-signs-in-attribute.html)