Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ChefRuby/RequireNetHttps #98

Merged
merged 1 commit into from
Aug 24, 2020
Merged

Add ChefRuby/RequireNetHttps #98

merged 1 commit into from
Aug 24, 2020

Conversation

tas50
Copy link
Contributor

@tas50 tas50 commented Aug 24, 2020

Catch anywhere we're still doing this.

Signed-off-by: Tim Smith tsmith@chef.io

@tas50 tas50 requested review from a team as code owners August 24, 2020 18:59
config/chefstyle.yml Outdated Show resolved Hide resolved
Catch anywhere we're still doing this.

Signed-off-by: Tim Smith <tsmith@chef.io>
@phiggins
Copy link
Contributor

I could see this adding unnecessary requires if someone blindly accepted the auto correction on code like:

require "net/http"
require "net/https"

That could be way more trouble than its worth to try to guard against though.

@tas50
Copy link
Contributor Author

tas50 commented Aug 24, 2020

We have another rubocop to enable in the near future that solves the duplicate issue.

@tas50 tas50 merged commit 564e90f into master Aug 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants