Skip to content

Commit 537d1a6

Browse files
Merge pull request #80 from puppetlabs/maint_remove_deprecated_rubocops
(maint) - Removed soon-to-be deprecated RSpec/FilePath cops
2 parents d584976 + 382933e commit 537d1a6

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.rubocop.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,11 @@ AllCops:
1717
# Disabled
1818
Style/ClassAndModuleChildren:
1919
Enabled: false
20+
21+
####################################################
22+
# Cops below here due for deprecation
23+
####################################################
24+
# ``Rspec/FilePath`` is going to be deprecated in the next major release of rubocop >=3.0.0: see <https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/FilePath>
25+
# As the new cops are already present, e.g., Rspec/SpecFilePathPathFormat, then disabling this in preparation
26+
RSpec/FilePath:
27+
Enabled: false

.rubocop_todo.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -202,12 +202,6 @@ RSpec/DescribeClass:
202202
RSpec/ExampleLength:
203203
Max: 12
204204

205-
# Offense count: 16
206-
# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
207-
# Include: **/*_spec*rb*, **/spec/**/*
208-
RSpec/FilePath:
209-
Enabled: false
210-
211205
# Offense count: 2
212206
RSpec/ImplicitBlockExpectation:
213207
Exclude:

0 commit comments

Comments
 (0)