luacheckrc: Declare known global functions in config file
authorKim Alvefur <zash@zash.se>
Thu, 01 Mar 2018 21:58:50 +0100
changeset 8560 28f9b8a5d9cb
parent 8559 5800f0c7afd6
child 8561 5de663cef508
luacheckrc: Declare known global functions in config file
.luacheckrc
--- a/.luacheckrc	Wed Feb 28 20:17:21 2018 +0100
+++ b/.luacheckrc	Thu Mar 01 21:58:50 2018 +0100
@@ -94,3 +94,15 @@
 files["spec/"] = {
 	std = "+busted"
 }
+files["prosody.cfg.lua"] = {
+	globals = { 
+		"Host",
+		"host",
+		"VirtualHost",
+		"Component",
+		"component",
+		"Include",
+		"include",
+		"RunScript"
+	};
+}