FreedomFormatter (freedom_formatter v2.1.1) View Source

Freedom Formatter is a fork of Elixir's code formatter, with added freedom. See the README for more information.

Link to this section Summary

Link to this section Functions

Callback implementation for Mix.Tasks.Format.features/1.

Link to this function

format(content, formatter_opts)

View Source

Callback implementation for Mix.Tasks.Format.format/2.

Link to this function

format_file!(file, opts \\ [])

View Source (since 1.6.0)

Specs

format_file!(
  binary(),
  keyword()
) :: iodata()

Formats a file.

See format_string!/2 for more information on code formatting and available options.

Link to this function

format_string!(string, opts \\ [])

View Source (since 1.6.0)

Specs

format_string!(
  binary(),
  keyword()
) :: iodata()

See Code.format_string!/2