Indentation

Warns that indentation is not unified.

🔧 Fixable

Rule Details

👎 Examples of incorrect code for this rule

<div>
  <span>lorem</span>
    ipsam
   </div>

👍 Examples of correct code for this rule

<div>
    <span>lorem</span>
    ipsam
</div>

Setting value

Type: "tab" | number

valuedefaultdescription
"tab"Unify indentation with tab characters.
[Number]2Unified with the space of the width of the numerical value with indent set.

Default severity

warning