We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When Layout/CaseIndentation is detected, its name is not printed in description. Other rules have it in their description.
Layout/CaseIndentation
app/helpers/test_helper.rb:25:7: C: Layout/CaseIndentation: Indent when as deep as case. when :small then 16 ^^^^
app/helpers/test_helper.rb:25:7: C: Indent when as deep as case. when :small then 16 ^^^^
w_h = case size when :small then 16 when :big then 32 when :huge then 64 else 24 end
Run
rubocop --only Layout/CaseIndentation
$ rubocop -V 0.91.0 (using Parser 2.7.1.4, rubocop-ast 0.4.0, running on ruby 2.7.1 x86_64-darwin18)
The text was updated successfully, but these errors were encountered:
[Fix rubocop#8764] Fix Layout/CaseIndentation to properly output an…
7a10d42
…notated error messages.
Merge pull request #8766 from dvandersluis/fix-layout-case-indentatio…
e18f297
…n-message [Fix #8764] Fix `Layout/CaseIndentation` to properly output annotated error messages
Successfully merging a pull request may close this issue.
When
Layout/CaseIndentation
is detected, its name is not printed in description. Other rules have it in their description.Expected behavior
Actual behavior
Steps to reproduce the problem
Run
RuboCop version
The text was updated successfully, but these errors were encountered: