Skip to content

Commit c68c32c

Browse files
committed
Ignore Lint/BinaryOperatorWithIdenticalOperands in spec
1 parent 4f97595 commit c68c32c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.rubocop.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ Layout/SpaceAroundOperators:
3030
# Suppress line breaks in spec files (e.g `it { should xxxx }`, `its(:method) { should xxxx }` )
3131
- "**/*_spec.rb"
3232

33+
Lint/BinaryOperatorWithIdenticalOperands:
34+
Exclude:
35+
- "**/*_spec.rb" # for rspec-parameterized
36+
3337
Metrics/BlockLength:
3438
Exclude:
3539
- "*.gemspec"

0 commit comments

Comments
 (0)