# stylus/selector-list-comma-space-before
require a single space or disallow whitespace before the commas of selector lists.
- ⚙️ 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 a single space or disallow whitespace before the commas of selector lists.
# ❓ Why Not Use stylelint
Rule
The selector-list-comma-space-before (opens new window) rule incorrectly report errors in Stylus.
This problem is that the core rules do not understand that can omit commas in Stylus.
The stylus/selector-list-comma-space-before
rule understands that can omit commas in Stylus.
# 🔧 Options
{
"stylus/selector-list-comma-space-before": ["always" | "never" | "always-single-line" | "never-single-line"]
}