bmatcuk / coc-stylelintplus

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

false errors in javascript files in v1.1.0 #7

Closed antonk52 closed 3 years ago

antonk52 commented 3 years ago

Hello and thank you for the amazing plugin.

I have recently updated the plugin to v1.1.0 and started getting false errors in javascript files. I believe this commit is the cause of this error.

here is a plain text example of the error

// @flow
[stylelintplus CssSyntaxError] [E] Unknown word (CssSyntaxError)
bmatcuk commented 3 years ago

Hey @antonk52, sorry about that! I've cut a v1.2.0 that adds a cssInJs option and disables it by default. That should cut out the false positives. Let me know if that works!

antonk52 commented 3 years ago

Wow, that's a quick fix and a response. Just gave v1.2.0 a try and there are no more false errors. Thank you!

bmatcuk commented 3 years ago

You're welcome! =)