When calling stylelintplus.applyAutoFixes in a project that doesn't either is missing a stylelintrc or the correct dependencies it outputs an error. I call stylelintplus.applyAutoFixes from a Format command and it targets a wide array of different filetypes. It should be just fail gracefully if stylelint or config is missing, or atleast have an option to do so.
Hey 👋🏼,
When calling
stylelintplus.applyAutoFixes
in a project that doesn't either is missing astylelintrc
or the correct dependencies it outputs an error. I callstylelintplus.applyAutoFixes
from aFormat
command and it targets a wide array of different filetypes. It should be just fail gracefully ifstylelint
or config is missing, or atleast have an option to do so.See relevant code: https://github.com/bmatcuk/coc-stylelintplus/blob/master/src/index.ts#L96-L101
🙏🏼