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