aboutsummaryrefslogtreecommitdiffstats
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
commite373961a7c84878059c4eae9bc794e1557da2730 (patch)
tree1e9f0c3e3ccac6b34c995b355b8778f1696f1189
parent0f40fa0f85ce8296f46ef52d5837665783154cb3 (diff)
downloadprosody-e373961a7c84878059c4eae9bc794e1557da2730.tar.gz
prosody-e373961a7c84878059c4eae9bc794e1557da2730.zip
luacheckrc: Allow top level variables in prosodyctl (eg CFG_*) [luacheck]
-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.?",