aboutsummaryrefslogtreecommitdiffstats
path: root/.luacheckrc
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-10-06 14:49:26 +0200
committerKim Alvefur <zash@zash.se>2021-10-06 14:49:26 +0200
commitaa20355fa2c1a65dce264c4a5e95fca8d789ecf2 (patch)
tree08cb8b18f562e9b511e09d164a87225b4e04ee14 /.luacheckrc
parent97daab1c756e842307741fa0b0122c0b2b9dd168 (diff)
downloadprosody-aa20355fa2c1a65dce264c4a5e95fca8d789ecf2.tar.gz
prosody-aa20355fa2c1a65dce264c4a5e95fca8d789ecf2.zip
prosody: Expose main thread on the 'prosody' global
To allow running things in it.
Diffstat (limited to '.luacheckrc')
-rw-r--r--.luacheckrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.luacheckrc b/.luacheckrc
index 19942f9b..e8f7f1a0 100644
--- a/.luacheckrc
+++ b/.luacheckrc
@@ -12,6 +12,9 @@ read_globals = {
files["prosody"] = {
allow_defined_top = true;
module = true;
+ globals = {
+ "prosody";
+ }
}
files["prosodyctl"] = {
allow_defined_top = true;