diff options
author | 2023-09-20 16:40:03 +0200 | |
---|---|---|
committer | 2023-09-20 16:40:03 +0200 | |
commit | f137d71e8fb926e784680d56d1cfa6817c3710a1 (patch) | |
tree | dc12a3a95e7433fb965ddc86ad52593f08db00df /.cargo | |
parent | b8ddd158da1b4e73e67fd090f8d36ed07f191874 (diff) | |
download | iced-f137d71e8fb926e784680d56d1cfa6817c3710a1.tar.gz iced-f137d71e8fb926e784680d56d1cfa6817c3710a1.tar.bz2 iced-f137d71e8fb926e784680d56d1cfa6817c3710a1.zip |
Centralize `clippy` lints in `.cargo/config.toml`
Diffstat (limited to '.cargo')
-rw-r--r-- | .cargo/config.toml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml index 9e265aa9..e3e32033 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -2,6 +2,7 @@ lint = """ clippy --workspace --no-deps -- \ -D warnings \ + -A clippy::type_complexity \ -D clippy::semicolon_if_nothing_returned \ -D clippy::trivially-copy-pass-by-ref \ -D clippy::default_trait_access \ @@ -9,9 +10,15 @@ clippy --workspace --no-deps -- \ -D clippy::redundant-closure-for-method-calls \ -D clippy::filter_map_next \ -D clippy::manual_let_else \ - -D clippy::unused_async + -D clippy::unused_async \ + -D clippy::from_over_into \ + -D clippy::needless_borrow \ + -D clippy::new_without_default \ + -D clippy::useless_conversion """ +#![allow(clippy::inherent_to_string, clippy::type_complexity)] + nitpick = """ clippy --workspace --no-deps -- \ -D warnings \ |