How is use-baseline intended to work with tools like PostCSS? Or is it, even?
#152
Unanswered
benjaminblack
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
The |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It seems like the goals of linting CSS with
@eslint/csswith theuse-baselinerule, and transforming CSS with PostCSS + postcss-preset-env, are at cross purposes.For example,
use-baselinewill flag the&nesting selector as not widely available, but when using PostCSS, nesting syntax is fine (and almost expected), since it will be transformed.And yet,
@eslint/cssprovides for custom configuration viacustomSyntaxwhich is expressly called out in the docs as useful for working with PostCSS, which suggests that perhaps they are intended to work together.Beta Was this translation helpful? Give feedback.
All reactions