View Source Recode.Task.PipeFunOne (Recode v0.6.5)

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.

Summary

Functions

Callback implementation for Recode.Task.init/1.

Functions

Callback implementation for Recode.Task.init/1.