Diff

.luacheckrc @ 4757:8e22b858628f

luacheck: Discourage use of the 'hosts' global (like in Prosody) Shorter name for prosody.hosts which is more explicit. Having fewer globals is better.
author Kim Alvefur <zash@zash.se>
date Sun, 07 Nov 2021 14:18:47 +0100
parent 4756:098e3b3aac9c
child 4971:bc78424968b2
line wrap: on
line diff
--- a/.luacheckrc	Sun Nov 07 14:17:29 2021 +0100
+++ b/.luacheckrc	Sun Nov 07 14:18:47 2021 +0100
@@ -5,7 +5,6 @@
 ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV" };
 read_globals = {
 	"prosody",
-	"hosts",
 	"import",
 
 	-- Module instance