# 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
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:
- 'test/unit/lib/redmine/wiki_formatting/macros_test.rb'
# Cop supports --auto-correct.
+# Configuration parameters: OnlySumOrWithInitialValue.
Performance/Sum:
Exclude:
- 'app/helpers/issues_helper.rb'
- '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
- 'test/unit/query_test.rb'
- 'test/unit/role_test.rb'
-# Configuration parameters: Include.
+# Configuration parameters: IgnoreScopes, Include.
# Include: app/models/**/*.rb
Rails/InverseOf:
Exclude:
# 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:
# 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'