# This configuration was generated by
# `rubocop --auto-gen-config --no-offense-counts --no-auto-gen-timestamp`
-# using RuboCop version 0.74.0.
+# using RuboCop version 0.75.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
# Cop supports --auto-correct.
Layout/EmptyLines:
- Enabled: false
+ Exclude:
+ - 'app/models/issue.rb'
+ - 'app/models/time_entry_import.rb'
+ - 'config/routes.rb'
+ - 'db/migrate/001_setup.rb'
+ - 'lib/redmine/sudo_mode.rb'
+ - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
+ - 'test/functional/activities_controller_test.rb'
+ - 'test/functional/email_addresses_controller_test.rb'
+ - 'test/functional/project_enumerations_controller_test.rb'
+ - 'test/functional/settings_controller_test.rb'
+ - 'test/functional/users_controller_test.rb'
+ - 'test/helpers/application_helper_test.rb'
+ - 'test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb'
+ - 'test/unit/project_test.rb'
+ - 'test/unit/query_test.rb'
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
- 'test/unit/attachment_test.rb'
- 'test/unit/lib/redmine/export/pdf_test.rb'
+# Cop supports --auto-correct.
+Lint/SendWithMixinArgument:
+ Exclude:
+ - 'lib/redmine/acts/positioned.rb'
+ - 'test/object_helpers.rb'
+
Lint/ShadowingOuterLocalVariable:
Enabled: false
- 'app/models/changeset.rb'
- 'app/models/watcher.rb'
- 'lib/redmine/themes.rb'
- - 'test/functional/repositories_git_controller_test.rb'
Lint/UselessAssignment:
Enabled: false
- 'lib/redmine/helpers/calendar.rb'
- 'lib/redmine/search.rb'
-# Configuration parameters: EnforcedStyle.
+# Configuration parameters: EnforcedStyle, IgnoredPatterns.
# SupportedStyles: snake_case, camelCase
Naming/MethodName:
Exclude:
- 'lib/redmine/i18n.rb'
- 'lib/redmine/info.rb'
-# Configuration parameters: EnforcedStyle.
-# SupportedStyles: annotated, template, unannotated
-Style/FormatStringToken:
- Exclude:
- - 'app/models/query.rb'
- - 'lib/redmine/helpers/gantt.rb'
- - 'lib/redmine/i18n.rb'
- - 'lib/redmine/info.rb'
- - 'test/helpers/application_helper_test.rb'
- - 'test/unit/lib/redmine/unified_diff_test.rb'
-
# Configuration parameters: AllowedVariables.
Style/GlobalVars:
Exclude: