Skip to content

Commit

Permalink
Merge pull request #15 from koic/enable_style_redundant_freeze
Browse files Browse the repository at this point in the history
Enable `Style/RedundantFreeze` cop
  • Loading branch information
koic authored Oct 1, 2018
2 parents 028756e + 18a4767 commit 500dcd7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/rails.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ Style/FrozenStringLiteralComment:
- 'actionpack/test/**/*.ruby'
- 'activestorage/db/migrate/**/*.rb'

Style/RedundantFreeze:
Enabled: true

# Use `foo {}` not `foo{}`.
Layout/SpaceBeforeBlockBraces:
Enabled: true
Expand Down

0 comments on commit 500dcd7

Please sign in to comment.