Making Elixir more linter friendly

Hello,

The errors produced by Elixir compiler are not consistent for some reason:


Why is there a difference in output when there is no line to print?
Doesn’t it make more sense to have a default value?

These questions are the result of This PR.

The whole issue started when I encountered the [race condition)(https://github.com/phoenixframework/phoenix/issues/1165) between the linter and phoenix’s live reloading mechanism. Could we have a flag that makes elixir compiler skip the binary storage? Maybe something like --dry-run.
That would be a better solution than my PR to syntastic.

Update:
That answers it:

1 Like