refactor: Simplify for range loops by alexandear · Pull Request #3762 · google/go-github

@alexandear

This PR enables the intrange linter to detect for range loops that can be simplified.

@alexandear

ccoVeille

gmlewis

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@codecov

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.34%. Comparing base (960f978) to head (170d237).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3762   +/-   ##
=======================================
  Coverage   91.34%   91.34%           
=======================================
  Files         187      187           
  Lines       16702    16702           
=======================================
  Hits        15257    15257           
  Misses       1257     1257           
  Partials      188      188           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.