#
6df36deb |
| 13-Aug-2024 |
Kyle Evans <kevans@FreeBSD.org> |
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
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>
show more ...
|
Revision tags: release/14.1.0, release/13.3.0, release/14.0.0 |
|
#
d0b2dbfa |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0 |
|
#
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
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.
show more ...
|
Revision tags: release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0 |
|
#
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 glob
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.
show more ...
|
#
c8a0a7ab |
| 22-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
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.
show more ...
|