From fe112c8cd9a1967c3f4444aa5b76d4ac4ec5a067 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 1 Mar 2018 21:58:50 +0100 Subject: luacheckrc: Declare known global functions in config file --- .luacheckrc | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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" + }; +} -- cgit v1.2.3