lints: adopt the canonical workspace lints block - #2
Merged
Conversation
forensic-hashdb had no clippy lints table anywhere - not at the workspace root, not in any member. It now carries the canonical recipe (CLAUDE.core.md "Rust Lint Posture") with the ADR-0012 untrusted-input superset: unsafe_code = "forbid" correctness / suspicious = "deny" unwrap_used / expect_used = "deny" all + pedantic = "warn", with the canonical cast_* allows Nothing lit up: zero findings across the workspace, in production code and tests alike. This is a pure config change that makes the existing posture enforced rather than incidental. Gate: cargo build --workspace --all-targets, cargo test --workspace, cargo clippy --workspace --all-targets -- -D warnings, cargo fmt --check - all clean, no code changes required. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
lints: adopt the canonical workspace lints block
forensic-hashdb had no clippy lints table anywhere - not at the workspace
root, not in any member. It now carries the canonical recipe
(CLAUDE.core.md "Rust Lint Posture") with the ADR-0012 untrusted-input
superset:
unsafe_code = "forbid"
correctness / suspicious = "deny"
unwrap_used / expect_used = "deny"
all + pedantic = "warn", with the canonical cast_* allows
Nothing lit up: zero findings across the workspace, in production code
and tests alike. This is a pure config change that makes the existing
posture enforced rather than incidental.
Gate: cargo build --workspace --all-targets, cargo test --workspace,
cargo clippy --workspace --all-targets -- -D warnings, cargo fmt --check
Co-Authored-By: Claude Opus 5 (1M context) noreply@anthropic.com
🤖 Generated with Claude Code