Skip to content

Files

Latest commit

 

History

History
23 lines (15 loc) · 604 Bytes

Squiz.CSS.Indentation.md

File metadata and controls

23 lines (15 loc) · 604 Bytes

Pattern: Malformed style indentation

Issue: -

Description

Checks the indentation of CSS class definitions.

Configuration

By default, this rule ensures that style statements are indented using 4 spaces, but you can change the size of the indent by setting the indent property.

<rule ref="Squiz.CSS.Indentation">
    <properties>
        <property name="indent" value="2" />
    </properties>
</rule>

Further Reading