chore: increase the linter's general prissiness
This commit is contained in:
parent
7f0dd549fd
commit
43e4f2a6f0
1 changed files with 36 additions and 0 deletions
36
.golangci.yml
Normal file
36
.golangci.yml
Normal file
|
@ -0,0 +1,36 @@
|
|||
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
|
Loading…
Reference in a new issue