aboutsummaryrefslogtreecommitdiffstats
path: root/.luacheckrc
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
commit9bae22b26a763e3da6b52adf08b87107d415236a (patch)
tree13d5437500503900f8ed758473da0d0c2be96afe /.luacheckrc
parentef4087f90bfaf070c1c5a4f68bf7ec6975052cdd (diff)
downloadprosody-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
Diffstat (limited to '.luacheckrc')
-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" };