Skip to content

Commit

Permalink
Add in all the pedantic lints that we obey anyway
Browse files Browse the repository at this point in the history
We haven't maintained pedantic lints for a very long time, but since we
still obey these ones, we might as well hold onto them.

Signed-off-by: mulhern <[email protected]>
  • Loading branch information
mulkieran committed Jul 29, 2024
1 parent 28d97f2 commit 184dbbd
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,58 @@ cargo = { level = "deny", priority = 1 }
multiple-crate-versions = { level = "allow", priority = 2 }
from_over_into = { level = "allow", priority = 3 }
upper_case_acronyms = { level = "allow", priority = 3 }
# PEDANTIC LINTS
await_holding_lock = { level = "deny", priority = 4 }
await_holding_refcell_ref = { level = "deny", priority = 4 }
cast_lossless = { level = "deny", priority = 4 }
cast_possible_truncation = { level = "deny", priority = 4 }
cast_precision_loss = { level = "deny", priority = 4 }
cast_ptr_alignment = { level = "deny", priority = 4 }
checked_conversions = { level = "deny", priority = 4 }
copy_iterator = { level = "deny", priority = 4 }
empty_enum = { level = "deny", priority = 4 }
enum_glob_use = { level = "deny", priority = 4 }
expl_impl_clone_on_copy = { level = "deny", priority = 4 }
explicit_deref_methods = { level = "deny", priority = 4 }
explicit_into_iter_loop = { level = "deny", priority = 4 }
fn_params_excessive_bools = { level = "deny", priority = 4 }
implicit_hasher = { level = "deny", priority = 4 }
implicit_saturating_sub = { level = "deny", priority = 4 }
inefficient_to_string = { level = "deny", priority = 4 }
inline_always = { level = "deny", priority = 4 }
invalid_upcast_comparisons = { level = "deny", priority = 4 }
large_digit_groups = { level = "deny", priority = 4 }
large_stack_arrays = { level = "deny", priority = 4 }
large_types_passed_by_value = { level = "deny", priority = 4 }
let_unit_value = { level = "deny", priority = 4 }
linkedlist = { level = "deny", priority = 4 }
macro_use_imports = { level = "deny", priority = 4 }
manual_ok_or = { level = "deny", priority = 4 }
map_flatten = { level = "deny", priority = 4 }
match_bool = { level = "deny", priority = 4 }
match_on_vec_items = { level = "deny", priority = 4 }
match_wild_err_arm = { level = "deny", priority = 4 }
maybe_infinite_iter = { level = "deny", priority = 4 }
mut_mut = { level = "deny", priority = 4 }
needless_continue = { level = "deny", priority = 4 }
option_option = { level = "deny", priority = 4 }
range_minus_one = { level = "deny", priority = 4 }
range_plus_one = { level = "deny", priority = 4 }
ref_option_ref = { level = "deny", priority = 4 }
same_functions_in_if_condition = { level = "deny", priority = 4 }
string_add_assign = { level = "deny", priority = 4 }
struct_excessive_bools = { level = "deny", priority = 4 }
trait_duplication_in_bounds = { level = "deny", priority = 4 }
trivially_copy_pass_by_ref = { level = "deny", priority = 4 }
type_repetition_in_bounds = { level = "deny", priority = 4 }
unicode_not_nfc = { level = "deny", priority = 4 }
unnested_or_patterns = { level = "deny", priority = 4 }
unreadable_literal = { level = "deny", priority = 4 }
unsafe_derive_deserialize = { level = "deny", priority = 4 }
unused_self = { level = "deny", priority = 4 }
used_underscore_binding = { level = "deny", priority = 4 }
verbose_bit_mask = { level = "deny", priority = 4 }
wildcard_imports = { level = "deny", priority = 4 }

[package.metadata.vendor-filter]
platforms = ["*-unknown-linux-gnu"]
Expand Down

0 comments on commit 184dbbd

Please sign in to comment.