lua52-luacheck (lua/lua-luacheck) Updated: 1 year, 8 months ago Add to my watchlist

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.

Version: 1.1.0 License: MIT GitHub
Maintainers No Maintainer
Categories devel lua
Homepage https://luarocks.org/modules/lunarmodules/luacheck
Platforms any
Variants
  • universal (Build for multiple architectures)

Subport(s) (4)


"lua52-luacheck" depends on

lib (3)
run (1)
build (2)

Ports that depend on "lua52-luacheck"

No ports


Port notes

To make this the default luacheck (i.e., the version run by the 'luacheck' command), run:

sudo port select --set luacheck lua52-luacheck


Port Health:

Loading Port Health

Installations (30 days)

1

Requested Installations (30 days)

1