npm.io
0.1.3 • Published 4 years agoCLI

eslint-watch-better

Licence
MIT
Version
0.1.3
Deps
4
Size
3 kB
Vulns
0
Weekly
0

eslint-watch-better

eslint-watch-better is better than eslint-watch.

  • Doesn't spawn another node process to run eslint
  • Lints single files when they change, with ability to lint all when typing r
  • Less deps and lines of code

Usage

yarn global add eslint-watch-better

From the terminal: esw <files or dirs to watch>

Or make it an npm script in your package.json:

{
  ...
  "scripts": {
    "esw": "esw <files or dirs to watch>"
  }
  ...
}