-
-
Notifications
You must be signed in to change notification settings - Fork 442
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
🐛 Parser is no longer progressing #3284
Comments
I'm wondering if you have an example to reproduce the issue. |
It's a private repository with over 400 commits. So not too sure what's the best way to reproduce an example of it. Any suggestions as I don't want to open source it? |
Can you isolate that one file? I imagine that Biome parses files independently, so you shouldn't need the whole project. The method that works for me: delete files until error is gone, thats how I narrow reproductions down. |
From the error message, the error is triggered by this file: |
I've isolated and seems like problem is css files for some reason. here is an example of entire file - minHeight.module.css
this shouldn't have any issues with linting but for some reason it does |
so the issues seems to be with 'postcss-each' https://www.npmjs.com/package/postcss-each. Every-time in css modules I used |
The minimal reproduction: https://biomejs.dev/playground/?files.main.css=QABtAGUAZABpAGEAIAAoAC0ALQB1AG0AcgBlAGwALQBiAHIAZQBhAGsAcABvAGkAbgB0AHMALQAkAGIAcgBlAGEAawBwAG8AaQBuAHQAKQAgAHsAfQA%3D Is the dollar sign SASS syntax? We only support standard CSS and CSS modules at the moment. But yeah the parser shouldn't panic. |
@Sec-ant yes that's right. But with postcss-each plugin you can iterate through values which is very handy and it's using dollar sign |
Ah, we don't support SASS/LESS syntax, and we don't support esoteric plugins like postcss does |
Environment information
The text was updated successfully, but these errors were encountered: