diff --git a/Cargo.toml b/Cargo.toml
index d1bd347..42ec092 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -26,7 +26,13 @@ assert_cmd = "*"
predicates = "*"
tempfile = "*"
-[lints.clippy]
+[lints]
+workspace = true
+
+[workspace]
+members = ["."]
+
+[workspace.lints.clippy]
self_named_module_files = "warn"
unwrap_used = "warn"
expect_used = "warn"