Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Add CSS-in-JS files support #413

Open
ai opened this issue Sep 17, 2018 · 3 comments
Open

Add CSS-in-JS files support #413

ai opened this issue Sep 17, 2018 · 3 comments

Comments

@ai
Copy link

ai commented Sep 17, 2018

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.

@nene
Copy link

nene commented Apr 4, 2019

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).

@zslabs
Copy link

zslabs commented May 27, 2019

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?

@yocontra
Copy link

yocontra commented Mar 6, 2020

This is semi-related to #406 and primarily #235

If anyone feels passionate about this a PR would be appreciated to get the ball rolling!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants