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
This is tricky and requires a bit of thought because of how local variables are being handled.
Not sure if this is a problem that goes away if I switch to using the postcss processor. Probably worth doing that first rather than updating the existing parsing.
A postcss processor is an interesting idea, although for layout variables IIRC it converts them to raw values? It used to use CSS variables but I think you discontinued that, so that (at least with some configurations) it converts
padding: spacing.$spacing-05
into
padding: 1rem
(or something like that). In which case, the stylelint wouldn't be able to do its job.
This works fine with no lint errors:
However, this fails:
Is it possible to support both (without throwing an error)?
The text was updated successfully, but these errors were encountered: