Changeset

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
parents 9389:9ae575efbb1f
children 9391:4001eb3f465a
files .luacheckrc
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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" };