History log of /freebsd-current/tools/boot/lua-lint.sh
Revision Date Author Comments
# d0b2dbfa 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


# 29842cb3 17-Dec-2020 Kyle Evans <kevans@FreeBSD.org>

lualoader: fix lua-lint run

luacheck rightfully complains that i is unused in the show-module-options
loop at the end (it was used for some debugging in the process).

We've added a new pager module that's compiled in, so declare that as an
acceptable global.


# ec88403d 26-Mar-2018 Kyle Evans <kevans@FreeBSD.org>

lua-lint: Hint that try_include is now an accepted global

try_include was added in r331563.


# a284ff37 07-Mar-2018 Kyle Evans <kevans@FreeBSD.org>

lua-lint: Whitelist cli_execute_unparsed as a global


# 8960f9d7 02-Mar-2018 Kyle Evans <kevans@FreeBSD.org>

Add --globals printc to lua-lint

We provide a global 'printc' as of r330282; make luacheck aware of this fact
so that we can use it without complaints.


# 5af17cb3 22-Feb-2018 Kyle Evans <kevans@FreeBSD.org>

lua-lint: Add note about luacheck in ports, silence warning

luacheck was added in ports r462609.

Silence warning about cli_execute -- it's non-standard, but for our setup it
will be a standard global.


# c8a0a7ab 21-Feb-2018 Kyle Evans <kevans@FreeBSD.org>

Add script for linting stand/lua to tools/boot.

We require some --globals due to custom loader extensions in our
environment. Add everything required for this to tools/boot so that other
interested parties can get up and go with linting our scripts and not get a
bunch of false-positives.