# This configuration was generated by
# `rubocop --auto-gen-config --exclude-limit 20 --no-offense-counts --no-auto-gen-timestamp`
-# using RuboCop version 1.17.0.
+# using RuboCop version 1.23.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
Layout/ArgumentAlignment:
Enabled: false
+# Cop supports --auto-correct.
+Layout/ClosingParenthesisIndentation:
+ Exclude:
+ - 'app/helpers/journals_helper.rb'
+
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: leading, trailing
- 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
- 'test/mocks/open_id_authentication_mock.rb'
+# Cop supports --auto-correct.
+# Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment.
+Layout/LeadingCommentSpace:
+ Exclude:
+ - 'lib/redmine/scm/adapters/cvs_adapter.rb'
+
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle, IndentationWidth.
+# SupportedStyles: aligned, indented
+Layout/LineEndStringConcatenationIndentation:
+ Enabled: false
+
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: symmetrical, new_line, same_line
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
-# SupportedStyles: space, no_space
+# SupportedStyles: space, compact, no_space
Layout/SpaceInsideParens:
Exclude:
- 'app/helpers/issues_helper.rb'
- 'test/unit/custom_field_test.rb'
- 'test/unit/member_test.rb'
+# Cop supports --auto-correct.
+Lint/AmbiguousOperatorPrecedence:
+ Enabled: false
+
# Cop supports --auto-correct.
Lint/AmbiguousRegexpLiteral:
Enabled: false
- 'app/models/time_entry_activity.rb'
- 'lib/redmine/helpers/gantt.rb'
-# Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, Regex, IgnoreExecutableScripts, AllowedAcronyms.
+# Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, CheckDefinitionPathHierarchyRoots, Regex, IgnoreExecutableScripts, AllowedAcronyms.
+# CheckDefinitionPathHierarchyRoots: lib, spec, test, src
# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
Naming/FileName:
Exclude:
- 'app/models/user.rb'
- 'config/initializers/00-core_plugins.rb'
+# Cop supports --auto-correct.
+Security/IoMethods:
+ Exclude:
+ - 'Gemfile'
+ - 'app/models/attachment.rb'
+ - 'test/functional/mail_handler_controller_test.rb'
+ - 'test/unit/mail_handler_test.rb'
+
Security/Open:
Exclude:
- 'app/models/version.rb'
- 'lib/redmine/scm/adapters/filesystem_adapter.rb'
# Cop supports --auto-correct.
+# Configuration parameters: AllowMethodComparison.
Style/MultipleComparison:
Exclude:
- 'app/helpers/application_helper.rb'
Exclude:
- 'lib/redmine/menu_manager.rb'
+# Cop supports --auto-correct.
+Style/RedundantSelfAssignmentBranch:
+ Exclude:
+ - 'lib/redmine/scm/adapters/cvs_adapter.rb'
+
# Cop supports --auto-correct.
Style/RedundantSort:
Exclude:
Style/SafeNavigation:
Enabled: false
+# Cop supports --auto-correct.
+Style/SelectByRegexp:
+ Exclude:
+ - 'app/models/user.rb'
+ - 'test/application_system_test_case.rb'
+
# Cop supports --auto-correct.
Style/SelfAssignment:
Exclude:
- 'app/validators/date_validator.rb'
# Cop supports --auto-correct.
-# Configuration parameters: .
+# Configuration parameters: RequireEnglish.
# SupportedStyles: use_perl_names, use_english_names
Style/SpecialGlobalVars:
EnforcedStyle: use_perl_names
- 'app/models/user.rb'
# Cop supports --auto-correct.
+# Configuration parameters: Mode.
Style/StringConcatenation:
Enabled: false
- 'test/unit/custom_field_test.rb'
# Cop supports --auto-correct.
-# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
+# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Layout/LineLength:
Max: 194