rizowski / eslint-watch

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

Hope to have more comfortable information. #152

Open HsuTing opened 5 years ago

HsuTing commented 5 years ago

Environment

Basic Description of the problem

Hope to have more comfortable information.

How to reproduce it

  1. Command: esw

Debug output:

// to grab debug output set DEBUG=esw:*

In watch and quiet, we can not get any information when the eslint has done. Can we ignore this quiet in watch mode in Here ?

rizowski commented 5 years ago

@HsuTing What would you recommend? Some people want the clean message to be removed on --quiet. Maybe an additional flag? --esw-quiet?

HsuTing commented 5 years ago

I think --esw-quiet is Ok, or maybe we can use like this:

        if (!cliOpts.quiet && !cliOpts.watch) {
          logger.log(`✓ Clean (${new Date().toLocaleTimeString()})`);
        }

I think most of user use eslint-watch in watch mode will want to should a message when eslint has done.