Skip to content

Commit

Permalink
1.18.x linter cleanup (kgateway-dev#10628)
Browse files Browse the repository at this point in the history
  • Loading branch information
sheidkamp authored Feb 17, 2025
1 parent d94c375 commit 3b1b1b2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 16 deletions.
21 changes: 5 additions & 16 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,24 +79,13 @@ run:
# If we find that the job is timing out, we can explore ways to make this job run faster, or increase the timeout.
timeout: 10m

skip-dirs:
# don't lint ruleguard files
- test/rules

# don't lint gomock intermediate files
- 'gomock_reflect_\d*'

# output configuration options
output:
# Format: colored-line-number|line-number|json|colored-tab|tab|checkstyle|code-climate|junit-xml|github-actions|teamcity
#
# Multiple can be specified by separating them by comma, output can be provided
# for each of them by separating format name and path by colon symbol.
# Output path can be either `stdout`, `stderr` or path to the file to write to.
# Example: "checkstyle:report.xml,json:stdout,colored-line-number"
#
# Default: colored-line-number
format: colored-line-number
# Use default format
# Default:
# formats:
# - format: colored-line-number
# path: stdout

# Print lines of code with issue.
print-issued-lines: true
Expand Down
7 changes: 7 additions & 0 deletions changelog/v1.18.8/linter-yaml-changes.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
changelog:
- type: NON_USER_FACING
resolvesIssue: false
description: >-
Updates for golangci-lint-action breaking changes in `6.5.0`
skipCI-kube-tests:true
skipCI-docs-build:true

0 comments on commit 3b1b1b2

Please sign in to comment.