
FoodCritiic is a linter for Chef Cookbooks. It does an automated code review on your Chef Cookbook and reports violations. See the FoodCritiic home page for a list of violations and how to fix them.
Here are steps I used to install it on Windows.
- Install Ruby
- Install Ruby DevKit. I put in C:\Ruby-DevKit
cd C:\Ruby-DevKit
ruby dk.rb init
ruby dk.rb install
gem install foodcritic - Restart cmd tool
- Run FoodCritic
foodcritic my_cookbook_dir