Synchronization with Foodcritic (Chef)

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
2.6.0 14.3.0
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.