Skip to content
This repository was archived by the owner on Feb 25, 2021. It is now read-only.

Commit ccadb84

Browse files
committed
Merge pull request #32 from ntwb/max-empty-lines
Add `max-empty-lines` rule with value `2`, limits the number of adjacent empty lines to 2.
2 parents 23dcaaf + 68b2a33 commit ccadb84

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# HEAD
2+
3+
* Added: `max-empty-lines` rule, limits the number of adjacent empty lines to 2.
4+
15
# 2.0.2
26

37
* Fixed another npmjs.com release issue

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ module.exports = {
2828
"function-url-quotes": "none",
2929
"function-whitespace-after": "always",
3030
"indentation": "tab",
31+
"max-empty-lines": 2,
3132
"media-feature-colon-space-after": "always",
3233
"media-feature-colon-space-before": "never",
3334
"media-feature-name-no-vendor-prefix": true,

0 commit comments

Comments
 (0)