Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 789 Bytes

no-multi-spaces.md

File metadata and controls

30 lines (20 loc) · 789 Bytes

disallow multiple spaces (vue/no-multi-spaces)

  • ⚙️ 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.

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:

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

Examples of correct code for this rule:

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

Options

Nothing