mirror of
https://github.com/redmine/redmine.git
synced 2026-07-08 10:42:14 +02: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:
@@ -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:
|
||||
|
||||
@@ -8,6 +8,7 @@ module ActiveRecord
|
||||
undef open
|
||||
end
|
||||
end
|
||||
|
||||
class Relation ; undef open ; end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user