1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-31 19:47:14 +00:00

Fix RuboCop offense Layout/EmptyLineBetweenDefs (#39887).

git-svn-id: https://svn.redmine.org/redmine/trunk@22939 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2024-07-19 08:47:05 +00:00
parent 0247ebb394
commit 0ddcb9afff
2 changed files with 1 additions and 6 deletions

View File

@ -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:

View File

@ -8,6 +8,7 @@ module ActiveRecord
undef open
end
end
class Relation ; undef open ; end
end