Foodcritic Engine upgrade and support for custom rules
Chef users rejoice! We have upgraded our engine to run Foodcritic v8.1.0.
We’ve also added support to include your own custom static analysis rules. Adding an include_rules
attribute to your .codeclimate.yml
file now allows a list of custom rules to be evaluated in your Code Climate report. Here’s an example configuration file:
engines:
foodcritic:
enabled: true
config:
include_rules:
- rules/my_custom_rule.rb
- rules/my_other_custom_rule.rb
Check out the full engine documentation for all configuration options.