Module elvis_text_style

Data Types

line_length_config()

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

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::elvis_style:empty_rule_config()) -> [elvis_result:item()]

no_tabs/3

no_tabs(Config::elvis_config:config(), Target::elvis_file:file(), RuleConfig::elvis_style:empty_rule_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