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 | e373961a7c84878059c4eae9bc794e1557da2730 (patch) | |
tree | 1e9f0c3e3ccac6b34c995b355b8778f1696f1189 | |
parent | 0f40fa0f85ce8296f46ef52d5837665783154cb3 (diff) | |
download | prosody-e373961a7c84878059c4eae9bc794e1557da2730.tar.gz prosody-e373961a7c84878059c4eae9bc794e1557da2730.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.?", |