I have an error on lint:eslint
which found some error as follows
Running tasks for *.js
✖ lint:eslint
🚨 lint:eslint found some errors. Please fix them and try committing again.
So many errors happen in my updated js file when I commit the code.
I can't commit my code into my local repository. How can I elimianate this error? Can I need to make any changes needed in my package.js
?
Add --no-verify
flag to commit:
e.g. git commit --no-verify -m "Message"
You have some problem with style of your code. Try to run checking code and fix them.
This --no-verify
use as an hotfix or temporary solution :)
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