changeset 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
parents 098e3b3aac9c
children b9af1ccac98b 367a8020bd92
files .luacheckrc
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
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