Software /
code /
prosody
Diff
.luacheckrc @ 8568:37d98a5fbb77
luacheckrc: Remove allowance legacy module() related globals
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 07 Mar 2018 19:20:31 +0100 |
parent | 8567:93695bb1f0e7 |
child | 8569:f88bd2428bc2 |
line wrap: on
line diff
--- 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",