Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 624 Bytes

no-multi-spaces.md

File metadata and controls

31 lines (22 loc) · 624 Bytes

This rule warns about the usage of extra whitespaces between attributes (no-multi-spaces)

The --fix option on the command line can automatically fix some of the problems reported by this rule.

This rule aims to remove multiple spaces in a row between attributes witch are not used for indentation.

Rule Details

Examples of incorrect code for this rule:

<template>
  <div class="foo"      :style="foo"
    :foo="bar"         >
  </div>
</template>

Examples of correct code for this rule:

<template>
  <div class="foo"
    :style="foo">
  </div>
</template>

Options

Nothing