Skip to content

Commit

Permalink
Fixed clippy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tapanprakasht committed Oct 22, 2024
1 parent e02496f commit f712201
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/oxc_linter/src/config/rules.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@ impl OxlintRules {
rules_for_override.replace(rule);
}

if (rules_not_matched.len() > 0) {
if !rules_not_matched.is_empty() {
println!("The following rules do not match the currently supported rules:");
for rule in rules_not_matched {
println!("{}", rule);
println!("{rule}");
}
}
}
Expand Down

0 comments on commit f712201

Please sign in to comment.