aboutsummaryrefslogtreecommitdiffstats
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
commit0f40fa0f85ce8296f46ef52d5837665783154cb3 (patch)
tree962de63a33d87faee7ff83398bdf2b54c38572f2
parentb341b118ae1b2fbcb754bc855daaeb96e871d4a6 (diff)
downloadprosody-0f40fa0f85ce8296f46ef52d5837665783154cb3.tar.gz
prosody-0f40fa0f85ce8296f46ef52d5837665783154cb3.zip
luacheckrc: Let luacheck know about the log and server globals
-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;