sindresorhus / grunt-eslint

Validate files with ESLint
MIT License
200 stars 72 forks source link

Enable report output to console in addition to writing to file #130

Closed ansujohn closed 7 years ago

mkrystek commented 8 years ago

Hi. Any chance this will be merged soon ? We've recently thought, in our project, that it would be nice to see immediate output on console as well as xml output for our tools and voila, this PR was already here :)

sindresorhus commented 7 years ago

I don't really see why this option is needed at all. Can't we just change it to always print to stdout even when outputFile is set?

bonesoul commented 6 years ago

@sindresorhus I'm also outputting to a file but still want to see the errors on console too. can't we get this merged?

Especially in CI scenarios, in current situation to see the error we have to open the log from artifacts.

Oh and yes, we don't need an option, always printing to stdout would be fine also.