SimenB / stylint

Improve your Stylus code with Stylint
https://simenb.github.io/stylint/
GNU General Public License v2.0
348 stars 62 forks source link

Newline breaks order test #399

Open alextoudic opened 7 years ago

alextoudic commented 7 years ago

Hi,

I'm using stylint 1.5.9 with custom order checking. Actually we're using a grouped style but also insert newlines between each group for better readability. Problem is, inserting newlines breaks the order test. Btw, it would be awesome to add as sortOrder option the possibility to have grouped properties split with newlines, I think we're are not the only ones to use this style 🙂

issue

SimenB commented 7 years ago

We definitely should handle empty lines being introduced.

And sorting groups sounds like an interesting enhancement.

Would you be able to create a PR for any of those?