Skip to content

lint: Update linter version#4434

Merged
cce merged 3 commits into
algorand:masterfrom
cce:update-lintversion
Aug 19, 2022
Merged

lint: Update linter version#4434
cce merged 3 commits into
algorand:masterfrom
cce:update-lintversion

Conversation

@cce
Copy link
Copy Markdown
Contributor

@cce cce commented Aug 19, 2022

Summary

Following on #4418 and #4241 this upgrades the version of golangci-lint to match the lint-cleanliness achieved in #4241. (Older versions of golangci-lint were producing false positives)

Test Plan

All tests should pass.

@codecov
Copy link
Copy Markdown

codecov Bot commented Aug 19, 2022

Codecov Report

Merging #4434 (a2fe441) into master (feab018) will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4434      +/-   ##
==========================================
- Coverage   55.23%   55.20%   -0.04%     
==========================================
  Files         398      398              
  Lines       50148    50148              
==========================================
- Hits        27700    27682      -18     
- Misses      20136    20150      +14     
- Partials     2312     2316       +4     
Impacted Files Coverage Δ
util/db/dbutil.go 43.63% <0.00%> (-4.85%) ⬇️
network/wsPeer.go 65.47% <0.00%> (-3.02%) ⬇️
ledger/acctonline.go 78.36% <0.00%> (-0.53%) ⬇️
network/wsNetwork.go 64.63% <0.00%> (-0.20%) ⬇️
ledger/tracker.go 74.78% <0.00%> (+0.85%) ⬆️
ledger/blockqueue.go 87.35% <0.00%> (+1.72%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@cce cce merged commit 9c6753e into algorand:master Aug 19, 2022
@cce cce deleted the update-lintversion branch August 19, 2022 22:17
Comment thread .golangci.yml
Comment on lines +65 to +66
# staticcheck: we'll keep using ioutil for now
- 'SA1019: "io/ioutil" has been deprecated since Go 1.16'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants