Skip to main content

IncludeRecipeWithParentheses

The department is: IncludeRecipeWithParentheses

The full name of the cop is: Chef/Style/IncludeRecipeWithParentheses

Enabled by defaultSupports autocorrectionTarget Chef Version
EnabledYesAll Versions

There is no need to wrap the recipe in parentheses when using the include_recipe helper.

Examples

incorrect

include_recipe('foo::bar')

correct

include_recipe 'foo::bar'

Configurable attributes

NameDefault valueConfigurable values
Version Added6.11.0String
Include
    Array

    Thank you for your feedback!

    ×









    Search Results