agent_dylint_lints 0.1.0

Dylint lints for agent code patterns
docs.rs failed to build agent_dylint_lints-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

agent_dylint_lints

Dylint lints for agent code patterns.

Lints

Lint Description
MAX_LINES_PER_FILE Warns when a source file exceeds 100 lines
MAX_LINES_PER_FUNCTION Warns when a function exceeds 60 lines

Usage

Add to your project's Cargo.toml:

[workspace.metadata.dylint]
libraries = [
    { git = "https://github.com/tupe12334/agent_dylint_lints" },
]

Then run:

cargo dylint --all

Development

Uses a pinned nightly toolchain (see rust-toolchain.toml). Build and test:

cargo test

Prerequisites

  • dylint-link (required linker wrapper):
cargo install dylint-link