Преглед на файлове

rubocop: disable Style/TrailingCommaInArrayLiteral

git-svn-id: http://svn.redmine.org/redmine/trunk@18689 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/4.1.0
Toshi MARUYAMA преди 4 години
родител
ревизия
230abc1cef
променени са 2 файла, в които са добавени 3 реда и са изтрити 16 реда
  1. 3
    0
      .rubocop.yml
  2. 0
    16
      .rubocop_todo.yml

+ 3
- 0
.rubocop.yml Целия файл

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

Style/TrailingCommaInArrayLiteral:
Enabled: false

+ 0
- 16
.rubocop_todo.yml Целия файл

@@ -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

Loading…
Отказ
Запис