My stylelint package is here in my project:
In Webstorm Preferences | Languages & Frameworks | Style Sheets | Stylelint the package location is set as above. It works fine for showing errors as inspections according to how I have it set in Inspections.
But using any menu option to run it fails. Tools > External Tools > Stylelint gives the following error:
Cannot run program "~myOTHERproject/node_modules/stylelint/ ... No such file or directory
It's looking for the package in a different project, not the package I've pointed to in preferences.
Running it manually from the terminal works fine:
~myProject $ node_modules/stylelint/bin/stylelint.js ./app/components/Promos/myFile.scss --fix
This esp weird because inspections do work.