Closed wkirschbaum closed 11 months ago
That's right, that's a bug! 👍
Thx for reporting it 🙂
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! 👍
@rrrene thanks! It looks to be solved.
Environment
1.7.1-ref.main.3873d0cb+uncommittedchanges
Erlang/OTP 26 [erts-14.1] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [jit:ns]
Elixir 1.15.6 (compiled with Erlang/OTP 26)
Linux/Arch
What were you trying to do?
The following is valid code and often used when writing tests:
Expected outcome
Credo should not emit a warning, as this is data not code.
Actual outcome
A code readability issue is shows in the report:
There should be no more than 1 consecutive blank lines.