summaryrefslogtreecommitdiffstats
path: root/.rubocop_todo.yml
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2021-03-25 01:08:38 +0000
committerGo MAEDA <maeda@farend.jp>2021-03-25 01:08:38 +0000
commit63ef0c9eb782bf79891d65225e86bcb02283e358 (patch)
tree9729f08a146afb4695f75354bb803c29e2ada2e1 /.rubocop_todo.yml
parentd148eee1d537957f4d855ae340444c8aca11dc13 (diff)
downloadredmine-63ef0c9eb782bf79891d65225e86bcb02283e358.tar.gz
redmine-63ef0c9eb782bf79891d65225e86bcb02283e358.zip
Update RuboCop to 1.12.0 (#32530).
git-svn-id: http://svn.redmine.org/redmine/trunk@20839 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to '.rubocop_todo.yml')
-rw-r--r--.rubocop_todo.yml15
1 files changed, 13 insertions, 2 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 02798260f..8eb33fc26 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.11.0.
+# using RuboCop version 1.12.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
@@ -368,7 +368,7 @@ Lint/SendWithMixinArgument:
Lint/ShadowingOuterLocalVariable:
Enabled: false
-# Configuration parameters: AllowComments.
+# Configuration parameters: AllowComments, AllowNil.
Lint/SuppressedException:
Exclude:
- 'app/controllers/activities_controller.rb'
@@ -1150,6 +1150,7 @@ Style/DocumentDynamicEvalDefinition:
Exclude:
- 'app/helpers/attachments_helper.rb'
+# Configuration parameters: AllowedConstants.
Style/Documentation:
Enabled: false
@@ -1541,6 +1542,11 @@ Style/RedundantAssignment:
- 'lib/redmine/wiki_formatting/markdown/formatter.rb'
# Cop supports --auto-correct.
+Style/RedundantBegin:
+ Exclude:
+ - 'app/models/member.rb'
+
+# Cop supports --auto-correct.
Style/RedundantCondition:
Exclude:
- 'app/controllers/messages_controller.rb'
@@ -1720,6 +1726,11 @@ Style/StderrPuts:
- 'config/initializers/10-patches.rb'
# Cop supports --auto-correct.
+Style/StringChars:
+ Exclude:
+ - 'app/models/user.rb'
+
+# Cop supports --auto-correct.
Style/StringConcatenation:
Enabled: false