Skip to content

Commit

Permalink
Added rubocop-performance (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
schinery authored Aug 24, 2023
1 parent dc85e39 commit b5de194
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ inherit_from:
- default.yml

require:
- rubocop-performance
- rubocop-rake
- rubocop-rails
- rubocop-rspec
Expand Down
4 changes: 4 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ PATH
boxt_rubocop (0.0.44)
rubocop (= 1.56.1)
rubocop-faker (= 1.1.0)
rubocop-performance (= 1.19.0)
rubocop-rails (= 2.20.2)
rubocop-rake (= 0.6.0)
rubocop-rspec (= 2.23.2)
Expand Down Expand Up @@ -195,6 +196,9 @@ GEM
rubocop-faker (1.1.0)
faker (>= 2.12.0)
rubocop (>= 0.82.0)
rubocop-performance (1.19.0)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
rubocop-rails (2.20.2)
activesupport (>= 4.2.0)
rack (>= 1.1)
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ inherit_gem:
The following Rubocop gems are also installed with this gem:

* [rubocop-faker](https://github.com/koic/rubocop-faker)
* [rubocop-performance](https://github.com/rubocop/rubocop-performance)
* [rubocop-rails](https://github.com/rubocop-hq/rubocop-rails)
* [rubocop-rake](https://github.com/rubocop-hq/rubocop-rake)
* [rubocop-rspec](https://github.com/rubocop-hq/rubocop-rspec)
Expand All @@ -60,6 +61,7 @@ inherit_gem:
require:
- rubocop-faker # if your project is using the Faker gem then add this
- rubocop-performance # Add this for performance cops
- rubocop-rails # if your project is a Rails app/engine then add this, plus the - rails.yml setting above
- rubocop-rake # if your project is using rake then add this
- rubocop-rspec # if your project is using rspec then add this, plus the - rspec.yml setting above
Expand Down
1 change: 1 addition & 0 deletions boxt_rubocop.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Gem::Specification.new do |spec|
# Locking rubocop versions so we can control the pending cops
spec.add_dependency "rubocop", "1.56.1"
spec.add_dependency "rubocop-faker", "1.1.0"
spec.add_dependency "rubocop-performance", "1.19.0"
spec.add_dependency "rubocop-rails", "2.20.2"
spec.add_dependency "rubocop-rake", "0.6.0"
spec.add_dependency "rubocop-rspec", "2.23.2"
Expand Down

0 comments on commit b5de194

Please sign in to comment.