luacheck-0.21.2p8
tool for linting and static analysis of Lua code
Back to search · Project homepage
Description
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.
Luacheck supports checking Lua files using syntax of Lua 5.1, Lua 5.2,
Lua 5.3 and LuaJIT 2.0. Luacheck itself is written in Lua and runs on
all of mentioned Lua versions.
Package information
- Ports path
- devel/luacheck
- Package architecture
- amd64
- Maintainer
- Jonathan Gray <jsg@openbsd.org>
- Categories
- devel, lang/lua
- Available flavors
- None listed
These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.
Direct dependencies
Runtime
Build
Used by (1 dependency relationships)
Includes library, runtime, build and test relationships. Results load 100 at a time.