Skip to content

Commit

Permalink
Update crates/biome_service/src/settings.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Ze-Zheng Wu <[email protected]>
  • Loading branch information
ematipico and Sec-ant authored Jul 4, 2024
1 parent 61d0e71 commit d2cd1b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/biome_service/src/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,8 @@ impl From<PartialGraphqlConfiguration> for LanguageSettings<GraphqlLanguage> {
}

if let Some(linter) = graphql.linter {
language_setting.linter.enabled = linter.enabled;
// TODO: change RHS to `linter.enabled` when graphql linting is enabled by default
language_setting.linter.enabled = Some(linter.enabled.unwrap_or_default());
}

language_setting
Expand Down

0 comments on commit d2cd1b0

Please sign in to comment.