Skip to content

Commit

Permalink
Update .rubocop_todo.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Mar 23, 2018
1 parent 9dd5319 commit 3b91a54
Showing 1 changed file with 36 additions and 23 deletions.
59 changes: 36 additions & 23 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-01-18 11:44:28 -0800 using RuboCop version 0.52.1.
# on 2018-03-23 08:19: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 @@ -30,25 +30,11 @@ Layout/ClosingParenthesisIndentation:
Exclude:
- 'app/views/catalog/index.atom.builder'

# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: leading, trailing
Layout/DotPosition:
Exclude:
- 'lib/blacklight/search_builder.rb'

# Offense count: 98
# Cop supports --auto-correct.
Layout/EmptyLineAfterMagicComment:
Enabled: false

# Offense count: 2
# Cop supports --auto-correct.
Layout/EmptyLinesAroundArguments:
Exclude:
- 'app/presenters/blacklight/link_alternate_presenter.rb'

# Offense count: 8
# Cop supports --auto-correct.
# Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
Expand Down Expand Up @@ -141,14 +127,6 @@ Layout/SpaceInsideParens:
- 'app/views/catalog/_document.rss.builder'
- 'app/views/catalog/index.atom.builder'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: final_newline, final_blank_line
Layout/TrailingBlankLines:
Exclude:
- 'app/views/catalog/index.atom.builder'

# Offense count: 27
# Cop supports --auto-correct.
Layout/TrailingWhitespace:
Expand Down Expand Up @@ -214,6 +192,14 @@ Metrics/ParameterLists:
Metrics/PerceivedComplexity:
Max: 14

# Offense count: 4
Naming/MemoizedInstanceVariableName:
Exclude:
- 'app/helpers/blacklight/blacklight_helper_behavior.rb'
- 'app/helpers/blacklight/render_partials_helper_behavior.rb'
- 'app/models/concerns/blacklight/document/semantic_fields.rb'
- 'lib/blacklight/solr/response.rb'

# Offense count: 8
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist, MethodDefinitionMacros.
# NamePrefix: is_, has_, have_
Expand All @@ -232,6 +218,19 @@ Naming/PredicateName:
- 'app/models/concerns/blacklight/solr/document.rb'
- 'lib/generators/blacklight/assets_generator.rb'

# Offense count: 12
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
# AllowedNames: io, id, to
Naming/UncommunicativeMethodParamName:
Exclude:
- 'app/models/blacklight/facet_paginator.rb'
- 'app/models/concerns/blacklight/document.rb'
- 'app/models/concerns/blacklight/solr/document.rb'
- 'app/presenters/blacklight/rendering/link_to_facet.rb'
- 'lib/blacklight/nested_open_struct_with_hash_access.rb'
- 'lib/blacklight/search_state.rb'
- 'lib/blacklight/solr/search_builder_behavior.rb'

# Offense count: 2
# Cop supports --auto-correct.
Rails/ApplicationRecord:
Expand Down Expand Up @@ -317,6 +316,20 @@ Style/DoubleNegation:
Exclude:
- 'lib/blacklight/search_builder.rb'

# Offense count: 9
# Cop supports --auto-correct.
Style/ExpandPathArguments:
Exclude:
- 'Gemfile'
- 'lib/generators/blacklight/assets_generator.rb'
- 'lib/generators/blacklight/controller_generator.rb'
- 'lib/generators/blacklight/document_generator.rb'
- 'lib/generators/blacklight/install_generator.rb'
- 'lib/generators/blacklight/models_generator.rb'
- 'lib/generators/blacklight/search_builder_generator.rb'
- 'lib/generators/blacklight/test_support_generator.rb'
- 'lib/generators/blacklight/user_generator.rb'

# Offense count: 16
# Configuration parameters: EnforcedStyle.
# SupportedStyles: annotated, template, unannotated
Expand Down

0 comments on commit 3b91a54

Please sign in to comment.