1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-21 13:38:56 +02:00
focalboard/mattermost-plugin/.golangci.yml

81 lines
1.3 KiB
YAML
Raw Normal View History

run:
timeout: 5m
modules-download-mode: readonly
linters-settings:
gofmt:
simplify: true
goimports:
local-prefixes: github.com/mattermost/mattermost-starter-template
golint:
min-confidence: 0
govet:
check-shadowing: true
enable-all: true
2021-07-09 12:59:44 +02:00
disable:
- fieldalignment
misspell:
locale: US
2021-07-09 12:59:44 +02:00
lll:
line-length: 150
linters:
disable-all: true
enable:
2021-07-09 12:59:44 +02:00
- gofmt
- goimports
- deadcode
2021-07-09 12:59:44 +02:00
- ineffassign
- structcheck
- varcheck
- unparam
- errcheck
2021-07-09 12:59:44 +02:00
- govet
- bodyclose
- durationcheck
- errorlint
- exhaustive
- exportloopref
- gosec
- makezero
- staticcheck
- prealloc
- asciicheck
- depguard
- dogsled
- dupl
- goconst
- gocritic
2021-07-09 12:59:44 +02:00
- godot
- goerr113
- goheader
- golint
2021-07-09 12:59:44 +02:00
- nakedret
- gomodguard
- goprintffuncname
- gosimple
2021-07-09 12:59:44 +02:00
- lll
- misspell
2021-07-09 12:59:44 +02:00
- nolintlint
- stylecheck
- typecheck
- unconvert
- unused
- whitespace
2021-07-09 12:59:44 +02:00
- gocyclo
issues:
exclude-rules:
- path: server/manifest.go
linters:
- deadcode
- unused
- varcheck
- path: server/configuration.go
linters:
- unused
- path: _test\.go
linters:
- bodyclose
- scopelint # https://github.com/kyoh86/scopelint/issues/4