Skip to content
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

[Fix #2109] Consider indentation in ExtraSpacing #2131

Merged
merged 1 commit into from
Aug 10, 2015

Conversation

jonas054
Copy link
Collaborator

When searching for possibly aligned tokens, if none is found using the normal search algorithm that looks on the nearest lines, skipping empty and comment lines, do another search where only lines with the same indentation are considered.

This must be an addition to the existing algorithm. The old stuff is still needed.

When searching for possibly aligned tokens, if none is
found using the normal search algorithm that looks on the
nearest lines, skipping empty and comment lines, do
another search where only lines with the same indentation
are considered.

This must be an addition to the existing algorithm. The
old stuff is still needed.
bbatsov added a commit that referenced this pull request Aug 10, 2015
[Fix #2109] Consider indentation in ExtraSpacing
@bbatsov bbatsov merged commit fd6a66f into rubocop:master Aug 10, 2015
@bbatsov
Copy link
Collaborator

bbatsov commented Aug 10, 2015

👍

@jonas054 jonas054 deleted the 2109_smarter_extra_spacing branch August 11, 2015 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants