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
Thanks for the suggestion. I don't think it makes sense to have such customization at the rule level. Instead, I think we need to figure out a way to set preferences like this at a higher level that all rules can inherit from. After all, if you would want every rule that deals with property values to understand theme(), not just this one, and it would be a pain to have to add this customization to every rule you enable.
What rule do you want to change?
no-invalid-properties
What change do you want to make?
Generate fewer warnings
How do you think the change should be implemented?
A new option
Example code
What does the rule currently do for this code?
Here is a minimal reproduction of the current state of things.
https://stackblitz.com/edit/no-irregular-whitespace-ey1hdv5b
Currently, the rule shows an error, as it does not understand Tailwind's custom
theme
property.What will the rule do after it's changed?
We should introduce a new option to the rule, so we can add other supported properties, like Tailwind's
theme
property.I would expect the configuration to look something like this:
Participation
Additional comments
/cc @JoshuaKGoldberg
The text was updated successfully, but these errors were encountered: