aboutsummaryrefslogtreecommitdiffstats
path: root/.luacheckrc
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-03-09 19:23:19 +0100
committerKim Alvefur <zash@zash.se>2018-03-09 19:23:19 +0100
commit4c097f5da7d412395f0f9aca94a3e284d58ed264 (patch)
tree20bc6135697ee5952021efd28bf18f21666eef43 /.luacheckrc
parent79cd3d4333ecad0262b984b52c2072aa2c5365ec (diff)
downloadprosody-4c097f5da7d412395f0f9aca94a3e284d58ed264.tar.gz
prosody-4c097f5da7d412395f0f9aca94a3e284d58ed264.zip
luacheckrc: Restore module semantics, but only for plugins (ignores some globals)
Diffstat (limited to '.luacheckrc')
-rw-r--r--.luacheckrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.luacheckrc b/.luacheckrc
index 7a72a385..c51cdfe5 100644
--- a/.luacheckrc
+++ b/.luacheckrc
@@ -22,6 +22,7 @@ files["util/"] = {
max_comment_line_length = false;
}
files["plugins/"] = {
+ module = true;
read_globals = {
-- Module instance
"module.name",