You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Running applyAutoFixes on a invalid stylelint projects generates an
error each time which is really annoying. Revert this commit once it is
possible to format silently.
bmatcuk/coc-stylelintplus#17
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
🙏🏼
The text was updated successfully, but these errors were encountered: