A static analyzer and linter for Lua code that detects undefined globals, unused variables, and other common issues.
Luacheck is a static analyzer and linter for Lua code that detects a wide range of issues such as undefined global variables, unused variables, uninitialized variable access, and unreachable code. It helps developers write cleaner, more reliable Lua code by identifying potential bugs and code smells early in the development process.
Lua developers, from beginners to experts, who want to improve code quality and maintainability in their projects, including those using Lua 5.1, 5.2, 5.3, or LuaJIT.
Luacheck stands out for its extensive configurability, support for multiple Lua versions, and detailed, actionable warnings that integrate seamlessly into development workflows via editor plugins and CI/CD pipelines.
A tool for linting and static analysis of Lua code.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Supports Lua 5.1, 5.2, 5.3, and LuaJIT, as stated in the overview, making it versatile for projects using different Lua versions.
Options can be set via command line, config files, or inline comments, allowing fine-grained control over static analysis rules, as detailed in the documentation.
Detects undefined globals, unused variables, uninitialized access, and unreachable code, helping catch bugs early, as highlighted in the key features.
Has plugins for popular editors like Vim, Sublime, and Atom, facilitating real-time feedback, as listed in the related projects section.
The README notes that the module interface may change between minor releases, which can break custom integrations or scripts relying on it.
Parallel analysis requires installing LuaLanes separately, adding an extra step and potential compatibility issues, as mentioned in the installation section.
Lacks built-in code formatting or refactoring tools, necessitating additional software for complete code quality management.