# stylus/selector-list-comma

require or disallow selector list comma.

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

# 📖 Rule Details

This rule require or disallow selector list comma.

# 🔧 Options

{
  "stylus/selector-list-comma": ["always" | "never"]
}
  • "always" ... Requires comma.
  • "never" ... Disallows comma.

# "always"

// ✓ GOOD .foo, .bar color red // ✗ BAD .foo .bar color red
Now loading...

# "never"

// ✓ GOOD .foo .bar color red // ✗ BAD .foo, .bar color red
Now loading...

# 📚 Further reading

# 🔍 Implementation