diff options
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -89,3 +89,30 @@ aur-build = { path = ".", features = ["test-support"] } tempfile = "3" flate2 = "1" tar = "0.4" + +# Curated idiom lints, each one mechanical and each one clean across the tree. +# `must_use_candidate` and `missing_errors_doc` are left out on purpose: they +# would add doc-comment boilerplate, not remove it. +[lints.clippy] +assert_is_empty = "warn" +enum_glob_use = "warn" +explicit_iter_loop = "warn" +format_push_string = "warn" +if_not_else = "warn" +ignored_unit_patterns = "warn" +manual_assert_eq = "warn" +manual_let_else = "warn" +map_unwrap_or = "warn" +needless_pass_by_value = "warn" +needless_raw_string_hashes = "warn" +redundant_closure_for_method_calls = "warn" +semicolon_if_nothing_returned = "warn" +single_match_else = "warn" +stable_sort_primitive = "warn" +trivially_copy_pass_by_ref = "warn" +uninlined_format_args = "warn" +unnecessary_debug_formatting = "warn" +unnecessary_literal_bound = "warn" +unnested_or_patterns = "warn" +unused_self = "warn" +wildcard_imports = "warn" |
