Browse Source

Merge pull request #249 from seriyps/lint-0.2.0

Stick to rebar3_lint 0.2.0
Sergey Prokhorov 4 years ago
parent
commit
a9689fde93
1 changed files with 2 additions and 2 deletions
  1. 2 2
      rebar.config

+ 2 - 2
rebar.config

@@ -11,7 +11,7 @@
         ]}
     ]},
     {lint, [
-        {plugins, [rebar3_lint]}
+        {plugins, [{rebar3_lint, "0.2.0"}]}
     ]}
 ]}.
 
@@ -26,7 +26,7 @@
      ruleset => erl_files,
      rules =>
          [{elvis_style, line_length, #{limit => 120}},
-          {elvis_style, god_modules, #{limit => 41}},
+          {elvis_style, god_modules, #{ignore => [epgsql, epgsqla, epgsqli, epgsql_sock, epgsql_wire]}},
           {elvis_style, dont_repeat_yourself, #{min_complexity => 11}},
           {elvis_style, state_record_and_type, disable} % epgsql_sock
          ]}