2022-03-18 18:25:50 -03:00
|
|
|
run:
|
2023-08-15 11:15:04 -03:00
|
|
|
go: "1.21"
|
2023-06-05 17:47:54 +00:00
|
|
|
timeout: 5m
|
2019-10-10 13:42:31 +02:00
|
|
|
linters:
|
2020-12-29 15:40:21 +00:00
|
|
|
enable:
|
|
|
|
- thelper
|
2021-04-25 14:20:49 -03:00
|
|
|
- gofumpt
|
|
|
|
- tparallel
|
|
|
|
- unconvert
|
|
|
|
- unparam
|
|
|
|
- wastedassign
|
2021-05-25 16:49:49 -03:00
|
|
|
- revive
|
2021-11-21 11:10:54 -03:00
|
|
|
- forbidigo
|
2021-11-23 10:18:09 -03:00
|
|
|
- tagliatelle
|
2022-04-13 22:39:59 -03:00
|
|
|
- misspell
|
2023-06-05 17:47:54 +00:00
|
|
|
- depguard
|
2023-12-17 15:34:28 -03:00
|
|
|
- testifylint
|
2021-11-21 11:10:54 -03:00
|
|
|
linters-settings:
|
2023-11-29 23:11:46 -03:00
|
|
|
staticcheck:
|
|
|
|
checks:
|
|
|
|
- all
|
|
|
|
- "-SA1019"
|
2021-11-21 11:10:54 -03:00
|
|
|
forbidigo:
|
|
|
|
forbid:
|
|
|
|
- 'ioutil\.*'
|
2021-11-23 10:18:09 -03:00
|
|
|
tagliatelle:
|
|
|
|
case:
|
|
|
|
use-field-name: false
|
|
|
|
rules:
|
|
|
|
yaml: snake
|
|
|
|
json: snake
|
2023-06-05 17:47:54 +00:00
|
|
|
depguard:
|
|
|
|
rules:
|
|
|
|
main:
|
|
|
|
deny:
|
|
|
|
- pkg: "github.com/pkg/errors"
|
|
|
|
desc: "use stdlib instead"
|