styled-components / webstorm-styled-components

styled-components highlighting support in IntelliJ editors

Home Page:https://plugins.jetbrains.com/plugin/9997-styled-components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stylelint highlighting support?

doasync opened this issue · comments

Tweet
"Just need stylelint support inside and will be perfect"

Come on, let's not make VSCode win this battle, since they have it already 😂

The issue is only about highlighting errors.
We can lint styled-components using these tools:
https://www.styled-components.com/docs/tooling#stylelint

I still can't see errors in IDE 😞

This is fixed on the IDE side in 2019.1, as this affects not only styled-components, but more generally any kind of CSS in JS.
In order to see Stylelint highlighting, enable the checkbox 'Process JS files' in Stylelint settings in the IDE.

Please see WEB-30614 for details for details and try out the feature in a 2019.1 EAP build: https://www.jetbrains.com/webstorm/eap/.

Thanks, it's working with the latest WebStorm 2019.1 EAP build