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

Changing reporter via CLI #410

Open WalterWeidner opened 7 years ago

WalterWeidner commented 7 years ago

It is pretty common to need to switch output format when switching environments. Most people prefer an easy to read format in dev and an easily parsable format in a build/ci environment

In the README it looks as though there is an option to change the reporter via the CLI:

stylint --reporter stylint-reporter-module Run stylint with custom reporter module

From a quick look through the code, that option doesn't seem to do anything.

Are there plans for this? Does it need to be removed from the documentation? Is there a better way of choosing different reporters without having to specify an entirely different config?