Automatic formatting of Lua code

#1

I want my team to write code in a single coding style. For this purpose we usually use automatic code formatting and add it as “git hook” (for other programming languages, for example, C/C++, JS…).

Has anyone set up this for Lua code? Ideally in Defold IDE style.

2 Likes

#2

I’m not aware of anyone who has done this. There’s probably quite a few Lua code formatters out there, but I have actually not tried any of them.

2 Likes