giraffate / clippy-action

MIT License
64 stars 6 forks source link

Support for cargo-cranky #22

Open aldanor opened 2 years ago

aldanor commented 2 years ago

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).

giraffate commented 1 year ago

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.

aldanor commented 1 year ago

@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)