There was a problem fetching the pipeline stages.
Added luacheck for linting Lua files and static analysis
This is super useful for checking things like misusing undefined variables or modifying globals, especially in modules when it's not immediately visible which variables are in the global namespace and which are not. I added several exceptions for files in daemon/lua and tests, as for example sandbox module needs to legitimately modify global namespace. There's a lot of things failing, so I didn't make it part of the standard `make check`, but we should eventually enable it to improve code quality and spot problems with CI.
parent
d6c55c8a
Branches
Tags
Pipeline
#25776
passed
with stages
in
3 minutes and 24 seconds
.luacheckrc
0 → 100644
Please register or sign in to comment