Diff

.luacheckrc @ 9390:b749cce57f08

.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
author Matthew Wild <mwild1@gmail.com>
date Sat, 29 Sep 2018 12:20:51 +0100
parent 9326:c9c4b8bc53b1
child 9398:7f8ba13b4dd6
line wrap: on
line diff
--- 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" };