Skip to content

Commit

Permalink
fix: remove rule for empty lines before comments
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardocavazza committed Oct 30, 2021
1 parent f91721a commit 78bee65
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1054,7 +1054,7 @@ module.exports = {
],
/**
* https://stylelint.io/user-guide/rules/comment-no-empty
* Disallow empty comments.
* Disallow empty comments.
*/
'comment-no-empty': [
true,
Expand All @@ -1066,12 +1066,7 @@ module.exports = {
* https://stylelint.io/user-guide/rules/comment-empty-line-before
* Require or disallow an empty line before comments (Autofixable).
*/
'comment-empty-line-before': [
'always',
{
severity: 'warning',
},
],
'comment-empty-line-before': null,
/**
* https://stylelint.io/user-guide/rules/comment-whitespace-inside
* Require or disallow whitespace on the inside of comment markers.
Expand Down

0 comments on commit 78bee65

Please sign in to comment.