Skip to content

Commit

Permalink
Suppress RSpec/NoExpectationExample's offenses
Browse files Browse the repository at this point in the history
  • Loading branch information
koic committed Oct 6, 2022
1 parent 74fae33 commit 0c3e9ca
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,20 @@ Style/PercentLiteralDelimiters:
Style/TrailingCommaInArguments:
EnforcedStyleForMultiline: comma

RSpec/ExampleLength:
Enabled: false

Naming/FileName:
Exclude:
- 'lib/rubocop-rake.rb'

RSpec:
Language:
Expectations:
- expect_correction
- expect_no_offenses
- expect_offense

RSpec/ExampleLength:
Enabled: false

# This disabling is a workaround for https://github.com/rubocop-hq/rubocop-rspec/issues/1068.
# The cop has been disabled because FactoryBot is not used in this repository.
RSpec/FactoryBot/CreateList:
Expand Down

0 comments on commit 0c3e9ca

Please sign in to comment.