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 `declaration-block-semicolon-*` rules #28

Closed tysongach closed 4 years ago

tysongach commented 4 years ago

These rules lint the spaces and newlines around the commas of selector lists. They will catch things like…

A declaration that should go on a newline:

a { color: pink; top: 0; }
//              ↑

A semicolon that's bumped to a newline:

 a {
   color: pink
   ; top: 0;
// ↑
 }

An extraneous space after a value:

a { color: pink ; }
//             ↑

Documentation: