From: Go MAEDA Date: Fri, 24 Dec 2021 05:42:31 +0000 (+0000) Subject: Update RuboCop to 1.24 (#35136). X-Git-Tag: 5.0.0~143 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3b263ce0050b62ad9102fe23e8add17a049b9adb;p=redmine.git Update RuboCop to 1.24 (#35136). git-svn-id: http://svn.redmine.org/redmine/trunk@21323 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index a7d7f0896..c7ee29d79 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.23.0. +# using RuboCop version 1.24.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 @@ -1511,7 +1511,7 @@ Style/NumericLiteralPrefix: - 'test/unit/user_test.rb' # Cop supports --auto-correct. -# Configuration parameters: Strict. +# Configuration parameters: Strict, AllowedNumbers. Style/NumericLiterals: MinDigits: 9 diff --git a/Gemfile b/Gemfile index fece778ce..a0ac345bc 100644 --- a/Gemfile +++ b/Gemfile @@ -98,7 +98,7 @@ group :test do gem "selenium-webdriver", "~> 3.142.7" gem 'webdrivers', '4.6.1', require: false # RuboCop - gem 'rubocop', '~> 1.23.0' + gem 'rubocop', '~> 1.24.0' gem 'rubocop-performance', '~> 1.12.0' gem 'rubocop-rails', '~> 2.12.4' end