mirror of
https://github.com/mattermost/focalboard.git
synced 2024-12-06 08:46:30 +02:00
66975bdfe9
* first pass linter cleanup * address review comments
64 lines
970 B
YAML
64 lines
970 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: 150
|
|
gomnd:
|
|
ignored-numbers: 10
|
|
|
|
|
|
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
|
|
- gochecknoinits
|
|
- goconst
|
|
- gocritic
|
|
- godot
|
|
# - goerr113
|
|
- goheader
|
|
- golint
|
|
# - gomnd
|
|
- gomodguard
|
|
- goprintffuncname
|
|
- gosimple
|
|
- lll
|
|
- misspell
|
|
- nolintlint
|
|
- stylecheck
|
|
- unconvert
|
|
- whitespace
|
|
- gocyclo
|