I'm author of https://github.com/martin-eden/lua_code_formatter . It's written in Lua and intended to reformat files with Lua code.
I can vouch for this one. It works well enough that I have integrated it into my editor. Be aware, targets 5.3 only.