2021-05-10 10:08:04 +02:00
|
|
|
linters:
|
|
|
|
enable:
|
2023-03-30 09:31:24 +02:00
|
|
|
- asciicheck
|
|
|
|
- bodyclose
|
2024-08-21 14:40:27 +02:00
|
|
|
- copyloopvar
|
2023-03-30 09:31:24 +02:00
|
|
|
- dogsled
|
|
|
|
- durationcheck
|
|
|
|
- errcheck
|
|
|
|
- errorlint
|
|
|
|
- gci
|
2023-04-04 08:52:59 +02:00
|
|
|
- ginkgolinter
|
2023-10-05 13:00:22 +02:00
|
|
|
- gochecknoinits
|
2023-03-30 09:31:24 +02:00
|
|
|
- gofmt
|
|
|
|
- gofumpt
|
|
|
|
- goimports
|
|
|
|
- gosec
|
|
|
|
- gosimple
|
|
|
|
- govet
|
|
|
|
- importas
|
|
|
|
- ineffassign
|
|
|
|
- misspell
|
|
|
|
- nakedret
|
|
|
|
- nolintlint
|
|
|
|
- revive
|
|
|
|
- staticcheck
|
|
|
|
- typecheck
|
|
|
|
- unconvert
|
|
|
|
- unparam
|
|
|
|
- unused
|
|
|
|
- wastedassign
|
|
|
|
|
|
|
|
linters-settings:
|
|
|
|
gci:
|
|
|
|
sections:
|
|
|
|
- standard
|
|
|
|
- default
|
|
|
|
- prefix(github.com/securego)
|
2024-08-21 14:51:50 +02:00
|
|
|
staticcheck:
|
|
|
|
checks:
|
|
|
|
- all
|
|
|
|
- '-SA1019'
|
|
|
|
|
2023-10-23 09:51:33 +02:00
|
|
|
revive:
|
|
|
|
rules:
|
|
|
|
- name: dot-imports
|
|
|
|
disabled: true
|
2023-03-28 19:08:24 +02:00
|
|
|
|
|
|
|
run:
|
|
|
|
timeout: 5m
|