Skip to content

Commit 92e8de6

Browse files
committed
chore: add more linting
1 parent 656ff23 commit 92e8de6

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ rstest = "0.26"
7272
unused_qualifications = "warn"
7373

7474
[lints.clippy]
75+
# Restrictions
76+
panic_in_result_fn = "warn"
77+
todo = "warn"
78+
unwrap_used = "warn"
79+
# Pedantics without being too noisy
7580
cargo = { level = "warn", priority = -1 }
7681
pedantic = { level = "warn", priority = -1 }
7782
missing_errors_doc = "allow"

tests/test.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![expect(clippy::unwrap_used)]
2+
13
use insta::assert_snapshot;
24
use rusqlite::types::FromSql;
35
use rusqlite::{Connection, Result};

0 commit comments

Comments
 (0)