feat: init client
This commit is contained in:
43
.golangci.yml
Normal file
43
.golangci.yml
Normal file
@@ -0,0 +1,43 @@
|
||||
version: "2"
|
||||
linters:
|
||||
default: all
|
||||
disable:
|
||||
- wsl # Disable the default wsl linter due to deprecated status
|
||||
- exhaustruct
|
||||
- gochecknoglobals
|
||||
- godox
|
||||
- gomoddirectives
|
||||
- ireturn
|
||||
- testpackage
|
||||
- wrapcheck
|
||||
enable:
|
||||
- wsl_v5
|
||||
settings:
|
||||
depguard:
|
||||
rules:
|
||||
main:
|
||||
allow:
|
||||
- tcgdex-golang
|
||||
list-mode: lax
|
||||
wsl_v5:
|
||||
allow-first-in-block: true
|
||||
allow-whole-block: false
|
||||
branch-max-lines: 2
|
||||
exclusions:
|
||||
generated: lax
|
||||
paths:
|
||||
- third_party$
|
||||
- builtin$
|
||||
- examples$
|
||||
formatters:
|
||||
enable:
|
||||
- gci
|
||||
- gofmt
|
||||
- gofumpt
|
||||
- goimports
|
||||
exclusions:
|
||||
generated: lax
|
||||
paths:
|
||||
- third_party$
|
||||
- builtin$
|
||||
- examples$
|
||||
Reference in New Issue
Block a user