# This configuration was generated by
# `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
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
Lint/AssignmentInCondition:
Enabled: false
+Lint/BinaryOperatorWithIdenticalOperands:
+ Exclude:
+ - 'lib/redmine/helpers/calendar.rb'
+
# Cop supports --auto-correct.
Lint/DeprecatedClassMethods:
Exclude:
- 'test/unit/attachment_test.rb'
- 'test/unit/issue_import_test.rb'
+# Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches.
Lint/DuplicateBranch:
Exclude:
- 'app/helpers/queries_helper.rb'
- 'lib/redmine/scm/adapters/abstract_adapter.rb'
- 'lib/redmine/scm/adapters/filesystem_adapter.rb'
-# Configuration parameters: EnforcedStyle.
+# Configuration parameters: EnforcedStyle, AllowedIdentifiers.
# SupportedStyles: snake_case, camelCase
Naming/VariableName:
Exclude:
- 'test/unit/lib/redmine/menu_manager/menu_helper_test.rb'
- 'test/unit/lib/redmine/menu_manager/menu_item_test.rb'
+# Cop supports --auto-correct.
# Configuration parameters: Methods.
Style/RedundantArgument:
Exclude:
gem 'capybara', '~> 3.31.0'
gem "selenium-webdriver"
# RuboCop
- gem 'rubocop', '~> 1.5.2'
+ gem 'rubocop', '~> 1.8.1'
gem 'rubocop-performance', '~> 1.9.0'
gem 'rubocop-rails', '~> 2.9.0'
end