Skip to content

Commit

Permalink
Move clippy lint config to Cargo.toml (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
rparrett authored Jul 26, 2024
1 parent 0bf5061 commit 8a2b8ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ log = { version = "0.4", features = [
[target.'cfg(target_arch = "wasm32")'.dependencies]
web-sys = { version = "*", features = ["console", "Window", "Storage"] }

[lints.clippy]
type_complexity = "allow"
too_many_arguments = "allow"

[profile.dist]
inherits = "release"
lto = "thin"
Expand Down
2 changes: 0 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![allow(clippy::type_complexity)]
#![allow(clippy::too_many_arguments)]
// disable console on windows for release builds
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]

Expand Down

0 comments on commit 8a2b8ec

Please sign in to comment.