Skip to content

codeclimate-community/codeclimate-foodcritic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Ale Paredes
Apr 29, 2020
9a4d471 · Apr 29, 2020

History

13 Commits
Mar 9, 2016
Jun 24, 2016
Oct 24, 2016
Apr 23, 2018
May 4, 2016
May 4, 2016
Oct 24, 2016
Mar 9, 2016
Oct 24, 2016
Apr 23, 2018
Apr 29, 2020
Mar 9, 2016
Oct 24, 2016
May 4, 2016
Mar 9, 2016

Repository files navigation

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.