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?
Have encountered the same issue and the solution for me was to remove the build directory and it works
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With