-
-
Notifications
You must be signed in to change notification settings - Fork 23
Add support for CSS linting with @eslint/css #713
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
Comments
Actually @ota-meshi maintains https://github.com/ota-meshi/eslint-plugin-css |
Oh, didn't realize that :) That plugin seems to be base on a mix of postcss and custom logic, not CSSTree which seems to be where eslint itself is heading :( |
I use Stylelint for
That's an interesting feature, but it would be better to create something like eslint-plugin-scss first 😄
I don't know much about it, but it might be relevant. |
Some people say that the name eslint-plugin-css is misleading because it is a plugin that can check CSS files. However, at the time, ESLint did not have the concept of language plugins, and I thought that ESlint-plugin-CSS meant a plugin that checks CSS defined in JS(ES). |
I love The users can choose their own preferred namespace anyway. |
Description
When I implemented CSS parsing, I used PostCSS to do it. Now it seems that eslint itself is steering towards using CSSTree and implements (so far quite limited) CSS linting in
@eslint/css
.I think we should aim to:
@eslint/css
rules in Svelte fileseslint-plugin-svelte
rules workingTo that end, we'd need to:
Open Questions:
I am willing to do some work on this eventually, but I think some discussion is needed first... Thoughts?
The text was updated successfully, but these errors were encountered: