Diff

.luacheckrc @ 8716:2f3b08ad9b8a

luacheckrc: Forget about _G.hosts, things should use _G.prosody.hosts
author Kim Alvefur <zash@zash.se>
date Thu, 29 Mar 2018 16:42:24 +0200
parent 8710:ed3dcbc5336f
child 8727:285075a27f28
line wrap: on
line diff
--- a/.luacheckrc	Thu Mar 29 16:38:35 2018 +0200
+++ b/.luacheckrc	Thu Mar 29 16:42:24 2018 +0200
@@ -7,7 +7,6 @@
 
 read_globals = {
 	"prosody",
-	"hosts",
 	"import",
 	"server",
 };
@@ -22,7 +21,6 @@
 files["core/"] = {
 	globals = {
 		"prosody.hosts.?",
-		"hosts.?",
 	};
 }
 files["util/"] = {