# HG changeset patch # User Kim Alvefur # Date 1485619348 -3600 # Node ID 3105d35cc2c255f97f0cf45e5f82586a08be75ed # Parent 09aa0453bdccfb84bea34e14ae18138392dd5b07 luacheckrc: Allow mutating the global prosody and hosts tables in core/ (luacheck 0.18 adds detection of indirect mutation) diff -r 09aa0453bdcc -r 3105d35cc2c2 .luacheckrc --- a/.luacheckrc Sat Jan 28 15:31:57 2017 +0100 +++ b/.luacheckrc Sat Jan 28 17:02:28 2017 +0100 @@ -7,6 +7,9 @@ codes = true ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV" } +files["core/"] = { + ignore = { "122/prosody", "122/hosts" }; +} files["plugins/"] = { globals = { "module" }; }