Skip to content

Commit 6fc061b

Browse files
committed
define workspace lints
Signed-off-by: onur-ozkan <[email protected]>
1 parent 15dd3a3 commit 6fc061b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Cargo.toml

+8
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,14 @@ rw-stream-sink = { version = "0.4.0", path = "misc/rw-stream-sink" }
105105
multiaddr = "0.18.0"
106106
multihash = "0.19.0"
107107

108+
[workspace.lints]
109+
rust.unreachable_pub = "warn"
110+
clippy.used_underscore_binding = "warn"
111+
clippy.pedantic = { level = "allow", priority = -1 }
112+
clippy.type_complexity = "allow"
113+
clippy.unnecessary_wraps = "warn"
114+
clippy.manual_let_else = "warn"
115+
clippy.dbg_macro = "warn"
108116

109117
[patch.crates-io]
110118

0 commit comments

Comments
 (0)