Skip to content

Use guppy/seamare to implement lints against cargo package graphs #6581

@yaahc

Description

@yaahc

Right now at work we're looking to setup a lint framework based on guppy that we can use to write lints like "make sure none of our direct dependencies have duplicate versions" (link). In the process of ironing out a design for this it became increasingly clear that this tool will probably be very similar to clippy in function and usage. This prompts the question if it makes sense to eventually move this logic into clippy itself.

The plan for now is to develop this tool in our repo, then once it's polished and working move it to its own organization and repo. My expectation is we'd want to operate like this for a while, see how much traction it gets and what not, and if it's successful we can really start having the conversation about whether or not we should merge it with clippy, re-export it, what have you.

I'll come back and update this with a more detailed proposal once we've got a working prototype of seamare.

cc @rust-lang/clippy

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions