2022-05-23 15:04:59 +02:00
|
|
|
run:
|
2023-03-09 14:02:20 +01:00
|
|
|
go: '1.20'
|
2022-05-23 15:04:59 +02:00
|
|
|
timeout: 5m
|
2019-10-11 22:11:28 +02:00
|
|
|
linters:
|
2020-12-29 16:29:59 +01:00
|
|
|
enable:
|
|
|
|
- thelper
|
2022-05-23 15:04:59 +02:00
|
|
|
- gofumpt
|
2023-03-09 14:02:20 +01:00
|
|
|
- tparallel
|
|
|
|
- unconvert
|
|
|
|
- unparam
|
|
|
|
- wastedassign
|
|
|
|
- revive
|
|
|
|
- forbidigo
|
|
|
|
- tagliatelle
|
|
|
|
- misspell
|
|
|
|
- depguard
|
|
|
|
|
|
|
|
linters-settings:
|
|
|
|
forbidigo:
|
|
|
|
forbid:
|
|
|
|
- 'ioutil\.*'
|
|
|
|
tagliatelle:
|
|
|
|
case:
|
|
|
|
use-field-name: false
|
|
|
|
rules:
|
|
|
|
yaml: snake
|
|
|
|
json: snake
|
|
|
|
depguard:
|
|
|
|
list-type: 'denylist'
|
|
|
|
packages-with-error-message:
|
|
|
|
- 'github.com/pkg/errors': 'use stdlib instead'
|