Skip to main content

Chef/RedundantCode/LongDescriptionMetadata

Cookstyle cops page

The Cookstyle cops department: Chef/RedundantCode

Enabled by defaultSupports autocorrectionTarget Chef Version
EnabledYesAll Versions

The long_description metadata.rb method is not used and is unnecessary in cookbooks.

Examples

incorrect

long_description 'this is my cookbook and this description will never be seen'

Configurable attributes

NameDefault valueConfigurable values
Version Added5.2.0String
Include
  • **/metadata.rb
Array

Thank you for your feedback!

×










Search Results