Skip to content

[meshery-cilium] ci: globally disable ST1005 staticcheck lint rule#197

Open
Devesanoff wants to merge 1 commit intomeshery-extensions:masterfrom
Devesanoff:fix/disable-ST1005-lint
Open

[meshery-cilium] ci: globally disable ST1005 staticcheck lint rule#197
Devesanoff wants to merge 1 commit intomeshery-extensions:masterfrom
Devesanoff:fix/disable-ST1005-lint

Conversation

@Devesanoff
Copy link
Copy Markdown

Description

This PR adds the staticcheck configuration to .golangci.yml to globally and permanently disable the ST1005 (lowercase error strings) lint rule for the Cilium adapter.

Fixes meshery/meshery#16867

Notes for Reviewers

  • Added staticcheck settings to .golangci.yml to ignore ST1005.
  • This maintainers consistency across the Meshery ecosystem.
  • Verified that staticcheck was already enabled in the linters list.

Signed commits

  • Yes, I signed my commits.

Signed-off-by: Devesanoff <esanovmadaminjon@gmail.com>
Comment thread .golangci.yml
linters-settings:
staticcheck:
checks: ["all", "-ST1005"]
depguard:
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

depguard was added again when it's already present in the under this setting. needs to be removed

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.

[CI] Globally and permanently disable ST1005 lint checks

2 participants