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
The CSS plugin currently only validates known at-rules, properties, values, etc. For libraries like Tailwind that define custom syntax, that means the rules in this plugin flag everything as an error. There are probably other tools that have similar issues.
What do you think is the correct solution?
Create languageOptions for the CSS language that allow the addition of custom at-rules, properties, functions, etc.
These should then be picked up by the parser and lexer so that validation is consistent across all ESLint rules.
Participation
I am willing to submit a pull request for this change.
Environment
ESLint version:
@eslint/css version:
Node version:
npm version:
Operating System:
What problem do you want to solve?
The CSS plugin currently only validates known at-rules, properties, values, etc. For libraries like Tailwind that define custom syntax, that means the rules in this plugin flag everything as an error. There are probably other tools that have similar issues.
What do you think is the correct solution?
Create
languageOptions
for the CSS language that allow the addition of custom at-rules, properties, functions, etc.These should then be picked up by the parser and lexer so that validation is consistent across all ESLint rules.
Participation
Additional comments
Related:
The text was updated successfully, but these errors were encountered: