aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-03-07 19:20:31 +0100
committerKim Alvefur <zash@zash.se>2018-03-07 19:20:31 +0100
commitb082f53b5774d6208ecf28eba9845b5793a9053a (patch)
treee1081891aaa93f3c6f4bf4b9658f2179372fd830
parent992b5622e99c0069fcd1dc39d0f91dd4870b698b (diff)
downloadprosody-b082f53b5774d6208ecf28eba9845b5793a9053a.tar.gz
prosody-b082f53b5774d6208ecf28eba9845b5793a9053a.zip
luacheckrc: Remove allowance legacy module() related globals
-rw-r--r--.luacheckrc4
1 files changed, 0 insertions, 4 deletions
diff --git a/.luacheckrc b/.luacheckrc
index 25e422c6..8fbd0247 100644
--- a/.luacheckrc
+++ b/.luacheckrc
@@ -1,7 +1,5 @@
cache = true
-globals = { "_M" }
allow_defined_top = true
-module = true
unused_secondaries = false
codes = true
ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV", "431/log" }
@@ -84,8 +82,6 @@ files["plugins/"] = {
"module.wrap_object_event",
};
globals = {
- "_M",
-
-- Methods that can be set on module API
"module.unload",
"module.add_host",