Skip to content

Commit

Permalink
update golangcilint
Browse files Browse the repository at this point in the history
  • Loading branch information
danicc097 committed Jan 25, 2025
1 parent f1832ff commit 7f75749
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# https://github.com/MarioCarrion/todo-api-microservice-example/blob/main/.golangci.yml
run:
skip-files: # ignore yaml error...
# yaml-language-server: $schema=https://raw.githubusercontent.com/golangci/golangci-lint/refs/tags/v1.63.4/jsonschema/golangci.jsonschema.json
issues:
exclude-files:
- ".*\\.xo\\.go$"
- ".*\\.gen\\.go$"
- ".*\\.pb\\.go$"
Expand Down
2 changes: 1 addition & 1 deletion bin/project
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ x.install-tools() {
commands=(
"go install -tags 'postgres' github.com/golang-migrate/migrate/v4/cmd/[email protected]"
"go install github.com/sqlc-dev/sqlc/cmd/[email protected]"
"go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.55.2"
"go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.63.4"
"go install github.com/tufin/[email protected]"
"go install golang.org/x/tools/cmd/goimports@latest"
"go install mvdan.cc/gofumpt@latest"
Expand Down

0 comments on commit 7f75749

Please sign in to comment.