diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2019-03-06 09:31:55 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2019-03-06 09:41:06 +0900 |
commit | 6b8daad0383a40bb397644d0a1f8b35808611d6e (patch) | |
tree | 71f9ec02e7cce66a05a2bb77f4633068482075b5 /.rubocop.yml | |
parent | 3ee51c91c5d51e383981cbf3ccb2135c6a9ba71e (diff) | |
download | rails-6b8daad0383a40bb397644d0a1f8b35808611d6e.tar.gz rails-6b8daad0383a40bb397644d0a1f8b35808611d6e.tar.bz2 rails-6b8daad0383a40bb397644d0a1f8b35808611d6e.zip |
Enable `Performance/ReverseEach` cop to avoid newly adding `reverse.each`
https://github.com/rails/rails/pull/35451#discussion_r262746834
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index 618817daca..c076029f06 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -237,5 +237,8 @@ Performance/EndWith: Performance/RegexpMatch: Enabled: true +Performance/ReverseEach: + Enabled: true + Performance/UnfreezeString: Enabled: true |