Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hoank101 committed Feb 7, 2025
1 parent 8dd02b4 commit 02ae3c0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ jobs:
uses: golangci/golangci-lint-action@v4
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.51.2
version: v1.60.1
args: --timeout 10m
github-token: ${{ secrets.github_token }}
10 changes: 7 additions & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ linters:
- gofumpt
- gosec
- gosimple
- govet
# - govet
- ineffassign
- misspell
- nakedret
- nolintlint
# - nolintlint
- staticcheck
- revive
- stylecheck
Expand Down Expand Up @@ -60,4 +60,8 @@ linters-settings:
allow-unused: false
allow-leading-space: true
require-explanation: false
require-specific: false
require-specific: false
revive:
rules:
- name: unused-parameter
disabled: true

0 comments on commit 02ae3c0

Please sign in to comment.