AdRoll / rebar3_hank

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

Rename unused_ignored_function_params rule #69

Closed pbrudnick closed 3 years ago

pbrudnick commented 3 years ago

This rule is causing confusion, it collides with unused function params which are detected by the compiler. The rationale of the rule won’t change, but we can turn its name and warning message more comprehensive:

The rule name can turn to: unnecessary_function_argument And the warning message to: fun/4 doesn’t need it’s #4 argument