Skip to content

Commit

Permalink
add useful linters
Browse files Browse the repository at this point in the history
  • Loading branch information
tkxkd0159 committed Jun 11, 2024
1 parent 28e0a28 commit 18a2a3b
Showing 1 changed file with 20 additions and 11 deletions.
31 changes: 20 additions & 11 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
run:
tests: true
timeout: 5m
timeout: 15m
allow-parallel-runners: true
build-tags:
- ledger
Expand All @@ -14,26 +14,35 @@ linters:
disable-all: true
enable:
- errcheck
- dogsled
- exportloopref
- goconst
- gocritic
- gci
- gofumpt
- gosec
- gosimple
- govet
- ineffassign
- misspell
- staticcheck
- unused
- dogsled
- gosec
- gci
- gofumpt
- goconst
- gocritic
- nakedret
- nolintlint
- staticcheck
- revive
- misspell
- stylecheck
- typecheck
- thelper
- unconvert
- unused
- asasalint
- asciicheck
- bidichk
- bodyclose
- copyloopvar
- errchkjson
- errorlint
- exhaustive
- fatcontext
- wastedassign

issues:
exclude-dirs:
Expand Down

0 comments on commit 18a2a3b

Please sign in to comment.