Closed luigi-discoup closed 8 months ago
Thanks for reporting this 😀 It is now fixed on master
.
You can try this by setting the Credo dep to
{:credo, github: "rrrene/credo"}
Please report back if your issue is solved! 👍
Tested with version on master
and now it works as expected. Waiting for the new release.
Thank you @rrrene!
Precheck
Environment
mix credo -v
):1.7.2-ref.main.312f3a4
elixir -v
):Elixir 1.15.6 (compiled with Erlang/OTP 25)
|Erlang/OTP 25 [erts-13.2.2.3] [source] [64-bit] [smp:10:10] [ds:10:10:10] [async-threads:1] [jit]
Debian GNU/Linux 11 (bullseye)
What were you trying to do?
I'm trying to define a macro predicate using the
is_something
naming convention. I've made a test with a sample code:Expected outcome
I believe that no issue should be reported
Actual outcome
Credo reports the following readability issue: