summaryrefslogtreecommitdiff
path: root/cli/clippy.toml
diff options
context:
space:
mode:
Diffstat (limited to 'cli/clippy.toml')
-rw-r--r--cli/clippy.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/clippy.toml b/cli/clippy.toml
index e20c56c47..f1c25acfb 100644
--- a/cli/clippy.toml
+++ b/cli/clippy.toml
@@ -1,5 +1,6 @@
disallowed-methods = [
{ path = "reqwest::Client::new", reason = "create an HttpClient via an HttpClientProvider instead" },
+ { path = "std::process::exit", reason = "use deno_runtime::exit instead" },
]
disallowed-types = [
{ path = "reqwest::Client", reason = "use crate::http_util::HttpClient instead" },