Software / code / prosody
Diff
.luacheckrc @ 7949:8acc35b5355a
core: Allow select core modules to mutate some globals (needs luacheck 1.19)
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sat, 04 Mar 2017 20:09:28 +0100 |
| parent | 7948:ed99a8e3c260 |
| child | 7952:38053bf1630d |
line wrap: on
line diff
--- a/.luacheckrc Sat Mar 04 20:06:29 2017 +0100 +++ b/.luacheckrc Sat Mar 04 20:09:28 2017 +0100 @@ -10,7 +10,8 @@ max_line_length = 150 files["core/"] = { - ignore = { "122/prosody", "122/hosts" }; + read_globals = { "prosody", "hosts" }; + globals = { "prosody.hosts.?", "hosts.?" }; } files["plugins/"] = { globals = { "module" };