Skip to content

stylus/single-line-comment-no-empty

disallow empty single-line comments.

  • ⚙️ This rule is included in "stylelint-stylus/recommended" and "stylelint-stylus/standard". (options: true)

📖 Rule Details

This rule reports empty single-line comments.

🔧 Options

json
{
  "stylus/single-line-comment-no-empty": true
}

true

styl
/* stylelint rules config: {"stylus/single-line-comment-no-empty": true} */
// ✓ GOOD
// single line comment

// ✗ BAD
//
//

📚 Further reading

🔍 Implementation