biomejs / biome

A toolchain for web projects, aimed to provide functionalities to maintain them. Biome offers formatter and linter, usable via CLI and LSP.
https://biomejs.dev
Apache License 2.0
12.55k stars 393 forks source link

📎 Add css modules support #2901

Open denbezrukov opened 1 month ago

denbezrukov commented 1 month ago

Description

Add css modules support for our parser:

ianzone commented 2 weeks ago

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

denbezrukov commented 2 weeks ago

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

ianzone commented 2 weeks ago
image
denbezrukov commented 2 weeks ago

@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 commented 2 weeks ago

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