The Wayback Machine - https://web.archive.org/web/20201113063142/https://github.com/codeclimate-community/codeclimate-foodcritic
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
doc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Code Climate Engine to run Foodcritic

Usage

.codeclimate.yml

engines:
  foodcritic:
    enabled: true

Configuration

This engine accepts tags, cookbook_paths and include_rules in its configuration. All values are optional:

engines:
  foodcritic:
    enabled: true
    config:
      tags:
      - "~FC011"
      - "~FC033"
      cookbook_paths:
      - libraries/mysql.rb
      - libraries/docker.rb
      include_rules:
      - rules/my_custom_rule.rb
      - rules/my_other_custom_rule.rb

NOTE: cookbook_paths, when defined, are passed directly to Foodcritic and any computed include_paths (which take into account your configured exclude_paths) are ignored.

You can’t perform that action at this time.