Skip to content

Commit

Permalink
fix compatibility with RuboCop 1.3.0 and later
Browse files Browse the repository at this point in the history
As a result of rubocop/rubocop#8761
the TargetRubyVersion is read from the gemspec and due to a bug
rubocop/rubocop#9482 this blocks
the upgrade to support later RuboCop versions -- so let's specify
2.4 as a workaround.
  • Loading branch information
ashkulz committed Feb 18, 2021
1 parent a59ab35 commit ae2faf8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
AllCops:
NewCops: enable
TargetRubyVersion: 2.4 # workaround for https://github.com/rubocop-hq/rubocop/issues/9482 as gemspec has 2.3.0

Style/Documentation:
Enabled: false
Expand Down

0 comments on commit ae2faf8

Please sign in to comment.