Fix duplicate 'run' key in golangci-lint config #689
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The
.golangci.ymlfile contained duplicaterunkeys (lines 62 and 75), causing golangci-lint to fail with a YAML parsing error.Changes:
runsection at line 75runsection by populating the emptyskip-dirslist with the intended directories (vendor, bundle, config, hack, helpers, img)Before:
After:
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
golangci-lint.run/home/REDACTED/go/bin/golangci-lint golangci-lint config verify -c .golangci.yml -c=4 -nolocalimports -importcfg /tmp/go-build824034657/b653/importcfg -pack /home/REDACTED/go/pkg/mod/helm.sh/helm/[email protected]/pkg/chart/loader/archive.go /home/REDACTED/go/pkg/mod/helm.sh/helm/[email protected]/pkg/chart/loader/directory.go 0.1-�� _proto/common.pb.go rg/[email protected]/grpc/internal/resolver/passthrough ux-amd64/pkg/tool/linux_amd64/compile [email protected] internal/strings-o l/linux_amd64/co/tmp/go-build824034657/b617/_pkg_.a ux-amd64/pkg/too-trimpath(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.