bmatcuk / coc-stylelintplus

stylelint extension for coc.nvim supporting additional features
MIT License
48 stars 7 forks source link

Support for ccs-in-js #5

Closed fffed closed 3 years ago

fffed commented 3 years ago

Could you please add support for js{x}/ts{x} files so it starts working with css-in-js ala styled-components? I do not sure if it all correct but I've created a pull request: https://github.com/bmatcuk/coc-stylelintplus/pull/6

bmatcuk commented 3 years ago

Closed by #6

bmatcuk commented 3 years ago

Hey @fffed, I've had to make css-in-js an optional feature, disabled by default, because it was causing some issues (see issue #7). If you upgrade to v1.2.0, you can enable it in your coc-settings.json by setting stylelintplus.cssInJs to true.