Skip to content

Commit

Permalink
Merge pull request #148 from koic/enable_four_performance_cops
Browse files Browse the repository at this point in the history
Enable four Performance cops
  • Loading branch information
koic committed Aug 30, 2022
2 parents 58a4dd3 + 83059fd commit 5fbc8fd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions config/rails.yml
Original file line number Diff line number Diff line change
Expand Up @@ -314,5 +314,17 @@ Performance/DeleteSuffix:
Performance/OpenStruct:
Enabled: true

Performance/InefficientHashSearch:
Enabled: true

Performance/ConstantRegexp:
Enabled: true

Performance/RedundantStringChars:
Enabled: true

Performance/StringInclude:
Enabled: true

Minitest/UnreachableAssertion:
Enabled: true

0 comments on commit 5fbc8fd

Please sign in to comment.