forked from mpeterv/luacheck
-
Notifications
You must be signed in to change notification settings - Fork 52
forked from mpeterv/luacheck
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Check for whitespace around operators #19
Labels
enhancement
New feature or request
Comments
alerque
changed the title
whitespaces aroumd operators
Check for whitespace around operators
Oct 7, 2021
I think this is out of scope for Luacheck and should rather be a formatter's job to fix and/or check. Luacheck is supposed to check likely semantic issues rather than formatting issues. The only warning where Luacheck checks formatting is with mixed indentation, which is severe and universal enough that it seems reasonable. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm looking for an option to check for whitespaces around operators, but cannot find it, yet.
I did find a mention of this feature not being implemented yet, from 2016 though.
examples would be
,
I realize its not an easy to implement check, due to its context sensitivity, but would like to state I'm missing this feature.
Maybe someone comes along feels the same, and leaves a 👍.
This project is really nice to have around, thanks!
Originally posted by @mpeterv in mpeterv#79 (comment)
I was just made aware of his passing away and hope this repo is the right place to follow up on this.
The text was updated successfully, but these errors were encountered: