aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-03-01 21:58:50 +0100
committerKim Alvefur <zash@zash.se>2018-03-01 21:58:50 +0100
commitfe112c8cd9a1967c3f4444aa5b76d4ac4ec5a067 (patch)
tree83ea659008ae08b2ba59cc926724cbc22cdbcab2
parent731b153dd2c85e0d254cad39ccb7c1517d384ea6 (diff)
downloadprosody-fe112c8cd9a1967c3f4444aa5b76d4ac4ec5a067.tar.gz
prosody-fe112c8cd9a1967c3f4444aa5b76d4ac4ec5a067.zip
luacheckrc: Declare known global functions in config file
-rw-r--r--.luacheckrc12
1 files changed, 12 insertions, 0 deletions
diff --git a/.luacheckrc b/.luacheckrc
index 607db06d..41ae1495 100644
--- a/.luacheckrc
+++ b/.luacheckrc
@@ -94,3 +94,15 @@ files["plugins/"] = {
files["spec/"] = {
std = "+busted"
}
+files["prosody.cfg.lua"] = {
+ globals = {
+ "Host",
+ "host",
+ "VirtualHost",
+ "Component",
+ "component",
+ "Include",
+ "include",
+ "RunScript"
+ };
+}