Lint tool for Chef cookbooks.
Ruby Cucumber
Latest commit 5d167d9 Aug 19, 2016 @tas50 tas50 committed on GitHub Merge pull request #482 from acrmp/lcg/chefstyle-0.4.0
fix chefstyle 0.4.0 new offenses

README.md

Foodcritic

Build Status Gem Version

Foodcritic is a code linting tool for writing better and safer Chef cookbooks that runs both as a command line tool and as a Rake task. Out of the box Foodcritic contains over 50 cookbook rules, and plugin system for writing your own rules.

Basic Usage

$ gem install foodcritic
$ foodcritic my_cookbook_dir

Documentation

The Foodcritic site at http://foodcritic.io/ contains documentation for each of the rules as well as documentation on the API for writing your own rules.

Requirements

  • Ruby 2.1+

Building Foodcritic

$ bundle install
$ bundle exec rake

License

MIT - see the accompanying LICENSE file for details.

Changelog

To see what has changed in recent versions see the CHANGELOG. Foodcritic follows the Rubygems Semantic Versioning Policy.

Contributing

Additional rules and bug fixes are welcome! Please fork and submit a pull request on an individual branch per change.