diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-07-25 09:07:59 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-25 09:07:59 -0400 |
commit | 763f05e74dfd0032b238603f625893a52e363591 (patch) | |
tree | c6a71559472755919358afa53eecac206cad80a9 /cli/tools/run/mod.rs | |
parent | ef78d317f084ffe633253acd138a48a425113fa7 (diff) |
fix(unstable): move sloppy-import warnings to lint rule (#24710)
Adds a new `no-sloppy-imports` lint rule and cleans up the lint code.
Closes #22844
Closes https://github.com/denoland/deno_lint/issues/1293
Diffstat (limited to 'cli/tools/run/mod.rs')
-rw-r--r-- | cli/tools/run/mod.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/cli/tools/run/mod.rs b/cli/tools/run/mod.rs index baa8e72db..65044fbad 100644 --- a/cli/tools/run/mod.rs +++ b/cli/tools/run/mod.rs @@ -45,13 +45,6 @@ To grant permissions, set them before the script argument. For example: let deno_dir = factory.deno_dir()?; let http_client = factory.http_client_provider(); - if cli_options.unstable_sloppy_imports() { - log::warn!( - "{} Sloppy imports are not recommended and have a negative impact on performance.", - crate::colors::yellow("Warning"), - ); - } - // Run a background task that checks for available upgrades or output // if an earlier run of this background task found a new version of Deno. #[cfg(feature = "upgrade")] |