Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: bump golangci and remove deprecated linters
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Salas <[email protected]>
salasberryfin committed Jan 2, 2025
1 parent 0240254 commit 2507cf5
Showing 2 changed files with 3 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ jobs:
- name: golangci-lint
uses: golangci/[email protected]
with:
version: v1.56.2
version: v1.63.2
working-directory: ${{matrix.working-directory}}
args: --timeout=5m0s
skip-cache: true
17 changes: 2 additions & 15 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Options for analysis running.
run:
go: "1.22"
skip-files:
- ".*_test\\.go$"
allow-parallel-runners: true
issues:
exclude-files:
- ".*_test\\.go$"
include:
- EXC0012
- EXC0014
@@ -137,11 +137,8 @@ linters:
- tagliatelle
- exhaustruct
- exhaustive
- exhaustivestruct
- maligned
- funlen
- wrapcheck
- goerr113
- paralleltest
- varnamelen
- cyclop
@@ -150,20 +147,10 @@ linters:
- nonamedreturns
- gocritic
- nlreturn
- gomnd
- ireturn
- depguard
- containedctx
- godox
# The following are all deprecated linters
- deadcode
- ifshort
- varcheck
- scopelint
- interfacer
- structcheck
- golint
- nosnakecase
# Disabled because of generics
- rowserrcheck
- sqlclosecheck

0 comments on commit 2507cf5

Please sign in to comment.