mirror of
https://github.com/alexpasmantier/television.git
synced 2025-06-07 12:05:34 +00:00
chore(linting): add workspace lints
This commit is contained in:
parent
76bff30759
commit
9d67844f12
25
Cargo.toml
25
Cargo.toml
@ -123,3 +123,28 @@ lto = "fat"
|
|||||||
[profile.deb]
|
[profile.deb]
|
||||||
inherits = "release"
|
inherits = "release"
|
||||||
debug = false
|
debug = false
|
||||||
|
|
||||||
|
[lints]
|
||||||
|
workspace = true
|
||||||
|
|
||||||
|
[workspace.lints.clippy]
|
||||||
|
pedantic = { level = "warn", priority = -1 }
|
||||||
|
|
||||||
|
must_use_candidate = "allow"
|
||||||
|
too_many_lines = "allow"
|
||||||
|
missing_panics_doc = "allow"
|
||||||
|
missing_errors_doc = "allow"
|
||||||
|
module_name_repetitions = "allow"
|
||||||
|
cast_precision_loss = "allow"
|
||||||
|
map_unwrap_or = "allow"
|
||||||
|
return_self_not_must_use = "allow"
|
||||||
|
uninlined_format_args = "allow"
|
||||||
|
similar_names = "allow"
|
||||||
|
float_cmp = "allow"
|
||||||
|
needless_pass_by_value = "allow"
|
||||||
|
implicit_hasher = "allow"
|
||||||
|
wildcard_imports = "allow"
|
||||||
|
from_iter_instead_of_collect = "allow"
|
||||||
|
cast_possible_truncation = "allow"
|
||||||
|
cast_sign_loss = "allow"
|
||||||
|
|
||||||
|
@ -30,3 +30,5 @@ lazy_static = "1.5.0"
|
|||||||
toml = "0.8.19"
|
toml = "0.8.19"
|
||||||
regex = "1.11.1"
|
regex = "1.11.1"
|
||||||
|
|
||||||
|
[lints]
|
||||||
|
workspace = true
|
||||||
|
@ -21,3 +21,5 @@ syn = "2.0.79"
|
|||||||
[lib]
|
[lib]
|
||||||
proc-macro = true
|
proc-macro = true
|
||||||
|
|
||||||
|
[lints]
|
||||||
|
workspace = true
|
||||||
|
@ -15,3 +15,6 @@ rust-version.workspace = true
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
nucleo = "0.5.0"
|
nucleo = "0.5.0"
|
||||||
parking_lot = "0.12.3"
|
parking_lot = "0.12.3"
|
||||||
|
|
||||||
|
[lints]
|
||||||
|
workspace = true
|
||||||
|
@ -34,3 +34,5 @@ simd = ["dep:simdutf8"]
|
|||||||
zero-copy = []
|
zero-copy = []
|
||||||
default = ["zero-copy", "simd"]
|
default = ["zero-copy", "simd"]
|
||||||
|
|
||||||
|
[lints]
|
||||||
|
workspace = true
|
||||||
|
@ -20,3 +20,6 @@ television-channels = { path = "../television-channels", version = "0.0.18" }
|
|||||||
television-previewers = { path = "../television-previewers", version = "0.0.18" }
|
television-previewers = { path = "../television-previewers", version = "0.0.18" }
|
||||||
color-eyre = "0.6.3"
|
color-eyre = "0.6.3"
|
||||||
syntect = "5.2.0"
|
syntect = "5.2.0"
|
||||||
|
|
||||||
|
[lints]
|
||||||
|
workspace = true
|
||||||
|
@ -27,3 +27,6 @@ unicode-width = "0.2.0"
|
|||||||
|
|
||||||
[target.'cfg(windows)'.dependencies]
|
[target.'cfg(windows)'.dependencies]
|
||||||
winapi-util = "0.1.9"
|
winapi-util = "0.1.9"
|
||||||
|
|
||||||
|
[lints]
|
||||||
|
workspace = true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user