Skip to content

Commit

Permalink
Update rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Aug 10, 2020
1 parent 82fc79e commit 86017ff
Show file tree
Hide file tree
Showing 6 changed files with 118 additions and 108 deletions.
12 changes: 6 additions & 6 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ inherit_from:

AllCops:
DisplayCopNames: true
TargetRubyVersion: 2.3
TargetRubyVersion: 2.4
Exclude:
- "lib/generators/blacklight/templates/**/*"
- "blacklight.gemspec"
Expand Down Expand Up @@ -34,7 +34,7 @@ Metrics/ClassLength:
Exclude:
- "lib/blacklight/configuration.rb"

Metrics/LineLength:
Layout/LineLength:
Max: 200
Exclude:
- 'spec/**/*'
Expand All @@ -43,15 +43,12 @@ Naming/HeredocDelimiterNaming:
Enabled: false

Naming/PredicateName:
NamePrefixBlacklist:
ForbiddenPrefixes:
- is_

Rails:
Enabled: true

Rails/OutputSafety:
Enabled: false

# https://github.com/rubocop-hq/rubocop/issues/6439
Style/AccessModifierDeclarations:
Enabled: false
Expand All @@ -62,3 +59,6 @@ Style/MissingRespondToMissing:

Style/StringLiterals:
Enabled: false

Style/MethodDefParentheses:
Enabled: false
Loading

0 comments on commit 86017ff

Please sign in to comment.