Skip to content

stylus/at-rule-name-space-after

require a single space after at-rule names.

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

📖 Rule Details

This rule require a single space after at-rule names.

🔧 Options

See stylelint - at-rule-name-space-after - Options.

❓ Why Not Use stylelint Rule

The at-rule-name-space-after rule incorrectly report errors in Stylus.
This problem is that the core rules do not understand the postcss-styl AST.
The stylus/at-rule-name-space-after rule understands postcss-styl AST.

🔍 Implementation