-
-
Notifications
You must be signed in to change notification settings - Fork 925
📝 parser error with forward slash in tailwind directive #8897
Copy link
Copy link
Labels
A-ParserArea: parserArea: parserL-CSSLanguage: CSS and super languagesLanguage: CSS and super languagesS-Bug-confirmedStatus: report has been confirmed as a valid bugStatus: report has been confirmed as a valid bug
Description
Environment information
A forward slash within a @utility tailwind directive name throws an error when parsing it, as in the repro
Prettier is able to parse this kind of css, while biome throws an expected `{` but instead found `/` error
While the css is not valid, tailwind automatically escapes it, incidentally there is also an issue where tailwind doesn't allow the pre-escaped utility name which would work with biome. Still, maybe this is worth a fix on both sides
Configuration
Playground link
Code of Conduct
- I agree to follow Biome's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-ParserArea: parserArea: parserL-CSSLanguage: CSS and super languagesLanguage: CSS and super languagesS-Bug-confirmedStatus: report has been confirmed as a valid bugStatus: report has been confirmed as a valid bug