Sha256: 334a826ad7ce22a7a6c6e314f5bb7391e112e8f581df2f14a3ddb210f46ddf90

Contents?: true

Size: 823 Bytes

Versions: 19

Compression:

Stored size: 823 Bytes

Contents

Foodcritic
==========
Automatically runs foodcritic against your cookbooks on check and upload.

Gem Requirements
----------------
This plugin requires the following gems:

```ruby
gem 'foodcritic'
```

Hooks
-----
- `after_check`
- `before_upload`

Configuration
-------------
```yaml
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`

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
knife-spork-1.2.2 plugins/Foodcritic.md
knife-spork-1.2.1 plugins/Foodcritic.md
knife-spork-1.2.0 plugins/Foodcritic.md
knife-spork-1.0.17 plugins/Foodcritic.md
knife-spork-1.0.16 plugins/Foodcritic.md
knife-spork-1.0.14 plugins/Foodcritic.md
knife-spork-1.0.13 plugins/Foodcritic.md
knife-spork-1.0.12 plugins/Foodcritic.md
knife-spork-1.0.10 plugins/Foodcritic.md
knife-spork-1.0.9 plugins/Foodcritic.md
knife-spork-1.0.8 plugins/Foodcritic.md
knife-spork-1.0.7 plugins/Foodcritic.md
knife-spork-1.0.6 plugins/Foodcritic.md
knife-spork-1.0.5 plugins/Foodcritic.md
knife-spork-1.0.4 plugins/Foodcritic.md
knife-spork-1.0.3 plugins/Foodcritic.md
knife-spork-1.0.2 plugins/Foodcritic.md
knife-spork-1.0.1 plugins/Foodcritic.md
knife-spork-1.0.0 plugins/Foodcritic.md