Skip to content

Commit 072035c

Browse files
author
Joel Lefkowitz
committed
Add rubocop-performance
1 parent ae58da3 commit 072035c

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
require:
2+
- rubocop-performance
23
- rubocop-rspec
34

45
AllCops:
@@ -7,4 +8,3 @@ AllCops:
78
RSpec/ExampleLength:
89
Enabled: false
910
Max: 10
10-

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ group :development do
1010
gem 'byebug', '~> 11.1.3'
1111
gem 'rspec', '~> 3.10.0'
1212
gem 'rubocop', '~> 1.57.2'
13+
gem 'rubocop-performance', '~> 1.21.0'
1314
gem 'rubocop-rspec', '~> 3.0.0'
1415
gem 'yard', '~> 0.9.37'
1516
end

Gemfile.lock

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ GEM
2828
faraday (>= 1, < 3)
2929
sawyer (~> 0.9)
3030
parallel (1.24.0)
31-
parser (3.2.2.4)
31+
parser (3.3.7.2)
3232
ast (~> 2.4.1)
3333
racc
3434
public_suffix (4.0.7)
@@ -60,8 +60,11 @@ GEM
6060
rubocop-ast (>= 1.28.1, < 2.0)
6161
ruby-progressbar (~> 1.7)
6262
unicode-display_width (>= 2.4.0, < 3.0)
63-
rubocop-ast (1.30.0)
64-
parser (>= 3.2.1.0)
63+
rubocop-ast (1.41.0)
64+
parser (>= 3.3.7.2)
65+
rubocop-performance (1.21.1)
66+
rubocop (>= 1.48.1, < 2.0)
67+
rubocop-ast (>= 1.31.1, < 2.0)
6568
rubocop-rspec (3.0.0)
6669
rubocop (~> 1.40)
6770
ruby-progressbar (1.13.0)
@@ -88,6 +91,7 @@ DEPENDENCIES
8891
octokit (~> 4.25.0)
8992
rspec (~> 3.10.0)
9093
rubocop (~> 1.57.2)
94+
rubocop-performance (~> 1.21.0)
9195
rubocop-rspec (~> 3.0.0)
9296
yard (~> 0.9.37)
9397

0 commit comments

Comments
 (0)