[Proposal] More info when mix format --check-formatted have failed

37 views
Skip to first unread message

andrezacm

unread,
Mar 22, 2019, 1:24:30 PM3/22/19
to elixir-lang-core
When `mix format --check-formatted` have failed we have a bullet list with the files not formatted. 

It would be great to have more info about it, I thought at first have the file name + line number where it failed or, maybe, something more elaborate like a diff of what it is and what it should be.

My apologies if this is something already discussed :)

Thanks,
Andreza Medeiros

Andrea Leopardi

unread,
Mar 22, 2019, 6:48:23 PM3/22/19
to elixir-l...@googlegroups.com
I think the reason we don't have more information is that the way to fix the check is to just run "mix format" on the files listed when --check-formatted fails. What would the use case of a diff or something like that be?

Andrea

--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/42dd75b1-a6ad-445b-845b-5df89cc4c5fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

Andrea Leopardi
Reply all
Reply to author
Forward
0 new messages