Skip to content

Commit

Permalink
fix(css_parser): fix CSS modules settings mapping (#3237)
Browse files Browse the repository at this point in the history
  • Loading branch information
denbezrukov authored Jun 19, 2024
1 parent b36eba1 commit 2841f3f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ our [guidelines for writing a good changelog entry](https://github.com/biomejs/b

### Parser

#### Bug fixes

- Fix CSS modules settings mapping. Contributed by @denbezrukov

## v1.8.1 (2024-06-10)

### Analyzer
Expand Down
2 changes: 1 addition & 1 deletion crates/biome_service/src/file_handlers/css.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ fn parse(
.map(|s| s.languages.css.parser.allow_wrong_line_comments)
.unwrap_or_default(),
css_modules: settings
.map(|s| s.languages.css.parser.allow_wrong_line_comments)
.map(|s| s.languages.css.parser.css_modules)
.unwrap_or_default(),
};
if let Some(settings) = settings {
Expand Down

0 comments on commit 2841f3f

Please sign in to comment.