Luacheck
lastmod 2026-11-10created 2019-05-242 edits
Luacheck is a linter and static analysis tool that finds syntax errors and potential problems in Lua code. It checks for variables that are declared but never used, implicit use of global variables, unreachable code, line length and whitespace style, and more, and the .luacheckrc file configures the target Lua version, standard globals, and warning suppression rules. It is itself written in Lua, is installed with LuaRocks, and is used for editor integration and CI checks.
A tool for linting and static analysis of Lua code.