mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
chore(linter): deny clippy::print_stdout
This commit is contained in:
parent
ae74e08141
commit
f53a5326a5
1 changed files with 2 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
|||
#![deny(clippy::print_stdout)]
|
||||
#![allow(clippy::self_named_module_files)] // for rules.rs
|
||||
|
||||
#[cfg(test)]
|
||||
|
|
@ -135,6 +136,7 @@ impl Linter {
|
|||
writeln!(writer, "Total: {}", RULES.len()).unwrap();
|
||||
}
|
||||
|
||||
#[allow(clippy::print_stdout)]
|
||||
pub fn print_execution_times_if_enable(&self) {
|
||||
if !self.options.timing {
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue