stylus/block-closing-brace-empty-line-before
require or disallow an empty line before the closing brace of blocks.
- ⚙️ This rule is included in
"stylelint-stylus/standard"
. (options:"never"
) - 🔧 The fix option can automatically fix some of the problems reported by this rule.
📖 Rule Details
This rule require or disallow an empty line before the closing brace of blocks.
❓ Why Not Use stylelint
Rule
The block-closing-brace-empty-line-before rule incorrectly report errors in Stylus.
This problem is that the core rules do not understand that can omit braces in Stylus.
The stylus/block-closing-brace-empty-line-before
rule understands that can omit braces in Stylus.
🔧 Options
See stylelint - block-closing-brace-empty-line-before - Options.