Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tag all foodcritic rules with cink #4

Merged
merged 1 commit into from Jan 9, 2014
Merged

Tag all foodcritic rules with cink #4

merged 1 commit into from Jan 9, 2014

Conversation

douglasjarquin
Copy link
Contributor

Tagging all the rules with a common string is a vain and trivial change, but increases flexibility. The technique was copied from https://github.com/etsy/foodcritic-rules.

Essentially, it allows the explicit inclusion or exclusion of the rules based on the cink tag, as in:

$ foodcritic --tags easy,cink,FC023 --include foodcritic/*/rules.rb cookbooks

Based on the setup suggested at http://technology.customink.com/blog/2012/08/03/testing-chef-cookbooks/.

sethvargo added a commit that referenced this pull request Jan 9, 2014
Tag all foodcritic rules with cink
@sethvargo sethvargo merged commit b5700f9 into customink-webops:master Jan 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants