enforce lowercase or uppercase for hex colors.
- ⚙️ This rule is included in
- 🔧 The fix option (opens new window) 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
The color-hex-case (opens new window) rule correctly report errors in Stylus, but breaks the syntax in autofix.
This problem is that the core rules do not understand the postcss-styl (opens new window) AST.
stylus/color-hex-case rule understands postcss-styl (opens new window) AST.