Skip to content

Commit

Permalink
Merge pull request #9 from stylelint/at-rule-empty-line-before
Browse files Browse the repository at this point in the history
Updated rule: `at-rule-empty-line-before`
  • Loading branch information
jeddy3 authored and ntwb committed May 31, 2020
1 parent 612be1f commit f933b19
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/stylelint-config-wordpress/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# #HEAD

* Updated rule: `at-rule-empty-line-before` with option `ignore: ["after-comment"],`

# 0.2.0

* Fixed: No quotes for URLs -> `"function-url-quotes": [ 2, "none" ]`
Expand Down
1 change: 1 addition & 0 deletions packages/stylelint-config-wordpress/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ module.exports = {
"rules": {
"at-rule-empty-line-before": [ 2, "always", {
except: ["blockless-group"],
ignore: ["after-comment"],
} ],
"at-rule-no-vendor-prefix": 2,
"block-closing-brace-newline-after": [ 2, "always" ],
Expand Down

0 comments on commit f933b19

Please sign in to comment.