Skip to content

Commit

Permalink
update golangci-lint to v1.59.1 (#266)
Browse files Browse the repository at this point in the history
Updates golangci-lint to v1.59.1 along with it's config file.

Signed-off-by: Mike Mason <[email protected]>
  • Loading branch information
mikemrm authored Aug 7, 2024
1 parent 52c11bc commit 80eb049
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
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

0 comments on commit 80eb049

Please sign in to comment.