focalboard/server/.golangci.yml

62 lines
944 B
YAML
Raw Permalink Normal View History

run:
timeout: 5m
modules-download-mode: readonly
skip-dirs:
2021-07-09 06:59:44 -04:00
- services/store/sqlstore/migrations
linters-settings:
gofmt:
simplify: true
govet:
check-shadowing: true
enable-all: true
disable:
- fieldalignment
lll:
line-length: 150
linters:
disable-all: true
enable:
- gofmt
- goimports
- deadcode
- ineffassign
- structcheck
- varcheck
- unparam
- errcheck
- govet
- bodyclose
- durationcheck
- errorlint
- exhaustive
- exportloopref
- gosec
- makezero
- staticcheck
- prealloc
- asciicheck
- depguard
- dogsled
- dupl
- goconst
- gocritic
- godot
- goerr113
- goheader
- golint
2021-07-09 06:59:44 -04:00
- nakedret
- gomodguard
- goprintffuncname
- gosimple
- lll
- misspell
- nolintlint
- stylecheck
2021-07-09 06:59:44 -04:00
- typecheck
- unconvert
2021-07-09 06:59:44 -04:00
- unused
- whitespace
- gocyclo