From 95ebf5893a4ff9b964ccbeaac296bee79edb229c Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Mon, 7 Oct 2024 07:55:39 +0700 Subject: [PATCH] Enable some clippy lints by default Enable `clippy::doc_markdown`, `clippy::semicolon_if_nothing_returned` --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 6a23af1..f98ee2d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,6 +17,10 @@ default = ["scale", "render"] scale = ["dep:yazi", "dep:zeno"] render = ["scale", "zeno/eval"] +[lints] +clippy.doc_markdown = "warn" +clippy.semicolon_if_nothing_returned = "warn" + [dependencies] yazi = { version = "0.1.6", optional = true } zeno = { version = "0.2.2", optional = true, default-features = false }