Skip to content

Commit

Permalink
refactor(lints): Move all lints to Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
alt-art committed Nov 17, 2023
1 parent 98f1c55 commit d5de5da
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 8 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ repository = "https://github.com/newtoallofthis123/lyrics_cli"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[lints.clippy]
all = "warn"
pedantic = "warn"
nursery = "warn"
cargo = "warn"
multiple_crate_versions = "allow"
module_name_repetitions = "allow"

[dependencies]
inquire = {version = "0.6"}
bunt = {version = "0.2"}
Expand Down
3 changes: 0 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#![warn(clippy::all, clippy::pedantic, clippy::nursery, clippy::cargo)]
#![allow(clippy::multiple_crate_versions, clippy::module_name_repetitions)]

use human_panic::setup_panic;

mod cli;
Expand Down

0 comments on commit d5de5da

Please sign in to comment.