Skip to content

Commit f6b423f

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

File tree

6 files changed

+7
-1
lines changed

6 files changed

+7
-1
lines changed

crates/biome_configuration/tests/invalid/domains.json.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ domains.json:4:7 deserialize ━━━━━━━━━━━━━━━━━
2424
- project
2525
- tailwind
2626
- turborepo
27+
- types
2728

2829

2930

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)

crates/biome_service/src/settings.tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ fn test_module_graph_resolution_kind_from_scan_kind() {
251251

252252
assert_eq!(
253253
ModuleGraphResolutionKind::from(&ScanKind::TargetedKnownFiles {
254-
target_paths: vec![].into(),
254+
target_paths: vec![],
255255
descend_from_targets: false,
256256
}),
257257
ModuleGraphResolutionKind::None

0 commit comments

Comments
 (0)