I have my package.json script set up like this:
"scripts": {
"lint": "eslint src webpack.config.js || exit 0"
},
How can I have this lint command run every time I save a file so I don't have to run npm run lint every single time?
I have my package.json script set up like this:
"scripts": {
"lint": "eslint src webpack.config.js || exit 0"
},
How can I have this lint command run every time I save a file so I don't have to run npm run lint every single time?