EmmyLuaCodeStyle
EmmyLuaCodeStyle copied to clipboard
How to make stylechecker ignore spaces in some aligned expressions?
trafficstars
I tend to write shorter one-expression if-elseif-else conditions as oneliners that I aligne like this:
if off == 0 then return mid
elseif off < 0 then hi = mid - 1
else lo = mid + 1
end
This causes the stylecheck to warn about: "multiple spaces after token 'if'" and "multiple spaces after token '0'". Is there a way to make stylechecker to ignore cases like this? If not yet, could that be implemented at some point?
This might have some overlap with: #188