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 calculation in disable_offense. #7964

Merged
merged 1 commit into from May 13, 2020
Merged

Conversation

marcandre
Copy link
Contributor

The column where the offence begins has nothing to do with if the line is small enough to contain eol_comment or not.

@marcandre marcandre force-pushed the fix_disable branch 2 times, most recently from bf84352 to bd60e73 Compare May 13, 2020 05:00
The column where the offense begins has nothing to do with if the line is small enough.
@koic koic merged commit 18bb337 into rubocop:master May 13, 2020
@koic
Copy link
Member

koic commented May 13, 2020

It makes sense and thank you for adding tests!

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.

None yet

2 participants