Skip to content
This repository has been archived by the owner on Jan 9, 2019. It is now read-only.

Latest commit

 

History

History
38 lines (24 loc) · 1.13 KB

README.md

File metadata and controls

38 lines (24 loc) · 1.13 KB

Guard::Foodcritic

Build History Dependency Status

Guard::Foodcritic automatically runs foodcritic.

Installation

Please be sure to have Guard installed before continuing.

Install the gem:

$ gem install guard-foodcritic

Add the guard-foodcritic definition to your Guardfile by running this command:

$ guard init foodcritic

Options

:all_on_start => false    # Whether to run Foodcritic on all cookbooks at startup
                          # default: true

:cli => "--epic-fail any" # Command line arguments passed to foodcritic
                          # default: "--epic-fail any"

:cookbook_paths => "."    # The path(s) to your cookbooks
                          # default: ["cookbooks"]

:notification => false    # Whether to display notifications after the lint is done running
                          # default: true