Skip to content

Commit

Permalink
Merge pull request #1956 from projectblacklight/rubocop-specs
Browse files Browse the repository at this point in the history
Apply rubocop to the specs
  • Loading branch information
jcoyne authored Jul 31, 2018
2 parents 3bb1b98 + ff1de83 commit e10e9fb
Show file tree
Hide file tree
Showing 111 changed files with 1,920 additions and 1,525 deletions.
5 changes: 4 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ inherit_from:

AllCops:
DisplayCopNames: true
TargetRubyVersion: 2.3
Exclude:
- "lib/generators/blacklight/templates/**/*"
- "spec/**/*"
- "blacklight.gemspec"

Rails:
Expand All @@ -18,13 +18,16 @@ Metrics/BlockLength:
- "app/views/catalog/index.json.jbuilder"
- "lib/railties/blacklight.rake"
- "tasks/blacklight.rake"
- "spec/**/*"

Metrics/ClassLength:
Exclude:
- "lib/blacklight/configuration.rb"

Metrics/LineLength:
Max: 200
Exclude:
- 'spec/**/*'

Style/StringLiterals:
Enabled: false
Expand Down
Loading

0 comments on commit e10e9fb

Please sign in to comment.