Software /
code /
prosody
Changeset
7872:3105d35cc2c2
luacheckrc: Allow mutating the global prosody and hosts tables in core/ (luacheck 0.18 adds detection of indirect mutation)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 28 Jan 2017 17:02:28 +0100 |
parents | 7871:09aa0453bdcc |
children | 7873:8d1ebb9a9b44 |
files | .luacheckrc |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/.luacheckrc Sat Jan 28 15:31:57 2017 +0100 +++ b/.luacheckrc Sat Jan 28 17:02:28 2017 +0100 @@ -7,6 +7,9 @@ codes = true ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV" } +files["core/"] = { + ignore = { "122/prosody", "122/hosts" }; +} files["plugins/"] = { globals = { "module" }; }