rizowski / eslint-watch

ESLint with simple watching capabilities
https://www.npmjs.com/package/eslint-watch
MIT License
194 stars 29 forks source link

Option to not print "clean" message; only errors #147

Closed simison closed 5 years ago

simison commented 5 years ago

When running the linter, would be wonderful to hide "clean" messages and leave only error messages:

I'm running:

esw --watch --quiet --cache .

I actually expected --quiet not to print the success message. :-)

But it obviously is meant to output it: https://github.com/rizowski/eslint-watch/blob/87396b7e4c00aab6685c4237645d44153555c2fd/tests/integration/integration-spec.js#L199-L204

rizowski commented 5 years ago

Could I interest you in --clear? While it won't stop showing the clean message, it will clear your terminal for every run. I think this is a valid issue, I'll be sure to include it in the next release.

luanlucho commented 4 years ago

Hi,

It would be great if you could provide a flag to silence the success messages.

Hope you can add this feature soon.

rizowski commented 4 years ago

@luanlucho I did make it respect the --quiet flag. Does that not suffice?

luanlucho commented 4 years ago

I don’t think it is.

It will be nice to have flag that will just silence the success messages, but keeps the warnings and errors intact.

Hope that sounds like a good idea to you.

From: Colten Rouska notifications@github.com Reply to: rizowski/eslint-watch reply@reply.github.com Date: Sunday, 5 April 2020 at 3:35 pm To: rizowski/eslint-watch eslint-watch@noreply.github.com Cc: luanlucho luan95.dev@gmail.com, Mention mention@noreply.github.com Subject: Re: [rizowski/eslint-watch] Option to not print "clean" message; only errors (#147)

@luanluchohttps://github.com/luanlucho I did make it respect the --quiet flag. Does that not suffice?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/rizowski/eslint-watch/issues/147#issuecomment-609478354, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHH2V25RTYGMAN7IM2IZF4LRLDTQBANCNFSM4GL75PVQ.