View Source Styler.Style.Pipes (Styler v1.2.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.OneArityFunctionInPipe
  • Credo.Check.Readability.PipeIntoAnonymousFunctions
  • Credo.Check.Readability.SinglePipe
  • Credo.Check.Refactor.FilterCount
  • Credo.Check.Refactor.MapInto
  • Credo.Check.Refactor.MapJoin
  • Credo.Check.Refactor.PipeChainStart, excluded_functions: ["from"]

Summary

Functions

Callback implementation for Styler.Style.run/2.

Functions

Callback implementation for Styler.Style.run/2.