aboutsummaryrefslogtreecommitdiffstats
path: root/.luacheckrc
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-01-28 17:02:28 +0100
committerKim Alvefur <zash@zash.se>2017-01-28 17:02:28 +0100
commit64459911c45e06f87beae50a9cc96f0141edd138 (patch)
tree21af8bba10c59a13b2ea9b70497c3fcfb08ab7c3 /.luacheckrc
parent06cc4e26b026c327a240360714995f913720c1b1 (diff)
downloadprosody-64459911c45e06f87beae50a9cc96f0141edd138.tar.gz
prosody-64459911c45e06f87beae50a9cc96f0141edd138.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--.luacheckrc3
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" };
}