Code Climate Engine to run Foodcritic
.codeclimate.yml
engines:
foodcritic:
enabled: true
This engine accepts tags
and cookbook_paths
in its configuration. Both
values are optional:
engines:
foodcritic:
enabled: true
config:
tags:
- "~FC011"
- "~FC033"
cookbook_paths:
- libraries/mysql.rb
- libraries/docker.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.