diff options
author | Alex Kalderimis <alex.kalderimis@gmail.com> | 2019-05-23 13:58:00 -0400 |
---|---|---|
committer | Alex Kalderimis <alex.kalderimis@gmail.com> | 2019-05-24 15:13:03 -0400 |
commit | 8bc45bda513773f8ba737eb83e5c441d649219d7 (patch) | |
tree | 336627c5fa8efbfd0c052fa362685fcc3eea4b80 | |
parent | 44447da60506726e6e57252290dda00576752313 (diff) | |
download | gitlab-ce-8bc45bda513773f8ba737eb83e5c441d649219d7.tar.gz |
Enable SymbolProc rubocop rule
-rw-r--r-- | .rubocop.yml | 6 | ||||
-rw-r--r-- | .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. |