1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-24 13:43:12 +02:00
focalboard/server/.golangci.yml

67 lines
1.0 KiB
YAML
Raw Normal View History

run:
timeout: 5m
modules-download-mode: readonly
skip-dirs:
2021-07-09 12:59:44 +02:00
- services/store/sqlstore/migrations
linters-settings:
gofmt:
simplify: true
govet:
check-shadowing: true
enable-all: true
disable:
- fieldalignment
lll:
line-length: 150
revive:
enableAllRules: true
rules:
- name: exported
disabled: true
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
- revive
2021-07-09 12:59:44 +02:00
- nakedret
- gomodguard
- goprintffuncname
- gosimple
- lll
- misspell
- nolintlint
- stylecheck
2021-07-09 12:59:44 +02:00
- typecheck
- unconvert
2021-07-09 12:59:44 +02:00
- unused
- whitespace
- gocyclo