diff options
author | 2024-04-07 12:42:12 +0200 | |
---|---|---|
committer | 2024-04-07 12:42:12 +0200 | |
commit | 5cd98f069dea8720bca7748d6c12fa410cbe79b5 (patch) | |
tree | 99ce1271cb61c0afa84908b7bd52a94f2b2a652d /.cargo | |
parent | a865b380026ce8c26b818e8e94ea14cb930865a3 (diff) | |
download | iced-5cd98f069dea8720bca7748d6c12fa410cbe79b5.tar.gz iced-5cd98f069dea8720bca7748d6c12fa410cbe79b5.tar.bz2 iced-5cd98f069dea8720bca7748d6c12fa410cbe79b5.zip |
Use built-in `[lints]` table in `Cargo.toml`
Diffstat (limited to '.cargo')
-rw-r--r-- | .cargo/config.toml | 53 |
1 files changed, 1 insertions, 52 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml index 85a46cda..5de65154 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,53 +1,2 @@ [alias] -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 \ - -D clippy::match-wildcard-for-single-variants \ - -D clippy::redundant-closure-for-method-calls \ - -D clippy::filter_map_next \ - -D clippy::manual_let_else \ - -D clippy::unused_async \ - -D clippy::from_over_into \ - -D clippy::needless_borrow \ - -D clippy::new_without_default \ - -D clippy::useless_conversion -""" - -nitpick = """ -clippy --workspace --no-deps -- \ - -D warnings \ - -D clippy::pedantic \ - -A clippy::type_complexity \ - -A clippy::must_use_candidate \ - -A clippy::return_self_not_must_use \ - -A clippy::needless_pass_by_value \ - -A clippy::cast_precision_loss \ - -A clippy::cast_sign_loss \ - -A clippy::cast_possible_truncation \ - -A clippy::match_same_arms \ - -A clippy::missing-errors-doc \ - -A clippy::missing-panics-doc \ - -A clippy::cast_lossless \ - -A clippy::doc_markdown \ - -A clippy::items_after_statements \ - -A clippy::too_many_lines \ - -A clippy::module_name_repetitions \ - -A clippy::if_not_else \ - -A clippy::redundant_else \ - -A clippy::used_underscore_binding \ - -A clippy::cast_possible_wrap \ - -A clippy::unnecessary_wraps \ - -A clippy::struct-excessive-bools \ - -A clippy::float-cmp \ - -A clippy::single_match_else \ - -A clippy::unreadable_literal \ - -A clippy::explicit_deref_methods \ - -A clippy::map_unwrap_or \ - -A clippy::unnested_or_patterns \ - -A clippy::similar_names \ - -A clippy::unused_self -""" +lint = "clippy --workspace --no-deps -- -D warnings" |