Skip to content

Commit

Permalink
Merge pull request #32 from ntwb/max-empty-lines
Browse files Browse the repository at this point in the history
Add `max-empty-lines` rule with value `2`, limits the number of adjacent empty lines to 2.
  • Loading branch information
ntwb committed May 31, 2020
1 parent 65f3087 commit 117bbf1
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

* Added: `max-empty-lines` rule, limits the number of adjacent empty lines to 2.

# 2.0.2

* Fixed another npmjs.com release issue
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 @@ -28,6 +28,7 @@ module.exports = {
"function-url-quotes": "none",
"function-whitespace-after": "always",
"indentation": "tab",
"max-empty-lines": 2,
"media-feature-colon-space-after": "always",
"media-feature-colon-space-before": "never",
"media-feature-name-no-vendor-prefix": true,
Expand Down

0 comments on commit 117bbf1

Please sign in to comment.