aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-09-29 12:20:51 +0100
committerMatthew Wild <mwild1@gmail.com>2018-09-29 12:20:51 +0100
commitdb08521d47bdc62fff27ad09d143a50a275dd677 (patch)
tree13d5437500503900f8ed758473da0d0c2be96afe
parent431713504919118e31041aad5fb34bbedfc33614 (diff)
downloadprosody-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
-rw-r--r--.luacheckrc3
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" };