Skip to content

Commit

Permalink
Update the berksfile rule to only fire on Berksfiles
Browse files Browse the repository at this point in the history
Don't waste time checking this everywhere

Signed-off-by: Tim Smith <tsmith@chef.io>
  • Loading branch information
tas50 committed Jul 19, 2019
1 parent 6b7b459 commit f909c0d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/cookstyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ Chef/NodeSetUnless:
Chef/LegacyBerksfileSource:
Description: Do not use legacy Berksfile community sources. Use Chef Supermarket instead.
Enabled: true
Include:
- '**/Berksfile'

Chef/WhyRunSupportedTrue:
Description: why_run_supported? no longer needs to be set to true as it is the default in Chef 13+
Expand Down

0 comments on commit f909c0d

Please sign in to comment.