FoodcriticRubocop: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Raw notes... needs formatting, context, examples <syntaxhighlight> gem install chefstyle - rubocop or rubocop -r chefstyle -D --format offenses foodcritic . foodcritic -t -...") |
(No difference)
|
Revision as of 12:21, 29 December 2017
Raw notes... needs formatting, context, examples
gem install chefstyle
- rubocop or rubocop -r chefstyle -D --format offenses
foodcritic .
foodcritic -t -FC002 -f all .
foodcritic -t correctness
chef exec rspec
script:
- chefstyle
- foodcritic .
- chef exec rspec
- kitchen test -d always
chefstyle -a