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 2b0a2da
Showing 1 changed file with 19 additions and 11 deletions.
30 changes: 19 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,34 @@ 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
- fatcontext
- wastedassign

issues:
exclude-dirs:
Expand Down

0 comments on commit 2b0a2da

Please sign in to comment.