Skip to content

clippy Deny on diff only #4491

Closed
Closed
@o0Ignition0o

Description

@o0Ignition0o

We're trying to enable clippy::pedantic on neqo (mozilla/neqo#187 for example) and, given there's lot of refactoring to be made all across the codebase, I was wondering if there was a way to filter clippy warnings only on the "current diff", erroring out or linting only the parts of the code that have been edited when working on an issue.

I was thinking of something like the clang format diff tool

I have no idea how hard it would be to implement, but I would love to implement it if someone would like to mentor me on that one.

Thank's a lot for your time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-an-interesting-projectCategory: Interesting projects, that usually are more involved design/code wise.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions