jednano / eclint

Validate or fix code that doesn't adhere to EditorConfig settings or infer settings from existing code.
MIT License
307 stars 28 forks source link

Output of Linting to a file #157

Open francisminu opened 5 years ago

francisminu commented 5 years ago

Hi,

Is it possible to save the output of reporter to a file rather than stdout?

jednano commented 5 years ago

›report.txt?

The whole point of it going to stout is that you can pipe it to a file or wherever you want.

maxthiel commented 5 years ago

Note that on windows, you'll need to pipe stderr to stdout to capture all the messages sent by the check command. Something like this: eclint check "**/*.cs" > report.log 2>&1