Enable RSpec/FilePath at SpecSuffixOnly

This commit is contained in:
Douglas Eichelberger 2024-03-30 11:24:03 -07:00
parent 03b815df82
commit 1a95bb3b03

View File

@ -230,19 +230,12 @@ RSpec/AnyInstance:
Enabled: false
RSpec/DescribeClass:
Enabled: false
RSpec/FilePath:
Enabled: false
RSpec/SpecFilePathFormat:
Enabled: false
RSpec/StubbedMock:
Enabled: false
RSpec/SubjectStub:
Enabled: false
# We use `allow(:foo).to receive(:bar)` everywhere.
RSpec/MessageSpies:
EnforcedStyle: receive
# These were ever-growing numbers, not useful.
RSpec/ExampleLength:
Enabled: false
@ -255,9 +248,14 @@ RSpec/MultipleMemoizedHelpers:
RSpec/DescribedClassModuleWrapping:
Enabled: true
RSpec/FilePath:
SpecSuffixOnly: true
# Annoying to have these autoremoved.
RSpec/Focus:
AutoCorrect: false
# We use `allow(:foo).to receive(:bar)` everywhere.
RSpec/MessageSpies:
EnforcedStyle: receive
# Try getting rid of these.
Sorbet/ConstantsFromStrings: