Skip to content

Commit

Permalink
(maint) - Removed soon-to-be deprecated RSpec/FilePath cops
Browse files Browse the repository at this point in the history
Signed-off-by: Gavin Didrichsen <[email protected]>
  • Loading branch information
gavindidrichsen committed Oct 13, 2023
1 parent 6c2a286 commit f898b41
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
8 changes: 8 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,11 @@ AllCops:
# Disabled
Style/ClassAndModuleChildren:
Enabled: false

####################################################
# Cops below here due for deprecation
####################################################
# ``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>
# As the new cops are already present, e.g., Rspec/SpecFilePathPathFormat, then disabling this in preparation
RSpec/FilePath:
Enabled: false
13 changes: 0 additions & 13 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,19 +131,6 @@ RSpec/DescribeClass:
RSpec/ExampleLength:
Max: 70

# Offense count: 7
# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
# Include: **/*_spec*rb*, **/spec/**/*
RSpec/FilePath:
Exclude:
- 'spec/acceptance/dsc/basic.rb'
- 'spec/acceptance/dsc/cim_instances.rb'
- 'spec/acceptance/dsc/class.rb'
- 'spec/acceptance/dsc/complex.rb'
- 'spec/unit/puppet/provider/dsc_base_provider/dsc_base_provider_spec.rb'
- 'spec/unit/pwsh/version_spec.rb'
- 'spec/unit/pwsh/windows_powershell_spec.rb'

# Offense count: 102
# Configuration parameters: .
# SupportedStyles: have_received, receive
Expand Down

0 comments on commit f898b41

Please sign in to comment.