Skip to content

Commit

Permalink
Merge branch 'fix/max-function-length' of https://github.com/bormilan…
Browse files Browse the repository at this point in the history
…/elvis_core into fix/max-function-length
  • Loading branch information
bormilan committed Oct 13, 2024
2 parents 3787f60 + 8a1d51a commit 2b4ed0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions doc_rules/elvis_style/max_function_clause_length.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()`
Expand Down
2 changes: 1 addition & 1 deletion src/elvis_style.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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.").
Expand Down

0 comments on commit 2b4ed0d

Please sign in to comment.