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