Skip to content

Add workspace lints to Cargo.toml for consistent quality enforcement #42

@noahgift

Description

@noahgift

Overview

Improve Rust Project Score from 127/134 (94.8%) by adding workspace-level lints to Cargo.toml.

Current State

Code Quality: 17/26 (65.4%)
Rust Tooling & CI/CD: 41.5/130 (31.9%)

PMAT Recommendations

  1. Add [workspace.lints.rust] and [workspace.lints.clippy] to Cargo.toml
  2. Enable high-value lint categories:
    • unsafe_op_in_unsafe_fn
    • unreachable_pub
    • checked_conversions
    • missing_debug_implementations
    • rust_2018_idioms

Benefits

  • Consistent linting across entire workspace
  • Early detection of code quality issues
  • Improved maintainability
  • Higher pmat scores

Acceptance Criteria

  • [workspace.lints.rust] added to Cargo.toml
  • [workspace.lints.clippy] added to Cargo.toml
  • High-value lint categories enabled
  • All 742 tests still passing
  • cargo clippy clean (zero warnings)
  • Documentation updated in CLAUDE.md

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions