denoland / deno

A modern runtime for JavaScript and TypeScript.
https://deno.com
MIT License
93.06k stars 5.14k forks source link

chore: enable clippy::print_stdout and clippy::print_stderr #23732

Closed dsherret closed 1 week ago

dsherret commented 1 week ago
  1. Generally we should prefer to use the log crate.
  2. I very often accidentally commit eprintlns.

When we should use println or eprintln, it's not too bad to be a bit more verbose and ignore the lint rule.