diff --git a/doc_rules/elvis_style/max_function_clause_length.md b/doc_rules/elvis_style/max_function_clause_length.md index 7be725b4..501d15dd 100644 --- a/doc_rules/elvis_style/max_function_clause_length.md +++ b/doc_rules/elvis_style/max_function_clause_length.md @@ -8,8 +8,8 @@ the files are pre-processed) ## Options -- `max_length :: non_neg_integer()`. - - default: `30`. +- `max_length :: non_neg_integer()` + - default: `30` - `count_comments :: boolean()` - default: `false` - `count_whitespace :: boolean()` diff --git a/src/elvis_style.erl b/src/elvis_style.erl index 16bb7307..2fafbdd3 100644 --- a/src/elvis_style.erl +++ b/src/elvis_style.erl @@ -97,7 +97,7 @@ "The code for function ~p/~w has ~p lines which exceeds the " "maximum of ~p."). -define(MAX_FUNCTION_CLAUSE_LENGTH, - "The code for the ~ts clause of function ~p/~w has ~p lines which exceeds the " + "The code for the ~ts clause of function ~p/~w has ~p lines which exceeds the " "maximum of ~p."). -define(NO_CALL_MSG, "The call to ~p:~p/~p on line ~p is in the no_call list."). -define(NO_DEBUG_CALL_MSG, "Remove the debug call to ~p:~p/~p on line ~p.").