diff --git a/.rubocop.yml b/.rubocop.yml index 2ccc89f3..06ba896a 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -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 +# As the new cops are already present, e.g., Rspec/SpecFilePathPathFormat, then disabling this in preparation +RSpec/FilePath: + Enabled: false diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 117a61ce..2a307f1a 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -133,12 +133,6 @@ RSpec/ExpectInHook: Exclude: - 'spec/unit/puppet-strings/json_spec.rb' -# Offense count: 20 -# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly. -# Include: **/*_spec*rb*, **/spec/**/* -RSpec/FilePath: - Enabled: false - # Offense count: 91 RSpec/MultipleExpectations: Max: 64