eslint-fix
v1.0.3
Published
Executes `eslint --fix` on `stdin`, writes fixed output to `stdout`
Downloads
1,441
Readme
Installation
npm i -g eslint eslint-fix
Usage
Shell
cat myfile.js | eslint-fix
VIM
Set equalprg
to eslint-fix
. Use ggVG=
.
:set equalprg=eslint-fix
Combine with js-beautify for solid pew-pew.
:set equalprg=eslint-fix\|js-beautify