Skip to content

Commit

Permalink
Sets clippy base priorities to allow for easy overriding
Browse files Browse the repository at this point in the history
  • Loading branch information
hoijui committed Jun 1, 2024
1 parent 7747b1b commit d96c932
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ readme = "README.md"
edition = "2021"

[lints.rust]
rust_2021_compatibility = "warn"
rust_2021_compatibility = { level = "warn", priority = -1 }

[lints.clippy]
all = "deny"
pedantic = "warn"
nursery = "warn"
cargo = "warn"
all = { level = "deny", priority = -1 }
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
cargo = { level = "warn", priority = -1 }
wildcard_enum_match_arm = "warn"
string_slice = "warn"
indexing_slicing = "warn"
Expand Down

0 comments on commit d96c932

Please sign in to comment.