During development, eslint is great for writing that perfect javascript code.
But consider this scenario, that you are demo-ing your work. And you ran npm run dev
and eslint produces error due to some syntax. I could go on and debug the code and hope that it's only a silly space or extra lines somewhere.
Or I can disable eslint for a moment and move on.
I have tried to comment out the .eslintrc.js
file or pass in values like npm run dev --no-eslintrc
. Obviously they are not the solution.
Does anyone know how to disable eslint on a webpack project during emergencies like this? Preferably a command line solution?