aboutsummaryrefslogtreecommitdiffstats
path: root/.luacheckrc
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-03-23 13:16:14 +0100
committerKim Alvefur <zash@zash.se>2018-03-23 13:16:14 +0100
commitf0533e4d52e9971e2ff62e0fffd2415b9e0a498d (patch)
tree962de63a33d87faee7ff83398bdf2b54c38572f2 /.luacheckrc
parentdad6f672946f5aec7e83c3c65546a6b041f3ab38 (diff)
downloadprosody-f0533e4d52e9971e2ff62e0fffd2415b9e0a498d.tar.gz
prosody-f0533e4d52e9971e2ff62e0fffd2415b9e0a498d.zip
luacheckrc: Let luacheck know about the log and server globals
Diffstat (limited to '.luacheckrc')
-rw-r--r--.luacheckrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.luacheckrc b/.luacheckrc
index 978f12de..e8b3a5a4 100644
--- a/.luacheckrc
+++ b/.luacheckrc
@@ -9,6 +9,8 @@ read_globals = {
"prosody",
"hosts",
"import",
+ "log",
+ "server",
};
files["prosody"] = {
allow_defined_top = true;