It would be very nice if we could configure ziglua to lint our lua code when we are running zig build. We would then report any errors like we would report zig compile errors.
This would turn runtime errors into compile time errors which is always nicer.
Example
build.zig
try ziglua.lintLuaFile(b.path("data/lua/init.lua"), .{.luadoc = true, .emit_compile_errors = true});
try ziglua.lintLuaFile(b.path("data/lua/main.lua"), .{.luadoc = true, .emit_compile_errors = true});
try ziglua.lintLuaFile(b.path("data/lua/other.lua"), .{.luadoc = true, .emit_compile_errors = true});
To do this we would probably want to look into embedding LDoc into ziglua.