stylus/selector-pseudo-class-case
enforce lowercase or uppercase for pseudo-class selectors.
- ⚙️ This rule is included in
"stylelint-stylus/standard". (options:"lower") - 🔧 The fix option can automatically fix some of the problems reported by this rule.
📖 Rule Details
This rule enforce lowercase or uppercase for hex colors.
❓ Why Not Use stylelint Rule
The selector-pseudo-class-case rule correctly report errors in Stylus, but breaks the syntax in autofix.
This problem is that the core rules do not understand selector of the Stylus.
The stylus/selector-pseudo-class-case rule understands selector of the Stylus.
🔧 Options
See stylelint - selector-pseudo-class-case - Options.