Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃搸 Add css modules support #2901

Open
4 of 6 tasks
denbezrukov opened this issue May 17, 2024 · 5 comments
Open
4 of 6 tasks

馃搸 Add css modules support #2901

denbezrukov opened this issue May 17, 2024 · 5 comments
Assignees
Labels
A-Parser Area: parser L-CSS Language: CSS

Comments

@denbezrukov
Copy link
Contributor

denbezrukov commented May 17, 2024

Description

Add css modules support for our parser:

@denbezrukov denbezrukov self-assigned this May 17, 2024
@denbezrukov denbezrukov changed the title Add css modules support 馃搸 Add css modules support May 17, 2024
@Conaclos Conaclos added A-Parser Area: parser L-CSS Language: CSS labels May 17, 2024
@ianzone
Copy link
Contributor

ianzone commented Jun 19, 2024

version 1.8.1 still reporting errors on :local and :global pseudo class.

@denbezrukov
Copy link
Contributor Author

@ianzone you have to enabled the css modules option
https://biomejs.dev/reference/configuration/#cssparsercssmodules

@ianzone
Copy link
Contributor

ianzone commented Jun 19, 2024

image

@denbezrukov
Copy link
Contributor Author

@ianzone
it seems that enabling options doesn't have any effect. I suggest trying to reload the client or run it via the CLI tool to ensure it's not an IDE problem.

If the problem persists, could you file a report and provide a minimal reproducible example?

@denbezrukov
Copy link
Contributor Author

@ianzone Thanks for reporting. I've found a problem. As a workaround enable "allowWrongLineComments": true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Parser Area: parser L-CSS Language: CSS
Projects
None yet
Development

No branches or pull requests

3 participants