From 8bc45bda513773f8ba737eb83e5c441d649219d7 Mon Sep 17 00:00:00 2001 From: Alex Kalderimis Date: Thu, 23 May 2019 13:58:00 -0400 Subject: Enable SymbolProc rubocop rule --- .rubocop.yml | 6 ++++++ .rubocop_todo.yml | 7 ------- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index e5fe527e611..461c9eaad33 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -211,3 +211,9 @@ ActiveRecordAssociationReload: Exclude: - 'spec/**/*' - 'ee/spec/**/*' + +# Cop supports --auto-correct. +# Configuration parameters: IgnoredMethods. +# IgnoredMethods: respond_to, define_method +Style/SymbolProc: + Enabled: true diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 63b1685feda..06ea282d536 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -829,13 +829,6 @@ Style/StderrPuts: Style/StringLiteralsInInterpolation: Enabled: false -# Offense count: 187 -# Cop supports --auto-correct. -# Configuration parameters: IgnoredMethods. -# IgnoredMethods: respond_to, define_method -Style/SymbolProc: - Enabled: false - # Offense count: 7 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, AllowSafeAssignment. -- cgit v1.2.1