opts() = #{files => [file:filename_all()], output_dir => undefined | string(), encoding => none | epp:source_encoding(), paper => pos_integer(), ribbon => pos_integer(), break_indent => pos_integer(), sub_indent => pos_integer(), remove_tabs => boolean()}
format/2 | Format a file. |
format(File::file:filename_all(), Opts::opts()) -> ok
Format a file.
Apply formatting rules to a file containing erlang code.
Use Opts
to configure the formatter.
Generated by EDoc