Cargo.toml: disable lints that warn on uucore

This commit is contained in:
Daniel Hofstetter 2025-09-29 17:49:50 +02:00
parent 2c196e27c4
commit 36b2bd5de0

View file

@ -637,7 +637,7 @@ pedantic = { level = "deny", priority = -1 }
# Eventually the clippy settings from the `[lints]` section should be moved here.
# In order to use these, all crates have `[lints] workspace = true` section.
[workspace.lints.rust]
unused_qualifications = "warn"
#unused_qualifications = "warn" // TODO: fix warnings in uucore, then re-enable this lint
[workspace.lints.clippy]
# The counts were generated with this command:
@ -682,3 +682,27 @@ inline_always = "allow" # 6
fn_params_excessive_bools = "allow" # 6
used_underscore_items = "allow" # 2
should_panic_without_expect = "allow" # 2
doc_markdown = "allow"
unused_self = "allow"
map_unwrap_or = "allow"
enum_glob_use = "allow"
ptr_cast_constness = "allow"
if_not_else = "allow"
borrow_as_ptr = "allow"
ptr_as_ptr = "allow"
manual_let_else = "allow"
unnecessary_semicolon = "allow"
bool_to_int_with_if = "allow"
needless_raw_string_hashes = "allow"
unreadable_literal = "allow"
unnested_or_patterns = "allow"
semicolon_if_nothing_returned = "allow"
implicit_hasher = "allow"
struct_field_names = "allow"
doc_link_with_quotes = "allow"
single_char_pattern = "allow"
format_push_string = "allow"
flat_map_option = "allow"
from_iter_instead_of_collect = "allow"
large_types_passed_by_value = "allow"