luacheckrc: Allow mutating the global prosody and hosts tables in core/ (luacheck 0.18 adds detection of indirect mutation)
authorKim Alvefur <zash@zash.se>
Sat, 28 Jan 2017 17:02:28 +0100
changeset 7875 3105d35cc2c2
parent 7874 09aa0453bdcc
child 7876 8d1ebb9a9b44
luacheckrc: Allow mutating the global prosody and hosts tables in core/ (luacheck 0.18 adds detection of indirect mutation)
.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" };
 }