UNPKG

canonical

Version:

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

24 lines (17 loc) 356 B
# Extends Before Declarations Rule `extends-before-declarations` will enforce that extends should be written before declarations in a ruleset. ## Examples When enabled, the following are allowed: ```scss .foo { @extend %bar; content: 'baz'; } ``` When enabled, the following are disallowed: ```scss .foo { content: 'baz'; @extend %bar; } ```