Skip to main content

complete/no-empty-line-comments

💼 This rule is enabled in the ✅ recommended config.

📝 Disallows empty line comments (and automatically removes them).

🔧 This rule is automatically fixable by the --fix CLI option.

Rule Details

// Bad
//

// Bad
//
//

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

Options

This rule is not configurable.

Resources