-
Notifications
You must be signed in to change notification settings - Fork 61
Missing semicolon not detected #204
Comments
Hi @rylek90, which stylelint rule do you think will be violated if semicolons are missing? |
Hmm, that would be a simple CssSyntaxError I believe 🤔 |
Yes, I tested with a simple code snippet and got CssSyntaxError. Can you give detailed versions of your stylelint and related packages? Or the link of the problem project directly? |
@chinesedfan versions are following:
|
@rylek90 I still got CssSyntaxError. What is your expectation? By the way, you set |
@chinesedfan oops, my mistake, I use |
@chinesedfan my apologise, I've spot the error finally. It seems like it has problems with js decorators. Here is a minimal repo to reproduce https://github.com/rylek90/StyledComponentsBug |
@rylek90 I see. It is due to the babylon error isn't be thrown by our processor. #163 has tried to handle it but not finished yet.
|
I use
stylelint-processor-styled-components
with Emotion. With current update Emotion doesn't automatically add semicolons at the end of expression. However missing semicolons are not detected by pluginMy stylelint config:
Linted code (with missing semicolons):
I use
stylelint --syntax scss
The text was updated successfully, but these errors were encountered: