Lint is a purely developmental process. Nodemon is a tool used to start a server and is not related to build tools, but with application launch. Therefore, the answer is NO. You should use the proper development automation tool like grunt, gulp, etc. Or just pure NPM scripts (in your package.json file).
I would recommend using automation tools if your project is complex, has many stages and a lot of kit, etc. However, for casting only, you can simply prepare a single line liner in your npm package.json , for example. eg:
"scripts": { "lint": "eslint --fix src test", }
And then run it with the command: "npm run lint".
Remember that with a properly configured .eslintrc file .eslintrc you can use your code both with the help of console commands and with the help of editors / IDEs (almost every widely popular development environment has a plugin for eslint).
More information on configuring eslint and creating an eslintrc file can be found here: http://eslint.org/docs/user-guide/configuring
Szybki sasza
source share