Skip to content

Commit

Permalink
Merge pull request #224 from koic/change_enforced_style_to_conditionals
Browse files Browse the repository at this point in the history
[Fix #210] Change enforced style to conditionals for `Style/AndOr`
  • Loading branch information
koic authored Apr 25, 2020
2 parents 1879b04 + 83a32e1 commit f5cbb50
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

* [#233](https://github.com/rubocop-hq/rubocop-rails/pull/233): **(BREAKING)** Drop support for Ruby 2.3. ([@koic][])
* [#236](https://github.com/rubocop-hq/rubocop-rails/pull/236): **(BREAKING)** Drop support for Rails 4.1 or lower. ([@koic][])
* [#210](https://github.com/rubocop-hq/rubocop-rails/issues/210): Accept `redirecto_to(...) and return` and similar cases. ([@koic][])

## 2.5.2 (2020-04-09)

Expand Down
4 changes: 4 additions & 0 deletions config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -549,3 +549,7 @@ Rails/Validation:
VersionChanged: '0.41'
Include:
- app/models/**/*.rb

# Accept `redirecto_to(...) and return` and similar cases.
Style/AndOr:
EnforcedStyle: conditionals

0 comments on commit f5cbb50

Please sign in to comment.