]> source.dussan.org Git - redmine.git/commitdiff
code cleanup: rubocop: fix Layout/AccessModifierIndentation and Layout/EmptyLinesArou...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 15 Oct 2019 17:25:31 +0000 (17:25 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 15 Oct 2019 17:25:31 +0000 (17:25 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@18685 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml
lib/redmine/wiki_formatting/textile/redcloth3.rb

index 28f2213e30a58e39e7e1c7d96de74ca3ca0bad99..4290b9e065b4e26fb05dc4916f03975acf4729be 100644 (file)
@@ -26,7 +26,6 @@ Layout/AccessModifierIndentation:
     - 'app/models/setting.rb'
     - 'app/models/tracker.rb'
     - 'lib/redmine/wiki_formatting/textile/formatter.rb'
-    - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
 
 # Cop supports --auto-correct.
 # Configuration parameters: EnforcedStyle, IndentationWidth.
@@ -148,7 +147,6 @@ Layout/EmptyLinesAroundAccessModifier:
     - 'app/models/tracker.rb'
     - 'config/initializers/10-patches.rb'
     - 'lib/redmine/syntax_highlighting.rb'
-    - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
 
 # Cop supports --auto-correct.
 # Configuration parameters: EnforcedStyle.
index 52ade22905213e86b9ef4070d7ed2fce55bbe421..38f98282aad6c26f896312201d2aa59ab506bbfc 100644 (file)
@@ -319,9 +319,8 @@ class RedCloth3 < String
 
     end
 
-    #######
-    private
-    #######
+  private
+
     #
     # Mapping of 8-bit ASCII codes to HTML numerical entity equivalents.
     # (from PyTextile)