# HG changeset patch # User Matthew Wild # Date 1538220051 -3600 # Node ID b749cce57f085c96a5bcb70a40087cdcc5faeed8 # Parent 9ae575efbb1f268c1c3a7f466a4c37986c522c66 .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 diff -r 9ae575efbb1f -r b749cce57f08 .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" };