Denies unwrap/expect/panic/unreachable/todo/unimplemented, indexing and string slicing, missing docs and unsafe code outside tests. clippy.toml allows them in tests. cargo xtask lints-selftest proves both directions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 lines
125 B
TOML
4 lines
125 B
TOML
allow-unwrap-in-tests = true
|
|
allow-expect-in-tests = true
|
|
allow-panic-in-tests = true
|
|
allow-indexing-slicing-in-tests = true
|