summaryrefslogtreecommitdiffstats
path: root/.cargo
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-09-20 05:03:25 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-09-20 05:03:25 +0200
commitcaed50b277495e4375975f3f4e271b8fcbc0c33f (patch)
tree35e20b9c578b22598ca618e0bd34f9b619e7d176 /.cargo
parent42ed90bc6f92b2085d193e7f143430b8d3847c21 (diff)
downloadiced-caed50b277495e4375975f3f4e271b8fcbc0c33f.tar.gz
iced-caed50b277495e4375975f3f4e271b8fcbc0c33f.tar.bz2
iced-caed50b277495e4375975f3f4e271b8fcbc0c33f.zip
Fix `clippy::match-wildcard-for-single-variants`
Diffstat (limited to '.cargo')
-rw-r--r--.cargo/config.toml32
1 files changed, 31 insertions, 1 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml
index f5c00d9b..83564651 100644
--- a/.cargo/config.toml
+++ b/.cargo/config.toml
@@ -1,2 +1,32 @@
[alias]
-lint = "clippy --workspace --no-deps -- -D warnings -D clippy::semicolon_if_nothing_returned -D clippy::trivially-copy-pass-by-ref -D clippy::default_trait_access"
+lint = """
+clippy --workspace --no-deps -- \
+ -D warnings \
+ -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
+"""
+
+nitpick = """
+clippy --workspace --no-deps -- \
+ -D warnings \
+ -D clippy::pedantic \
+ -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
+"""