Skip to content

Commit

Permalink
all: upgrade to golangci-lint v1.55.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcloughlin committed Jan 8, 2024
1 parent 90de626 commit f6e097b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ linters:
disable-all: true
enable:
- asciicheck
- deadcode
- depguard
- dupl
- errcheck
Expand Down Expand Up @@ -34,22 +33,22 @@ linters:
- predeclared
- revive
- staticcheck
- structcheck
- stylecheck
- thelper
- typecheck
- unconvert
- unparam
- unused
- varcheck
- wastedassign
- whitespace

linters-settings:
depguard:
list-type: whitelist
packages:
- github.com/mmcloughlin/md4
rules:
main:
allow:
- github.com/mmcloughlin/md4
- $gostd

issues:
exclude-use-default: false
2 changes: 1 addition & 1 deletion script/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -exuo pipefail

# Install golangci-lint
golangci_lint_version='v1.42.0'
golangci_lint_version='v1.55.2'
golangci_install_script="https://raw.githubusercontent.com/golangci/golangci-lint/${golangci_lint_version}/install.sh"
curl -sfL "${golangci_install_script}" | sh -s -- -b "$GOPATH/bin" "${golangci_lint_version}"

Expand Down

0 comments on commit f6e097b

Please sign in to comment.