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
|
2024-12-20 09:03:23 +00:00
|
|
|
- testifylint
|
2023-03-30 08:31:24 +01:00
|
|
|
- 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'
|
|
|
|
|
2024-12-20 09:03:23 +00:00
|
|
|
testifylint:
|
|
|
|
enable-all: true
|
|
|
|
|
2023-10-23 08:51:33 +01:00
|
|
|
revive:
|
|
|
|
rules:
|
|
|
|
- name: dot-imports
|
|
|
|
disabled: true
|
2024-11-30 09:54:57 +00:00
|
|
|
- name: redefines-builtin-id
|
2023-03-28 18:08:24 +01:00
|
|
|
|
|
|
|
run:
|
|
|
|
timeout: 5m
|