config() = map()
configs() = [config()]
apply_to_files/2 | Takes a function and configuration and applies the function to all file in the configuration. |
dirs/1 | |
files/1 | |
filter/1 | |
from_application_or_config/2 | |
from_file/1 | |
from_rebar/1 | |
ignore/1 | |
merge_rules/2 | Merge user rules (override) with elvis default rules. |
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.
files(RuleGroup::configs() | config()) -> [elvis_file:file()]
from_application_or_config(Key::atom(), Default::term()) -> term()
from_file(Path::string()) -> configs()
from_rebar(Path::string()) -> configs()
merge_rules(UserRules::list(), DefaultRules::list()) -> [elvis_core:rule()]
Merge user rules (override) with elvis default rules.
Takes a configuration and finds all files according to its 'dirs' end 'filter' key, or if not specified uses '*.erl'.
resolve_files(Config::configs() | config(), Files::[elvis_file:file()]) -> configs() | config()
Takes a configuration and a list of files, filtering some of them according to the 'filter' key, or if not specified uses '*.erl'.
validate(Config::configs()) -> ok
Generated by EDoc