Reset lints

This commit is contained in:
2025-01-30 23:06:13 -05:00
parent 124c9b673e
commit 0e5eb0a065
2 changed files with 16 additions and 1 deletions

View File

@@ -17,9 +17,21 @@ lazy_static = "1.4.0"
unsafe_code = "forbid"
[lints.clippy]
# Make the all group denied
all = { level = "deny", priority = -1 }
# Ignored some pedantic warnings
must_use_candidate = { level = "allow", priority = 1 }
module_name_repetitions = { level = "allow", priority = 1 }
missing_errors_doc = { level = "allow", priority = 1 }
missing_const_for_fn = { level = "allow", priority = 1 }
enum_glob_use = "deny"
pedantic = "deny"
nursery = "deny"
correctness = "deny"
complexity = "deny"
pedantic = "deny"
perf = "deny"
unwrap_used = "deny"
[profile.release]

3
src/main.rs Normal file
View File

@@ -0,0 +1,3 @@
fn main()
{
}