|
|
@@ -1,6 +1,6 @@ |
|
|
|
# This configuration was generated by |
|
|
|
# `rubocop --auto-gen-config --exclude-limit 20 --no-offense-counts --no-auto-gen-timestamp` |
|
|
|
# using RuboCop version 1.44.1. |
|
|
|
# using RuboCop version 1.45.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 |
|
|
@@ -140,7 +140,7 @@ Layout/HashAlignment: |
|
|
|
Enabled: false |
|
|
|
|
|
|
|
# This cop supports safe autocorrection (--autocorrect). |
|
|
|
# Configuration parameters: Width, AllowedPatterns, IgnoredPatterns. |
|
|
|
# Configuration parameters: Width, AllowedPatterns. |
|
|
|
Layout/IndentationWidth: |
|
|
|
Exclude: |
|
|
|
- 'db/migrate/20110902000000_create_changeset_parents.rb' |
|
|
@@ -266,7 +266,7 @@ Layout/SpaceInsideStringInterpolation: |
|
|
|
- 'lib/redmine/core_ext/string/inflections.rb' |
|
|
|
- 'test/integration/admin_test.rb' |
|
|
|
|
|
|
|
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods. |
|
|
|
# Configuration parameters: AllowedMethods, AllowedPatterns. |
|
|
|
Lint/AmbiguousBlockAssociation: |
|
|
|
Enabled: false |
|
|
|
|
|
|
@@ -286,7 +286,7 @@ Lint/AmbiguousOperatorPrecedence: |
|
|
|
Lint/AmbiguousRegexpLiteral: |
|
|
|
Enabled: false |
|
|
|
|
|
|
|
# This cop supports safe autocorrection (--autocorrect). |
|
|
|
# This cop supports unsafe autocorrection (--autocorrect-all). |
|
|
|
# Configuration parameters: AllowSafeAssignment. |
|
|
|
Lint/AssignmentInCondition: |
|
|
|
Enabled: false |
|
|
@@ -439,7 +439,7 @@ Naming/MemoizedInstanceVariableName: |
|
|
|
- 'lib/redmine/helpers/calendar.rb' |
|
|
|
- 'lib/redmine/search.rb' |
|
|
|
|
|
|
|
# Configuration parameters: EnforcedStyle, AllowedPatterns, IgnoredPatterns. |
|
|
|
# Configuration parameters: EnforcedStyle, AllowedPatterns. |
|
|
|
# SupportedStyles: snake_case, camelCase |
|
|
|
Naming/MethodName: |
|
|
|
Exclude: |
|
|
@@ -972,7 +972,7 @@ Style/ClassAndModuleChildren: |
|
|
|
Enabled: false |
|
|
|
|
|
|
|
# This cop supports safe autocorrection (--autocorrect). |
|
|
|
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods. |
|
|
|
# Configuration parameters: AllowedMethods, AllowedPatterns. |
|
|
|
# AllowedMethods: ==, equal?, eql? |
|
|
|
Style/ClassEqualityComparison: |
|
|
|
Exclude: |
|
|
@@ -1240,7 +1240,7 @@ Style/LineEndConcatenation: |
|
|
|
Enabled: false |
|
|
|
|
|
|
|
# This cop supports safe autocorrection (--autocorrect). |
|
|
|
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods. |
|
|
|
# Configuration parameters: AllowedMethods, AllowedPatterns. |
|
|
|
Style/MethodCallWithoutArgsParentheses: |
|
|
|
Exclude: |
|
|
|
- 'lib/redmine/scm/adapters/cvs_adapter.rb' |
|
|
@@ -1352,7 +1352,7 @@ Style/NumericLiterals: |
|
|
|
MinDigits: 9 |
|
|
|
|
|
|
|
# This cop supports unsafe autocorrection (--autocorrect-all). |
|
|
|
# Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns, IgnoredMethods. |
|
|
|
# Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns. |
|
|
|
# SupportedStyles: predicate, comparison |
|
|
|
Style/NumericPredicate: |
|
|
|
Enabled: false |
|
|
@@ -1645,7 +1645,7 @@ Style/SymbolArray: |
|
|
|
EnforcedStyle: brackets |
|
|
|
|
|
|
|
# This cop supports unsafe autocorrection (--autocorrect-all). |
|
|
|
# Configuration parameters: AllowMethodsWithArguments, AllowedMethods, AllowedPatterns, IgnoredMethods, AllowComments. |
|
|
|
# Configuration parameters: AllowMethodsWithArguments, AllowedMethods, AllowedPatterns, AllowComments. |
|
|
|
# AllowedMethods: define_method, mail, respond_to |
|
|
|
Style/SymbolProc: |
|
|
|
Enabled: false |
|
|
@@ -1699,7 +1699,7 @@ Style/ZeroLengthPredicate: |
|
|
|
- 'test/unit/custom_field_test.rb' |
|
|
|
|
|
|
|
# This cop supports safe autocorrection (--autocorrect). |
|
|
|
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, IgnoredPatterns. |
|
|
|
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns. |
|
|
|
# URISchemes: http, https |
|
|
|
Layout/LineLength: |
|
|
|
Max: 194 |