mt-mods / signs_lib

Other
4 stars 12 forks source link

Add luacheck #3

Closed OgelGames closed 2 years ago

OgelGames commented 2 years ago

Added luacheck and fixed most of the warnings, but there's a few harder ones to fix.

https://github.com/mt-mods/signs_lib/blob/3f1a8fa3f25a17bc33f700bb249627d3f11c7f8d/encoding.lua#L281

@syimyuzya what is intended with those assignments? Should both variables be assigned the value, or only one?

OgelGames commented 2 years ago

I decided to just increase the max_line_length for now, the code needs some refactoring to make some of those lines shorter, and it's better to leave that for when all the code gets refactored. (it really needs it...)