aboutsummaryrefslogtreecommitdiffstats
path: root/.luacheckrc
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-03-23 13:18:28 +0100
committerKim Alvefur <zash@zash.se>2018-03-23 13:18:28 +0100
commit51b193594f84daa97e53c05124b7bb30d9e74fbd (patch)
tree1e9f0c3e3ccac6b34c995b355b8778f1696f1189 /.luacheckrc
parentf0533e4d52e9971e2ff62e0fffd2415b9e0a498d (diff)
downloadprosody-51b193594f84daa97e53c05124b7bb30d9e74fbd.tar.gz
prosody-51b193594f84daa97e53c05124b7bb30d9e74fbd.zip
luacheckrc: Allow top level variables in prosodyctl (eg CFG_*) [luacheck]
Diffstat (limited to '.luacheckrc')
-rw-r--r--.luacheckrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/.luacheckrc b/.luacheckrc
index e8b3a5a4..cdaeeb36 100644
--- a/.luacheckrc
+++ b/.luacheckrc
@@ -16,6 +16,10 @@ files["prosody"] = {
allow_defined_top = true;
module = true;
}
+files["prosodyctl"] = {
+ allow_defined_top = true;
+ module = true;
+};
files["core/"] = {
globals = {
"prosody.hosts.?",