mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
Update RuboCop to 1.8.1 (#32530).
git-svn-id: http://svn.redmine.org/redmine/trunk@20715 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
7ab2680548
commit
9b7bbfea5f
@ -1,6 +1,6 @@
|
|||||||
# This configuration was generated by
|
# This configuration was generated by
|
||||||
# `rubocop --auto-gen-config --exclude-limit 20 --no-offense-counts --no-auto-gen-timestamp`
|
# `rubocop --auto-gen-config --exclude-limit 20 --no-offense-counts --no-auto-gen-timestamp`
|
||||||
# using RuboCop version 1.5.2.
|
# using RuboCop version 1.8.1.
|
||||||
# The point is for the user to remove these configuration records
|
# The point is for the user to remove these configuration records
|
||||||
# one by one as the offenses are removed from the code base.
|
# one by one as the offenses are removed from the code base.
|
||||||
# Note that changes in the inspected code, or installation of new
|
# Note that changes in the inspected code, or installation of new
|
||||||
@ -260,6 +260,10 @@ Lint/AmbiguousRegexpLiteral:
|
|||||||
Lint/AssignmentInCondition:
|
Lint/AssignmentInCondition:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
|
Lint/BinaryOperatorWithIdenticalOperands:
|
||||||
|
Exclude:
|
||||||
|
- 'lib/redmine/helpers/calendar.rb'
|
||||||
|
|
||||||
# Cop supports --auto-correct.
|
# Cop supports --auto-correct.
|
||||||
Lint/DeprecatedClassMethods:
|
Lint/DeprecatedClassMethods:
|
||||||
Exclude:
|
Exclude:
|
||||||
@ -275,6 +279,7 @@ Lint/DeprecatedClassMethods:
|
|||||||
- 'test/unit/attachment_test.rb'
|
- 'test/unit/attachment_test.rb'
|
||||||
- 'test/unit/issue_import_test.rb'
|
- 'test/unit/issue_import_test.rb'
|
||||||
|
|
||||||
|
# Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches.
|
||||||
Lint/DuplicateBranch:
|
Lint/DuplicateBranch:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'app/helpers/queries_helper.rb'
|
- 'app/helpers/queries_helper.rb'
|
||||||
@ -445,7 +450,7 @@ Naming/RescuedExceptionsVariableName:
|
|||||||
- 'lib/redmine/scm/adapters/abstract_adapter.rb'
|
- 'lib/redmine/scm/adapters/abstract_adapter.rb'
|
||||||
- 'lib/redmine/scm/adapters/filesystem_adapter.rb'
|
- 'lib/redmine/scm/adapters/filesystem_adapter.rb'
|
||||||
|
|
||||||
# Configuration parameters: EnforcedStyle.
|
# Configuration parameters: EnforcedStyle, AllowedIdentifiers.
|
||||||
# SupportedStyles: snake_case, camelCase
|
# SupportedStyles: snake_case, camelCase
|
||||||
Naming/VariableName:
|
Naming/VariableName:
|
||||||
Exclude:
|
Exclude:
|
||||||
@ -1492,6 +1497,7 @@ Style/Proc:
|
|||||||
- 'test/unit/lib/redmine/menu_manager/menu_helper_test.rb'
|
- 'test/unit/lib/redmine/menu_manager/menu_helper_test.rb'
|
||||||
- 'test/unit/lib/redmine/menu_manager/menu_item_test.rb'
|
- 'test/unit/lib/redmine/menu_manager/menu_item_test.rb'
|
||||||
|
|
||||||
|
# Cop supports --auto-correct.
|
||||||
# Configuration parameters: Methods.
|
# Configuration parameters: Methods.
|
||||||
Style/RedundantArgument:
|
Style/RedundantArgument:
|
||||||
Exclude:
|
Exclude:
|
||||||
|
|||||||
2
Gemfile
2
Gemfile
@ -92,7 +92,7 @@ group :test do
|
|||||||
gem 'capybara', '~> 3.31.0'
|
gem 'capybara', '~> 3.31.0'
|
||||||
gem "selenium-webdriver"
|
gem "selenium-webdriver"
|
||||||
# RuboCop
|
# RuboCop
|
||||||
gem 'rubocop', '~> 1.5.2'
|
gem 'rubocop', '~> 1.8.1'
|
||||||
gem 'rubocop-performance', '~> 1.9.0'
|
gem 'rubocop-performance', '~> 1.9.0'
|
||||||
gem 'rubocop-rails', '~> 2.9.0'
|
gem 'rubocop-rails', '~> 2.9.0'
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user