SPELL=luacheck VERSION=0.22.0 SOURCE=${SPELL}-${VERSION}.tar.gz SOURCE_URL[0]=https://github.com/mpeterv/${SPELL}/archive/${VERSION}.tar.gz SOURCE_HASH=sha512:8264000711214e8451307e7f51a45b06d2fcd5da0d3cb49952d54b07a9448431ae3fd68a8cd0a27c73c3b03e6de74e8ae786c139707e16cf938921ab582d3bfd SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}" WEB_SITE=https://github.com/mpeterv/luacheck LICENSE[0]=MIT ENTERED=20180525 SHORT="tool for linting and static analysis of Lua code" cat << EOF 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. EOF