diff options
author | Kim Alvefur <zash@zash.se> | 2018-03-23 13:18:28 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-03-23 13:18:28 +0100 |
commit | 51b193594f84daa97e53c05124b7bb30d9e74fbd (patch) | |
tree | 1e9f0c3e3ccac6b34c995b355b8778f1696f1189 | |
parent | f0533e4d52e9971e2ff62e0fffd2415b9e0a498d (diff) | |
download | prosody-51b193594f84daa97e53c05124b7bb30d9e74fbd.tar.gz prosody-51b193594f84daa97e53c05124b7bb30d9e74fbd.zip |
luacheckrc: Allow top level variables in prosodyctl (eg CFG_*) [luacheck]
-rw-r--r-- | .luacheckrc | 4 |
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.?", |