add cognitive_complexity lint with limit 10

This commit is contained in:
steven-omaha
2023-02-15 16:28:51 +01:00
parent ab87194850
commit f619f0cede
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -4,6 +4,7 @@ This library contains all logic that happens in `pacdef` under the hood.
#![warn(
clippy::as_conversions,
clippy::cognitive_complexity,
clippy::option_if_let_else,
clippy::redundant_pub_crate,
clippy::semicolon_if_nothing_returned,