Software /
code /
prosody
Diff
.luacheckrc @ 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 |
parent | 8533:66cdf5c7af85 |
child | 8567:93695bb1f0e7 |
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" + }; +}