rubocop: use Layout/TrailingWhitespace AllowInHeredoc true

git-svn-id: http://svn.redmine.org/redmine/trunk@18342 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2019-08-03 07:50:03 +00:00
parent 20570cd408
commit 3d357bcd84
2 changed files with 3 additions and 6 deletions

View File

@@ -24,6 +24,9 @@ require:
Layout/SpaceBeforeBlockBraces: Layout/SpaceBeforeBlockBraces:
Enabled: false Enabled: false
Layout/TrailingWhitespace:
AllowInHeredoc: true
Metrics: Metrics:
Enabled: false Enabled: false

View File

@@ -542,12 +542,6 @@ Layout/TrailingBlankLines:
- 'test/integration/api_test/my_test.rb' - 'test/integration/api_test/my_test.rb'
- 'test/unit/lib/redmine/hook_test.rb' - 'test/unit/lib/redmine/hook_test.rb'
# Cop supports --auto-correct.
# Configuration parameters: AllowInHeredoc.
Layout/TrailingWhitespace:
Exclude:
- 'test/unit/lib/redmine/unified_diff_test.rb'
Lint/AmbiguousBlockAssociation: Lint/AmbiguousBlockAssociation:
Enabled: false Enabled: false