Skip to content

Commit

Permalink
Fix a hanging rubocop enable comment and re-run auto-gen-config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jkeck committed Mar 28, 2018
1 parent 0aa8773 commit 2bca224
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
21 changes: 10 additions & 11 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2018-03-06 09:10:30 -0800 using RuboCop version 0.53.0.
# on 2018-03-28 15:21:19 -0700 using RuboCop version 0.54.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
Expand Down Expand Up @@ -86,13 +86,12 @@ Layout/MultilineMethodCallIndentation:
Exclude:
- 'lib/blacklight/search_builder.rb'

# Offense count: 12
# Offense count: 11
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, IndentationWidth.
# SupportedStyles: aligned, indented
Layout/MultilineOperationIndentation:
Exclude:
- 'app/controllers/concerns/blacklight/default_component_configuration.rb'
- 'app/helpers/blacklight/facets_helper_behavior.rb'
- 'app/helpers/blacklight/search_history_constraints_helper_behavior.rb'
- 'lib/blacklight/configuration/context.rb'
Expand Down Expand Up @@ -150,7 +149,7 @@ Lint/UselessAssignment:
- 'lib/blacklight/routes/searchable.rb'
- 'lib/railties/blacklight.rake'

# Offense count: 57
# Offense count: 56
Metrics/AbcSize:
Max: 53

Expand All @@ -167,28 +166,28 @@ Metrics/BlockNesting:
# Offense count: 3
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 183
Max: 189

# Offense count: 20
# Offense count: 19
Metrics/CyclomaticComplexity:
Max: 12

# Offense count: 46
# Offense count: 44
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 39

# Offense count: 7
# Configuration parameters: CountComments.
Metrics/ModuleLength:
Max: 207
Max: 209

# Offense count: 1
# Configuration parameters: CountKeywordArgs.
Metrics/ParameterLists:
Max: 6

# Offense count: 17
# Offense count: 16
Metrics/PerceivedComplexity:
Max: 14

Expand Down Expand Up @@ -220,7 +219,7 @@ Naming/PredicateName:

# Offense count: 12
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
# AllowedNames: io, id
# AllowedNames: io, id, to
Naming/UncommunicativeMethodParamName:
Exclude:
- 'app/models/blacklight/facet_paginator.rb'
Expand Down Expand Up @@ -345,7 +344,7 @@ Style/GuardClause:
Style/IfUnlessModifier:
Enabled: false

# Offense count: 117
# Offense count: 116
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: require_parentheses, require_no_parentheses, require_no_parentheses_except_multiline
Expand Down
1 change: 0 additions & 1 deletion app/builders/blacklight/action_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ def #{name}
end
EORUBY
end
# rubocop:enable Metrics/LineLength

private

Expand Down

0 comments on commit 2bca224

Please sign in to comment.