An opinionated code formatter for Lua 5.1-5.4 and Luau. StyLua is inspired by the likes of prettier, it parses your Lua codebase, and prints it back out from scratch, enforcing a consistent code style.
An opinionated code formatter for Lua 5.1-5.4 and Luau. StyLua is inspired by the likes of prettier, it parses your Lua codebase, and prints it back out from scratch, enforcing a consistent code style.
To install stylua, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install stylua
To see what files were installed by stylua, run:
port contents stylua
To later upgrade stylua, run:
sudo port selfupdate && sudo port upgrade stylua
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.