]> source.dussan.org Git - redmine.git/commitdiff
Update RuboCop to 1.42 (#36919).
authorGo MAEDA <maeda@farend.jp>
Mon, 2 Jan 2023 06:32:18 +0000 (06:32 +0000)
committerGo MAEDA <maeda@farend.jp>
Mon, 2 Jan 2023 06:32:18 +0000 (06:32 +0000)
git-svn-id: https://svn.redmine.org/redmine/trunk@22021 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop.yml
.rubocop_todo.yml
Gemfile

index 89cdc8d7368d16651d5bcea34e9c1792f0d1631b..d411d2a9a0ea8c00d668bc7eee3cf7daa77e50d9 100644 (file)
@@ -254,3 +254,6 @@ Style/TrailingCommaInArrayLiteral:
 
 Style/TrailingCommaInHashLiteral:
   Enabled: false
+
+Style/YodaExpression:
+  Enabled: false
index 06504d77bfd9dae6f9e1eb34f158c3a83c6f2b6d..6e7c678bf022386ae996404dd21b5101c7e5a980 100644 (file)
@@ -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.41.1.
+# using RuboCop version 1.42.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
diff --git a/Gemfile b/Gemfile
index 372e57d6517ad23aa35a103db14357485e968216..949f401a14dc09e0901eb2c2446b0cc2325d49ec 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -103,7 +103,7 @@ group :test do
   gem "selenium-webdriver", "~> 3.142.7"
   gem 'webdrivers', '4.6.1', require: false
   # RuboCop
-  gem 'rubocop', '~> 1.41.1'
+  gem 'rubocop', '~> 1.42.0'
   gem 'rubocop-performance', '~> 1.15.0'
   gem 'rubocop-rails', '~> 2.17.2'
 end