Can I use nodemon to lint my javascript? I am not using any build tool e.g. gulp or grunt and want to maximize the use of node and npm.
The output from nodemon can be pi
I use Standard.js for linting and I can get it to work with nodemon
using the below package.json
script.
"scripts": {
"lint": "standard",
"dev": "nodemon ./app --exec \"npm run lint && node\""
"start": "nodemon ./app"
}
When I run npm run dev
, any changes I make will be monitored and linted. I tested this in Windows
using PowerShell
.