Software / code / prosody
Comparison
.luacheckrc @ 9390:b749cce57f08
.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
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Sat, 29 Sep 2018 12:20:51 +0100 |
| parent | 9326:c9c4b8bc53b1 |
| child | 9398:7f8ba13b4dd6 |
comparison
equal
deleted
inserted
replaced
| 9389:9ae575efbb1f | 9390:b749cce57f08 |
|---|---|
| 102 "module.command", | 102 "module.command", |
| 103 "module.environment", | 103 "module.environment", |
| 104 }; | 104 }; |
| 105 } | 105 } |
| 106 files["spec/"] = { | 106 files["spec/"] = { |
| 107 std = "+busted" | 107 std = "+busted"; |
| 108 globals = { "randomize" }; | |
| 108 } | 109 } |
| 109 files["prosody.cfg.lua"] = { | 110 files["prosody.cfg.lua"] = { |
| 110 ignore = { "131" }; | 111 ignore = { "131" }; |
| 111 globals = { | 112 globals = { |
| 112 "Host", | 113 "Host", |