M0.2: workspace lints and lints self-test
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>
This commit is contained in:
parent
b10a2a72f9
commit
ec1c72d9ac
7 changed files with 397 additions and 3 deletions
|
|
@ -12,6 +12,8 @@ publish.workspace = true
|
|||
layer = "tool"
|
||||
|
||||
[dependencies]
|
||||
serde_json = "1.0.154"
|
||||
toml = "1.1.8"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue