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

Layout/MultilineOperationIndentation not enforcing aligned #8086

Open
chrishough opened this issue Jun 2, 2020 · 1 comment
Open

Layout/MultilineOperationIndentation not enforcing aligned #8086

chrishough opened this issue Jun 2, 2020 · 1 comment

Comments

@chrishough
Copy link

Expected behavior

No matter how I change this setting, it always adjusts to indented.

Layout/MultilineOperationIndentation:
  Enabled: true
  EnforcedStyle: aligned
  IndentationWidth: 0

Actual behavior

Always indents with 2 spaces.

Steps to reproduce the problem

Adjust setting. Try running rubocop or rubocop -a

RuboCop version

Fetching rubocop 0.85.0 (was 0.82.0)
Installing rubocop 0.85.0 (was 0.82.0)
Fetching rubocop-rspec 1.39.0 (was 1.38.1)
Installing rubocop-rspec 1.39.0 (was 1.38.1)
$ [bundle exec] rubocop -V
0.85.0 (using Parser 2.7.1.3, rubocop-ast 0.0.3, running on ruby 2.7.1 x86_64-darwin19)
@jeremymoritz
Copy link

I'm getting this same errant behavior in the currently latest Rubocop version 0.92.0

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