Skip to content

Commit

Permalink
Fix a new rubocop rule introduced by a new version of rubocop
Browse files Browse the repository at this point in the history
Since this is a gem it is a best practice to not include a Gemfile.lock, however
that also means that travis will download always the last versions of all gems.

In the last Travis run, the version of Rubocop was updated, throwing an error in
a rule that we may not neccessarily want to adopt, hence I am excluding it just
for the file that triggers it.

Relevant Rubocop issue:
  rubocop/rubocop#3438
  • Loading branch information
octopusinvitro committed Dec 13, 2017
1 parent 6fac9be commit b385cb2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ Metrics/LineLength:

Style/RegexpLiteral:
EnforcedStyle: percent_r

Style/FormatStringToken:
Exclude:
- 'lib/donation_system/salesforce/donation_validator.rb'

0 comments on commit b385cb2

Please sign in to comment.