View Source Styler.Style.Blocks (Styler v1.2.1)

Simple 1-1 rewrites all crammed into one module to make for more efficient traversals

Credo Rules addressed:

  • Credo.Check.Consistency.ParameterPatternMatching
  • Credo.Check.Readability.LargeNumbers
  • Credo.Check.Readability.ParenthesesOnZeroArityDefs
  • Credo.Check.Readability.PreferImplicitTry
  • Credo.Check.Readability.WithSingleClause
  • Credo.Check.Refactor.CaseTrivialMatches
  • Credo.Check.Refactor.CondStatements
  • Credo.Check.Refactor.RedundantWithClauseResult
  • Credo.Check.Refactor.WithClauses

Summary

Functions

Callback implementation for Styler.Style.run/2.

Functions

Callback implementation for Styler.Style.run/2.