Skip to content

Commit

Permalink
Merge pull request #78 from koic/suppress_no_department_geven_warning
Browse files Browse the repository at this point in the history
Suppress `Warning: no department given for IndentationWidth`
  • Loading branch information
koic committed Oct 10, 2019
2 parents 34ea6df + 87ae757 commit 258efa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rubocop/cop/performance/redundant_merge.rb
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def leading_spaces(node)
end

def indent_width
@config.for_cop('IndentationWidth')['Width'] || 2
@config.for_cop('Layout/IndentationWidth')['Width'] || 2
end

def max_key_value_pairs
Expand Down

0 comments on commit 258efa3

Please sign in to comment.