From d91b8dc481391cca7565789e9e4632be84409c85 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 28 Jan 2017 17:02:28 +0100 Subject: luacheckrc: Allow mutating the global prosody and hosts tables in core/ (luacheck 0.18 adds detection of indirect mutation) --- .luacheckrc | 3 +++ 1 file changed, 3 insertions(+) (limited to '.luacheckrc') diff --git a/.luacheckrc b/.luacheckrc index 90d2e273..80c903c3 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -7,6 +7,9 @@ unused_secondaries = false codes = true ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV" } +files["core/"] = { + ignore = { "122/prosody", "122/hosts" }; +} files["plugins/"] = { globals = { "module" }; } -- cgit v1.2.3