Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 374 Bytes

one-declaration-per-line.md

File metadata and controls

24 lines (17 loc) · 374 Bytes

One Declaration Per Line

Rule one-declaration-per-line will enforce that new declarations must begin on new lines.

Examples

When enabled, the following are allowed:

.foo {
  content: 'baz';
  content: 'qux';
}

When enabled, the following are disallowed:

.foo {content: 'baz', content: 'qux'};

.foo {
  content: 'baz'; content: 'qux';
}