diff options
author | Kim Alvefur <zash@zash.se> | 2018-03-09 19:23:19 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-03-09 19:23:19 +0100 |
commit | 4c097f5da7d412395f0f9aca94a3e284d58ed264 (patch) | |
tree | 20bc6135697ee5952021efd28bf18f21666eef43 | |
parent | 79cd3d4333ecad0262b984b52c2072aa2c5365ec (diff) | |
download | prosody-4c097f5da7d412395f0f9aca94a3e284d58ed264.tar.gz prosody-4c097f5da7d412395f0f9aca94a3e284d58ed264.zip |
luacheckrc: Restore module semantics, but only for plugins (ignores some globals)
-rw-r--r-- | .luacheckrc | 1 |
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", |