AdRoll / rebar3_hank

The Erlang Dead Code Cleaner
MIT License
68 stars 9 forks source link

Fix #165: Don't emit warnings for unused ignores. #166

Closed elbrujohalcon closed 3 years ago

elbrujohalcon commented 3 years ago

If the file ignores hank entirely, either by using or being part of a wildcard, don't emit a warning for the rules it's excessively ignoring.

In other words, I implemented the full solution that @paulo-ferraz-oliveira and @pbrudnick were looking for. It was simpler than what I anticipated.