Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

54 lines (41 sloc) 0.823 kB

Foodcritic

Automatically runs foodcritic against your cookbooks on check and upload.

Gem Requirements

This plugin requires the following gems:

gem 'foodcritic'

Hooks

  • after_check
  • before_upload

Configuration

plugins:
  foodcritic:
    tags:
      - FC0023
    fail_tags:
      - any
    include_rules:
      - foodcritic/etsy
    epic_fail: true

tags

The tags to check against.

  • Type: Array
  • Default: '[any]'

fail_tags

The list of tags to fail on.

  • Type: 'Array'
  • Default: '[any]'

include_rules

An optional list of additional rules to run.

  • Type: Array

epic_fail:

If set to true, epic_fail will prevent you from uploading a cookbook until all foodcritic rules pass.

  • Type: Boolean
  • Default: true
Jump to Line
Something went wrong with that request. Please try again.