-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use luacheck (linter) #7
Comments
👍 I'll check these out this week. Some of them, namely the unused imports and unused bit functions, are intentional. How would you suppress some of these warnings? |
I think it's not easy to ignore. |
Perhaps its best to comment out unused variables then. I'd rather do that than leave them as warnings. |
Yes, but in some cases you can't : for _i, v in ipairs({}) do print(v) end
|
In this case:
it's common idiom to use
|
I think this issue might be closed since all commits for |
👍 makes sense, feel free to close it @evkornev |
All luacheck's related code is merged |
Luacheck is very useful to prevent some mistakes.
The text was updated successfully, but these errors were encountered: