code cleanup: rubocop: fix Layout/CommentIndentation and Style/NestedTernaryOperator in app/helpers/versions_helper.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@18714 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2019-10-17 15:28:57 +00:00
parent d4a428f11e
commit a7b568ccff
2 changed files with 13 additions and 6 deletions

View File

@@ -91,7 +91,6 @@ Layout/ClosingParenthesisIndentation:
# Cop supports --auto-correct.
Layout/CommentIndentation:
Exclude:
- 'app/helpers/versions_helper.rb'
- 'app/models/mailer.rb'
- 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
- 'test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb'
@@ -1174,7 +1173,6 @@ Style/NestedParenthesizedCalls:
Style/NestedTernaryOperator:
Exclude:
- 'app/helpers/queries_helper.rb'
- 'app/helpers/versions_helper.rb'
- 'app/models/issue_relation.rb'
- 'app/models/journal.rb'