ItsJonQ / g2

✨ An experimental reimagining of WordPress components
http://g2-components.com/
MIT License
105 stars 12 forks source link

Add stylelint, set up to use for CSS-in-JS #268

Closed ockham closed 3 years ago

ockham commented 3 years ago

AFAICS, g2 isn't currently using stylelint. It seems like stylelint nowadays supports CSS-in-JS.

In order to prevent bugs like https://github.com/ItsJonQ/g2/issues/266, how about we:

ItsJonQ commented 3 years ago

@ockham Haii! I just tried this out. I don't think stylelint is works too well with how the CSS-in-JS styles are written. I'm currently having to disable a lot of rules 😅