diff --git a/.rubocop.yml b/.rubocop.yml index 40783be33..79cf9cf89 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -270,6 +270,9 @@ Style/PerlBackrefs: Style/RaiseArgs: Enabled: false +Style/RedundantCondition: + Enabled: false + Style/RedundantConstantBase: Exclude: - 'config/environments/production.rb' diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index fbb4e1416..acd05c841 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config --exclude-limit 20 --no-offense-counts --no-auto-gen-timestamp` -# using RuboCop version 1.72.2. +# using RuboCop version 1.73.2. # 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 @@ -310,7 +310,7 @@ Naming/RescuedExceptionsVariableName: - 'lib/redmine/scm/adapters/abstract_adapter.rb' - 'lib/redmine/scm/adapters/filesystem_adapter.rb' -# Configuration parameters: EnforcedStyle, AllowedIdentifiers, AllowedPatterns. +# Configuration parameters: EnforcedStyle, AllowedIdentifiers, AllowedPatterns, ForbiddenIdentifiers, ForbiddenPatterns. # SupportedStyles: snake_case, camelCase Naming/VariableName: Exclude: diff --git a/Gemfile b/Gemfile index 3deb4f891..c27a2c959 100644 --- a/Gemfile +++ b/Gemfile @@ -111,7 +111,7 @@ group :test do gem "capybara", ">= 3.39" gem 'selenium-webdriver', '>= 4.11.0' # RuboCop - gem 'rubocop', '~> 1.72.2', require: false + gem 'rubocop', '~> 1.73.2', require: false gem 'rubocop-performance', '~> 1.23.0', require: false gem 'rubocop-rails', '~> 2.29.0', require: false gem 'bundle-audit', require: false