cookstyle
cookstyle copied to clipboard
A linting tool that helps you to write better Chef Infra cookbooks and InSpec profiles by detecting and automatically correcting style, syntax, and logic mistakes in your code.
### What category of cop is this?: Please try to select as few as possible. - [ ] Chef/Deprecations - A cop that alerts on a deprecation in the Chef...
### What category of cop is this?: Please try to select as few as possible. - [ ] Chef/Deprecations - A cop that alerts on a deprecation in the Chef...
False positive with this in a library: ```ruby def log_vars(action, status) @type = 'cpe_nomad' @action = action @status = status end ```
### What category of cop is this?: Please try to select as few as possible. - [ ] ChefDeprecations - A cop that alerts on a deprecation in the Chef...
### What category of cop is this?: Please try to select as few as possible. - [ ] ChefDeprecations - A cop that alerts on a deprecation in the Chef...
### What category of cop is this?: Please try to select as few as possible. - [ ] ChefDeprecations - A cop that alerts on a deprecation in the Chef...
ChefDeprecations/HWRPWithoutResourcenameAndProvides and ChefDeprecations/ResourceWithoutNameOrProvides need to be updated once Chef-15 is fully deprecated to remove any resource_name which duplicates an already existing provides line. See #648 and comments in the spec...
### What category of cop is this?: Please try to select as few as possible. - [ ] ChefDeprecations - A cop that alerts on a deprecation in the Chef...
Node attributes round trip to JSON and symbols get squashed to strings. For policyfiles, they are rendered into JSON and those are always interpreted as strings, which means it is...
### What category of cop is this?: Please try to select as few as possible. - [ ] ChefDeprecations - A cop that alerts on a deprecation in the Chef...