Skip to content

Commit

Permalink
Enable Lint/ShadowingOuterLocalVariable cop to avoid newly adding t…
Browse files Browse the repository at this point in the history
…he warning

Since we've addressed the warning "warning: shadowing outer local
variable" frequently.

2c32518
df76eaa
b86c2a6
b658743
b18f2fe
  • Loading branch information
kamipo committed Dec 27, 2018
1 parent 75d0a46 commit 6d95901
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@ Style/UnneededPercentQ:
Lint/RequireParentheses:
Enabled: true

Lint/ShadowingOuterLocalVariable:
Enabled: true

Lint/StringConversionInInterpolation:
Enabled: true

Expand Down

0 comments on commit 6d95901

Please sign in to comment.