thoughtbot / stylelint-config

A shareable stylelint configuration that enforces thoughtbot’s Sass guides.
https://thoughtbot.com
MIT License
9 stars 2 forks source link

Enable SCSS `*-parentheses-space-*` rules #24

Closed tysongach closed 4 years ago

tysongach commented 4 years ago

These rules lint for spaces before Sass @else if, @function, and @mixin parentheses. They will catch things like…

A space between if and the opening parentheses:

@else if ($condition) { }
//      ↑

A space between the function name and the opening parentheses:

@function foo ($arg) { }
//           ↑

A space between the mixin name and the opening parentheses:

@mixin foo ($arg) { }
//        ↑

Documentation: