# stylus/no-eol-whitespace

disallow end-of-line whitespace.

  • ⚙️ This rule is included in "stylelint-plugin-stylus/standard". (options: true)
  • 🔧 The fix option (opens new window) can automatically fix some of the problems reported by this rule.

# 📖 Rule Details

This rule require or disallow a leading zero for fractional numbers less than 1.

# ❓ Why Not Use stylelint Rule

The no-eol-whitespace (opens new window) rule correctly report errors in Stylus, but error remains with autofix.
This problem is that the core rules do not understand that can omit braces in Stylus.
The stylus/no-eol-whitespace rule understands that can omit braces in Stylus.

# 🔧 Options

See stylelint - no-eol-whitespace - Options (opens new window).

# 🔍 Implementation