From 284dc12896ebd187337978c85a7a865929241393 Mon Sep 17 00:00:00 2001 From: Gavin Didrichsen Date: Tue, 3 Oct 2023 14:37:24 +0100 Subject: [PATCH] (CAT-1488) - Exclude ``Rspec/FilePath`` cop. Why? ``Rspec/FilePath`` is going to be deprecated in the next major release of rubocop >=3.0.0: see . As the new cops are already present, e.g., Rspec/SpecFilePathPathFormat, then disabling this in preparation. NOTE: I've added this to the bottom of ``rubocop_baseline.yml`` to highlight that it is deprecated. Signed-off-by: Gavin Didrichsen --- rubocop_baseline.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/rubocop_baseline.yml b/rubocop_baseline.yml index 4cf2aa0f..f0f79135 100644 --- a/rubocop_baseline.yml +++ b/rubocop_baseline.yml @@ -81,3 +81,10 @@ Style/Documentation: - spec/**/* Style/WordArray: EnforcedStyle: brackets +#################################################### +# Cops below here due for deprecation +#################################################### +# ``Rspec/FilePath`` is going to be deprecated in the next major release of rubocop >=3.0.0: see +# As the new cops are already present, e.g., Rspec/SpecFilePathPathFormat, then disabling this in preparation +RSpec/FilePath: + Enabled: false