matype / stylefmt

stylefmt is a tool that automatically formats stylesheets.
Other
2.1k stars 89 forks source link

comment-empty-line-before ignored? #210

Closed f0rr0 closed 3 years ago

f0rr0 commented 7 years ago

Using stylelint-config-standard, stylelint shows the following errors:

css/tomorrow-night.css
 2:1  ✖  Expected empty line before comment   comment-empty-line-before
 3:1  ✖  Expected empty line before comment   comment-empty-line-before
 4:1  ✖  Expected empty line before comment   comment-empty-line-before

But running stylefmt does not fix the errors.

The css file looks like:

/* Tomorrow Night Theme */
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
/* Original theme - https://github.com/chriskempson/tomorrow-theme */
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */

/* Tomorrow Comment */
.hljs-comment,
.hljs-quote {
  color: #969896;
}
iblack10 commented 7 years ago

The rule "comment-empty-line-before" has not yet been implemented for stylefmt.