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 a new ChefRedundantCode and ChefSharing cop groups #428

Merged
merged 3 commits into from
Dec 10, 2019
Merged

Conversation

tas50
Copy link
Contributor

@tas50 tas50 commented Dec 9, 2019

Move some of the chefmodernize and chefcorrect cops into these new groups.

ChefRedundant is for purely redundant code, not code that was made redundant by a newer version of chef. Chef Modernize will still hold cops that require a specific version of Chef before they can be run. This group should be safe regardless of Chef release.

ChefSharing is for things you would want to fix before you shared your code with other teams or shared it on the Supermarket.

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

Move some of the chefmodernize and chefcorrect cops into this new group. This is for purely redundant code, not code that was made redundant by a newer version of chef. Chef Modernize will still hold cops that require a specific version of Chef before they can be run. This group should be safe regardless of Chef release.

Signed-off-by: Tim Smith <tsmith@chef.io>
@tas50 tas50 requested review from a team as code owners December 9, 2019 23:10
This gets us closer to ChefCorrectness only containing things that would potentially break a Chef run

Signed-off-by: Tim Smith <tsmith@chef.io>
@tas50 tas50 changed the title Add a new ChefRedundantCode area Add a new ChefRedundantCode and ChefSharing cop groups Dec 9, 2019
Signed-off-by: Tim Smith <tsmith@chef.io>
@tas50 tas50 merged commit 68d8cfa into master Dec 10, 2019
@chef-expeditor chef-expeditor bot deleted the redundant branch December 10, 2019 17:10
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