0.01
Repository is archived
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
FoodCritic Thor tasks for your Cookbook projects
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

thor-foodcritic

Gem Version Build Status OpenCollective OpenCollective License

Foodcritic Thor tasks for your Chef cookbook projects

Maintainers

This chef tool is maintained by the Sous Chefs. The Sous Chefs are a community of Chef maintainers working together to maintain important cookbooks and tools. If you’d like to know more please visit sous-chefs.org or come chat with us on the Chef Community Slack in #sous-chefs.

Installation

gem install thor-foodcritic

Usage

To add the FoodCritic tasks to any Thorfile just require this gem

require 'thor/foodcritic'

And then get a list of your thor tasks

$ thor list

foodcritic
----------
thor foodcritic:lint  # Run a lint test against the Cookbook in your current working directory.

Run the lint task to get a review

$ thor foodcritic:lint

FC002: Avoid string interpolation where not required: ...
FC003: Check whether you are running with chef server before using server-specific features: ...
FC011: Missing README in markdown format: ...

If any epic failure tags are specified with the -f flag, Thor will exit with a status code of 100.

Author

Author:: Jamie Winsor (jamie@vialstudios.com)

Contributors

This project exists thanks to all the people who contribute.

Backers

Thank you to all our backers!

https://opencollective.com/sous-chefs#backers

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website.

https://opencollective.com/sous-chefs/sponsor/0/website https://opencollective.com/sous-chefs/sponsor/1/website https://opencollective.com/sous-chefs/sponsor/2/website https://opencollective.com/sous-chefs/sponsor/3/website https://opencollective.com/sous-chefs/sponsor/4/website https://opencollective.com/sous-chefs/sponsor/5/website https://opencollective.com/sous-chefs/sponsor/6/website https://opencollective.com/sous-chefs/sponsor/7/website https://opencollective.com/sous-chefs/sponsor/8/website https://opencollective.com/sous-chefs/sponsor/9/website