eslint-watchs
v1.0.5
Published
eslint-watchs
Downloads
8
Readme
eslint wacths
This is a tool ,with it you can detect you code in time.
First you need to install Eslint.
Usage
And then, you need to do following things.
npm install --save-dev eslint-watchs
and then add below to you package.json
, in scripts
:
"es": "node node_modules\\eslint-watchs\\eslintWatch.js",
"esfix": "node node_modules\\eslint-watchs\\eslintWatch.js --fix",
"esw": "node node_modules\\eslint-watchs\\eslintWatch.js --watch",
"eswfix": "node node_modules\\eslint-watchs\\eslintWatch.js --watch --fix"
And then you can run :
npm run es // check you code just one time
npm run esfix // check and fix you code just one time
npm run esw // check you code constantly
npm run eswfix // check and fix you code constantly
Now, you can see you the infomations in terminal ! :smile: