]> source.dussan.org Git - redmine.git/commitdiff
Regenerate .rubocop_todo.yml (#35136).
authorGo MAEDA <maeda@farend.jp>
Tue, 18 Jan 2022 15:39:09 +0000 (15:39 +0000)
committerGo MAEDA <maeda@farend.jp>
Tue, 18 Jan 2022 15:39:09 +0000 (15:39 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@21369 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml

index c7ee29d7974d071a86585172afae7b43a56ce48d..3d2723c697af93dc2645d0bb55037faa979169ac 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.24.0.
+# using RuboCop version 1.24.1.
 # 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
@@ -294,21 +294,6 @@ Lint/BinaryOperatorWithIdenticalOperands:
   Exclude:
     - 'lib/redmine/helpers/calendar.rb'
 
-# Cop supports --auto-correct.
-Lint/DeprecatedClassMethods:
-  Exclude:
-    - 'Gemfile'
-    - 'app/models/import.rb'
-    - 'config/application.rb'
-    - 'config/boot.rb'
-    - 'config/routes.rb'
-    - 'lib/redmine/scm/adapters/abstract_adapter.rb'
-    - 'lib/redmine/thumbnail.rb'
-    - 'lib/redmine/utils.rb'
-    - 'test/functional/issues_controller_test.rb'
-    - 'test/unit/attachment_test.rb'
-    - 'test/unit/issue_import_test.rb'
-
 # Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches.
 Lint/DuplicateBranch:
   Exclude:
@@ -582,6 +567,7 @@ Performance/StringInclude:
     - 'test/unit/lib/redmine/wiki_formatting/macros_test.rb'
 
 # Cop supports --auto-correct.
+# Configuration parameters: OnlySumOrWithInitialValue.
 Performance/Sum:
   Exclude:
     - 'app/helpers/issues_helper.rb'
@@ -705,25 +691,6 @@ Rails/Exit:
     - 'config/initializers/10-patches.rb'
     - 'config/routes.rb'
 
-# Configuration parameters: EnforcedStyle.
-# SupportedStyles: slashes, arguments
-Rails/FilePath:
-  Exclude:
-    - 'app/models/attachment.rb'
-    - 'app/models/import.rb'
-    - 'app/models/setting.rb'
-    - 'config/environment.rb'
-    - 'config/initializers/10-patches.rb'
-    - 'lib/redmine/configuration.rb'
-    - 'lib/redmine/twofa.rb'
-    - 'lib/redmine/version.rb'
-    - 'test/application_system_test_case.rb'
-    - 'test/functional/custom_fields_controller_test.rb'
-    - 'test/functional/settings_controller_test.rb'
-    - 'test/test_helper.rb'
-    - 'test/unit/lib/redmine/i18n_test.rb'
-    - 'test/unit/lib/redmine/plugin_test.rb'
-
 # Cop supports --auto-correct.
 # Configuration parameters: Include, IgnoredMethods.
 # Include: app/models/**/*.rb
@@ -808,7 +775,7 @@ Rails/I18nLocaleAssignment:
     - 'test/unit/query_test.rb'
     - 'test/unit/role_test.rb'
 
-# Configuration parameters: Include.
+# Configuration parameters: IgnoreScopes, Include.
 # Include: app/models/**/*.rb
 Rails/InverseOf:
   Exclude:
@@ -905,22 +872,10 @@ Rails/Present:
 # Include: app/models/**/*.rb
 Rails/ReadWriteAttribute:
   Exclude:
-    - 'app/models/attachment.rb'
     - 'app/models/auth_source_ldap.rb'
-    - 'app/models/changeset.rb'
-    - 'app/models/custom_field.rb'
-    - 'app/models/email_address.rb'
-    - 'app/models/issue.rb'
-    - 'app/models/journal_detail.rb'
-    - 'app/models/message.rb'
-    - 'app/models/query.rb'
     - 'app/models/repository.rb'
     - 'app/models/repository/git.rb'
-    - 'app/models/role.rb'
-    - 'app/models/setting.rb'
-    - 'app/models/time_entry.rb'
     - 'app/models/user_preference.rb'
-    - 'app/models/wiki_page.rb'
 
 # Cop supports --auto-correct.
 Rails/RedundantForeignKey:
@@ -1697,7 +1652,6 @@ Style/RedundantSelfAssignmentBranch:
 # Cop supports --auto-correct.
 Style/RedundantSort:
   Exclude:
-    - 'app/models/import.rb'
     - 'lib/redmine/scm/adapters/abstract_adapter.rb'
     - 'test/functional/issues_controller_test.rb'
     - 'test/unit/member_test.rb'