Skip to content

chore: enable and fix several rules from staticcheck - #3286

Open
mmorel-35 wants to merge 11 commits into
moby:masterfrom
mmorel-35:staticcheck
Open

chore: enable and fix several rules from staticcheck#3286
mmorel-35 wants to merge 11 commits into
moby:masterfrom
mmorel-35:staticcheck

Conversation

@mmorel-35

Copy link
Copy Markdown
Contributor

- What I did

enable and fix several rules from staticcheck

- How I did it

One commit per rule

- How to test it

- Description for the changelog

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>

fix: QF1001 issues from staticcheck

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>

fix: QF1003 issues from staticcheck

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
@codecov-commenter

codecov-commenter commented Aug 4, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 76.92308% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 14.71%. Comparing base (6e9e7b8) to head (4802a38).
⚠️ Report is 68 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3286      +/-   ##
==========================================
- Coverage   14.73%   14.71%   -0.02%     
==========================================
  Files         200      200              
  Lines       93077    93025      -52     
==========================================
- Hits        13712    13686      -26     
+ Misses      78019    77993      -26     
  Partials     1346     1346              
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread .golangci.yml Outdated
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
@mmorel-35
mmorel-35 requested a review from thaJeztah August 5, 2026 16:07
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
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.

3 participants