View Source Recode.Task.PipeFunOne (Recode v0.1.0)
Add parentheses to one-arity functions.
# preferred
some_string |> String.downcase() |> String.trim()
# not preferred
some_string |> String.downcase |> String.trim
This task rewrites the code when mix recode
runs with autocorrect: true
.
Link to this section Summary
Functions
Callback implementation for Recode.Task.run/2
.
Link to this section Functions
Callback implementation for Recode.Task.run/2
.