There are many great free online resources for Lua including:
-
A highly recommended detailed and authoritative introduction to all aspects of Lua programming by Lua's chief architect: Programming in Lua, by Roberto Ierusalimschy
-
For an official definition of the Lua language, consult the Lua 5.1 Reference Manual, by R. Ierusalimschy, L. H. de Figueiredo, W. Celes.
-
Some options for linting
$ sudo apt-get update
First install Lua and Luarocks using Apt:
$ sudo apt-get install lua5.3 liblua5.3-dev luarocks
Then install the Busted testing framework for Lua:
$ luarocks install busted
If this fails, you may need to use sudo:
$ sudo luarocks install busted