Open rbreslow opened 4 years ago
We already use luacheck for linting:
https://github.com/rbreslow/speak/blob/9772976d5aff1ec9f1dfab8a7218c935d0c40f6a/scripts/test#L19-L22
This works well. I think there's room to tune the luacheck config to be more aggressive though.
This issue was more or less scoped to figuring out the automatic code formatting side of the equation, so I appreciate you sharing FPtje's project.
As a result of the project's LuaFormatter implementation not working, and the project's age, different files have different styles and levels of indentation, single quotes and double quotes, etc.
This issue is to get automatic code formatting working and ensure every file has a consistent style.