-
-
Notifications
You must be signed in to change notification settings - Fork 971
🐛 emoji not supported in CSS parser #3627
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
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
Environment information
biome rage
What happened?
When a custom property name contains an emoji, Biome fails to parse it.
I get errors in my IDE from
biome(parse)in the form of "Expected a declaration, or an at rule but instead found '--✨'." and "Expected a declaration item but instead found '--✨'."See playground.See updated playground and related comment.
Expected result
Emojis are allowed in custom property names, so Biome should be able to parse them.
It's worth noting that since Biome doesn't support formatting/linting CSS, it should not even be parsing my CSS files.Code of Conduct