mirror of
https://github.com/redmine/redmine.git
synced 2025-12-15 21:10:27 +01:00
Update RuboCop to 0.80 (#32530).
git-svn-id: http://svn.redmine.org/redmine/trunk@19522 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.79.0.
|
||||
# using RuboCop version 0.80.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
|
||||
@@ -493,7 +493,7 @@ Naming/MethodName:
|
||||
- 'test/helpers/application_helper_test.rb'
|
||||
|
||||
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
|
||||
# AllowedNames: io, id, to, by, on, in, at, ip, db, os
|
||||
# AllowedNames: io, id, to, by, on, in, at, ip, db, os, pp
|
||||
Naming/MethodParameterName:
|
||||
Enabled: false
|
||||
|
||||
@@ -984,7 +984,7 @@ Style/BlockComments:
|
||||
- 'lib/diff.rb'
|
||||
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods, AllowBracesOnProceduralOneLiners.
|
||||
# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
|
||||
# SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
|
||||
# ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
|
||||
# FunctionalMethods: let, let!, subject, watch
|
||||
@@ -992,12 +992,6 @@ Style/BlockComments:
|
||||
Style/BlockDelimiters:
|
||||
Enabled: false
|
||||
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
# SupportedStyles: braces, no_braces, context_dependent
|
||||
Style/BracesAroundHashParameters:
|
||||
Enabled: false
|
||||
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: AutoCorrect, EnforcedStyle.
|
||||
# SupportedStyles: nested, compact
|
||||
@@ -1149,6 +1143,16 @@ Style/GlobalVars:
|
||||
Style/GuardClause:
|
||||
Enabled: false
|
||||
|
||||
# Cop supports --auto-correct.
|
||||
Style/HashEachMethods:
|
||||
Exclude:
|
||||
- 'app/controllers/application_controller.rb'
|
||||
- 'app/controllers/groups_controller.rb'
|
||||
- 'app/models/mailer.rb'
|
||||
- 'app/models/role.rb'
|
||||
- 'test/functional/issues_custom_fields_visibility_test.rb'
|
||||
- 'test/unit/auth_source_ldap_test.rb'
|
||||
|
||||
# Configuration parameters: AllowIfModifier.
|
||||
Style/IfInsideElse:
|
||||
Exclude:
|
||||
|
||||
Reference in New Issue
Block a user