v 1.1.0 Updated: 1 year, 3 months ago

A tool for linting and static analysis of Lua code

Luacheck is a static analyzer and a linter for Lua. Luacheck detects various issues such as usage of undefined global variables, unused variables and values, accessing uninitialized variables, unreachable code and more. Most aspects of checking are configurable: there are options for defining custom project-related globals, for selecting set of standard globals (version of Lua standard library), for filtering warnings by type and name of related variable, etc. The options can be used on the command line, put into a config or directly into checked files as Lua comments.

To install lua-luacheck, paste this in macOS terminal after installing MacPorts

sudo port install lua-luacheck

Add to my watchlist

Installations 2
Requested Installations 2