gomonop/.golangci.yml

40 lines
646 B
YAML
Raw Normal View History

run:
tests: false
linters:
enable-all: true
disable:
- execinquery
- exhaustruct
- forbidigo
- gochecknoglobals
- gofumpt
- gomnd
- ireturn
- mnd
- nlreturn
- nonamedreturns
- wrapcheck
- wsl
linters-settings:
depguard:
rules:
Main:
list-mode: strict
files:
- $all
allow:
- $gostd
- nocternity.net/gomonop
- github.com/karrick/golf
- github.com/miekg/dns
gci:
sections:
- standard
- default
- localmodule
gomoddirectives:
replace-allow-list:
- github.com/karrick/golf