You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While using vanilla-extract, sprinkles seems necessary to reduce linearly increasing CSS.
However, we can't declare all possible values in sprinkles ( ex. height: [1, 2, 3, 4, 5 ...] )
And in this situation, we can't guarantee that all team members understand the values declared in sprinkles and use sprinkles instead of direct styles.
Is there any ESLint rule available for this situation?
I've made a basic implementation since I couldn't find any existing ESLint rules for this purpose.
If anyone is aware of any existing solutions, I'd really appreciate you letting me know.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
While using vanilla-extract, sprinkles seems necessary to reduce linearly increasing CSS.
However, we can't declare all possible values in sprinkles ( ex. height: [1, 2, 3, 4, 5 ...] )
And in this situation, we can't guarantee that all team members understand the values declared in sprinkles and use sprinkles instead of direct styles.
Is there any ESLint rule available for this situation?
I've made a basic implementation since I couldn't find any existing ESLint rules for this purpose.
If anyone is aware of any existing solutions, I'd really appreciate you letting me know.
Beta Was this translation helpful? Give feedback.
All reactions