diff options
author | Kim Alvefur <zash@zash.se> | 2018-03-01 21:58:50 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-03-01 21:58:50 +0100 |
commit | fe112c8cd9a1967c3f4444aa5b76d4ac4ec5a067 (patch) | |
tree | 83ea659008ae08b2ba59cc926724cbc22cdbcab2 /.luacheckrc | |
parent | 731b153dd2c85e0d254cad39ccb7c1517d384ea6 (diff) | |
download | prosody-fe112c8cd9a1967c3f4444aa5b76d4ac4ec5a067.tar.gz prosody-fe112c8cd9a1967c3f4444aa5b76d4ac4ec5a067.zip |
luacheckrc: Declare known global functions in config file
Diffstat (limited to '.luacheckrc')
-rw-r--r-- | .luacheckrc | 12 |
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" + }; +} |