]> source.dussan.org Git - redmine.git/commitdiff
code cleanup: rubocop: fix Layout/EndAlignment in lib/redmine/export/pdf/issues_pdf_h...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 17 Oct 2019 17:02:35 +0000 (17:02 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 17 Oct 2019 17:02:35 +0000 (17:02 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@18732 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml
lib/redmine/export/pdf/issues_pdf_helper.rb

index 4f14e3e9b6bcc47fcfb12e48019b395079efddde..f5d7148842af924d68c7a33cd9e0584266219600 100644 (file)
@@ -161,13 +161,6 @@ Layout/EmptyLinesAroundMethodBody:
 Layout/EmptyLinesAroundModuleBody:
   Enabled: false
 
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyleAlignWith, AutoCorrect, Severity.
-# SupportedStylesAlignWith: keyword, variable, start_of_line
-Layout/EndAlignment:
-  Exclude:
-    - 'lib/redmine/export/pdf/issues_pdf_helper.rb'
-
 # Cop supports --auto-correct.
 # Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
 Layout/ExtraSpacing:
index 41a9b0c196e716f172e6ec6af1101449381fca3b..b23954e2edf8957325e7b3ba42581e7528756be5 100644 (file)
@@ -343,7 +343,7 @@ module Redmine
               pdf.set_auto_page_break(true, bottom_margin)
               pdf.RDMwriteHTMLCell(0, 5, 10, '', issue.last_notes.to_s, [], "LRBT")
               pdf.set_auto_page_break(false)
-          end
+            end
           end
 
           if issues.size == Setting.issues_export_limit.to_i