diff options
author | Matthew Wild <mwild1@gmail.com> | 2018-09-29 12:20:51 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2018-09-29 12:20:51 +0100 |
commit | 9bae22b26a763e3da6b52adf08b87107d415236a (patch) | |
tree | 13d5437500503900f8ed758473da0d0c2be96afe | |
parent | ef4087f90bfaf070c1c5a4f68bf7ec6975052cdd (diff) | |
download | prosody-9bae22b26a763e3da6b52adf08b87107d415236a.tar.gz prosody-9bae22b26a763e3da6b52adf08b87107d415236a.zip |
.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
-rw-r--r-- | .luacheckrc | 3 |
1 files changed, 2 insertions, 1 deletions
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" }; |