Skip to content

Commit dab566e

Browse files
add rubocop-rspec (#5)
1 parent 9b4a4b0 commit dab566e

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

.rubocop.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
---
2+
require:
3+
- rubocop-rspec
24

35
AllCops:
46
NewCops: enable
@@ -23,3 +25,18 @@ Metrics/BlockLength:
2325

2426
Layout/LineLength:
2527
Enabled: false
28+
29+
RSpec/ExampleLength:
30+
Enabled: false
31+
32+
RSpec/LetSetup:
33+
Enabled: false
34+
35+
RSpec/IndexedLet:
36+
Enabled: false
37+
38+
RSpec/NestedGroups:
39+
Enabled: false
40+
41+
RSpec/MultipleExpectations:
42+
Enabled: false

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ gem 'byebug'
77
gem 'rake-release'
88
gem 'rspec'
99
gem 'rubocop'
10+
gem 'rubocop-rspec'
1011
gem 'sqlite3', '~> 1.4'

Gemfile.lock

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ GEM
7272
unicode-display_width (>= 2.4.0, < 3.0)
7373
rubocop-ast (1.32.3)
7474
parser (>= 3.3.1.0)
75+
rubocop-rspec (3.1.0)
76+
rubocop (~> 1.61)
7577
ruby-progressbar (1.13.0)
7678
sqlite3 (1.7.3-arm64-darwin)
7779
sqlite3 (1.7.3-x86_64-linux)
@@ -90,6 +92,7 @@ DEPENDENCIES
9092
rake-release
9193
rspec
9294
rubocop
95+
rubocop-rspec
9396
sqlite3 (~> 1.4)
9497

9598
BUNDLED WITH

0 commit comments

Comments
 (0)