Skip to content

How to make stylechecker ignore spaces in some aligned expressions? #189

@4lph4-Ph4un

Description

@4lph4-Ph4un

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions