Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
docker
/
cli
Public
Notifications
You must be signed in to change notification settings
Fork
2.2k
Star
6k
Code
Issues
573
Pull requests
244
Discussions
Actions
Projects
Security and quality
2
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Replace gometalinter with Golangci lint
- #1797
#1797
Closed
silvin-lubecki
wants to merge 30 commits into
docker:master
docker/cli:master
from
silvin-lubecki:golangci-lint
silvin-lubecki/cli:golangci-lint
Copy head branch name to clipboard
Conversation
Commits
30
(30)
Checks
Files changed
Closed
Replace gometalinter with Golangci lint
#1797
silvin-lubecki
wants to merge 30 commits into
docker:master
docker/cli:master
from
silvin-lubecki:golangci-lint
silvin-lubecki/cli:golangci-lint
Copy head branch name to clipboard
Commits
Commits on Apr 2, 2019
opts/throttledevice.go:51:5: SA4003: unsigned values are never < 0 (staticcheck)
Show description for c38ca4c
silvin-lubecki
committed
c38ca4c
View commit details
Copy full SHA for c38ca4c
Browse repository at this point
cli/command/trust/inspect_pretty_test.go:399:24: SA4010: this result of append is never used, except maybe in other appends (staticcheck)
Show description for 65808fc
silvin-lubecki
committed
65808fc
View commit details
Copy full SHA for 65808fc
Browse repository at this point
cli/command/container/stats.go:211:21: SA1015: using time.Tick leaks the underlying ticker, consider using it only in endless functions, tests and the main package, and use time.NewTicker here (sta…
Show description for b2158b2
silvin-lubecki
committed
b2158b2
View commit details
Copy full SHA for b2158b2
Browse repository at this point
SA1019: httputil.ErrPersistEOF is deprecated: No longer used. (staticcheck)
Show description for fcbd937
silvin-lubecki
committed
fcbd937
View commit details
Copy full SHA for fcbd937
Browse repository at this point
cli/command/trust/key_generate.go:112:9: nilness: impossible condition: nil != nil (govet)
Show description for 63bf41f
silvin-lubecki
committed
63bf41f
View commit details
Copy full SHA for 63bf41f
Browse repository at this point
cli/command/stack/kubernetes/list.go:32:47: nilness: tautological condition: non-nil != nil (govet)
Show description for 0d5c8d0
silvin-lubecki
committed
0d5c8d0
View commit details
Copy full SHA for 0d5c8d0
Browse repository at this point
cli/command/container/start.go:157:20: nilness: nil dereference in type assertion (govet)
Show description for 27ebbbe
silvin-lubecki
committed
27ebbbe
View commit details
Copy full SHA for 27ebbbe
Browse repository at this point
cli/registry/client/fetcher.go:106:9: nilness: impossible condition: nil != nil (govet)
Show description for 68a8b2c
silvin-lubecki
committed
68a8b2c
View commit details
Copy full SHA for 68a8b2c
Browse repository at this point
cli/compose/types/types.go:106:2: structtag: struct field tag `yaml:",inline", json:"-"` not compatible with reflect.StructTag.Get: key:"value" pairs not separated by spaces (govet)
Show description for 31e233b
silvin-lubecki
committed
31e233b
View commit details
Copy full SHA for 31e233b
Browse repository at this point
opts/ulimit_test.go:11:13: composites: `*github.com/docker/cli/vendor/github.com/docker/go-units.Ulimit` composite literal uses unkeyed fields (govet)
Show description for 0850214
silvin-lubecki
committed
0850214
View commit details
Copy full SHA for 0850214
Browse repository at this point
cli/command/container/attach.go:141:15: nilness: impossible condition: nil != nil (govet)
Show description for 2fc15a6
silvin-lubecki
committed
2fc15a6
View commit details
Copy full SHA for 2fc15a6
Browse repository at this point
unchecked errors
Show description for d5bbb94
silvin-lubecki
committed
d5bbb94
View commit details
Copy full SHA for d5bbb94
Browse repository at this point
cli/command/image/build/context_test.go:244:38: `createTestTempDir` - `dir` always receives `""` (unparam)
Show description for 3c4788a
silvin-lubecki
committed
3c4788a
View commit details
Copy full SHA for 3c4788a
Browse repository at this point
cli/command/image/build/context_test.go:252:71: `createTestTempFile` - `perm` always receives `0777` (`511`) (unparam)
Show description for 321aff9
silvin-lubecki
committed
321aff9
View commit details
Copy full SHA for 321aff9
Browse repository at this point
cli/command/image/build_buildkit.go:450:56: parseSSH - result 1 (error) is always nil (unparam)
Show description for 216bedc
silvin-lubecki
committed
216bedc
View commit details
Copy full SHA for 216bedc
Browse repository at this point
cli/command/image/build_session.go:133:45: getBuildSharedKey - result 1 (error) is always nil (unparam)
Show description for 5abbbfc
silvin-lubecki
committed
5abbbfc
View commit details
Copy full SHA for 5abbbfc
Browse repository at this point
cli/command/plugin/list_test.go:61:31: `TestList$1` - `filter` is unused (unparam)
Show description for 65237e7
silvin-lubecki
committed
65237e7
View commit details
Copy full SHA for 65237e7
Browse repository at this point
cli/command/stack/kubernetes/deploy_test.go:65:68: `checkOwnerReferences` - `stackName` always receives `"test"` (unparam)
Show description for 8f98106
silvin-lubecki
committed
8f98106
View commit details
Copy full SHA for 8f98106
Browse repository at this point
cli/command/system/info.go:116:68: prettyPrintClientInfo - result 0 (error) is always nil (unparam)
Show description for d110697
silvin-lubecki
committed
d110697
View commit details
Copy full SHA for d110697
Browse repository at this point
cli/compose/convert/service.go:592:76: convertDNSConfig - result 1 (error) is always nil (unparam)
Show description for c014ec1
silvin-lubecki
committed
c014ec1
View commit details
Copy full SHA for c014ec1
Browse repository at this point
disable unparam linter on these functions, as we need an error in these function signatures
Show description for 7a47e81
silvin-lubecki
committed
7a47e81
View commit details
Copy full SHA for 7a47e81
Browse repository at this point
cli/context/kubernetes/endpoint_test.go:122:38: `checkClientConfig` - `s` is unused (unparam)
Show description for 2f09e17
silvin-lubecki
committed
2f09e17
View commit details
Copy full SHA for 2f09e17
Browse repository at this point
Disable unparam linter: cli/required.go:102:16: `pluralize` - `word` always receives `"argument"` (unparam)
Show description for f443ad3
silvin-lubecki
committed
f443ad3
View commit details
Copy full SHA for f443ad3
Browse repository at this point
Disable unparam linter: e2e/image/push_test.go:299:27: `withNotaryPassphrase` - `pwd` always receives `"foo"` (unparam)
Show description for 02091c1
silvin-lubecki
committed
02091c1
View commit details
Copy full SHA for 02091c1
Browse repository at this point
cli/command/trust/sign_test.go:119:70: unnecessary conversion (unconvert)
Show description for cd030a1
silvin-lubecki
committed
cd030a1
View commit details
Copy full SHA for cd030a1
Browse repository at this point
File is not `goimports`-ed (goimports)
Show description for 4a7a541
silvin-lubecki
committed
4a7a541
View commit details
Copy full SHA for 4a7a541
Browse repository at this point
cli/compose/convert/service_test.go:274:72: unnecessary conversion (unconvert)
Show description for 54cab47
silvin-lubecki
committed
54cab47
View commit details
Copy full SHA for 54cab47
Browse repository at this point
cli/command/registry/login_test.go:66:25: unnecessary conversion (unconvert)
Show description for 06908e0
silvin-lubecki
committed
06908e0
View commit details
Copy full SHA for 06908e0
Browse repository at this point
cli/command/image/build/context_test.go:244:38: `createTestTempDir` - `prefix` always receives `"builder-context-test"` (unparam)
Show description for e62ed7a
silvin-lubecki
committed
e62ed7a
View commit details
Copy full SHA for e62ed7a
Browse repository at this point
Remove now obsolete gometalinter and use golangci-lint instead with almost the same configuration.
Show description for fbf90f3
silvin-lubecki
committed
fbf90f3
View commit details
Copy full SHA for fbf90f3
Browse repository at this point
You can’t perform that action at this time.