Spaces between attributes

Warn about the existence or number of spaces and tabs between attributes.

🔧 Fixable

Rule Details

👎 Examples of incorrect code for this rule

<img src="path/to"src="path/to2">

👍 Examples of correct code for this rule

<img src="path/to" src="path/to2">

Setting value

Type: boolean

Options

lineBreak

Type: "either" | "always" | "never"

valuedefaultdescription
"either"Not warn about line-break.
"always"Warn if not exist line-break.
"never"Warn if exist line-break.

width

Type: number | false

valuedefaultdescription
[number]1Warn if not equal spaces and the set number.
falseNot warn about spaces.

Default notification severity

warning