Module rebar3_formatter

Automatic formatter for Erlang modules.

This module defines the rebar3_formatter behaviour.
Required callback functions: format/3.

Description

Automatic formatter for Erlang modules

Data Types

opts()

opts() = #{output_dir => undefined | file:filename_all(), encoding => none | epp:source_encoding(), term() => term()}

Function Index

format/3Format a file.

Function Details

format/3

format(File::file:filename_all(), Formatter::module(), Opts::opts()) -> ok

Format a file. Apply formatting rules to a file containing erlang code. Use Opts to configure the formatter.


Generated by EDoc