Skip to content
This repository was archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
added note about relative paths in foodcritic rules
Browse files Browse the repository at this point in the history
  • Loading branch information
sethvargo committed Aug 16, 2012
1 parent 9c3921a commit de3fd2a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,15 @@ As of `v0.0.3`, there's an option for `--fail-fast` that will fail immediately w

$ bundle exec strain phantomjs --fail-fast

Custom Foodcritic Rules
-----------------------
I always advocate using both [Etsy Foodcritic Rules](https://github.com/etsy/foodcritic-rules) and [CustomInk Foodcritic Rules](https://github.com/customink/foodcritic-rules) in all your projects. I also advocate keeping them all as submodules in `[Chef Repo]/foodcritic/...`. This makes strainer unhappy...

Strainer runs everything in an isolated sandbox, inside your Chef Repo. The root of your Chef Repo is two folders above the sandbox environment. This means, when including additional foodcritic rules, you need to do something like this:

# Colanderfile
foodcritic: bundle exec foodcritic -I ../../foodcritic/* -f any $COOKBOOK

Needs Your Help
---------------
This is a list of features or problem *you* can help solve! Fork and submit a pull request to make Strain even better!
Expand Down

0 comments on commit de3fd2a

Please sign in to comment.