summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2021-06-06 03:39:54 +0000
committerGo MAEDA <maeda@farend.jp>2021-06-06 03:39:54 +0000
commit29f86644fe575cfab387469779b05d977a2aa678 (patch)
tree5f7620adcf02a50f4ba63282b37eeacb461dae6b
parent5515295ee2d2798986d5429c6b6b17658e40b5d0 (diff)
downloadredmine-29f86644fe575cfab387469779b05d977a2aa678.tar.gz
redmine-29f86644fe575cfab387469779b05d977a2aa678.zip
Update RuboCop to 1.16 (#35136).
git-svn-id: http://svn.redmine.org/redmine/trunk@21026 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--.rubocop_todo.yml11
-rw-r--r--Gemfile2
2 files changed, 11 insertions, 2 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 205a33a45..81394e3ef 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.15.0.
+# using RuboCop version 1.16.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
@@ -1271,6 +1271,7 @@ Style/HashAsLastArrayItem:
- 'app/models/board.rb'
# Cop supports --auto-correct.
+# Configuration parameters: AllowedReceivers.
Style/HashEachMethods:
Exclude:
- 'app/controllers/application_controller.rb'
@@ -1535,6 +1536,14 @@ Style/Proc:
- 'test/unit/lib/redmine/menu_manager/menu_item_test.rb'
# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle.
+# SupportedStyles: same_as_string_literals, single_quotes, double_quotes
+Style/QuotedSymbols:
+ Exclude:
+ - 'test/functional/timelog_controller_test.rb'
+ - 'test/unit/lib/redmine/i18n_test.rb'
+
+# Cop supports --auto-correct.
# Configuration parameters: Methods.
Style/RedundantArgument:
Exclude:
diff --git a/Gemfile b/Gemfile
index d84374b57..3d957f4ba 100644
--- a/Gemfile
+++ b/Gemfile
@@ -92,7 +92,7 @@ group :test do
gem "selenium-webdriver"
gem 'webdrivers', '~> 4.4', require: false
# RuboCop
- gem 'rubocop', '~> 1.15.0'
+ gem 'rubocop', '~> 1.16.0'
gem 'rubocop-performance', '~> 1.11.0'
gem 'rubocop-rails', '~> 2.10.1'
end