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 | 09cf332571ef0f142675610d0950ce1a6afab44c (patch) | |
tree | 83ea659008ae08b2ba59cc926724cbc22cdbcab2 | |
parent | d1ab16f9e961325b955ceda0dc91e4582f82c5ef (diff) | |
download | prosody-09cf332571ef0f142675610d0950ce1a6afab44c.tar.gz prosody-09cf332571ef0f142675610d0950ce1a6afab44c.zip |
luacheckrc: Declare known global functions in config file
-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" + }; +} |