Skip to content

Commit

Permalink
Merge pull request #1470 from stylelint/at-rule-empty-docs
Browse files Browse the repository at this point in the history
Add ignore blockless-group docs
  • Loading branch information
David Clark committed Jun 14, 2016
2 parents 3261b28 + 0bff1fb commit 31cac2a
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/rules/at-rule-empty-line-before/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,3 +209,26 @@ b {
@extend foo;
}
```

### `ignore: ["blockless-group"]`

Ignore at-rules within a blockless group.

For example, with `"always"`:

The following patterns are *not* considered warnings:

```css
@import url(x.css);

@import url(y.css);

@media print {}
```

```css
@import url(x.css);
@import url(y.css);

@media print {}
```

0 comments on commit 31cac2a

Please sign in to comment.