rubocop: disable Style/TrailingCommaInArrayLiteral

git-svn-id: http://svn.redmine.org/redmine/trunk@18689 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2019-10-16 13:00:29 +00:00
parent 7870dd73a9
commit 230abc1cef
2 changed files with 3 additions and 16 deletions

View File

@@ -92,3 +92,6 @@ Style/IdenticalConditionalBranches:
Exclude:
- 'config/initializers/10-patches.rb'
- 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
Style/TrailingCommaInArrayLiteral:
Enabled: false

View File

@@ -1437,22 +1437,6 @@ Style/SymbolProc:
Style/TernaryParentheses:
Enabled: false
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleForMultiline.
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
Style/TrailingCommaInArrayLiteral:
Exclude:
- 'app/models/time_entry_query.rb'
- 'test/functional/repositories_git_controller_test.rb'
- 'test/functional/repositories_mercurial_controller_test.rb'
- 'test/helpers/application_helper_test.rb'
- 'test/unit/attachment_test.rb'
- 'test/unit/custom_field_test.rb'
- 'test/unit/lib/redmine/menu_manager/menu_helper_test.rb'
- 'test/unit/lib/redmine/scm/adapters/git_adapter_test.rb'
- 'test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb'
- 'test/unit/repository_git_test.rb'
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleForMultiline.
# SupportedStylesForMultiline: comma, consistent_comma, no_comma