Skip to content

Commit

Permalink
ci: correctly order lints
Browse files Browse the repository at this point in the history
  • Loading branch information
mrnossiom committed May 9, 2024
1 parent de616a5 commit 6399df8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 34 deletions.
13 changes: 13 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,16 @@ git2 = "0.17.2"
indicatif = "0.17.5"
label-logger = { version = "0.2.0", features = ["indicatif"] }
num_cpus = "1.15.0"

[lints]
[lints.rust]
unsafe_code = "deny"
[lints.clippy]
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
# cargo = { level = "warn", priority = -1 }

expect_used = "warn"
missing_docs_in_private_items = "warn"
print_literal = "warn"
unwrap_used = "warn"
24 changes: 0 additions & 24 deletions LICENCE.md

This file was deleted.

10 changes: 0 additions & 10 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
#![deny(unsafe_code)]
#![warn(
clippy::missing_docs_in_private_items,
clippy::print_literal,
clippy::unwrap_used,
clippy::expect_used,
clippy::nursery,
clippy::pedantic,
clippy::cargo
)]
#![doc(
html_logo_url = "https://raw.githubusercontent.com/MrNossiom/git-leave/main/assets/logo.png"
)]
Expand Down

0 comments on commit 6399df8

Please sign in to comment.