matype/stylefmt

Autofixing errors

svipas opened this issue · 0 comments

Hello,

it will be cool to have auto fixing before formatting, like it is with prettier, which is JS formatting tool, but also it includes missing semicolons and so on. So I think it will be good idea to use stylelint new --fix option to fix before formatting CSS, I know this new function will be in new release. Or make new option in stylefmt to fix before formatting i. e. (stylefmt --fix myFile.css).

https://github.com/stylelint/stylelint/blob/master/docs/user-guide/cli.md#autofixing-errors