Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Don't report 'statements are not aligned' for empty statements #2653

Merged
merged 2 commits into from
May 1, 2017
Merged

Don't report 'statements are not aligned' for empty statements #2653

merged 2 commits into from
May 1, 2017

Conversation

sbj42
Copy link
Contributor

@sbj42 sbj42 commented Apr 29, 2017

See issue #2608

PR checklist

Overview of change:

Skip over empty statements when running the align rule on statements. Empty statements can be caused by unnecessary semicolons, and in that case the error message "statements are not aligned" is confusing. The problem is better handled by the semicolons rule.

@nchen63 nchen63 merged commit 3cd1fc9 into palantir:master May 1, 2017
@sbj42 sbj42 deleted the issue2608 branch May 1, 2017 14:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants