Skip to main content

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**/