credo
credo copied to clipboard
`# credo:disable-for-next-line` not working
I just updated to credo 1.7.11 from 1.7.8 and got a new Credo warning: Function takes too many parameters (arity is 9, max is 8).
The function already had credo:disable-for-next-line on the line before it.
# credo:disable-for-next-line
defp some_func(arg1, arg2, _, arg4, arg5, arg6, arg7, arg7, arg9)
:do_stuff
end
If I put # credo:disable-for-this-file at the top of the file, it disables the warning.
Could not replicate with 1.7.11
@nathanl I wasn't able to reproduce this either. Mmmh, any other info you can share?
Any new input on this?