Upgrade rubocop-rspec to 2.24.1
What does this MR do and why?
This MR upgrade rubocop-rspec
to 2.24.1
.
Old description
While working on: gitlab-org/technical-writing!204 (merged) (which included an upgrade to the latest gitlab-styles
, I got an error in the pipeline: https://gitlab.com/gitlab-org/technical-writing/-/jobs/5054629470.
It seems that RSpec/FilePath
(https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecfilepath) is replaced with:
-
RSpec/SpecFilePathFormat
: https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecspecfilepathformat -
RSpec/SpecFilePathSuffix
: https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecspecfilepathsuffix
I think the error is caused by: https://github.com/rubocop/rubocop-rspec/releases/tag/v2.24.0.
I don't think we want to keep RSpec/FilePath
.
Edited by Peter Leitzen