Skip to content

Commit

Permalink
Update the cop names
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Smith <tsmith@chef.io>
  • Loading branch information
tas50 committed Oct 29, 2020
1 parent 3c958b8 commit 0424797
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config/chefstyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -669,26 +669,26 @@ Style/ExpandPathArguments:
Lint/RedundantSafeNavigation:
Enabled: true

ChefRuby/Ruby27KeywordArgumentWarnings:
Chef/Ruby/Ruby27KeywordArgumentWarnings:
Description: Pass options to shell_out helpers without the brackets to avoid Ruby 2.7 deprecation warnings.
Enabled: true
VersionAdded: '1.3.0'

ChefRuby/UnlessDefinedRequire:
Chef/Ruby/UnlessDefinedRequire:
Description: Workaround RubyGems' slow requires by only running require if the constant isn't already defined
Enabled: true
VersionAdded: '1.3.0'
Include:
- 'lib/**/*'

ChefRuby/GemspecRequireRubygems:
Chef/Ruby/GemspecRequireRubygems:
Description: Rubygems does not need to be required in a Gemspec
Enabled: true
VersionAdded: '1.3.0'
Include:
- '**/*.gemspec'

ChefRuby/RequireNetHttps:
Chef/Ruby/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'

0 comments on commit 0424797

Please sign in to comment.