From c9034dfeadbe979c3a7ba9ad7bd5f78907383687 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 18 May 2018 15:02:00 +0100 Subject: .luacheckrc: Add some additional stricter requirements when PROSODY_STRICT_LINT=1 --- .luacheckrc | 3 +++ 1 file changed, 3 insertions(+) (limited to '.luacheckrc') 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 -- cgit v1.2.3