Skip to content

Commit

Permalink
Merge pull request #792 from chef/new_cop
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Smith <tsmith@chef.io>
  • Loading branch information
tas50 authored Nov 5, 2020
2 parents bc8ab4d + 77c3f0b commit 6ada1c4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/cookstyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2763,4 +2763,8 @@ Style/ExpandPathArguments:

# Avoid a safe navigation operator if we don't need it
Lint/RedundantSafeNavigation:
Enabled: true

# Avoid using blocks to remove nils from a Hash/Array
Style/CollectionCompact:
Enabled: true

0 comments on commit 6ada1c4

Please sign in to comment.