Skip to content

Commit

Permalink
Enable some clippy lints by default
Browse files Browse the repository at this point in the history
Enable `clippy::doc_markdown`, `clippy::semicolon_if_nothing_returned`
  • Loading branch information
waywardmonkeys committed Oct 7, 2024
1 parent 73aa8df commit 95ebf58
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit 95ebf58

Please sign in to comment.