Open mguimas opened 5 years ago
See the discussion in https://github.com/jeremyjh/dialyxir/issues/224. I'm kind of leaning to your point of view now though; this message is probably a distraction in most cases. It is there so that if you have an ignore file with the wrong name, you get a clue what the problem is. I'm not sure if there is another way we could help solve that, or maybe we could just make the message sound less like a problem?
@jeremyjh I believe that if the user did not provide :ignore_warnings
in mix.exs
is because they simply accept the default or don't care.
Document what is the default value of :ignore_warnings
in case this option is not given in mix.exs
, or in case the corresponding file does not exist, and document this well in the help docs in mix help dialyzer
.
Also, better than the current message, is to present the user with the value being used for the :ignore_warnings
option during execution of mix dialyzer
.
Both of these should be more than enough.
Environment
Current behavior
The message at the end of this
is not sufficiently clear to the developer seeing it for the first time. What should the developer do?
Expected behavior
It seems that either Dialyxir should provide a default value for the
:ignore_warnings
option, or the developer should not be bothered with this message, which should then be cleared.But if something must be done, please tell what must be done.