Module elvis_text_style

Data Types

line_length_config()

line_length_config() = #{ignore => [elvis_config:ignorable()], limit => integer(), skip_comments => false | any | whole_line}

no_spaces_config()

no_spaces_config() = #{ignore => [module()]}

no_tabs_config()

no_tabs_config() = #{ignore => [module()]}

no_trailing_whitespace_config()

no_trailing_whitespace_config() = #{ignore => [module()], ignore_empty_lines => boolean()}

Function Index

default/1
line_length/3Target can be either a filename or the name of a module.
no_spaces/3
no_tabs/3
no_trailing_whitespace/3

Function Details

default/1

default(Rule::atom()) -> DefaultRuleConfig::term()

line_length/3

line_length(Config::elvis_config:config(), Target::elvis_file:file(), RuleConfig::line_length_config()) -> [elvis_result:item()]

Target can be either a filename or the name of a module.

no_spaces/3

no_spaces(Config::elvis_config:config(), Target::elvis_file:file(), RuleConfig::no_spaces_config()) -> [elvis_result:item()]

no_tabs/3

no_tabs(Config::elvis_config:config(), Target::elvis_file:file(), RuleConfig::no_tabs_config()) -> [elvis_result:item()]

no_trailing_whitespace/3

no_trailing_whitespace(Config::elvis_config:config(), Target::elvis_file:file(), RuleConfig::no_trailing_whitespace_config()) -> [elvis_result:item()]


Generated by EDoc