.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
This commit is contained in:
Matthew Wild 2018-09-29 12:20:51 +01:00
parent 4317135049
commit db08521d47

View file

@ -104,7 +104,8 @@ files["plugins/"] = {
};
}
files["spec/"] = {
std = "+busted"
std = "+busted";
globals = { "randomize" };
}
files["prosody.cfg.lua"] = {
ignore = { "131" };