summaryrefslogtreecommitdiffstats
path: root/.rubocop_todo.yml
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2024-08-25 08:44:33 +0000
committerGo MAEDA <maeda@farend.jp>2024-08-25 08:44:33 +0000
commitfdd90bab2b02d6fdd08a860808560eb2cf382af6 (patch)
treebcf26941dbc0fc8a0a6542f35d9fd5a92e1b5aa1 /.rubocop_todo.yml
parentfd83e97b135ee8affedf57f18952bce30271fc2e (diff)
downloadredmine-fdd90bab2b02d6fdd08a860808560eb2cf382af6.tar.gz
redmine-fdd90bab2b02d6fdd08a860808560eb2cf382af6.zip
Fix RuboCop offenses Style/NegatedIf and Style/NegatedWhile (#39887, #7770).
git-svn-id: https://svn.redmine.org/redmine/trunk@22987 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to '.rubocop_todo.yml')
-rw-r--r--.rubocop_todo.yml22
1 files changed, 0 insertions, 22 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index b0e2d58c7..5c196e8b7 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -1012,28 +1012,6 @@ Style/MutableConstant:
Enabled: false
# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: EnforcedStyle.
-# SupportedStyles: both, prefix, postfix
-Style/NegatedIf:
- Exclude:
- - 'app/controllers/application_controller.rb'
- - 'app/controllers/messages_controller.rb'
- - 'app/helpers/repositories_helper.rb'
- - 'app/models/attachment.rb'
- - 'app/models/auth_source_ldap.rb'
- - 'app/models/custom_field.rb'
- - 'app/models/project.rb'
- - 'app/models/repository/cvs.rb'
- - 'lib/redmine/codeset_util.rb'
- - 'lib/redmine/string_array_diff/diff.rb'
- - 'lib/redmine/thumbnail.rb'
-
-# This cop supports safe autocorrection (--autocorrect).
-Style/NegatedWhile:
- Exclude:
- - 'app/helpers/application_helper.rb'
-
-# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowedMethods.
# AllowedMethods: be, be_a, be_an, be_between, be_falsey, be_kind_of, be_instance_of, be_truthy, be_within, eq, eql, end_with, include, match, raise_error, respond_to, start_with
Style/NestedParenthesizedCalls: