View Source Styler.Style.Pipes (Styler v0.6.1)
Styles pipes! In particular, don't make pipe chains of only one pipe, and some persnickety pipe chain start stuff.
Rewrites for the following Credo rules:
- Credo.Check.Readability.BlockPipe
- Credo.Check.Readability.SinglePipe
- Credo.Check.Refactor.PipeChainStart, excluded_functions: ["from"]
The following two rules are only corrected within pipe chains; nested functions aren't fixed
- Credo.Check.Refactor.FilterCount
- Credo.Check.Refactor.MapJoin
- Credo.Check.Refactor.MapInto
Link to this section Summary
Functions
Callback implementation for Styler.Style.run/2
.
Link to this section Functions
Callback implementation for Styler.Style.run/2
.