Skip to content

stylus/block-closing-brace-space-after

require a single space or disallow whitespace after the closing brace of blocks.

📖 Rule Details

This rule require a single space or disallow whitespace after the closing brace of blocks.

❓ Why Not Use stylelint Rule

The block-closing-brace-space-after 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-space-after rule understands that can omit braces in Stylus.

🔧 Options

See stylelint - block-closing-brace-space-after - Options.

🔍 Implementation