Browse Source

cleanup: rubocop: fix Layout/IndentAssignment in app/helpers/application_helper.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@18911 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/4.1.0
Toshi MARUYAMA 4 years ago
parent
commit
f77dfab621
2 changed files with 2 additions and 3 deletions
  1. 0
    1
      .rubocop_todo.yml
  2. 2
    2
      app/helpers/application_helper.rb

+ 0
- 1
.rubocop_todo.yml View File

@@ -121,7 +121,6 @@ Layout/ExtraSpacing:
# Configuration parameters: IndentationWidth.
Layout/IndentAssignment:
Exclude:
- 'app/helpers/application_helper.rb'
- 'test/unit/lib/redmine/helpers/gantt_test.rb'

# Cop supports --auto-correct.

+ 2
- 2
app/helpers/application_helper.rb View File

@@ -1162,7 +1162,7 @@ module ApplicationHelper
end

LINKS_RE =
%r{
%r{
<a( [^>]+?)?>(?<tag_content>.*?)</a>|
(?<leading>[\s\(,\-\[\>]|^)
(?<esc>!)?
@@ -1199,7 +1199,7 @@ module ApplicationHelper
\]|
<|
$)
}x
}x
HEADING_RE = /(<h(\d)( [^>]+)?>(.+?)<\/h(\d)>)/i unless const_defined?(:HEADING_RE)

def parse_sections(text, project, obj, attr, only_path, options)

Loading…
Cancel
Save