fix_warnings v0.1.3 FixWarnings.Patch.UnusedVariable
Automatically prefixes unused variables with a “_”. This is the minimal invasive patch, as it preserves meaning from variable names.
Example
warning: variable "my_param" is unused
# Before
def foo(my_param) do
nil
end
# After
def foo(_my_param) do
nil
end
Link to this section Summary
Link to this section Functions
Link to this function
build(curr_line, tail)
Link to this function
match?(line)
Link to this function
patch(line, patch)