Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update golangci-lint to v1.59.1 #266

Merged
merged 1 commit into from
Aug 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .golangci.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
run:
build-tags:
- testtools
skip-dirs:
- internal/models

linters-settings:
goimports:
Expand All @@ -23,15 +21,15 @@ linters:

# additional linters
- bodyclose
- err113
- gocritic
- gocyclo
- goerr113
- gofmt
# - gofumpt
- goimports
- gomnd
- govet
- misspell
- mnd
- noctx
- revive
- stylecheck
Expand All @@ -40,6 +38,8 @@ linters:

# - bod
issues:
exclude-dirs:
- internal/models
exclude-rules:
- path: (.+)_test.go
linters:
Expand Down Expand Up @@ -71,4 +71,4 @@ issues:
- (Expect directory permissions to be 0750 or less|Expect file permissions to be 0600 or less)
# EXC0010 gosec: False positive is triggered by 'src, err := ioutil.ReadFile(filename)'
- Potential file inclusion via variable
exclude-use-default: false
exclude-use-default: false
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ GCI_REPO = github.com/daixiang0/gci
GCI_VERSION = v0.10.1

GOLANGCI_LINT_REPO = github.com/golangci/golangci-lint
GOLANGCI_LINT_VERSION = v1.57.2
GOLANGCI_LINT_VERSION = v1.59.1

NATS_CLI_REPO = github.com/nats-io/natscli
NATS_CLI_VERSION = v0.0.35
Expand Down
Loading