git: 6df36deb8bba - main - boot: update lua linter for recent module additions

From: Kyle Evans <kevans_at_FreeBSD.org>
Date: Tue, 13 Aug 2024 01:58:23 UTC
The branch main has been updated by kevans:

URL: https://cgit.FreeBSD.org/src/commit/?id=6df36deb8bba31bdaf1bc46ba07c02812decbccc

commit 6df36deb8bba31bdaf1bc46ba07c02812decbccc
Author:     Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2024-08-13 01:54:27 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2024-08-13 01:57:14 +0000

    boot: update lua linter for recent module additions
    
    For modules we expect to be there, we need to --globals them in to avoid
    linter errors.  Maybe we should switch to a different model for these
    to clean up our linter exceptions... 'meh'.
    
    Reported by:    David Cross <david_crossfamilyweb_com>
---
 tools/boot/lua-lint.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/boot/lua-lint.sh b/tools/boot/lua-lint.sh
index d771be090c6e..60d7c567dab4 100755
--- a/tools/boot/lua-lint.sh
+++ b/tools/boot/lua-lint.sh
@@ -17,4 +17,4 @@ cd $(make -V SRCTOP)/stand
 ${LUACHECK} . --globals loader --globals lfs --globals io.getchar \
 	--globals io.ischar --globals printc --globals cli_execute \
 	--globals cli_execute_unparsed --globals try_include \
-	--globals pager --std lua53
+	--globals pager --globals gfx --globals hash --std lua53