aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-05-18 15:02:00 +0100
committerMatthew Wild <mwild1@gmail.com>2018-05-18 15:02:00 +0100
commit7dc998bdae74b9afe9fc9c28bdbfdcd784df3401 (patch)
tree4fe7a87a4a2e15c1fc146980b2eb7c1e440caa06
parent5cfbefeb17494f32219c27b6aa6a93557070fccb (diff)
downloadprosody-7dc998bdae74b9afe9fc9c28bdbfdcd784df3401.tar.gz
prosody-7dc998bdae74b9afe9fc9c28bdbfdcd784df3401.zip
.luacheckrc: Add some additional stricter requirements when PROSODY_STRICT_LINT=1
-rw-r--r--.luacheckrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.luacheckrc b/.luacheckrc
index 0c8c6155..4c2309c0 100644
--- a/.luacheckrc
+++ b/.luacheckrc
@@ -182,4 +182,7 @@ if os.getenv("PROSODY_STRICT_LINT") ~= "1" then
"util/sasl/digest-md5.lua";
}
+else
+ max_cyclomatic_complexity = 50
+ max_line_length = 120
end