diff options
author | Kim Alvefur <zash@zash.se> | 2017-01-28 17:02:28 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-01-28 17:02:28 +0100 |
commit | d91b8dc481391cca7565789e9e4632be84409c85 (patch) | |
tree | 21af8bba10c59a13b2ea9b70497c3fcfb08ab7c3 /.luacheckrc | |
parent | d1e163f9d75687db9250df12eeff7e2dad5e4bc9 (diff) | |
download | prosody-d91b8dc481391cca7565789e9e4632be84409c85.tar.gz prosody-d91b8dc481391cca7565789e9e4632be84409c85.zip |
luacheckrc: Allow mutating the global prosody and hosts tables in core/ (luacheck 0.18 adds detection of indirect mutation)
Diffstat (limited to '.luacheckrc')
-rw-r--r-- | .luacheckrc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.luacheckrc b/.luacheckrc index 90d2e273..80c903c3 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -7,6 +7,9 @@ unused_secondaries = false codes = true ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV" } +files["core/"] = { + ignore = { "122/prosody", "122/hosts" }; +} files["plugins/"] = { globals = { "module" }; } |