nvm does not play nicely with eslint/sublime. I tirelessly tried to configure this with different paths/plugins.
Various errors come out- such as .bin/eslint: line 2: sed: command not found, eslint cannot locate 'eslint' and more
nvm does not play nicely with eslint/sublime. I tirelessly tried to configure this with different paths/plugins.
Various errors come out- such as .bin/eslint: line 2: sed: command not found, eslint cannot locate 'eslint' and more
My solution?
Make sure to install both
SublimeLinterandSublimeLinter-eslintAs your node package manager, use
volta. Runnpm install -g eslintand voilia!Your config should look like this: