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 | db08521d47bdc62fff27ad09d143a50a275dd677 (patch) | |
tree | 13d5437500503900f8ed758473da0d0c2be96afe /.luacheckrc | |
parent | 431713504919118e31041aad5fb34bbedfc33614 (diff) | |
download | prosody-db08521d47bdc62fff27ad09d143a50a275dd677.tar.gz prosody-db08521d47bdc62fff27ad09d143a50a275dd677.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
Diffstat (limited to '.luacheckrc')
-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" }; |