ci: Add `errorlint` configuration to golangci-lint settings by zyfy29 · Pull Request #3743 · google/go-github

@zyfy29

@zyfy29

zyfy29

- whitespace
settings:
errorlint:
errorf: false

Choose a reason for hiding this comment

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

Some errors should not be wrapped as they would expose underlying implementation details, so errorf is set to false here.

@zyfy29

@codecov

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.11%. Comparing base (cd80b0a) to head (cf026ab).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3743   +/-   ##
=======================================
  Coverage   91.11%   91.11%           
=======================================
  Files         187      187           
  Lines       16702    16702           
=======================================
  Hits        15218    15218           
  Misses       1296     1296           
  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.

gmlewis

Choose a reason for hiding this comment

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

Thank you, @zyfy29!
LGTM.
Merging.