yetus-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clay B. (Jira)" <j...@apache.org>
Subject [jira] [Commented] (YETUS-44) Add support for foodcritic
Date Wed, 20 Nov 2019 19:05:00 GMT

    [ 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)

Mime
View raw message