Cookstyle is a code linting tool that helps you to write better Chef Infra
cookbooks and InSpec profiles by detecting and automatically correcting style,
syntax, logic, and security mistakes in your code.

Cookstyle is powered by the RuboCop linting engine. RuboCop ships with over
three-hundred rules, or cops, designed to detect common Ruby coding mistakes and
enforce a common coding style. We've customized Cookstyle with a subset of those
cops that we believe are perfectly tailored for cookbook development. We also
ship 260 Chef Infra specific cops that catch common cookbook coding mistakes,
clean up portions of code that are no longer necessary, and detect deprecations
that prevent cookbooks from running on the latest releases of Chef Infra Client.
