chore(build): remove cargo lint (#1549)
Duplicate crate lint is too noisy and sensitive to upstream changes
This commit is contained in:
@@ -59,7 +59,6 @@ lto = true
|
|||||||
unsafe_code = "forbid"
|
unsafe_code = "forbid"
|
||||||
|
|
||||||
[workspace.lints.clippy]
|
[workspace.lints.clippy]
|
||||||
cargo = { level = "warn", priority = -1 }
|
|
||||||
pedantic = { level = "warn", priority = -1 }
|
pedantic = { level = "warn", priority = -1 }
|
||||||
cast_possible_truncation = "allow"
|
cast_possible_truncation = "allow"
|
||||||
cast_possible_wrap = "allow"
|
cast_possible_wrap = "allow"
|
||||||
|
|||||||
23
clippy.toml
23
clippy.toml
@@ -1,24 +1 @@
|
|||||||
avoid-breaking-exported-api = false
|
avoid-breaking-exported-api = false
|
||||||
|
|
||||||
# https://rust-lang.github.io/rust-clippy/master/index.html#/multiple_crate_versions
|
|
||||||
# ratatui -> bitflags v2.3
|
|
||||||
# termwiz -> wezterm-blob-leases -> mac_address -> nix -> bitflags v1.3.2
|
|
||||||
# (also, memoffset, syn, nix, strsim, windows-sys
|
|
||||||
# crossterm -> all the windows- deps https://github.com/ratatui/ratatui/pull/1064#issuecomment-2078848980
|
|
||||||
allowed-duplicate-crates = [
|
|
||||||
"bitflags",
|
|
||||||
"memoffset",
|
|
||||||
"nix",
|
|
||||||
"strsim",
|
|
||||||
"syn",
|
|
||||||
"windows-sys",
|
|
||||||
"windows-targets",
|
|
||||||
"windows_aarch64_gnullvm",
|
|
||||||
"windows_aarch64_msvc",
|
|
||||||
"windows_i686_gnu",
|
|
||||||
"windows_i686_msvc",
|
|
||||||
"windows_x86_64_gnu",
|
|
||||||
"windows_x86_64_gnullvm",
|
|
||||||
"windows_x86_64_msvc",
|
|
||||||
"unicode-width",
|
|
||||||
]
|
|
||||||
|
|||||||
Reference in New Issue
Block a user