config() = [#{}]
apply_to_files/2 | Takes a function and configuration and applies the function to all file in the configuration. |
default/0 | |
dirs/1 | |
files/1 | |
filter/1 | |
ignore/1 | |
load/1 | |
load_file/1 | |
normalize/1 | |
resolve_files/1 | Takes a configuration and finds all files according to its 'dirs' end 'filter' key, or if not specified uses '*.erl'. |
resolve_files/2 | Takes a configuration and a list of files, filtering some of them according to the 'filter' key, or if not specified uses '*.erl'. |
rules/1 | |
validate/1 |
Takes a function and configuration and applies the function to all file in the configuration.
default() -> config()
dirs(Config::config() | #{}) -> [string()]
files(RuleGroup::config() | #{}) -> [elvis_file:file()] | undefined
filter(Config::config() | #{}) -> [string()]
ignore(Config::config() | #{}) -> [string()]
load(AppConfig::term()) -> config()
load_file(Path::string()) -> config()
resolve_files(RuleGroup::#{}) -> #{}
Takes a configuration and finds all files according to its 'dirs' end 'filter' key, or if not specified uses '*.erl'.
resolve_files(Config::config() | #{}, Files::[elvis_file:file()]) -> config() | #{}
Takes a configuration and a list of files, filtering some of them according to the 'filter' key, or if not specified uses '*.erl'.
rules(Rules::config() | #{}) -> [string()] | undefined
validate(Config::config()) -> ok
Generated by EDoc, Jun 15 2017, 16:19:35.