mirror of
https://github.com/redmine/redmine.git
synced 2025-11-09 06:46:01 +01:00
Code cleanup: RuboCop: Layout/TrailingBlankLines
git-svn-id: http://svn.redmine.org/redmine/trunk@18367 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -519,18 +519,6 @@ Layout/SpaceInsideStringInterpolation:
|
|||||||
- 'test/functional/issues_controller_test.rb'
|
- 'test/functional/issues_controller_test.rb'
|
||||||
- 'test/integration/admin_test.rb'
|
- 'test/integration/admin_test.rb'
|
||||||
|
|
||||||
# Cop supports --auto-correct.
|
|
||||||
# Configuration parameters: EnforcedStyle.
|
|
||||||
# SupportedStyles: final_newline, final_blank_line
|
|
||||||
Layout/TrailingBlankLines:
|
|
||||||
Exclude:
|
|
||||||
- 'app/models/issue_priority_custom_field.rb'
|
|
||||||
- 'app/models/time_entry_custom_field.rb'
|
|
||||||
- 'app/models/user_custom_field.rb'
|
|
||||||
- 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
|
|
||||||
- 'test/integration/api_test/my_test.rb'
|
|
||||||
- 'test/unit/lib/redmine/hook_test.rb'
|
|
||||||
|
|
||||||
Lint/AmbiguousBlockAssociation:
|
Lint/AmbiguousBlockAssociation:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
|
|||||||
@@ -22,4 +22,3 @@ class IssuePriorityCustomField < CustomField
|
|||||||
:enumeration_issue_priorities
|
:enumeration_issue_priorities
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -22,4 +22,3 @@ class UserCustomField < CustomField
|
|||||||
:label_user_plural
|
:label_user_plural
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -1224,4 +1224,3 @@ class RedCloth3 < String
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -103,4 +103,3 @@ class Redmine::ApiTest::MyTest < Redmine::ApiTest::Base
|
|||||||
assert_kind_of Array, json['errors']
|
assert_kind_of Array, json['errors']
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -188,4 +188,3 @@ class Redmine::Hook::ManagerTest < ActionView::TestCase
|
|||||||
@view_hook_helper ||= TestHookHelperView.new(Rails.root.to_s + '/app/views')
|
@view_hook_helper ||= TestHookHelperView.new(Rails.root.to_s + '/app/views')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user