Skip to content

Commit 52c1711

Browse files
committed
feat(lint): types domain
1 parent c1c0fee commit 52c1711

File tree

4 files changed

+5
-0
lines changed

4 files changed

+5
-0
lines changed

crates/biome_css_formatter/tests/spec_test.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ pub fn run(spec_input_file: &str, _expected_file: &str, test_directory: &str, _f
4343
},
4444
workspace_directory: None,
4545
extended_configurations: vec![],
46+
module_graph_resolution_kind: Default::default(),
4647
})
4748
};
4849

crates/biome_graphql_formatter/tests/spec_test.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ pub fn run(spec_input_file: &str, _expected_file: &str, test_directory: &str, _f
4343
},
4444
workspace_directory: None,
4545
extended_configurations: vec![],
46+
module_graph_resolution_kind: Default::default(),
4647
})
4748
};
4849

crates/biome_html_formatter/tests/spec_test.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ pub fn run(spec_input_file: &str, _expected_file: &str, test_directory: &str, _f
4545
project_key,
4646
workspace_directory: Some(BiomePath::new(test_directory)),
4747
extended_configurations: vec![],
48+
module_graph_resolution_kind: Default::default(),
4849
})
4950
}) else {
5051
panic!("Failed to set up snapshot test");

crates/biome_lsp/src/session.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ use biome_service::configuration::{
1717
LoadedConfiguration, ProjectScanComputer, load_configuration, load_editorconfig,
1818
};
1919
use biome_service::projects::ProjectKey;
20+
use biome_service::settings::ModuleGraphResolutionKind;
2021
use biome_service::workspace::{
2122
FeaturesBuilder, OpenProjectParams, OpenProjectResult, PullDiagnosticsParams,
2223
SupportsFeatureParams,
@@ -959,6 +960,7 @@ impl Session {
959960
.map(BiomePath::from),
960961
configuration,
961962
extended_configurations: Default::default(),
963+
module_graph_resolution_kind: ModuleGraphResolutionKind::from(&scan_kind),
962964
});
963965

964966
self.insert_and_scan_project(project_key, path.into(), scan_kind, force)

0 commit comments

Comments
 (0)