$ luarocks install formatterfiveone
This is a formatter specifically for Lua 5.1.
Forked from: https://github.com/LuaDevelopmentTools/luaformatter
Original description below:
This library beautify Lua code:
* Indent block
* Indent expressions
* Trim trailing white spaces
It is plain Lua 5.1.
Versions
Dependencies
lua ~> 5.1
metalua-compiler ~> 0.7
penlight ~> 0.9