You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@yetus.apache.org by "Clay B. (Jira)" <ji...@apache.org> on 2019/11/20 19:05:00 UTC

[jira] [Commented] (YETUS-44) Add support for foodcritic

    [ https://issues.apache.org/jira/browse/YETUS-44?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16978679#comment-16978679 ] 

Clay B. commented on YETUS-44:
------------------------------

For reference, FoodCritic is now deprecated in favor of Cook Style per the [Chef.IO Blog|https://blog.chef.io/goodbye-foodcritic/].

> Add support for foodcritic
> --------------------------
>
>                 Key: YETUS-44
>                 URL: https://issues.apache.org/jira/browse/YETUS-44
>             Project: Yetus
>          Issue Type: New Feature
>          Components: Precommit
>            Reporter: Travis Thompson
>            Assignee: Jack Bearden
>            Priority: Major
>
> Foodcritic is the chef "best practices" linter (http://acrmp.github.io/foodcritic/)
> Successful output:
> {noformat}
> ± master ✗  → foodcritic .
> ± master ✗  → echo $?     
> 0
> {noformat}
> Unsuccessful output:
> {noformat}
> ± master ✗  → foodcritic .
> FC048: Prefer Mixlib::ShellOut: ./recipes/server.rb:482
> ± master ✗  → echo $?
> 0
> {noformat}
> Here's what caused the failure:
> {noformat}
> 482 `echo "this is bad practice"`
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)