mirror of
https://github.com/redmine/redmine.git
synced 2025-12-15 21:10:27 +01:00
Update RuboCop to 0.78 (#32530).
git-svn-id: http://svn.redmine.org/redmine/trunk@19405 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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 0.77.0.
|
||||
# using RuboCop version 0.78.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
|
||||
@@ -252,7 +252,8 @@ Layout/SpaceAroundEqualsInParameterDefault:
|
||||
Enabled: false
|
||||
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: AllowForAlignment.
|
||||
# Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator.
|
||||
# SupportedStylesForExponentOperator: space, no_space
|
||||
Layout/SpaceAroundOperators:
|
||||
Enabled: false
|
||||
|
||||
@@ -386,6 +387,11 @@ Lint/Loop:
|
||||
Exclude:
|
||||
- 'lib/redmine/helpers/gantt.rb'
|
||||
|
||||
# Cop supports --auto-correct.
|
||||
Lint/NonDeterministicRequireOrder:
|
||||
Exclude:
|
||||
- 'lib/redmine/core_ext.rb'
|
||||
|
||||
Lint/ParenthesesAsGroupedExpression:
|
||||
Exclude:
|
||||
- 'test/functional/my_controller_test.rb'
|
||||
@@ -1605,8 +1611,8 @@ Style/TernaryParentheses:
|
||||
Enabled: false
|
||||
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, AllowedMethod.
|
||||
# AllowedMethod: to_ary, to_a, to_c, to_enum, to_h, to_hash, to_i, to_int, to_io, to_open, to_path, to_proc, to_r, to_regexp, to_str, to_s, to_sym
|
||||
# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, AllowedMethods.
|
||||
# AllowedMethods: to_ary, to_a, to_c, to_enum, to_h, to_hash, to_i, to_int, to_io, to_open, to_path, to_proc, to_r, to_regexp, to_str, to_s, to_sym
|
||||
Style/TrivialAccessors:
|
||||
Exclude:
|
||||
- 'app/models/issue.rb'
|
||||
@@ -1651,3 +1657,9 @@ Style/ZeroLengthPredicate:
|
||||
- 'test/object_helpers.rb'
|
||||
- 'test/unit/activity_test.rb'
|
||||
- 'test/unit/custom_field_test.rb'
|
||||
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
||||
# URISchemes: http, https
|
||||
Layout/LineLength:
|
||||
Max: 461
|
||||
|
||||
Reference in New Issue
Block a user