ThisIsManta / stylus-supremacy

A Node.js script that helps formatting Stylus files.
https://thisismanta.github.io/stylus-supremacy
MIT License
88 stars 9 forks source link

Check mode #53

Closed pesterhazy closed 4 years ago

pesterhazy commented 4 years ago

Is there a way to run the tool in "check" mode?

It should return exit status 0 if all files are already formatted according to the guidelines, exit status 1 otherwise.

This would allow operation in CI jobs to make sure that only files that are properly formatted can be merged.

ThisIsManta commented 4 years ago

Done at v2.14.0

See usage example at the second-to-last paragraph in the official doc