Skip to content

stylus/indentation

enforces indentation.

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

📖 Rule Details

This rule enforces indentation.

❓ Why Not Use stylelint Rule

The indentation 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.

🔍 Implementation