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:
parent
0247ebb394
commit
0ddcb9afff
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user