You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A rule to detect unnecessary function arguments.
The rule emits a warning for each function argument that is consistently ignored in all function clauses.
* Add tests
* Get tests to run
* Initial naïve version of the rule
* Update test/rules/unnecessary_function_arguments/good.exs
Co-authored-by: Mackenzie <macoafi@gmail.com>
Signed-off-by: Brujo Benavides <elbrujohalcon@gmail.com>
* Format
Co-authored-by: Mackenzie <macoafi@gmail.com>
Rule
A rule to detect unnecessary function arguments.
The rule emits a warning for each function argument that is consistently ignored in all function clauses.
Example
Meandro should warn us about the first parameter of
a_func/2
.The text was updated successfully, but these errors were encountered: