Module erlfmt_formatter

Formatter to integrate with erlfmt.

Behaviours: rebar3_formatter.

Description

Formatter to integrate with erlfmt.

Function Index

format_file/3Format a file.
init/2

Function Details

format_file/3

format_file(File::file:filename_all(), X2::nostate, OptionsMap::rebar3_formatter:opts()) -> rebar3_formatter:result()

Format a file. Note that opts() are not the same as the global ones passed in on init/1. These opts include per-file options specified with the -format attribute.

init/2

init(X1::rebar3_formatter:opts(), X2::undefined | rebar_state:t()) -> nostate


Generated by EDoc