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
commit1dd3dc731f0cf4147a111ffc88d9d54752d0f51f (patch)
treee1081891aaa93f3c6f4bf4b9658f2179372fd830
parentf3d5f41d6a035ba85894f9cded9e0c2c0444d50a (diff)
downloadprosody-1dd3dc731f0cf4147a111ffc88d9d54752d0f51f.tar.gz
prosody-1dd3dc731f0cf4147a111ffc88d9d54752d0f51f.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",