Merge pull request #14417 from dduugg/rubocop-rspec-cleanup

Enable RSpec cops without violations
This commit is contained in:
Mike McQuaid 2023-01-25 13:27:38 +00:00 committed by GitHub
commit 748c1b50fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,8 +5,6 @@ RSpec/AnyInstance:
Enabled: false Enabled: false
RSpec/FilePath: RSpec/FilePath:
Enabled: false Enabled: false
RSpec/ImplicitBlockExpectation:
Enabled: false
RSpec/SubjectStub: RSpec/SubjectStub:
Enabled: false Enabled: false
@ -17,8 +15,6 @@ RSpec/LeakyConstantDeclaration:
Enabled: false Enabled: false
RSpec/MessageSpies: RSpec/MessageSpies:
Enabled: false Enabled: false
RSpec/RepeatedDescription:
Enabled: false
RSpec/StubbedMock: RSpec/StubbedMock:
Enabled: false Enabled: false
RSpec/NoExpectationExample: RSpec/NoExpectationExample:
@ -37,10 +33,3 @@ RSpec/MultipleMemoizedHelpers:
# Annoying to have these autoremoved. # Annoying to have these autoremoved.
RSpec/Focus: RSpec/Focus:
AutoCorrect: false AutoCorrect: false
# Gets confused on these tests for a `skip` DSL
RSpec/PendingWithoutReason:
Exclude:
- "**/dependency_expansion_spec.rb"
- "**/livecheck/skip_conditions_spec.rb"
- "**/livecheck_spec.rb"