Changeset

8557:28f9b8a5d9cb

luacheckrc: Declare known global functions in config file
author Kim Alvefur <zash@zash.se>
date Thu, 01 Mar 2018 21:58:50 +0100
parents 8556:5800f0c7afd6
children 8558:5de663cef508
files .luacheckrc
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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"
+	};
+}