Changeset

9443:4e881be88727

.luacheckrc: Ignore unused secondaries in non-strict mode Previous commit was backwards
author Kim Alvefur <zash@zash.se>
date Sat, 06 Oct 2018 18:56:22 +0200
parents 9442:f210ee7dffe9
children 9444:7c1cdf5f9f83
files .luacheckrc
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/.luacheckrc	Sat Oct 06 18:52:52 2018 +0200
+++ b/.luacheckrc	Sat Oct 06 18:56:22 2018 +0200
@@ -1,5 +1,4 @@
 cache = true
-unused_secondaries = false
 codes = true
 ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV", "431/log", "143/table", "113/unpack" }
 
@@ -124,7 +123,8 @@
 if os.getenv("PROSODY_STRICT_LINT") ~= "1" then
 	-- These files have not yet been brought up to standard
 	-- Do not add more files here, but do help us fix these!
-	unused_secondaries = true
+	unused_secondaries = false
+
 	local exclude_files = {
 	"doc/net.server.lua";