I'm using VS Code in MacOS 10.14.1
I installed eslint with the command:
npm i -g eslint
It is installed in the project's local folder:
./node_modules/eslint
When you run the command:
eslint --init
Error:
-bash: eslint: command not found
I've already researched and nothing. Can someone help me?