# This configuration was generated by
# `rubocop --auto-gen-config --exclude-limit 20 --no-offense-counts --no-auto-gen-timestamp`
-# using RuboCop version 1.57.0.
+# using RuboCop version 1.57.2.
# 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
# SupportedStyles: consistent, consistent_relative_to_receiver, special_for_inner_method_call, special_for_inner_method_call_in_parentheses
Layout/FirstArgumentIndentation:
Exclude:
- - 'test/application_system_test_case.rb'
- 'test/unit/auth_source_ldap_test.rb'
- 'test/unit/lib/redmine/helpers/gantt_test.rb'
- 'test/unit/lib/redmine/scm/adapters/filesystem_adapter_test.rb'
Lint/AmbiguousOperator:
Exclude:
- 'app/controllers/application_controller.rb'
- - 'app/helpers/application_helper.rb'
- 'test/unit/custom_field_test.rb'
- 'test/unit/member_test.rb'
- 'test/unit/attachment_test.rb'
- 'test/unit/lib/redmine/export/pdf_test.rb'
+# This cop supports safe autocorrection (--autocorrect).
+Lint/RedundantCopDisableDirective:
+ Exclude:
+ - 'app/models/project.rb'
+
# This cop supports safe autocorrection (--autocorrect).
Lint/RedundantStringCoercion:
Exclude:
# Include: app/**/*.rb, config/**/*.rb, db/**/*.rb, lib/**/*.rb
Rails/Output:
Exclude:
- - 'app/models/mail_handler.rb'
- 'config/routes.rb'
- 'lib/redmine/diff.rb'
- 'lib/redmine/diff_table.rb'
- 'test/functional/versions_controller_test.rb'
- 'test/functional/watchers_controller_test.rb'
-# This cop supports safe autocorrection (--autocorrect).
-Style/RedundantParentheses:
- Exclude:
- - 'app/controllers/search_controller.rb'
- - 'app/models/enumeration.rb'
- - 'app/models/principal.rb'
- - 'app/models/repository/cvs.rb'
- - 'lib/redmine/platform.rb'
- - 'lib/redmine/scm/adapters/cvs_adapter.rb'
- - 'lib/redmine/scm/adapters/filesystem_adapter.rb'
- - 'test/unit/project_test.rb'
- - 'test/unit/user_test.rb'
- - 'test/unit/version_test.rb'
-
# This cop supports safe autocorrection (--autocorrect).
Style/RedundantRegexpEscape:
Exclude: