# stylus/selector-list-comma-newline-before

require a newline or disallow whitespace before the commas of selector lists.

# 📖 Rule Details

This rule require a newline whitespace before the commas of selector lists.

# ❓ Why Not Use stylelint Rule

The selector-list-comma-newline-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-newline-before rule understands that can omit commas in Stylus.

# 🔧 Options

{
  "stylus/selector-list-comma-newline-before": ["always" | "always-multi-line" | "never-multi-line"]
}

# 🔍 Implementation