File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 11# https://github.com/MarioCarrion/todo-api-microservice-example/blob/main/.golangci.yml
2- run :
3- skip-files : # ignore yaml error...
4- - " .*\\ .xo\\ .go$"
5- - " .*\\ .gen\\ .go$"
6- - " .*\\ .pb\\ .go$"
2+ # yaml-language-server: $schema=https://raw.githubusercontent.com/golangci/golangci-lint/refs/tags/v1.63.4/jsonschema/golangci.jsonschema.json
3+
74linters :
85 enable-all : true
96 disable :
@@ -65,7 +62,6 @@ linters-settings:
6562 json : goCamel
6663 yaml : goCamel
6764 staticcheck :
68- go : " 1.22"
6965 checks :
7066 - " all"
7167 gci :
@@ -117,6 +113,10 @@ linters-settings:
117113 ignorePackageGlobs :
118114 - github.com/danicc097/openapi-go-gin-postgres-sqlc/*
119115issues :
116+ exclude-files :
117+ - " .*\\ .xo\\ .go$"
118+ - " .*\\ .gen\\ .go$"
119+ - " .*\\ .pb\\ .go$"
120120 exclude-rules :
121121 - path : " internal/testutil/*" # doesn't work with internal/... for some reason
122122 linters :
Original file line number Diff line number Diff line change @@ -285,7 +285,7 @@ x.install-tools() {
285285 commands=(
286286 " go install -tags 'postgres' github.com/golang-migrate/migrate/v4/cmd/migrate@v4.15.2"
287287 " go install github.com/sqlc-dev/sqlc/cmd/sqlc@v1.24.0"
288- " go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.55.2 "
288+ " go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.63.4 "
289289 " go install github.com/tufin/oasdiff@v1.10.9"
290290 " go install golang.org/x/tools/cmd/goimports@latest"
291291 " go install mvdan.cc/gofumpt@latest"
You can’t perform that action at this time.
0 commit comments