2021-05-10 09:08:04 +01:00
|
|
|
linters:
|
|
|
|
enable:
|
2023-03-30 08:31:24 +01:00
|
|
|
- asciicheck
|
|
|
|
- bodyclose
|
2024-08-21 13:40:27 +01:00
|
|
|
- copyloopvar
|
2023-03-30 08:31:24 +01:00
|
|
|
- dogsled
|
|
|
|
- durationcheck
|
|
|
|
- errcheck
|
|
|
|
- errorlint
|
|
|
|
- gci
|
2023-04-04 07:52:59 +01:00
|
|
|
- ginkgolinter
|
2023-10-05 12:00:22 +01:00
|
|
|
- gochecknoinits
|
2023-03-30 08:31:24 +01: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 13:51:50 +01:00
|
|
|
staticcheck:
|
|
|
|
checks:
|
|
|
|
- all
|
|
|
|
- '-SA1019'
|
|
|
|
|
2023-10-23 08:51:33 +01:00
|
|
|
revive:
|
|
|
|
rules:
|
|
|
|
- name: dot-imports
|
|
|
|
disabled: true
|
2023-03-28 18:08:24 +01:00
|
|
|
|
|
|
|
run:
|
|
|
|
timeout: 5m
|