# stylus/selector-pseudo-class-case

enforce lowercase or uppercase for pseudo-class selectors.

  • ⚙️ This rule is included in "stylelint-plugin-stylus/standard". (options: "lower")
  • 🔧 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 stylelint Rule

The selector-pseudo-class-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 selector of the Stylus.
The stylus/selector-pseudo-class-case rule understands selector of the Stylus.

# 🔧 Options

See stylelint - selector-pseudo-class-case - Options (opens new window).

# 🔍 Implementation