View Source Styler (Styler v0.7.9)

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

Link to this section Summary

Functions

Turns an ast and comments back into code, formatting it along the way.

Wraps Code.string_to_quoted_with_comments with our desired options

Link to this section Functions

Link to this function

quoted_to_string(ast, comments, formatter_opts \\ [])

View Source

Turns an ast and comments back into code, formatting it along the way.

Link to this function

string_to_quoted_with_comments(code, file \\ "nofile")

View Source

Wraps Code.string_to_quoted_with_comments with our desired options