config/cookstyle.yml in cookstyle-7.11.3 vs config/cookstyle.yml in cookstyle-7.12.2

- old
+ new

@@ -1188,9 +1188,25 @@ Exclude: - '**/metadata.rb' - '**/Berksfile' - '**/Rakefile' +Chef/Deprecations/HWRPWithoutUnifiedTrue: + Description: Set `unified_mode true` in Chef Infra Client 15.3+ HWRP style custom resources to ensure they work correctly in Chef Infra Client 18 (April 2022) when Unified Mode becomes the default. + StyleGuide: 'chef_deprecations_hwrpwithoutunifiedtrue' + Enabled: true + VersionAdded: '7.12.0' + Include: + - '**/libraries/*.rb' + +Chef/Deprecations/ResourceWithoutUnifiedTrue: + Description: Set `unified_mode true` in Chef Infra Client 15.3+ custom resources to ensure they work correctly in Chef Infra Client 18 (April 2022) when Unified Mode becomes the default. + StyleGuide: 'chef_deprecations_resourcewithoutunifiedtrue' + Enabled: true + VersionAdded: '7.12.0' + Include: + - '**/resources/*.rb' + ############################### # Chef/Modernize: Cleaning up legacy code and using new built-in resources ############################### Chef/Modernize: