Skip to content

Commit

Permalink
lints
Browse files Browse the repository at this point in the history
  • Loading branch information
matmerr committed Jul 9, 2024
1 parent 2a8c4f0 commit f95b9f7
Show file tree
Hide file tree
Showing 10 changed files with 25,307 additions and 25,299 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
IMAGE_NAMESPACE=${{ github.repository }} \
PLATFORM=${{ matrix.platform }}/${{ matrix.arch }} \
IMAGE_REGISTRY=${{ vars.ACR_NAME }} \
YEAR=${{ matrix.year }} \
WINDOWS_YEARS=${{ matrix.year }} \
BUILDX_ACTION=--push
else
make retina-image-win \
Expand Down
12 changes: 12 additions & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@ issues:
max-same-issues: 0
max-issues-per-linter: 0
new-from-rev: origin/main
exclude-rules:
# some type names are caps/underscore to map OS primitive types
- path: pkg/metrics/types_windows.go
linters:
- revive
- gomnd
- var-naming
- path: pkg/metrics/types_linux.go
linters:
- revive
- gomnd
- var-naming
linters:
presets:
- bugs
Expand Down
Loading

0 comments on commit f95b9f7

Please sign in to comment.