This module defines the rebar3_formatter behaviour.
Required callback functions: format/3.
opts() = #{output_dir => undefined | file:filename_all(), encoding => none | epp:source_encoding(), term() => term()}
format/3 | Format a file. |
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