diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 5f4cd446d..2a40ece79 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -28,12 +28,6 @@ Layout/EmptyLineAfterGuardClause: - 'lib/redmine/string_array_diff/diffable.rb' - 'lib/redmine/wiki_formatting/textile/redcloth3.rb' -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: EmptyLineBetweenMethodDefs, EmptyLineBetweenClassDefs, EmptyLineBetweenModuleDefs, DefLikeMacros, AllowAdjacentOneLineDefs, NumberOfEmptyLines. -Layout/EmptyLineBetweenDefs: - Exclude: - - 'config/initializers/10-patches.rb' - # This cop supports safe autocorrection (--autocorrect). Layout/EmptyLines: Exclude: diff --git a/config/initializers/10-patches.rb b/config/initializers/10-patches.rb index df8afc291..716330641 100644 --- a/config/initializers/10-patches.rb +++ b/config/initializers/10-patches.rb @@ -8,6 +8,7 @@ module ActiveRecord undef open end end + class Relation ; undef open ; end end