clippy-action icon indicating copy to clipboard operation
clippy-action copied to clipboard

Support for cargo-cranky

Open aldanor opened this issue 2 years ago • 2 comments

There's a tool called cargo-cranky that allows actually configuring clippy lints project-wise (which, by the looks of it, won't land in clippy for another few years...).

Would it be possible to support it? (requires two things - cargo install cargo-cranky and change clippy->cranky when invoking cranky, as command line arguments should be the same).

aldanor avatar Nov 25 '22 12:11 aldanor

Thanks for creating an issue!

I didn't know cargo-cranky, and I don't plan to support it. But it looks useful, I would like time to look into it.

giraffate avatar Nov 30 '22 08:11 giraffate

@giraffate It's basically a wrapper around clippy that passes a bunch of arguments to it. The output is exactly the same, everything is exactly the same. The question is just, really, would it be possible to allow for a different executable name, or a different shell executed line.

(you could imagine someone might also have myclippy.sh with all the configs)

aldanor avatar Dec 03 '22 20:12 aldanor