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
I use Prettier to make my styled components look nice. Unfortunately sometimes Prettier wraps certain lines and that causes issue with the plugin which marks them as errors.
Any updates on fixing this?
I am also getting the following errors due to the same problem: at-rule or selector expected, semi-colon expected, ) expected
For the following snippet:
Activity
stelladraco27 commentedon Aug 7, 2023
Any updates on fixing this?
I am also getting the following errors due to the same problem:
at-rule or selector expected,semi-colon expected,) expectedFor the following snippet:
test: pin the single-line url() solid fill and tighten #13 labels
fix: keep multi-line interpolations from reporting false errors (#36)
usercao commentedon Sep 28, 2026
Fixed in
@styled/typescript-styled-plugin@1.1.0by #36.Multiline interpolations, including the
url(...)example above, should no longer produce false CSS diagnostics after Prettier wraps them.Thanks for the report!