Eslint Plugin #747
roginfarrer
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
As well as the above, a linter rule for preferring unquoted values (e.g. numbers for pixel values), and rules for standardizing the ordering of properties would be super nice (there's probably a few other things I could think of). @roginfarrer Did your team have any movement on a package for this? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wonder if there's been any consideration for (or openness to) an official ESLint plugin for Vanilla Extract. I think it would take something about what's lint-able, but my team has encountered a couple of patterns that can be done one way, but should be done another. My team is considering creating and open sourcing a package, but I'm wondering if we should make it official in this repo.
Example:
prefer-style-selectors-to-global-style
Sometimes we see an author use
globalStyle
to have one class style another:However, I think it's preferred to use selectors and
&
Beta Was this translation helpful? Give feedback.
All reactions