# This configuration was generated by
# `rubocop --auto-gen-config --no-offense-counts --no-auto-gen-timestamp`
-# using RuboCop version 0.72.0.
+# using RuboCop version 0.74.0.
# 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
Enabled: false
# Cop supports --auto-correct.
+# Configuration parameters: AllowDoxygenCommentStyle.
Layout/LeadingCommentSpace:
Exclude:
- 'app/controllers/repositories_controller.rb'
Exclude:
- 'app/models/user.rb'
+# Cop supports --auto-correct.
+Lint/LiteralInInterpolation:
+ Exclude:
+ - 'test/unit/mail_handler_test.rb'
+
Lint/Loop:
Exclude:
- 'lib/redmine/helpers/gantt.rb'
- 'app/models/changeset.rb'
- 'app/models/watcher.rb'
- 'lib/redmine/themes.rb'
+ - 'test/functional/repositories_git_controller_test.rb'
Lint/UselessAssignment:
Enabled: false
- 'test/unit/user_test.rb'
# Cop supports --auto-correct.
-# Configuration parameters: MinDigits, Strict.
+# Configuration parameters: Strict.
Style/NumericLiterals:
- Exclude:
- - 'db/schema.rb'
- - 'lib/redmine/database.rb'
- - 'test/functional/issues_controller_test.rb'
- - 'test/functional/messages_controller_test.rb'
- - 'test/helpers/application_helper_test.rb'
- - 'test/unit/lib/redmine/i18n_test.rb'
- - 'test/unit/lib/redmine/plugin_test.rb'
- - 'test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb'
- - 'test/unit/mail_handler_test.rb'
- - 'test/unit/search_test.rb'
- - 'test/unit/time_entry_test.rb'
+ MinDigits: 9
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, EnforcedStyle, IgnoredMethods.
gem "capybara", (RUBY_VERSION < "2.4" ? "~> 3.15.1" : "~> 3.25.0")
gem "selenium-webdriver"
# RuboCop
- gem 'rubocop', '~> 0.72.0'
- gem 'rubocop-rails', '~> 2.1.0'
+ gem 'rubocop', '~> 0.74.0'
+ gem 'rubocop-rails', '~> 2.3.0'
end
local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local")