Run format command silently
sQVe opened this issue ยท 0 comments
sQVe commented
Hey ๐๐ผ,
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.
See relevant code: https://github.com/bmatcuk/coc-stylelintplus/blob/master/src/index.ts#L96-L101
๐๐ผ