-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change Request: Allow configurable CSS features #37
Labels
enhancement
New feature or request
Comments
1 task
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: