Skip to content

Commit

Permalink
chore: elvis linting updates
Browse files Browse the repository at this point in the history
  • Loading branch information
puzza007 committed Jul 19, 2023
1 parent 846a673 commit aefad05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion elvis.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
, filter => "*.erl"
, ruleset => erl_files
, rules => [{elvis_style, atom_naming_convention, #{ regex => "^([a-z][a-z0-9]*_?)+([a-z0-9_]*)$", enclosed_atoms => ".*"}}
, {elvis_style, god_modules, #{limit => 30}}]
, {elvis_style, god_modules, #{limit => 30}}
, {param_pattern_matching, disable}]
}
, #{ dirs => ["c_src/**"]
, filter => "Makefile"
Expand Down
2 changes: 2 additions & 0 deletions src/katipo.erl
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@
sslkey => sslkey(),
sslkey_blob => sslkey_blob(),
userpwd => userpwd()}.
-export_type([opts/0]).
-type metrics() :: proplists:proplist().
-type response() :: {ok, #{status := status(),
headers := headers(),
Expand Down Expand Up @@ -419,6 +420,7 @@
}).

-type req() :: #req{}.
-export_type([req/0]).

%% @private
tcp_fastopen_available() ->
Expand Down

0 comments on commit aefad05

Please sign in to comment.