aboutsummaryrefslogtreecommitdiffstats
path: root/rebar.config
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2011-03-22 12:25:43 +0100
committerLoïc Hoguin <[email protected]>2011-03-22 12:25:43 +0100
commit06ff8607edca1343ab2480dc2dc9890d258b6dfd (patch)
treee60fecfdf17002f6b12f3aff217fb010fe186351 /rebar.config
parent3b6f3004a65c14516b8d4b4215a2675fcf69e1d7 (diff)
downloadcowboy-06ff8607edca1343ab2480dc2dc9890d258b6dfd.tar.gz
cowboy-06ff8607edca1343ab2480dc2dc9890d258b6dfd.tar.bz2
cowboy-06ff8607edca1343ab2480dc2dc9890d258b6dfd.zip
Add more dialyzer warnings to rebar.config.
Diffstat (limited to 'rebar.config')
-rw-r--r--rebar.config8
1 files changed, 7 insertions, 1 deletions
diff --git a/rebar.config b/rebar.config
index d7d0b38..665255c 100644
--- a/rebar.config
+++ b/rebar.config
@@ -1,2 +1,8 @@
-{dialyzer_opts, [src]}.
+{dialyzer_opts, [src, {warnings, [
+ behaviours,
+ error_handling,
+ race_conditions,
+ unmatched_returns
+%% underspecs
+]}]}.
{erl_opts, [bin_opt_info, warnings_as_errors, warn_export_all]}.