From 47f7bed677a6b72e873712de8f3988ea891710e4 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Wed, 8 May 2024 22:45:06 -0400 Subject: chore: enable clippy::print_stdout and clippy::print_stderr (#23732) 1. Generally we should prefer to use the `log` crate. 2. I very often accidentally commit `eprintln`s. When we should use `println` or `eprintln`, it's not too bad to be a bit more verbose and ignore the lint rule. --- cli/bench/main.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cli/bench') diff --git a/cli/bench/main.rs b/cli/bench/main.rs index 9bae6fab6..8f0627558 100644 --- a/cli/bench/main.rs +++ b/cli/bench/main.rs @@ -1,5 +1,8 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. +#![allow(clippy::print_stdout)] +#![allow(clippy::print_stderr)] + use deno_core::error::AnyError; use deno_core::serde_json; use deno_core::serde_json::Value; -- cgit v1.2.3