fix_warnings v0.1.3 FixWarnings
FixWarnings automatically fixes the most common Elixir warnings in your source code.
Currently supported fixes:
warning: variable “foo” is unused
Prefix variable foo
with a _
: _foo
warning: unused alias Baz
Automatically deletes the line with an unused alias.
Edge Cases:
- TODO: alias Foo.{Bar, Baz}
Link to this section Summary
Link to this section Functions
Link to this function
changes(path)
Link to this function
enabled_patches()
Link to this function
patch(path, patches)
Link to this function
patch_line(line, patches)
Link to this function
run(path, mode \\ :preview)