Skip to content

Pronto runner for Food Critic, lint tool for chef

License

Notifications You must be signed in to change notification settings

prontolabs/pronto-foodcritic

Repository files navigation

Pronto runner for Food Critic

Code Climate Build Status Gem Version Dependency Status

Pronto runner for Food Critic, lint tool for chef. What is Pronto?

Configuration

You can provide several Food Critic options via .pronto.yml:

foodcritic:
  # Like CLI option --search-gems
  search_gems: true

  # Like CLI option --include, add custom rules to your CI
  include_rules:
    - lib/foodcritic/rules

  # Like CLI option --rule-file
  rule_file: .foodcritic-ci

  # File GLOBs to ignore, matching files won't be passed to Food Critic
  exclude:
    - '**/test/integration/**/*_spec.rb'

Note

Currently, naively uses path to determine if a file is a cookbook or a role configuration.