Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eslint blocking commit, terminal is stuck on "running eslint..." forever

I'm working on react project which has integrated eslint. It works great and if I try commit code that is not compatible with eslint i get errors and commit is stopped. Although when I don't have any errors I just get message "running eslint...". I tried waiting, but after an hour I decided to break by ctrl-c and commit with --no-verify flag. It happens both in vscode on Ubuntu as in Intellij on Windows. Has any encountered this problem before and know how to fix it?

like image 520
Alisec Avatar asked Oct 20 '25 02:10

Alisec


1 Answers

Have encountered the same issue and the solution for me was to remove the build directory and it works

like image 60
Dani Avatar answered Oct 22 '25 03:10

Dani



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!