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 | 58ed4559d38fbad4b6e32bf72f761bc9849cc227 (patch) | |
tree | 20bc6135697ee5952021efd28bf18f21666eef43 | |
parent | 34f56dc375a9171d6ba0c6b2a9702316136468cc (diff) | |
download | prosody-58ed4559d38fbad4b6e32bf72f761bc9849cc227.tar.gz prosody-58ed4559d38fbad4b6e32bf72f761bc9849cc227.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", |