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 problems:

/**/
/* */
/*
 */

The following patterns are not considered problems:

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