Add RSpec/MissingExpectationTargetMethod rule

This rule was introduced in rubocop-rspec 3.0.0. We were already
following it. It might be helpful because during development I've made
typos prevented by this rule a couple of times.
This commit is contained in:
Javi Martín
2024-07-02 23:02:12 +02:00
parent 04eaa802cc
commit 140ca2feb9

View File

@@ -598,6 +598,9 @@ RSpec/LetSetup:
RSpec/MetadataStyle: RSpec/MetadataStyle:
Enabled: true Enabled: true
RSpec/MissingExpectationTargetMethod:
Enabled: true
RSpec/NotToNot: RSpec/NotToNot:
Enabled: true Enabled: true