Skip to content

Files

Latest commit

 

History

History
61 lines (39 loc) · 999 Bytes

declaration-bang-space-after.md

File metadata and controls

61 lines (39 loc) · 999 Bytes

Pattern: Malformed whitespace after ! of declaration

Issue: -

Description

Require a single space or disallow whitespace after the bang of declarations.

Examples

"always"

There must always be a single space after the bang.

The following patterns are considered violations:

a { color: pink !important; }
a { color: pink      !important; }

The following patterns are not considered violations:

a { color: pink ! important; }
a { color: pink! important; }

"never"

There must never be whitespace after the bang.

The following patterns are considered violations:

a { color: pink ! important; }
a { color: pink! important; }

The following patterns are not considered violations:

a { color: pink !important; }
a { color:pink!important; }

Further Reading