config/cookstyle.yml in cookstyle-6.11.4 vs config/cookstyle.yml in cookstyle-6.12.6

- old
+ new

@@ -1018,9 +1018,36 @@ VersionAdded: '6.7.0' Include: - '**/libraries/*.rb' - '**/resources/*.rb' +ChefDeprecations/ChefDKGenerators: + Description: Chef Workstation 0.8 and later renamed the ChefDK module used when writing custom cookbook generators from ChefDK to ChefCLI. For compatibility with the latest Chef Workstation releases you'll need to reference the new class names. + StyleGuide: '#chefdkgenerators' + Enabled: true + VersionAdded: '6.12.0' + Exclude: + - '**/metadata.rb' + - '**/Berksfile' + +ChefDeprecations/ChefHandlerRecipe: + Description: There is no need to include the empty and deprecated chef_handler::default recipe in order to use the chef_handler resource. + StyleGuide: '#chefhandlerrecipe' + Enabled: true + VersionAdded: '6.12.0' + Exclude: + - '**/metadata.rb' + - '**/Berksfile' + +ChefDeprecations/UseAutomaticResourceName: + Description: The use_automatic_resource_name method was removed in Chef Infra Client 16. The resource name/provides should be set explicitly instead. + StyleGuide: '#useautomaticresourcename' + Enabled: true + VersionAdded: '6.12.0' + Include: + - '**/libraries/*.rb' + - '**/resources/*.rb' + ############################### # ChefModernize: Cleaning up legacy code and using new built-in resources ############################### ChefModernize: