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
commit09cf332571ef0f142675610d0950ce1a6afab44c (patch)
tree83ea659008ae08b2ba59cc926724cbc22cdbcab2
parentd1ab16f9e961325b955ceda0dc91e4582f82c5ef (diff)
downloadprosody-09cf332571ef0f142675610d0950ce1a6afab44c.tar.gz
prosody-09cf332571ef0f142675610d0950ce1a6afab44c.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"
+ };
+}