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:
|
|
|
|
line-length: 150
|
2022-02-22 18:42:49 +01: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
|
|
|
|
- gocyclo
|