UNPKG

canonical

Version:

Canonical code style linter and formatter for JavaScript, SCSS and CSS.

26 lines (17 loc) 504 B
# Space Before Bang Rule `space-before-bang` will enforce whether or not a space should be included before a bang (`!`). ## Options * `include`: `true`/`false` (defaults to `true`) ## Examples When `include: true`, the following are allowed. When `include: false`, the following are disallowed: ```scss .foo { content: 'bar' !important; } ``` When `include: false`, the following are allowed. When `include: true`, the following are disallowed: ```scss .foo { content: 'bar'!important; } ```