xorm/.golangci.yml
Lunny Xiao a2d3669edf
Some checks failed
continuous-integration/drone/push Build is failing
Add README and fix some lints (#2079)
as title.

Reviewed-on: #2079
2021-12-14 09:00:35 +08:00

24 lines
431 B
YAML

linters:
enable:
- gosimple
- deadcode
- typecheck
- govet
- errcheck
- staticcheck
- unused
- structcheck
- varcheck
- dupl
#- gocyclo # The cyclomatic complexety of a lot of functions is too high, we should refactor those another time.
- gofmt
- misspell
- gocritic
- bidichk
- ineffassign
enable-all: false
disable-all: true
fast: false
run:
timeout: 3m