# stylus/at-rule-empty-line-before
require or disallow an empty line before at-rules.
- ⚙️ This rule is included in
"stylelint-plugin-stylus/standard"
. (options:["always",{"except":["blockless-after-same-name-blockless","first-nested"],"ignore":["after-comment"]}]
) - 🔧 The fix option (opens new window) can automatically fix some of the problems reported by this rule.
# 📖 Rule Details
This rule require or disallow an empty line before at-rules.
# 🔧 Options
See stylelint - at-rule-empty-line-before - Options (opens new window).
# ❓ Why Not Use stylelint
Rule
The at-rule-empty-line-before (opens new window) rule incorrectly report errors in Stylus.
This problem is that the core rules do not understand the postcss-styl (opens new window) AST.
The stylus/at-rule-empty-line-before
rule understands postcss-styl (opens new window) AST.