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

Make --lint work with Lint/UnneededDisable #2240

Merged
merged 1 commit into from
Sep 12, 2015

Conversation

jonas054
Copy link
Collaborator

Currently, running rubocop --lint on the RuboCop source code gives a number or reports from Lint/UnneededDisable. That's not good.

By letting --lint be an alias for --only Lint, we take advantage of the logic that's already in place for handling of --only in Lint/UnneededDisable.

By letting --lint be an alias for --only Lint, we take
advantage of the logic that's already in place for
handling of --only in Lint/UnneededDisable.
bbatsov added a commit that referenced this pull request Sep 12, 2015
Make --lint work with Lint/UnneededDisable
@bbatsov bbatsov merged commit 2093a57 into rubocop:master Sep 12, 2015
@bbatsov
Copy link
Collaborator

bbatsov commented Sep 12, 2015

👍

@jonas054 jonas054 deleted the fix_lint_option branch September 12, 2015 16:15
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