IncludeRecipeWithParentheses
The department is: Chef/Style
The full name of the cop is: Chef/Style/IncludeRecipeWithParentheses
Enabled by default | Supports autocorrection | Target Chef Version |
---|---|---|
Enabled | Yes | All 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
Name | Default value | Configurable values |
---|---|---|
Version Added | 6.11.0 | String | Exclude |
| Array |
Was this page helpful?