matype / stylefmt

stylefmt is a tool that automatically formats stylesheets.
Other
2.1k stars 89 forks source link

Fix silent failure of format-order when config object is used #202

Closed nicolasartman closed 8 years ago

nicolasartman commented 8 years ago

Right now using the [["propertyOne", "propertyTwo"], {"severity": "warning"}] format for declaration-block-properties-order results in silent failure and leaves the order unchanged. This should fix that case.

I did my best to do everything in the existing style but let me know if you would like anything changed to fit better and I'm happy to do it.

matype commented 8 years ago

@nicolasartman 👍