From db08521d47bdc62fff27ad09d143a50a275dd677 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sat, 29 Sep 2018 12:20:51 +0100 Subject: .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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.luacheckrc b/.luacheckrc index e570529a..1ca0d0df 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -104,7 +104,8 @@ files["plugins/"] = { }; } files["spec/"] = { - std = "+busted" + std = "+busted"; + globals = { "randomize" }; } files["prosody.cfg.lua"] = { ignore = { "131" }; -- cgit v1.2.3