.luacheckrc: Allow randomize() global in spec/
authorMatthew Wild <mwild1@gmail.com>
Sat, 29 Sep 2018 12:20:51 +0100
changeset 9393 b749cce57f08
parent 9392 9ae575efbb1f
child 9394 4001eb3f465a
.luacheckrc: Allow randomize() global in spec/ This is a busted function that is not currently recognized by luacheck. See https://github.com/mpeterv/luacheck/pull/183
.luacheckrc
--- a/.luacheckrc	Sat Sep 29 11:14:29 2018 +0100
+++ b/.luacheckrc	Sat Sep 29 12:20:51 2018 +0100
@@ -104,7 +104,8 @@
 	};
 }
 files["spec/"] = {
-	std = "+busted"
+	std = "+busted";
+	globals = { "randomize" };
 }
 files["prosody.cfg.lua"] = {
 	ignore = { "131" };