View Source API Reference Styler v1.2.1

Modules

Styler is a formatter plugin with stronger opinions on code organization, multi-line defs and other code-style matters.

A datastructure for maintaining something like compiler alias state when traversing AST.

A Style takes AST and returns a transformed version of that AST.

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

Orders Config.config/2,3 stanzas in configuration files.

Styles function heads so that they're as small as possible.

Transformations to soft or hard deprecations introduced on newer Elixir releases

Styles up module directives!

Styles pipes! In particular, don't make pipe chains of only one pipe, and some persnickety pipe chain start stuff.

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

Wraps errors raised by Styles during tree traversal.

Implements a Zipper for the Elixir AST based on Gérard Huet Functional pearl: the zipper paper and Clojure's clojure.zip API.