Skip to content

Commit

Permalink
Merge pull request #390 from testdouble/fix-redundant-being-ruby24
Browse files Browse the repository at this point in the history
Removes RedundantBegin from Ruby 2.4 and below
  • Loading branch information
camilopayan authored Feb 14, 2022
2 parents 091ab4d + 7cd8191 commit 7743ef7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## Unreleased

* Removes Style/RedundantBegin from Ruby versions <= 2.4

## 1.7.1

* Update rubocop from 1.25.0 to [1.25.1](https://github.com/rubocop/rubocop/tag/v1.25.1)
Expand Down
3 changes: 3 additions & 0 deletions config/ruby-2.4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@ inherit_from: ./ruby-2.5.yml

AllCops:
TargetRubyVersion: 2.5 # The oldest supported

Style/RedundantBegin:
Enabled: false

0 comments on commit 7743ef7

Please sign in to comment.