luacheckrc: Remove allowance legacy module() related globals
authorKim Alvefur <zash@zash.se>
Wed, 07 Mar 2018 19:20:31 +0100
changeset 8571 37d98a5fbb77
parent 8570 93695bb1f0e7
child 8572 f88bd2428bc2
luacheckrc: Remove allowance legacy module() related globals
.luacheckrc
--- a/.luacheckrc	Wed Mar 07 19:19:56 2018 +0100
+++ b/.luacheckrc	Wed Mar 07 19:20:31 2018 +0100
@@ -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 @@
 		"module.wrap_object_event",
 	};
 	globals = {
-		"_M",
-
 		-- Methods that can be set on module API
 		"module.unload",
 		"module.add_host",