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
commitc9034dfeadbe979c3a7ba9ad7bd5f78907383687 (patch)
tree4fe7a87a4a2e15c1fc146980b2eb7c1e440caa06
parentb2ebed8b06516c65d27a37225d1cd2cd4fc67bf2 (diff)
downloadprosody-c9034dfeadbe979c3a7ba9ad7bd5f78907383687.tar.gz
prosody-c9034dfeadbe979c3a7ba9ad7bd5f78907383687.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