mirror of
https://github.com/mattermost/focalboard.git
synced 2024-11-27 08:31:20 +02:00
d6207dde6c
Also fix some gofmt issues https://mattermost.atlassian.net/browse/MM-49703
66 lines
1015 B
YAML
66 lines
1015 B
YAML
run:
|
|
timeout: 5m
|
|
modules-download-mode: readonly
|
|
skip-dirs:
|
|
- services/store/sqlstore/migrations
|
|
|
|
linters-settings:
|
|
gofmt:
|
|
simplify: true
|
|
govet:
|
|
check-shadowing: true
|
|
enable-all: true
|
|
disable:
|
|
- fieldalignment
|
|
lll:
|
|
line-length: 180
|
|
dupl:
|
|
threshold: 200
|
|
revive:
|
|
enableAllRules: true
|
|
rules:
|
|
- name: exported
|
|
disabled: true
|
|
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- gofmt
|
|
- goimports
|
|
- ineffassign
|
|
- unparam
|
|
- errcheck
|
|
- govet
|
|
- bodyclose
|
|
- durationcheck
|
|
- errorlint
|
|
- exhaustive
|
|
- exportloopref
|
|
- gosec
|
|
- makezero
|
|
- staticcheck
|
|
- prealloc
|
|
- asciicheck
|
|
- depguard
|
|
- dogsled
|
|
- dupl
|
|
- goconst
|
|
- gocritic
|
|
- godot
|
|
- goerr113
|
|
- goheader
|
|
- revive
|
|
- nakedret
|
|
- gomodguard
|
|
- goprintffuncname
|
|
- gosimple
|
|
- lll
|
|
- misspell
|
|
- nolintlint
|
|
- stylecheck
|
|
- typecheck
|
|
- unconvert
|
|
- unused
|
|
- whitespace
|
|
- gocyclo
|