Foodcritic is a linter to check your cookbooks configuration for Chef. Foodcritic is available in embedded mode in Themis.
Embedded analysis in Themis
To delegate to Themis the analysis of your cookbooks directories, your must first configure the embedded linters mode for your source. You must then add a sub-plugin for Foodcritic.
You can configure Foodcritic to set the following parameters :
- Root repository is a cookbook (true/false) : Set true if the repository root is a cookbook itself, false if one or more cookbooks are in sub-directories.
- List of cookbook directories : List of cookbooks directories names, comma-separated.
- List of cookbooks to exclude : List of paths, relative to the source root, to exclude from the analysis.
Information and installed version
Website : https://github.com/Foodcritic/foodcritic
Extensions of analyzed files : .rb, .erb
|Version of Themis||Version of Foodcritic|