mirror of
https://github.com/goreleaser/nfpm
synced 2024-11-18 19:04:07 +01:00
34 lines
520 B
YAML
34 lines
520 B
YAML
run:
|
|
go: '1.20'
|
|
timeout: 5m
|
|
linters:
|
|
enable:
|
|
- thelper
|
|
- gofumpt
|
|
- 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:
|
|
rules:
|
|
main:
|
|
deny:
|
|
- pkg: 'github.com/pkg/errors'
|
|
desc: 'use stdlib instead'
|