luacheck
« Back to VersTracker
Description:
Tool for linting and static analysis of Lua code
Type: Formula  |  Latest Version: 1.2.0@0  |  Tracked Since: Dec 24, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: lua linter static-analysis developer-tools
Install: brew install luacheck
About:
Luacheck is a static analyzer and linter for Lua code. It detects various issues such as unused variables, unreachable code, and incorrect usage of global variables. The tool helps maintain code quality and consistency across Lua projects.
Key Features:
  • Detects unused variables and functions
  • Checks for global variable usage
  • Highly configurable via command line and config files
  • Supports inline option comments for fine-grained control
Use Cases:
  • Enforcing coding standards in Lua projects
  • CI/CD pipeline integration for code quality checks
Alternatives:
  • stylua – Focuses on code formatting rather than static analysis
Version History
Detected Version Rev Change Commit
Dec 24, 2025 9:55pm 1.2.0 0 VERSION_BUMP d7f5794f
Sep 14, 2024 5:55pm 0 VERSION_BUMP 56eb658f
May 24, 2024 10:10am 0 VERSION_BUMP dd54339c
Sep 30, 2023 11:26pm 0 VERSION_BUMP 267fcb98
May 3, 2023 11:11am 0 VERSION_BUMP 0a73396f