earmark
earmark copied to clipboard
Fix typespecs
Dialyzer is giving me a "The created fun has no local return" where I'm calling Earmark.as_html
, is this related to that error? If yes, is there anything I can do in the mean time to silence it?
https://github.com/pragdave/earmark/tree/dialyzer, waaaay to go, but not forgotten.
You can adapt your own mix.exs
to something like that
https://github.com/pragdave/earmark/blob/dialyzer/mix.exs#L34 but then you need to copy all messages to be ignored into the file in question.
There might be a better way I am not aware of.
Didn't know about that option, that'll do it for now, thanks!
Still waiting for dialyxir
Needs https://github.com/RobertDober/earmark_parser/issues/12