# stylus/indentation

enforces indentation.

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

# 📖 Rule Details

This rule enforces indentation.

# ❓ Why Not Use stylelint Rule

The indentation (opens new window) rule incorrectly report errors in Stylus.
This problem is that the core rules do not understand that postfix of the Stylus.
The stylus/indentation rule understands that postfix of the Stylus.

# 🔧 Options

See stylelint - indentation - Options (opens new window).

# 🔍 Implementation