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

Commit 18d5a3f

Browse files
committed
Merge pull request #18 from stylelint/ignore-after-comment
Updated `rule-non-nested-empty-line-before` with option `ignore: ["after-comment"]`.
2 parents b70a3f7 + 394e456 commit 18d5a3f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# HEAD
2+
* Changed: `rule-non-nested-empty-line-before` with option `ignore: ["after-comment"],`.
3+
14
# 1.1.0
25

36
* Added: `selector-pseudo-element-colon-notation` with option `single`

index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ module.exports = {
4444
"property-no-vendor-prefix": true,
4545
"rule-no-shorthand-property-overrides": true,
4646
"rule-nested-empty-line-before": "always",
47-
"rule-non-nested-empty-line-before": "always",
47+
"rule-non-nested-empty-line-before": [ "always", {
48+
ignore: ["after-comment"],
49+
} ],
4850
"rule-trailing-semicolon": "always",
4951
"selector-combinator-space-after": "always",
5052
"selector-combinator-space-before": "always",

0 commit comments

Comments
 (0)