Skip to main content

no-empty-line-comments

Disallows empty line comments (and automatically removes them).

Rule Details

// Bad
//

// Bad
//
//

// Good
// This is an non-empty comment. Empty comments are indicative of a mistake.

Options and Defaults

{
"rules": {
"complete/no-empty-line-comments": "error"
}
}

This rule is not configurable.

Resources