Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 622 Bytes

README.md

File metadata and controls

51 lines (37 loc) · 622 Bytes

comment-no-empty

Disallow empty comments.

    /* */
/** ↑
 * Comments like this */

This rule ignores SCSS-like comments.

Caveat: Comments within selector and value lists are currently ignored.

Options

true

The following patterns are considered violations:

/**/
/* */
/*

 */

The following patterns are not considered violations:

/* comment */
/*
 * Multi-line Comment
**/