Skip to content

Commit

Permalink
Merge pull request #420 from sul-dlss/rubocop-disable-casecmp
Browse files Browse the repository at this point in the history
Rubocop disable casecmp
  • Loading branch information
peetucket authored Nov 13, 2017
2 parents 2410478 + 04dc57a commit c9bfee0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ AllCops:

Style/VariableName:
Enabled: false

Performance/Casecmp:
Enabled: false
18 changes: 5 additions & 13 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2017-10-04 21:00:29 -0700 using RuboCop version 0.37.2.
# on 2017-11-13 11:58:11 -0800 using RuboCop version 0.37.2.
# 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
# versions of RuboCop, may require this file to be generated again.

# Offense count: 61
# Offense count: 62
Metrics/AbcSize:
Max: 214

# Offense count: 6
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 381
Max: 375

# Offense count: 22
Metrics/CyclomaticComplexity:
Max: 52

# Offense count: 270
# Offense count: 275
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes.
# URISchemes: http, https
Metrics/LineLength:
Expand All @@ -45,7 +45,7 @@ RSpec/AnyInstance:
- 'spec/models/publication_spec.rb'
- 'spec/models/pubmed_source_record_spec.rb'

# Offense count: 45
# Offense count: 46
RSpec/DescribedClass:
Exclude:
- 'spec/lib/bibtex_ingester_spec.rb'
Expand Down Expand Up @@ -79,11 +79,3 @@ Style/ClassVars:
Exclude:
- 'app/models/sciencewire_source_record.rb'
- 'lib/bibtex_ingester.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: IgnoredMethods.
# IgnoredMethods: respond_to
Style/SymbolProc:
Exclude:
- 'spec/lib/wos_records_spec.rb'

0 comments on commit c9bfee0

Please sign in to comment.