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

Bad indentation check #1000

Closed
krainboltgreene opened this issue Apr 13, 2014 · 1 comment
Closed

Bad indentation check #1000

krainboltgreene opened this issue Apr 13, 2014 · 1 comment
Assignees

Comments

@krainboltgreene
Copy link

This:

  private def label(namespace, key)
    [namespace, key].compact.map(&:to_s).join(".")
  end

triggers:

lib/scrawl.rb:35:5: C: Use 2 (not -6) spaces for indentation.
    case value
    ^^^^^^
@jonas054
Copy link
Collaborator

I think I see what the probem is. I'll fix it.

@jonas054 jonas054 self-assigned this Apr 13, 2014
sfeldon pushed a commit to sfeldon/rubocop that referenced this issue Apr 16, 2014
…onWidth

Enforce an indentation style for Ruby >= 2.1 when "private def" etc
is used.
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

2 participants