# HG changeset patch # User Kim Alvefur # Date 1636291127 -3600 # Node ID 8e22b858628f0a99d6f9100f68302e3fddc25b3a # Parent 098e3b3aac9c40fdc4fa40dd63698a8d2eb25f84 luacheck: Discourage use of the 'hosts' global (like in Prosody) Shorter name for prosody.hosts which is more explicit. Having fewer globals is better. diff -r 098e3b3aac9c -r 8e22b858628f .luacheckrc --- 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