Open lifeiscontent opened 2 weeks ago
Thinking out loud here on possible solution, ofc there could be problems with it but still it's better to initiate a thought process on it. From my assumption firstThatWorks may receive 2 types of values either variables or absolute values. I have not seen code but 2 things might change
What you say @nmn ?
This is an issue in the ESLint valid-styles
rule. It is not correctly parsing firstThatWork
and checking the arguments passed it.
Describe the issue
when using
stylex.firstThatWorks
on a property, I'm seeing ESLint errors for@stylexjs/valid-styles
e.g.
Expected behavior
using the above code should work with ESLint Rule
Steps to reproduce
Test case
No response
Additional comments
No response