Add CSS-in-JS files support
ai opened this issue · comments
Stylelint 9.5 supports CSS-in-JS (styles
tag styled-component’s API and objects API) from JS files.
We need to add this support to text editor plugin as well.
Could there possibly just be a config option that specifies which files to lint?
e.g. I'd like to use it for .tsx
files (TypeScript with JSX syntax containing styled-components).
In combination with stylelint-processor-styled-components
, stylelint-config-styled-components
, and stylelint-custom-processor-loader
I'm able to get Stylelint working great as part of my build process -- but the only thing I'm missing is editor error highlighting as I was able to have in my SCSS files. Is there a technical limitation with this request, or just something that has not been prioritized yet?