Skip to content

Commit

Permalink
fix(code standards): bring over more linters from dymint repo (#884)
Browse files Browse the repository at this point in the history
  • Loading branch information
danwt authored May 20, 2024
1 parent 6f1c2cd commit 98faac3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/golangci_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
go-version: "1.22"
- name: golangci-lint
uses: golangci/golangci-lint-action@v4.0.0
uses: golangci/golangci-lint-action@v6
with:
version: v1.56.2
version: v1.58
skip-cache: true
13 changes: 9 additions & 4 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
run:
concurrency: 4
timeout: 5m
tests: true
modules-download-mode: readonly
Expand Down Expand Up @@ -32,17 +33,21 @@ output:
linters:
disable-all: true
enable:
- gofumpt
- misspell
- revive
- errcheck
- gocyclo
- gofmt
- gofumpt
- goimports
- gosec
- gosimple
- govet
- ineffassign
- misspell
- revive
- staticcheck
- typecheck
- unconvert
- unused
- gosec

issues:
exclude-use-default: false
Expand Down

0 comments on commit 98faac3

Please sign in to comment.