Is there a detekt/findbugs for Arrow? I sometimes forget to bind my Eithers and I'd like the build to fail next time I do it
s
Sam
11/27/2022, 9:18 AM
Does the IgnoredReturnValue detekt rule help you? I think you might be able to configure it to warn when you create an either and then don't use it.
g
gammax
11/27/2022, 11:25 AM
We’re happy to include an Arrow ruleset in our marketplace if someone creates one 🙂
s
simon.vergauwen
11/27/2022, 4:44 PM
We'd love for there to be one, and will happily create a repo for it on the Arrow org if anyone is interested in putting it there but we'd also be happy to promote a it on the Arrow website if it's hosted elsewhere ☺️
w
Wilerson Oliveira
11/28/2022, 11:09 AM
My team has implemented a rule like that, we would be happy to publish it if possible
d
Daniil Iastremskii
12/07/2022, 2:03 PM
Hey! 👋
https://github.com/woltapp/arrow-detekt-rules
Here's the rule that Wilerson was talking about, sorry, took some time to opensource it. Hope you'll find it useful and looking forward to more Arrow-related rule ideas :)