# stylus/single-line-comment-double-slash-space-after

require or disallow whitespace after the double-slash of single-line comments.

  • ⚙️ This rule is included in "stylelint-plugin-stylus/standard". (options: "always")
  • 🔧 The fix option (opens new window) can automatically fix some of the problems reported by this rule.

# 📖 Rule Details

This rule require or disallow whitespace after the double-slash of single-line comments.

# 🔧 Options

{
  "stylus/single-line-comment-double-slash-space-after": ["always" | "never"]
}
  • "always" ... Requires whitespace.
  • "never" ... Disallows whitespace.

# "always"

// ✓ GOOD // OK // OK // ✗ BAD //NG
Now loading...

# "never"

//✓ GOOD //OK // ✗ BAD // NG // NG
Now loading...

# 📚 Further reading

# 🔍 Implementation