We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b51ad88 commit ab4d606Copy full SHA for ab4d606
crates/biome_json_analyze/src/lint/nursery/no_duplicate_dependencies.rs
@@ -107,7 +107,7 @@ impl Rule for NoDuplicateDependencies {
107
return DUPLICATE_PROPERTY_KEYS.contains(&text.text());
108
}
109
110
- return false;
+ false
111
});
112
113
// Loop through all the dependency groups to map all dependencies & check for duplicates within the same dependency group
@@ -219,7 +219,7 @@ impl Rule for NoDuplicateDependencies {
219
220
221
222
- return None;
+ None
223
224
225
fn diagnostic(_ctx: &RuleContext<Self>, state: &Self::State) -> Option<RuleDiagnostic> {
0 commit comments