Skip to content

Commit

Permalink
Merge pull request #5 from alt-art/cargo-toml-lints
Browse files Browse the repository at this point in the history
Move all lints to `Cargo.toml`
  • Loading branch information
newtoallofthis123 authored Nov 19, 2023
2 parents c14af34 + d5de5da commit d6f7c2a
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 d6f7c2a

Please sign in to comment.