The local eslint executor.
> npm install -g eslint-cli
Note:
eslint module must not be installed into global.First, please install the eslint module in local.
> npm install --save-dev eslint
Next, please do eslint.
> eslint lib
This command executes the global eslint-cli, then it finds and executes the local eslint.
That's all. Enjoy!