Skip to content

Commit

Permalink
change messages
Browse files Browse the repository at this point in the history
  • Loading branch information
bormilan committed Dec 14, 2024
1 parent 199ba15 commit f92e859
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/elvis_style.erl
Original file line number Diff line number Diff line change
Expand Up @@ -70,24 +70,24 @@
"Use the '-callback' attribute instead of 'behavior_info/1' "
"on line ~p.").
-define(FUNCTION_NAMING_CONVENTION_MSG,
"The function ~p does not respect the format defined by the "
"The function ~p's name does not respect the format defined by the "
"regular expression '~p'.").
-define(FORBIDDEN_FUNCTION_NAMING_CONVENTION_MSG,
"The function ~p is written in a forbidden format"
"The function ~p's name is written in a forbidden format"
"defined by the regular expression '~p'.").
-define(VARIABLE_NAMING_CONVENTION_MSG,
"The variable ~p on line ~p does not respect the format "
"The variable ~p's name, on line ~p does not respect the format "
"defined by the regular expression '~p'.").
-define(FORBIDDEN_VARIABLE_NAMING_CONVENTION_MSG,
"The variable ~p on line ~p is written in a forbidden the format "
"The variable ~p's name on line ~p is written in a forbidden the format "
"defined by the regular expression '~p'.").
-define(CONSISTENT_VARIABLE_CASING_MSG,
"Variable ~ts (first used in line ~p) is written in different ways within the module: ~p.").
-define(MODULE_NAMING_CONVENTION_MSG,
"The module ~p does not respect the format defined by the "
"The module ~p's name does not respect the format defined by the "
"regular expression '~p'.").
-define(FORBIDDEN_MODULE_NAMING_CONVENTION_MSG,
"The module ~p is written in a forbidden format defined by the "
"The module ~p's name is written in a forbidden format defined by the "
"regular expression '~p'.").
-define(STATE_RECORD_MISSING_MSG,
"This module implements an OTP behavior but is missing "
Expand Down Expand Up @@ -123,10 +123,10 @@
-define(NO_SUCCESSIVE_MAPS_MSG,
"Found map update after map construction/update at line ~p.").
-define(ATOM_NAMING_CONVENTION_MSG,
"Atom ~p on line ~p does not respect the format "
"Atom ~p's name, on line ~p does not respect the format "
"defined by the regular expression '~p'.").
-define(FORBIDDEN_ATOM_NAMING_CONVENTION_MSG,
"Atom ~p on line ~p is written in a forbidden format "
"Atom ~p on line ~p's name is written in a forbidden format "
"defined by the regular expression '~p'.").
-define(NO_THROW_MSG, "Usage of throw/1 on line ~p is not recommended").
-define(NO_DOLLAR_SPACE_MSG,
Expand Down

0 comments on commit f92e859

Please sign in to comment.