Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 356 Bytes

extends-before-declarations.md

File metadata and controls

23 lines (17 loc) · 356 Bytes

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:

.foo {
  @extend %bar;
  content: 'baz';
}

When enabled, the following are disallowed:

.foo {
  content: 'baz';
  @extend %bar;
}