From 6d959017bd05c775d35045401292828c92b7dcc7 Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Fri, 28 Dec 2018 07:33:05 +0900 Subject: Enable `Lint/ShadowingOuterLocalVariable` cop to avoid newly adding the warning Since we've addressed the warning "warning: shadowing outer local variable" frequently. 2c325182b84ea4c75855c777b25de0f15fd218e5 df76eaa4f1619dfbc024235f444c602eb6d6775a b86c2a6767b939c420687db7df078625c702dc7a b658743ac2a69d196d283e780816f5ad4a305753 b18f2fe96debdcd0744f99101d1a1e0d42c41eaa --- .rubocop.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to '.rubocop.yml') diff --git a/.rubocop.yml b/.rubocop.yml index ce0b95ddd4..2d4ed6af54 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -180,6 +180,9 @@ Style/UnneededPercentQ: Lint/RequireParentheses: Enabled: true +Lint/ShadowingOuterLocalVariable: + Enabled: true + Lint/StringConversionInInterpolation: Enabled: true -- cgit v1.2.3