Skip to content

Commit

Permalink
Merge pull request #101 from chef/lint
Browse files Browse the repository at this point in the history
Enable Lint/Syntax
  • Loading branch information
tas50 authored Sep 14, 2020
2 parents 476e248 + 351941e commit e012002
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion config/chefstyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,10 @@ Style/CommentedKeyword:
Lint/DeprecatedOpenSSLConstant:
Enabled: true

# alert on invalid ruby synatx
Lint/Syntax:
Enabled: true

ChefRuby/Ruby27KeywordArgumentWarnings:
Description: Pass options to shell_out helpers without the brackets to avoid Ruby 2.7 deprecation warnings.
Enabled: true
Expand All @@ -655,4 +659,4 @@ ChefRuby/GemspecRequireRubygems:
ChefRuby/RequireNetHttps:
Description: net/https is deprecated and just includes net/http and openssl. We should include those directly instead
Enabled: true
VersionAdded: '1.3.0'
VersionAdded: '1.3.0'

0 comments on commit e012002

Please sign in to comment.