Files
tcgdex-golang/.golangci.yml
2025-08-12 18:57:23 +02:00

44 lines
760 B
YAML

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$