Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to print ESLint progress as it runs, but not everything at once when all files are processed?

When running ESLint, nothing is print out until the whole process is done. How can I see the progress as it processed different files, instead of waiting until everything is done?

like image 679
Cupid Chan Avatar asked Nov 21 '25 13:11

Cupid Chan


1 Answers

On my mind, --debug output is too spammy, try to reduce it:

# eslint ./src & ./config folders with printing the processed files
DEBUG=eslint:cli-engine yarn eslint ./{src,config}

# OR:
# for NPM or other dependency manager
# eslint ./src & ./config folders with printing the processed files
DEBUG=eslint:cli-engine eslint ./{src,config}

As a result, you will have a list of files that processed by CLI.

like image 150
Oleksandr Kucherenko Avatar answered Nov 24 '25 20:11

Oleksandr Kucherenko



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!