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

Entire file is indented, but RuboCop doesn't complain #2001

Closed
bquorning opened this issue Jun 30, 2015 · 2 comments
Closed

Entire file is indented, but RuboCop doesn't complain #2001

bquorning opened this issue Jun 30, 2015 · 2 comments
Assignees

Comments

@bquorning
Copy link
Contributor

  # encoding: utf-8
  class A
  end

RuboCop doesn't discover that all lines should be unindented by 2 spaces.

@bbatsov
Copy link
Collaborator

bbatsov commented Jun 30, 2015

That's a nice catch. @jonas054, please have a look at this.

@jonas054 jonas054 self-assigned this Jun 30, 2015
@jonas054
Copy link
Collaborator

OK!

bbatsov added a commit that referenced this issue Jul 4, 2015
[Fix #2001] New cop Style/FirstIndentation
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

No branches or pull requests

3 participants