2021-05-10 17:15:27 +02:00
|
|
|
run:
|
|
|
|
timeout: 5m
|
|
|
|
modules-download-mode: readonly
|
|
|
|
skip-dirs:
|
2021-07-09 12:59:44 +02:00
|
|
|
- services/store/sqlstore/migrations
|
2021-05-10 17:15:27 +02:00
|
|
|
|
|
|
|
linters-settings:
|
|
|
|
gofmt:
|
|
|
|
simplify: true
|
|
|
|
govet:
|
|
|
|
check-shadowing: true
|
|
|
|
enable-all: true
|
|
|
|
disable:
|
|
|
|
- fieldalignment
|
2021-06-21 11:21:42 +02:00
|
|
|
lll:
|
2022-03-22 16:24:34 +02:00
|
|
|
line-length: 180
|
2022-02-22 19:42:49 +02:00
|
|
|
dupl:
|
|
|
|
threshold: 200
|
2021-07-14 15:36:18 +02:00
|
|
|
revive:
|
|
|
|
enableAllRules: true
|
|
|
|
rules:
|
|
|
|
- name: exported
|
|
|
|
disabled: true
|
2021-05-10 17:15:27 +02:00
|
|
|
|
|
|
|
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
|
2021-07-09 03:09:02 +02:00
|
|
|
- goerr113
|
2021-05-10 17:15:27 +02:00
|
|
|
- goheader
|
2021-07-14 15:36:18 +02:00
|
|
|
- revive
|
2021-07-09 12:59:44 +02:00
|
|
|
- nakedret
|
2021-05-10 17:15:27 +02:00
|
|
|
- gomodguard
|
|
|
|
- goprintffuncname
|
|
|
|
- gosimple
|
|
|
|
- lll
|
|
|
|
- misspell
|
|
|
|
- nolintlint
|
|
|
|
- stylecheck
|
2021-07-09 12:59:44 +02:00
|
|
|
- typecheck
|
2021-05-10 17:15:27 +02:00
|
|
|
- unconvert
|
2021-07-09 12:59:44 +02:00
|
|
|
- unused
|
2021-05-10 17:15:27 +02:00
|
|
|
- whitespace
|
2022-06-21 17:12:55 +02:00
|
|
|
- gocyclo
|