# This configuration was generated by
# `rubocop --auto-gen-config --exclude-limit 20 --no-offense-counts --no-auto-gen-timestamp`
-# using RuboCop version 1.25.0.
+# using RuboCop version 1.25.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
- 'app/models/time_entry.rb'
- 'test/system/timelog_test.rb'
-# Cop supports --auto-correct.
+# Cop supports --auto-correct-all.
Lint/InterpolationCheck:
Exclude:
- 'app/models/user.rb'
-# Cop supports --auto-correct.
+# Cop supports --auto-correct-all.
Lint/Loop:
Exclude:
- 'lib/redmine/helpers/gantt.rb'
Exclude:
- 'app/helpers/application_helper.rb'
-# Cop supports --auto-correct.
+# Cop supports --auto-correct-all.
Lint/NonDeterministicRequireOrder:
Exclude:
- 'lib/redmine/core_ext.rb'
- 'test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb'
- 'test/unit/project_test.rb'
-# Cop supports --auto-correct.
+# Cop supports --auto-correct-all.
Performance/AncestorsInclude:
Exclude:
- 'test/unit/document_category_test.rb'
- 'test/integration/api_test/issues_test.rb'
- 'test/integration/attachments_test.rb'
-# Cop supports --auto-correct.
+# Cop supports --auto-correct-all.
Performance/RedundantEqualityComparisonBlock:
Exclude:
- 'app/models/query.rb'
- 'app/models/wiki_content_version.rb'
- 'lib/redmine/menu_manager.rb'
-# Cop supports --auto-correct.
+# Cop supports --auto-correct-all.
# Configuration parameters: Whitelist, AllowedMethods, AllowedReceivers.
# Whitelist: find_by_sql
# AllowedMethods: find_by_sql
Exclude:
- 'config/routes.rb'
-# Cop supports --auto-correct.
+# Cop supports --auto-correct-all.
Rails/NegateInclude:
Enabled: false
- 'app/models/user.rb'
- 'config/initializers/00-core_plugins.rb'
-# Cop supports --auto-correct.
+# Cop supports --auto-correct-all.
Security/IoMethods:
Exclude:
- 'Gemfile'
Exclude:
- 'test/integration/api_test/api_test.rb'
-# Cop supports --auto-correct.
+# Cop supports --auto-correct-all.
Style/CaseLikeIf:
Exclude:
- 'app/controllers/wiki_controller.rb'
- 'lib/redmine/wiki_formatting/markdown/formatter.rb'
- 'test/helpers/activities_helper_test.rb'
-# Cop supports --auto-correct.
+# Cop supports --auto-correct-all.
Style/CollectionCompact:
Exclude:
- 'app/controllers/issues_controller.rb'
- 'app/controllers/enumerations_controller.rb'
- 'app/models/board.rb'
-# Cop supports --auto-correct.
+# Cop supports --auto-correct-all.
# Configuration parameters: AllowedReceivers.
Style/HashEachMethods:
Exclude:
- 'app/models/query.rb'
- 'lib/redmine/field_format.rb'
-# Cop supports --auto-correct.
+# Cop supports --auto-correct-all.
# Configuration parameters: InverseMethods, InverseBlocks.
Style/InverseMethods:
Exclude:
Style/NumericLiterals:
MinDigits: 9
-# Cop supports --auto-correct.
+# Cop supports --auto-correct-all.
# Configuration parameters: EnforcedStyle, IgnoredMethods.
# SupportedStyles: predicate, comparison
Style/NumericPredicate:
Style/PerlBackrefs:
Enabled: false
-# Cop supports --auto-correct.
+# Cop supports --auto-correct-all.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: short, verbose
Style/PreferredHashMethods:
- 'test/functional/timelog_controller_test.rb'
- 'test/unit/lib/redmine/i18n_test.rb'
-# Cop supports --auto-correct.
+# Cop supports --auto-correct-all.
# Configuration parameters: Methods.
Style/RedundantArgument:
Exclude:
Style/RedundantSelf:
Enabled: false
-# Cop supports --auto-correct.
+# Cop supports --auto-correct-all.
Style/RedundantSelfAssignment:
Exclude:
- 'lib/redmine/menu_manager.rb'
Exclude:
- 'lib/redmine/scm/adapters/cvs_adapter.rb'
-# Cop supports --auto-correct.
+# Cop supports --auto-correct-all.
Style/RedundantSort:
Exclude:
- 'lib/redmine/scm/adapters/abstract_adapter.rb'
- 'config/environment.rb'
- 'config/initializers/10-patches.rb'
-# Cop supports --auto-correct.
+# Cop supports --auto-correct-all.
Style/StringChars:
Exclude:
- 'app/models/user.rb'
-# Cop supports --auto-correct.
+# Cop supports --auto-correct-all.
# Configuration parameters: Mode.
Style/StringConcatenation:
Enabled: false
Style/SymbolArray:
EnforcedStyle: brackets
-# Cop supports --auto-correct.
+# Cop supports --auto-correct-all.
# Configuration parameters: AllowMethodsWithArguments, IgnoredMethods.
# IgnoredMethods: respond_to, define_method
Style/SymbolProc:
Style/WordArray:
Enabled: false
-# Cop supports --auto-correct.
+# Cop supports --auto-correct-all.
Style/ZeroLengthPredicate:
Exclude:
- 'app/models/import.rb'